34
4-3-3 Summary of I/O Transfer
In the following example, position data is transferred from the C200HS to the MC
Unit.
MC Unit
[I/O refresh data area]
Writing data
C200HS
Address Position data
[Initial setting area]
DM area used as
expansion DM area
First word of
expansion DM area
[Expansion DM area]
No. of data transfer words
Data source word
Data transfer address
Position data (3 words/data
item)
[DM]
:
:
:
:
:
:
:
0000
0001
:
:
:
:
:
:
:
:
:
:
:
1998
1999
A0000
A0001
A1998
A1999
:
:
:
:
:
:
:
:
:
:
:
(4)
(3)
(2)
(1)
1, 2, 3... 1. Set the following data with the initial setting area. The data will be effective
when power is supplied to the MC Unit or the MC Unit restarts.
• Choose a DM area for the expansion data area.
• Set the first DM word to be allocated to the expansion data area.
2. Set the following data with the expansion data area.
• The total number of words of the position data to be transmitted (i.e., the
number of data transfer words).
A transmission data item uses three words.
• The first word (i.e., the data source word) of the DM area that has the posi-
tion data to be transmitted.
• The destination address of the position data (i.e., the transfer address of
data).
3. Set in the DM area the position data to be transmitted.
4. The position data can be transmitted if the transmission control bit of the I/O
refresh area is set to ON.
Position data can be received in the same way.
Other data can be transferred in the same way although a single data item is
transferred at a time.
Data Transmission and Reception
Section 4-3