![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681002.webp)
963
Basic I/O Unit Instructions
Section 3-23
Precautions
Do not read or write the system word (D) from any other instruction.
7SEG(214) will not operate correctly if the system word is accessed by
another instruction. The system word is not initialized by 7SEG(214) in the
first cycle when program execution starts. If 7SEG(214) is being used from
the first cycle, clear the system word from the program.
7SEG(214) will not operate correctly if I/O refreshing is not performed with the
Output Unit connected to the 7-segment display after 7SEG(214) is executed.
Consequently, do not connect the external matrix to the following Units.
• Basic I/O Units or High-density I/O Units mounted in a SYSMAC BUS
Remote I/O Slave Rack
• Communications Slaves (DeviceNet or CompoBus/S Slaves)
Example
In this example, 7SEG(214) converts the 8 digits of BCD data in D00100 and
D00101 and outputs the data through CIO 0100 to a 7-segment display con-
nected to a CS1W-OD211 16-point Transistor Output Unit.
There are 8 digits of data being output and the 7-segment display’s logic is the
same as the Output Unit’s logic, so the control data (C) is set to 0004. D32000
is used as the system word, D.
3-23-10 INTELLIGENT I/O READ: IORD(222)
Purpose
Reads the contents of memory area of a Special I/O Unit or CPU Bus Unit
(see note).
Note
There are restrictions in functionality for CPU Bus Units. Refer to
Restrictions
later in this section.
Ladder Symbol
Variations
Applicable Program Areas
Operands
C:
Depends on Special I/O Unit or CPU Bus Unit.
S:
Special I/O Unit: 0000 to 005F hex
(to specify unit numbers 0 to 95)
S
O
C
D
7SEG(214)
D00100
0100
004
D32000
P_On
Always ON Flag
IORD(222)
C
S
D
C
: Control data
S
: Transfer source and number of words
D
: Transfer destination
Variations
Executed Each Cycle for ON Condition
IORD(222)
Executed Once for Upward Differentiation
@IORD(222)
Executed Once for Downward Differentiation
Not supported.
Immediate Refreshing Specification
Not supported.
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Содержание 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...