B-63983EN/02 4.LADDER LANGUAGE
- 233 -
(b) Counter register address
The first address of the counter register field is set.
The continuous 4-byte memory space from the first address is
required for this field. Field D is normally used.
CTR
WORK
Counter register +0
Counter register +1
Counter register +2
Counter register +3
Count value
WORK: Unusable
CAUTION
When R address is specified as the counter register
address, the counter starts with count value "0" at
power on.
Countup output (W1)
In case of the up couter mode (UPDOWN=0), when the counter value
reaches the preset value, W1 is set to 1.
In case of the down couter mode (UPDOWN=1) and initial value
0(CN0=0), when the counter value reaches 0, W1 is set to 1.
In case of the down couter mode (UPDOWN=1) and initial value
1(CN0=1), when the counter value reaches 1, W1 is set to 1.
The W1 address can be specified arbitrarily.