It is a list of the status retrieved by using CntReadStatus. The status register is constituted by 1 byte (8 bits).
Each bit is defined as follows.
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
AI |
Z |
A |
B |
1 |
U/D |
EQ |
U |
Bit |
Description |
Value |
D0 :U |
General-purpose input status |
1:General-purpose input
"1" |
D1 :EQ |
Count match status |
1:Count data mismatch |
D2 :U/D |
Count direction status |
1:Down counting |
D3 |
Not used |
1 fixed |
D4 :B |
B-phase input status |
1:B-phase input "1" |
D5 :A |
A-phase input status |
1:A-phase input "1" |
D6 :Z |
Z-phase input status |
1:Z-phase input "1" |
D7 :AI |
Abnormal input detection |
1:Abnormal |