4. Functions
56
CNT32-4MT(LPCI)
Hardware event
Types of hardware events
The board includes functions that can operate automatically in response to a change in a control input
signal, control output signal, or counter match. These are called hardware events.
One control input signal line and one control output signal line are provided for each channel.
Table 4.6. Hardware event
Item Purpose
Condition
Rise(Low
→
High)
Preset
Fall(High
→
Low)
Rise(Low
→
High)
Zero-clear
Fall(High
→
Low)
Rise(Low
→
High)
Control input signal *1
Counter start/stop
Fall(High
→
Low)
Count match(Register 0)
Count value = Comparison register 0
Count match(Register 1)
Count value = Comparison register 1
Abnormal input error
When phases-A and B are changed at the
same time
Control output signal *2
Digital filter error
When a pulse faster than the digital filter
setting is input
Count value = Comparison register 0
Preset
Count value = Comparison register 1
Count value = Comparison register 0
Count match
Zero clear
Count value = Comparison register 1
*1: When the control input signal is used as a general-purpose input, hardware events cannot be
set as above.
*2: When the above control output signals are set as hardware events, the output consists of a
one-shot pulse output. The pulse width can be set by software to 10
μ
sec, 1msec, 10msec, or
100msec. When using the control output signal as a general-purpose output, the output
becomes a level output and the above hardware events cannot be assigned. The logic polarity
of the output signal can be set by software.