4. Function
CNT24-4(PCI)H
45
Status Data
You can monitor each signal input, counting direction, count matching and abnormal input statuses.
AI…………This bit is set to "1" to indicate an abnormal pulse input if a simultaneous change of
phases A and B is detected during 2-phase input or a simultaneous change of UP and
DOWN pulses is detected during up/down input.
1 : Detect abnormal input.
0 : Do not detect abnormal input.
Z……………Indicates phase Z input status.
< When set to positive logic >
1 : Phase Z input status[1]
0 : Phase Z input status[0]
< When set to negative logic >
1 : Phase Z input status[0]
0 : Phase Z input status[1]
A…………….Indicates phase A input status.
1 : Phase A input status[1]
0 : Phase A input status[0]
B…………….Indicates phase B input status.
1 : Phase B input status[1]
0 : Phase B input status[0]
U/D………….Count-direction operating status
This status bit indicates the direction in which the current up/down counter is operating.
0 : Engaged in counting up.
1 : Engaged in counting down.
EQ…………...Detects and outputs match or mismatch.
0 : The count value matches compare register's contents.
1 : The count value does not match compare register's contents.
U…………….Indicates the general-purpose input status.
1 : General-purpose input status[1]
0 : General-purpose input status[0]
CAUTION
-
The initial state varies with external connection states.
-
A, B, and Z phase statuses lag by four cyclical clocks since the status data is available after the filter
function is processed. The general-purpose input status indicates the external input status as it is.