Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 357

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

Advertisement

Comparison Instructions
Flags
Example
3-7-8
TABLE COMPARE: TCMP(085)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Name
Label
Error Flag
ER
Equals Flag
=
When CIO 000000 is ON in the following example, MCMP(019) compares
words D00100 through D00115 in order to words D00200 through D00215
and turns ON the corresponding bits in D00300 when the words are not
equal.
S1:
Compares the source data to the contents of 16 consecutive words and turns
ON the corresponding bit in the result word when the contents of the words
are equal.
TCMP(085)
S: Source data
S
T: First word of table
T
R: Result word
R
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
OK
Operation
OFF
ON if the result word is 0000.
(The two 16-word sets contain the same data.)
OFF in all other cases.
S2:
Step program areas
Subroutines
OK
Section 3-7
R: D00300
TCMP(085)
@TCMP(085)
Not supported
Interrupt tasks
OK
317

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents