52
The data writing source word and data reading destination word can be desig-
nated within the ranges shown in the following table.
PC model
Expansion data area
C200H
DM 0000 to DM 0899
C200HS
DM 0000 to DM 0999
DM 2000 to DM 5999
C200HX,
C200HG,
and
C200HE
EM area (if the EM area is unavailable)
DM 0000 to DM 0999
DM 2600 to DM 5999 (The upper limit depends on the memory size.)
EM area (if the EM area is available)
DM 0000 to DM 0999
DM 2600 to DM 5999 (The upper limit depends on the memory size.)
EM 0000 to EM 6143
Note
The DM area or EM area to be used can be specified in the initial setting area.
Refer to
6-4-1 Initial Setting Area
.
4-5-3 Transmission Bits and Flags
The following bits and flags are used for transmission.
Transmission Control Bit
This bit is used to control transmission. It is allocated in the I/O refresh area of the
PC data area interface. Data transmission begins when this bit goes ON.
Transmission Completed Flag
This flag is turned ON when transmission is completed. It is allocated in the I/O
refresh area of the PC data area interface. This flag goes ON when transmission
is completed and goes OFF when the Transmission Control Bit is turned OFF.
Transmission Error Flag
This flag is turned ON if data transmission has not been completed properly due
to an error during data transmission.
4-5-4 Reception Bits and Flags
The following bits and flags are used for reception.
Reception Control Bit
This bit is used to control reception. It is allocated in the I/O refresh area of the PC
data area interface. Data reception beings when this bit goes ON.
Reception Completed Flag
This flag is turned ON when reception is completed. It is allocated in the I/O
refresh area of the PC data area interface. This flag goes ON when reception is
completed and goes OFF when the Reception Control Bit is turned OFF.
Reception Error Flag
This flag is turned ON if data reception has not been completed properly due to
an error during data reception.
4-6
Data Transfer Examples
4-6-1 Data Transmission
This section provides examples of data transmission using the C200HS with the
MC Unit, the unit number of which is set to 0.
Example 1
The following data items are transmitted to position data address A0456 to
A0460.
Position data
Position data address
345678.90
A0456
. . . . . . . . . . .
123456.78
A0457
. . . . . . . . . . .
–387654.32
A0458
. . . . . . . . . .
123.456
A0459
. . . . . . . . . . . . .
54321.00
A0460
. . . . . . . . . . . .
1, 2, 3...
1. Set the data described below in the initial setting area with the Programming
Console.
Data Transfer Examples
Section 4-6
Summary of Contents for C200H-MC221 -
Page 1: ...Cat No W315 E1 03 Motion Control Unit C200H MC221 OPERATION MANUAL ...
Page 2: ......
Page 3: ...C200H MC221 Motion Control Unit Operation Manual Details Revised June 2010 ...
Page 4: ...iv ...
Page 6: ...vi ...
Page 10: ......
Page 12: ......
Page 16: ...xvi ...
Page 42: ......
Page 48: ......
Page 196: ......
Page 212: ......
Page 242: ......
Page 258: ......
Page 304: ......