Time Comparison Instructions (341 To 346) - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Comparison Instructions
3-7-2

Time Comparison Instructions (341 to 346)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
298
remainder of the instruction line is skipped and execution moves to the next
instruction line.
Signed
LESS THAN
Comparison
Time comparison instructions compare two BCD time values and create an
ON execution condition when the comparison condition is true.
The time comparison instructions are treated just like the LD, AND, and OR
instructions to control the execution of subsequent instructions.
These instructions are supported only by CS/CJ-series CPU Unit Ver. 2.0 or
later.
LD
Symbol
C
C: Control word
S
: First word of present time
S
1
1
S
S
: First word of comparison time
2
2
AND
Symbol
C
C: Control word
S
S
: First word of present time
1
1
S
S
: First word of comparison time
2
2
OR
Symbol
C
C: Control word
S
: First word of present time
S
1
1
S
S
: First word of comparison time
2
2
Variations
Creates ON Each Cycle Comparison is True
Immediate Refreshing Specification
Block program areas
OK
OK
S
: D00110
1
8714
Decimal:
30,956
(Will proceed to next line.)
Step program areas
Subroutines
OK
Section 3-7
S
: D00210
2
3A1C
Decimal:
14,876
30,956 < 14,876
Time compari-
son instruction
Not supported
Interrupt tasks
OK

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents