ACR122L – Communication Protocol
Version 1.03
www.acs.com.hk
Page 35 of 57
Data Out
SW1 SW2.
Status Code
Results
SW1 SW2
Meaning
Success
90
00h
The operation is completed successfully.
Error
63
00h
The operation is failed.
6.15. LED and Buzzer Control
This command is used to control the states of the LED_0, LED_1 and Buzzer.
LED_0, LED_1 and Buzzer Control Command Format (9 Bytes)
Command
Class INS
P1
P2
Lc
Data In (4 Bytes)
LEDs and Buzzer
Control
FFh
00h
40h
LED State
Control
04h
Blinking Duration
Control
P2
LED State Control.
LED_0, LED_1 and Buzzer Control Format (1 Byte)
CMD
Item
Description
Bit 0
Final LED_1 State
1 = On; 0 = Off
Bit 1
Final LED_0 State
1 = On; 0 = Off
Bit 2
LED_1 State Mask
1 = Update the State
0 = No change
Bit 3
LED_0 State Mask
1 = Update the State
0 = No change
Bit 4
Initial LED_1 Blinking State 1 = On; 0 = Off
Bit 5
Initial LED_0 Blinking State 1 = On; 0 = Off
Bit 6
LED_1 Blinking Mask
1 = Blink
0 = Not Blink
Bit 7
LED_0 Blinking Mask
1 = Blink
0 = Not Blink
Data In
Blinking Duration Control.
LED_0, LED_1 Blinking Duration Control Format (4 Bytes)
Byte 0
Byte 1
Byte 2
Byte 3
T1 Duration
Initial Blinking State
(Unit = 100 ms)
T2 Duration
Toggle Blinking State
(Unit = 100 ms)
Number of repetition
Link to Buzzer