962
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-10INTELLIGENT 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