Applications

5-4

Series

505 High Speed Counter

and Encoder Module User
s Manual
Sprayer Example (continued)
LDC1
A:
N=
WY4
0
BITS1
A:
N=
WY4
4
BITS2
A:
N=
WY4
2
C12C1
MOVW1
A:
N=
V200
2
BITC23
A:
N=
WY4
2
C15C14
B: WY5
CLEAR CHANNEL
1
SETUP
WORD
SETUP
CHANNEL
1
OUTPUT
2
T
O GO
LOW
AT
PRESET
SELECT
COUNT
INHIBIT
ON CHANNEL
1
INHIBIT
CHANNEL
1
BIT
IS CLEARED
COUNTING IS ENABLED
LOADS CHANNEL
1
PRESETS 1 & 2
FROM V200 & V201

Figure 5-4 Ladder

Logic for Sprayer Example