Status List

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"
0:General-purpose input "0"

D1 :EQ

Count match status

1:Count data mismatch
0:Count data match

D2 :U/D

Count direction status

1:Down counting
0:Up counting

D3

Not used

1 fixed

D4 :B

B-phase input status

1:B-phase input "1"
0:B-phase input "0"

D5 :A

A-phase input status

1:A-phase input "1"
0:A-phase input "0"

D6 :Z

Z-phase input status

1:Z-phase input "1"
0:Z-phase input "0"

D7 :AI

Abnormal input detection

1:Abnormal
0:Normal