EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 823

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
790
Basic I/O Unit Instructions Section 3-22
Precautions Do not read or write the system word (C) from any other instruction.
MTR(213) will not operate correctly if the system word is accessed by another
instruction. The system word is not initialized by MTR(213) in the first cycle
when program execution starts. If MTR(213) is being used from the first cycle,
clear the system word from the program.
MTR(213) will not operate correctly if I/O refreshing is not performed with the
Input Unit and Output Unit connected to the external matrix after MTR(213) is
executed. Consequently, do not connect the external matrix to the following
Units.
Communications Slaves (DeviceNet or CompoBus/S Slaves)
Example In this example, MTR(213) reads the 64 bits of data from the 8
× 8 matrix and
stores the data in W0 to W3. The 8
× 8 matrix is connected through CIO 2 and
CIO 102. D32000 is used as the system word.
3-22-7 7-SEGMENT DISPLAY OUTPUT – 7SEG(214)
Purpose Converts the source data (either 4-digit or 8-digit BCD) to 7-segment display
data, and outputs that data to the specified output word.
Ladder Symbol
Variations
Applicable Program Areas
I
O
D
C
MTR(213)
2
102
W0
D32000
P_On
Always ON Flag
7SEG(214)
S
O
C
D
S: Source word
O: Output word
C: Control data
D: System wor
d
Variations Executed Each Cycle for ON Condition 7SEG(214)
Executed Once for Upward Differentiation Not supported.
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.
Block program areas Step program areas Subroutines Interrupt tasks
Not allowed OK OK Not allowed

Table of Contents

Related product manuals