827
Basic I/O Unit Instructions
Section 3-23
Flags
Precautions
An error will occur if words in both the I/O Bit Area (CIO 0000 to CIO 0999)
and the Special I/O Unit Bit Area (CIO 2000 to CIO 2959) are specified for
the same instruction.
I/O refreshing won’t be performed for Units for which an I/O table error has
occurred. (CS Series only)
The I/O refreshing initiated by IORF(097) will be stopped midway if an I/O bus
error occurs during I/O refreshing.
When IORF(097) is used in an interrupt task, be sure to disable Special I/O
Unit cyclic refreshing in the PLC Setup. If cyclic refreshing for Special I/O
Units is enabled and I/O refreshing is executed again by IORF(097), a non-
fatal Duplicate Refreshing Error will occur and the Interrupt Task Error Flag
(A40213) will be turned ON.
Examples
Refreshing Words in the I/O Bit Area
The following example shows how to refresh 16 words from CIO 0015 to
CIO 0030 when CIO 000000 turns ON.
Refreshing Words in the Special I/O Unit Bit Area
The following example shows how to refresh 30 words from CIO 2000 to
CIO 2029 when CIO 000000 turns ON.
Name
Label
Operation
Error Flag
ER
ON if St is greater than E.
ON if the address is out of range for an indirect IR specifi-
cation for St.
ON if the address is out of range for an indirect IR specifi-
cation for E.
ON if St and E are in different memory areas.
With the CS1D CPU Units: ON if the active and standby
CPU Units could not be synchronized.
OFF in all other cases.
I/O refreshing
I/O Unit
St:
E:
St
E
St:
E:
Special I/O Unit
I/O refreshing
St
E
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...