2 pulse count function – Yaskawa MP2000 Series I/O Module User Manual User Manual
Page 112

4.4 Details of Counter Functions
4.4.2 Pulse Count Function
112
4.4.2 Pulse Count Function
The Pulse Count Function reads A/B pulse input signals to increment (forward run) or decrement (reverse run) the
count.
The following graph shows changes in the pulse count for each run mode.
Current counter value
The values of n1 to n7 (counter value at each scan) is displayed sequentially in Counter Value (IL 04).
Count preset (1)
Executing the Count preset at the position p1 forces the counter value to change to the preset value (p2
value).
MAX overflow
When the counter value increases to the value MAX (p3), the counter value will be automatically reset to the
value MIN (p4).
MIN overflow
When the counter value decreases to the value MIN (p5), the counter value will be automatically reset to the
value MAX (p6).
Count preset (2)
Executing the Count preset at the position p7 forces the counter value to change to the preset value (p8
value).
n1
n2
n3
n4
n5
n6
p2
p8
n7
n1
n2
n3
n4
n5
n6
n7
Ts
Count preset data
0
㧔㧗㧕
㧔㧙㧕
2147483647
㧔MAX㧕
2147483648㧔MIN㧕
p2
p1
p7
p8
p3
p6
p4
p5
Counter
count
register
value
Current counter
value display
Time (s)
Cancel count prohibit
Count prohibit
Count preset (1)
Ts
㧩 Scan time (s)
Count preset (2)
Cancel count prohibit
Count prohibit