
B–61863E/15
5. FUNCTIONAL INSTRUCTIONSPMC SEQUENCE PROGRAM
191
(a) Specifying the initial value (CN0)
CN0=0 : The count value starts with “0”. 0, 1, 2, 3, . . . n
CN0=1 : The count value starts with “1”. 1, 2, 3, . . . n
(b) Specifying up or down count (UPDOWN)
UPDOWN=0:
Up counter.
The initial value is “0” when CN0=0 or “1” when CN0=1.
UPDOWN=1:
Down counter. The initial value is the preset value.
(c) Reset (RST)
RST=0 : Reset cancelled.
RST=1 : Reset. W1 is reset to “0”. The accumulated value is
reset to the initial value.
(d) Count signal (ACT)
ACT=0 : The counter does not operate. W1 does not change.
ACT=1 : The counter operates at the rise of this signal.
The first address of the counter preset value field is set.
The continuous 2–byte memory space from the first address is required
for this field. Field D is normally used.
Counter preset value+0
CTR: Preset value
(0 to 32,767)
Counter preset value+1
CTR
The counter preset value is binary. Therefore, it ranges from 0 to 32767.
5.11.3
Control Conditions
5.11.4
Counter Preset Value
Address