IOWR / IORD
Section 5-2
71
IORD (-)
@IORD (-)
C
C
S
S
D
D
C
Control code
value:
Specifies the function to execute (see below)
S
Source information
On C200H Alpha PLCs:
value:
Combination of the Machine number of the Unit and the
message length (number of words in BCD).
Message length (001 ~ 128)
Machine number (0 ~ F)
On CS1 PLCs:
The Machine Number and message length occupy 2 words:
S:
Machine number of the Unit
S+1:
Message length (number of words in BCD)
D
First destination word
value:
The start address of the PLC data area to where the
message from the Unit is to be transferred.
The following table lists the control codes and message lengths for the
C200HW-CORT21-V1.
Function
Message Length
Control
code
IORD
IOWR
Reading the error log
#0000
1 - 26
N/A.
Writing to the local object dictionary
#0001
N/A.
4 - 7
Reading from the local object dictionary
#0002
2 - 5
2
Transmitting a user defined CAN message
#0003
N/A.
3 - 6
Receiving a user defined CAN message
#0004
N/A.
4
PLC EQ-flag
After the execution of the IOWR or IORD instruction, the PLC EQ-flag is set
when the syntax of the instruction, the control code, and the message length
are valid.
Note
The EQ-flag does not indicate that the content of the message is correct.
Therefore it is important to check the error log during the programming and
testing of the PLC application.
Summary of Contents for C200HW-CORT21-V1
Page 2: ...C200HW CORT21 V1 CANopen Slave Unit OPERATION MANUAL OMRON Cat No W904 E2 2 ...
Page 3: ......
Page 4: ......
Page 5: ......
Page 6: ...C200HW CORT21 V1 CANopen Slave Unit Operation Manual Produced June 2001 ...
Page 7: ...iv ...
Page 9: ...vi ...
Page 13: ...x ...
Page 47: ...Performance Section 2 3 30 ...
Page 85: ...Control and Status area Section 4 3 68 ...
Page 113: ...Flow diagrams Section 6 6 96 ...
Page 123: ...Maintenance Section 7 3 106 ...
Page 133: ...116 ...
Page 135: ...118 ...
Page 139: ...122 ...
Page 141: ......