Cc= And Cc>= (Counter Comparison) - IDEC MICROSmart FC6A Series Ladder Programming Manual

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

4: B
I
ASIC
NSTRUCTIONS
CC= and CC>= (Counter Comparison)
The CC= instruction is an equivalent comparison instruction for counter current values. This instruction will constantly compare
current values to the value that has been programmed in. When the counter value equals the given value, the desired output will
be initiated.
The CC>= instruction is an equal to or greater than comparison instruction for counter current values. This instruction will
constantly compare current values to the value that has been programmed in. When the counter value is equal to or greater than
the given value, the desired output will be initiated.
When a counter comparison instruction is programmed, two addresses are required. For a constant, specify the value in the range
of 0 to 65,535.
To indirectly specify the value, specify it with a data register number, and specify the value of the data register in the range of 0 to
65,535.
The preset value can be designated using a decimal constant or a data register. When a data register is used, the data of the data
register becomes the preset value.
Ladder Diagram (CC=)
Counter # to compare with
CC=
C2
10
Q0
Preset value to compare
Ladder Diagram (CC>=)
CC>=
C3
D15
Q1
• The CC= and CC>= instructions can be used repeatedly for different preset values.
• The comparison instructions only compare the current value. The status of the counter does not affect this function.
• The comparison instructions also serve as an implicit LOD instruction.
• The comparison instructions can be used with internal relays, which are ANDed or ORed at a separate program address.
• Like the LOD instruction, the comparison instructions can be followed by the AND and OR instructions.
Ladder Diagram
CC=
C5
10
M0
M0
I0
Q0
Program List
Instruction
Data
CC=
C5
10
OUT
M0
LOD
I0
AND
M0
OUT
Q0
4-20
Program List
Instruction
CC=
OUT
Program List
Instruction
CC>=
OUT
Ladder Diagram
CC=
C5
10
Program List
Instruction
CC=
AND
OUT
FC6A S
MICROS
L
ERIES
MART
Data
C2
10
Q0
Data
C3
D15
Q1
I0
Q0
Data
C5
10
I0
Q0
P
M
ADDER
ROGRAMMING
ANUAL
Ladder Diagram
CC=
C5
10
I0
Program List
Instruction
CC=
OR
OUT
FC9Y-B1726
Q0
Data
C5
10
I0
Q0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents