ACR89U-A2 – Reference Manual
Version 1.01
www.acs.com.hk
Page 27 of 57
3.5.4.
Messages Detail
3.5.4.1.
ACR89_to_PC_DataBlock
This message is sent by ACR89 in response to
PC_to_ACR89_InputKey
commands.
For
PC_to_ACR89_InputKey
command, the data returned is the single key or key string captured
from the keypad, depending on the key input mode chosen.
Offset
Field Name
Size
Value
Description
10
BrespType
1
81h
-
11
WReturnCode
2
-
Command response code (in big endian)
13
WRespLength
2
Var…
Size of response data (in big endian)
15
Bdata
Var
…
-
This field contains the data returned by
ACR89
3.5.4.2.
ACR89_to_PC_DisplayStatus
This message is sent by ACR89 in response to
PC_to_ACR89_DisplaySetCursor,
PC_to_ACR89_DisplayMessage, PC_to_ACR89_DisplayRowGraphic
and
PC_to_ACR89_ClearDisplay
commands.
Offset
Field Name
Size
Value
Description
10
BrespType
1
83h
-
11
wReturnCode
2
-
Command response code (in big
endian)
13
wRespLength
2
0002h
Size of response data (in big endian)
15
bRowPosition
1
00h to 07h
Current cursor row position
16
bColumnPosition
1
00h to 7Fh
Current cursor column position
3.5.4.3.
ACR89_to_PC_TimeStamp
This message is sent by ACR89
in response to
PC_to_ACR89_ReadRTC
and
PC_to_ACR89_SetRTC
commands.
Offset
Field Name
Size
Value
Description
10
BRespType
1
84h
-
11
wReturnCode
2
-
Command response code (in big endian)
13
wRespLength
2
0006h
Size of response data (in big endian)
15
bTimeStamp
6
-
Current real time clock value. Format in YY,
MM, DD, HH, MI and SS
3.5.4.4.
ACR89_to_PC_Echo
This message is sent by ACR89 in response to
PC_to_ACR89_Buzzer
,
PC_to_ACR89_SetLED
and
PC_to_ACR89_ExitScriptMode
commands.
Offset
Field
Size
Value
Description
10
bRespType
1
90h
-