Intelligent I/O Read: Iord(222) - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Basic I/O Unit Instructions
Precautions
Example

3-23-10 INTELLIGENT I/O READ: IORD(222)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
962
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)
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.
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.
IORD(222)
C
S
D
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
C:
Depends on Special I/O Unit or CPU Bus Unit.
S:
Special I/O Unit: 0000 to 005F hex
P_On
Always ON Flag
S
O
C
D
C: Control data
S: Transfer source and number of words
D: Transfer destination
Step program areas
OK
(to specify unit numbers 0 to 95)
Section 3-23
7SEG(214)
D00100
0100
004
D32000
IORD(222)
@IORD(222)
Not supported.
Subroutines
Interrupt tasks
OK
OK

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents