This works as shown in figure 10.21 – Rockwell Automation 1336E IMPACT Adjustable Frequency AC Drive User Manual V 1-4.XX User Manual
Page 187

Using the Function Block
10-17
Figure 10.20
Up/Down Counter Function Block
This works as shown in Figure 10.21.
200
Func 1 Eval Sel
2
198
Function In1
199
Func 1 Mask/Val
L Option In Sts
Enter: 00000000.10000000
Up/Down Counter
Function Block
203
Func 2 Eval Sel
0
201
Function In2
202
Func 2 Mask/Val
Enter: 0 This value is not used.
Enter: 0 This value is not used.
212
Function Sel
11
In1 – Count up (rising edge)
In2 – Count down (rising edge)
In3 – Load counter with 0
In4 – Up increment
In5 – Down increment
In6 – 0: Output is a word
In7 – Reserved. Must be 0.
In1
In2
213
Function
Output 1
206
Func 3 Eval Sel
2
204
Function In3
205
Func 3 Mask/Val
Logic Input Sts
Enter: 01110000.00000000
In3
208
Function In5
209
Function In6
Enter: 0
Enter: 0
207
Function In4
Enter: 4096, which is 1000H
Set:
Function In8 (par. 211): 0 rpm
Speed Ref 1 (par. 29): 25 rpm
Speed Ref 2 (par. 31): 50 rpm
Speed Ref 3 (par. 32): 100 rpm
Speed Ref 4 (par. 33): 500 rpm
Speed Ref 5 (par. 34): 250 rpm
Speed Ref 6 (par. 35): 125 rpm
Speed Ref 7 (par. 36): 40 rpm
L Option Mode (par. 116): 8
Dir/Ref Mask (par. 125): 01111111.01111110
197
Logic Cmd
Input
210
Function In7
Enter: 0
In1 is true if
TB3–28 is closed
117
14