
5. FUNCTIONAL INSTRUCTIONS
B–61863E/15
PMC SEQUENCE PROGRAM
184
(a) Specify the initial value. (CN0)
CN0=0: Begins the value of the counter with 0.
0, 1, 2, 3 ····· n.
CN0=1: Begins the value of the counter with 1 (0 is not used).
1, 2, 3 ····· n.
(b) Specify up or down counter.
UPDOWN=0:
Up counter. The counter begins with 0 when CN0=0;
1 when 1.
UPDOWN=1:
Down counter. The counter begins with the preset value.
(c) Reset (RST)
RST=0: Releases reset.
RST=1: Enables reset.
W1 becomes 0. The integrated value is reset to the initial value.
NOTE
Set RST to 1, only when reset is required.
It should usually be set to 0.
(d) Count signal (ACT)
“ 0 ”
“ 1 ”
Count Count
ACT
0 : Counter does not operate. W1 does not change.
1 : Count is made by catching the rise of ACT.
The available numbers are as follows.
Model
PA1 PA3 SA1 SA2 SA3 SA5 SB SB2 SB3 SB4
Counter number
1 to 20 1 to 20 1 to 20 1 to 20 1 to 20 1 to 20 1 to 20 1 to 20 1 to 20 1 to 50
Model
SB5 SB6 SB7 SC SC3 SC4 NB NB2 NB6
Counter number
1 to 20 1 to 50 1 to 100 1 to 20 1 to 20 1 to 50 1 to 20 1 to 50 1 to 50
The preset value and cumulative value that can be set are as follows:
Binary counter: 0 to 32767
BCD counter: 0 to 9999
WARNING
If the counter number is duplicated, or falls outside the valid
range, the operation will be unpredictable.
5.9.3
Control Conditions
5.9.4
Counter Number