![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681005.webp)
966
Basic I/O Unit Instructions
Section 3-23
Flags
Precautions
The Equals Flag will turn ON if the reading operation is completed normally.
The Equals Flag will turn OFF if the reading operation cannot be completed
normally due to the Special I/O Unit or CPU Bus Unit being busy.
Whenever any of the following occur, an error will occur and the Error Flag will
turn ON.
• The number of words to transfer (S) is outside the range of 0001 to 0080
(hex).
• The unit number (S) is outside the range of 0000 to 005F hex or 8000 to
800F hex.
• The designated Special I/O Unit is on SYSMAC BUS.
• A Special I/O Unit or CPU Bus Unit not affected by IORD(222) is desig-
nated.
• A Special I/O Unit with a Special I/O Unit setting error or a Special I/O
Unit error is designated.
• A CPU Bus Unit with a CPU Bus Unit setting error or a CPU Bus Unit
error is designated.
When IORD(222) is executed, the execution results are reflected in the condi-
tion flags. In particular, the Equals Flag turns ON when reading is completed.
Input the condition flags such as the Equals Flag with output branching from
the same input conditions as the IORD(222) instruction.
If the Special I/O Unit or CPU Bus Unit is busy, the reading operation will not
be executed. Use the Equals Flag to create a self-maintaining program, as
shown below, so that IORD(222) will be executed with each cycle until the
reading operation is executed.
Name
Label
Operation
Error Flag
ER
ON if the number of words to transfer (S) is outside the
range of 0001 to 0080 hex.
ON if the unit number (S) is outside the range of 0000 to
005F hex or 8000 to 800F hex.
ON if the designated Special I/O Unit is on SYSMAC
BUS.
ON if a Special I/O Unit or CPU Bus Unit not affected by
IORD(222) is designated.
ON if a Special I/O Unit with a Special I/O Unit setting
error or a Special I/O Unit error is designated.
ON if a CPU Bus Unit with a CPU Bus Unit setting error or
a CPU Bus Unit error is designated.
With the CS1D CPU Units: ON if the active and standby
CPU Units could not be synchronized.
OFF in all other cases.
Equals Flag
=
ON if reading operation is completed normally.
OFF if reading operation is not completed normally.
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...