COUNT_B (39)
COUNT_B (39)
ID 39
Application: |
PLC |
SIM |
Group: TIMERS AND COUNTERS
Short description:
Pulse counting function with external change of the counter value.
Inputs (3):
no. |
type |
impulse |
mark |
notes |
1 |
B |
yes (0 -> 1) |
imp |
Binary input no. 1 |
2 | B | no | reset | Binary input no. 2 |
3 | I | no | preset | Set counter value |
Outputs (1):
no. |
type |
impulse |
mark |
notes |
1 |
B |
no |
OUT |
Binary output no. 1 |
Settings: none
Function operation:
The COUNT_B function counts the pulses. When a rising edge of the signal appears on the imp input, the current value of the counter is incremented. When the counter reaches the set value on the preset input, a high state appears on the OUT output. When a high state appears at the reset input, the present value of the counter is reset to zero.
R registers and M markers used: none