Chapter 4: RLL Programming
Counters and Counter Status Bits (C Memory Type)
Counter status bits provide the relationship between the current value and the preset value of a selected
counter. The counter status bit will be on when the current value is equal to or greater than the preset
value of a selected counter. In this example, each time the input contact I4 transitions from off to on, the
counter (C1) increments by one. When the counter reaches the preset of 2 counts, the counter status
contact C1 turns on. When C1 turns on, output Q5 turns on. When M2 turns on counter C1 will reset. If
M9 is turned on, the counter will change from a count-up counter to a count-down counter.
Common Memory Types
Specialty Memory Types
30
SG2 PLR User Manual
General output SET output RESET output PULSE output N.O. Contact N.C. Contact
Number
Symbol
( )
(
앖
)
(
앗
)
(P)
(N.O. / N.C.)
Input contact
I
i
12 (I1-IC / i1-iC)
Output coil
Q
Q
Q
Q
Q
q
8 (Q1-Q8 / q1-q8)
Auxiliary contact
M
M
M
M
M
m
15 (M1-MF / m1-mF)
Counter
C
C
c
15 (C1-CF / c1-cF)
Timer
T
T
T
t
15 (T1-TF / t1-tF)
General output
SET output RESET output PULSE output N.O. Contact N.C. Contact
Number
Symbol
( )
(
앖
)
(
앗
)
(P)
(N.O. / N.C.)
Expansion input coil
X
x
12 (X1-XC /x1-xC)
Expansion output coil
Y
Y
Y
Y
Y
y
12 (Y1-YC / y1-yC)
Differential (one shot)
D (Positive)
d (Negative)
RTC
R
R
r
15 (R1-RF / r1-rF)
Analog comparator
G
G
g
15 (G1-GF / g1-gF)
HMI
H
15 (H1-HF)
PWM
P
1 (P1)
DATA LINK
L
8 (L1-L8)
6*3/58VHU0DQXDO
6HFXUHRQOLQHRUGHULQJIURP
,QWHUQDWLRQDO2IILFHZZZEEHOHFFRP
'D\WRQ5RDG32%R[
2WWDZD,/86$
)D[
RUGHUV#EEHOHFFRPVXSSRUW#EEHOHFFRP
(XURSHDQ2IILFHZZZEEHXURSHFRP
:HVWOLQN&RPPHUFLDO3DUN
2UDQPRUH&R*DOZD\,UHODQG
)D[
RUGHUV#EEHXURSHFRPVXSSRUW#EEHXURSHFRP