RSI_User_Manual_AD-400_Card_Presentation+Grant_Access

AD-400 Card Presentation + Grant Access

AD-400 APM Address 2

IM-400-485 RSD Address 3

The Message Bytes column in Table 14-1 shows the first three bytes without the Start and CRC bytes. These are Address, Message Type, and Message Length.

NOTE: The use of Bold, Italic and Bold Italic font is to show the difference in the first three bytes within the table.

Table 14-1: AD-400 Card Presentation + Grant Access

Message BytesCommand Type/ AddressDecoded MessageNotes
03 3A 00RSD/0x03Address = 3, Message Type = POLL_RSD_CRC, Lngth = 0Poll RSD to determine if there are any new status updates for any of the APMs connected to RSD 3.
FF 31 000xFFAddress = 255, RSD_STATUS_IDLE, Lngth = 0Response shows no new status. But the old status is not known.
02 44 00APM/0x02Address = 2, POLL_APM_CRC, Lngth = 0It is appropriate to poll the APM for current status.
FF 30 03 00 00 900xFFAddress = 255, APM_STATUS, Lngth = 3 Byte 1 Bit 0: Reader Tamper;1=Tamper =>0 Bit 1: Low Battery;1=Low Battery =>0 Bit 2: Loss of RF Communications;1=RF loss =>0 Bit 3: RSD Tamper;1=RSD door is open =>0 Bit 4: Cache Status;1=has been used =>0 Bit 5: Motor Stall;1=Motor is Stalled =>0 Bit 6: Lock Clutch Position;1=door unlocked =>0 Bit 7: Deadbolt Position;1=bolt extended =>0 Byte 2 Bit 0: Request To Exit Active;1=REX Active =>0 Bit 1: APM forced;1=Forced APM =>0 Bits 2 - 3: Reserved; =>0 Bit 4: Datalog Ready; =>0 Bit 5: Configuration Mode;1=In Configuration Mode =>0 Bit 6: RSD/APM is in Link Mode;1=Link mode Enabled =>0 Bit 7: AD-400 Battery Critical/AD-300 REN Active;1=True =>0 Byte 3 Bit 0: Trouble;1=APM has trouble =>0 Bit 1: AD-400 Low Li Battery/AD-300;1=Low Battery =>0 Bit 2: Door Position Switch;1=closed =>0 Bit 3: IPB;1=IPB Pressed =>0 Bit 4: Request To Exit Switch;1=inactive =>1 Bit 5: Wireless: Request to Enter Switch/VIP:LBM Status;1=Active/BoltExtended =>0 Bit 6: Key Override;1=key being used =>0 Bit 7: Lock State;1=unlocked, 0=locked =>1Response gives current status of all sensors.
03 3A 00RSD/0x03Address = 3, POLL_RSD_CRC, Lngth = 0This message is shown only once here but is repeatedly sent (device is polled) until any of the APMs connected to the RSD has a new status.
FF 31 000xFFAddress = 255, RSD_STATUS_IDLE, Lngth = 0Response shows no new status.
03 3A 00RSD/0x03Address = 3, POLL_RSD_CRC, Lngth = 0A card is presented before this message is sent.
FF 31 0A 02 00 00 10 00 1A 99 00 02 C00xFFAddress = 255, RSD_STATUS_CARDDATA, Lngth = 10 (0x0A), Byte 1 Bits 0 - 7: APM Address (0x00 to 0xFE excluding 0xAA) =>0x02 (2) Byte 2 Bit 0: Reader Tamper;1=Tamper =>0 Bit 1: Low Battery;1=Low Battery =>0 Bit 2: Loss of RF Communications;1=RF loss =>0 Bit 3: RSD Tamper;1=RSD door is open =>0 Bit 4: Cache Status;1=has been used =>0 Bit 5: Motor Stall;1=Motor is Stalled =>0 Bit 6: Lock Clutch Position;1=door unlocked =>0 Bit 7: Deadbolt Position;1=bolt extended =>0 Byte 3 Bit 0: Request To Exit Active;1=REX Active =>0 Bit 1: APM forced;1=Forced APM =>0 Bit 2: APM Open Too Long;1=APM Open Too Long =>0 Bit 3: Tamper Active;1=Tamper Active =>0 Bit 4: Datalog Ready; =>0 Bit 5: Configuration Mode;1=In Configuration Mode =>0 Bit 6: RSD/APM is in Link Mode;1=Link mode Enabled =>0 Bit 7: AD-400 Battery Critical/AD-300 REN Active;1=True =>0 Byte 4 Bit 0: Trouble;1=APM has trouble =>0 Bit 1: AD-400 Low Li Battery/AD-300; 1=Low Battery =>0 Bit 2: Door Position Switch;1=closed =>0 Bit 3: IPB;1=IPB Pressed =>0 Bit 4: Request To Exit Switch;1=inactive =>1 Bit 5: Wireless: Request to Enter Switch/VIP:LBM Status;1=Active/BoltExtended =>0 Bit 6: Key Override;1=key being used =>0 Bit 7: Lock State;1=unlocked, 0=locked =>0 Byte 5 Bits 0 - 7: More Events =>0x00 (0) Byte 6 Bits 0 - 7: Card data bit count =>0x1A (26) Byte 7 Bits 0 - 7: Card data read at APM =>0x99 (153) Byte 8 Bits 0 - 7: Card data read at APM =>0x00 (0) Byte 9 Bits 0 - 7: Card data read at APM =>0x02 (2) Byte 10 Bits 0 - 7: Card data read at APM =>0xC0 (192)This message is sent in response instead of the RSD_STATUS_IDLE that is normally sent. This RSD_STATUS_CARDDATA message shows that a 26-bit (0x1A) credential has been presented. The WAPM (Wireless APM), which is normally asleep and not able to receive messages is staying awake for a short time to listen, so the ACP can determine whether the door is to be unlocked (or toggled locked, etc).
Length = 2, 02 56 02 03 00 Length = 4 (Applicable only for WRI) 02 56 04 03 00 01 05APM/0x02Address = 2, APM_TIMED_UNLOCK, Lngth = 4 Byte 1 Bits 0 - 7: Number of seconds to unlock =>0x03 (3) Byte 2 Bits 0 - 7: Always 0 =>0x00 (0) Byte 3 Bit 0: Beeper pulsing control enable 0 = disabled (No change in beeper pulsing) 1 = enabled (Update beeper pulsing pattern) Bits 1-3: Reserved Bits 4-5: on interval (beeper on time) 00 = 250 ms 01 = 500 ms 10 = 1000 ms 11 = always on Bits 6-7: off interval (beeper off time) 00 = 250 ms 01 = 500 ms 10 = 1000 ms 11 = always on Byte 4 Bits 0-1: Beeper repeat configuration 00 = stop beeping 01 = beep for the configured number of beeps 10 = beep indefinitely 11 = reserved Bits 2-3: times to beep 00=1 time 01=2 times 10=3 times 11=4 times Bits 4-7: reservedTell the WAPM to unlock for 3 seconds and then relock. Here Byte 3 and Byte 4 are optional bytes for beeper control. NOTE: The optional bytes are applicable only for WRI400
FF 30 03 00 00 100xFFAddress = 255, APM_STATUS, Lngth = 3 Byte 1 Bit 0: Reader Tamper;1=Tamper =>0 Bit 1: Low Battery;1=Low Battery =>0 Bit 2: Loss of RF Communications;1=RF loss =>0 Bit 3: RSD Tamper;1=RSD door is open =>0 Bit 4: Cache Status;1=has been used =>0 Bit 5: Motor Stall;1=Motor is Stalled =>0 Bit 6: Lock Clutch Position;1=door unlocked =>0 Bit 7: Deadbolt Position;1=bolt extended =>0 Byte 2 Bit 0: Request To Exit Active;1=REX Active =>0 Bit 1: APM forced;1=Forced APM =>0 Bits 2 - 3: Reserved; =>0 Bit 4: Datalog Ready; =>0 Bit 5: Configuration Mode;1=In Configuration Mode =>0 Bit 6: RSD/APM is in Link Mode;1=Link mode Enabled =>0 Bit 7: AD-400 Battery Critical/AD-300 REN Active;1=True =>0 Byte 3 Bit 0: Trouble;1=APM has trouble =>0 Bit 1: AD-400 Low Li Battery/AD-300;1=Low Battery =>0 Bit 2: Door Position Switch;1=closed =>0 Bit 3: IPB;1=IPB Pressed =>0 Bit 4: Request To Exit Switch;1=inactive =>1 Bit 5: Wireless: Request to Enter Switch/VIP:LBM Status;1=Active/BoltExtended =>0 Bit 6: Key Override;1=key being used =>0 Bit 7: Lock State;1=unlocked, 0=locked =>0Response shows the status before the unlock command takes effect (still unlocked). This is because the response is actually sent by the PIM-400-485 so that the RS-485 bus is not held up in time waiting for the wireless message to be sent to the WAPM and the response from the WAPM to indicate that the WAPM is locked. To find out if the door was actually unlocked, a status message can be sent to the RSD or the APM. Generally, it is better to poll the RSD because there may be other APMs that have a status change on that RSD before the one that you are expecting.
03 3A 00RSD/0x03Address = 3, POLL_RSD_CRC, Lngth = 0Polling the RSD that the APM is connected through.
FF 31 05 02 00 00 90 000xFFAddress = 255, RSD_STATUS_CHANGE, Lngth = 5, Byte 1 Bits 0 - 7: APM Address (0x00 to 0xFE excluding 0xAA) =>0x02 (2) Byte 2 Bit 0: Reader Tamper;1=Tamper =>0 Bit 1: Low Battery;1=Low Battery =>0 Bit 2: Loss of RF Communications;1=RF loss =>0 Bit 3: RSD Tamper;1=RSD door is open =>0 Bit 4: Cache Status;1=has been used =>0 Bit 5: Motor Stall;1=Motor is Stalled =>0 Bit 6: Lock Clutch Position;1=door unlocked =>0 Bit 7: Deadbolt Position;1=bolt extended =>0 Byte 3 Bit 0: Request To Exit Active;1=REX Active =>0 Bit 1: APM forced;1=Forced APM =>0 Bit 2: APM Open Too Long;1=APM Open Too Long =>0 Bit 3: Tamper Active;1=Tamper Active =>0 Bit 4: Datalog Ready; =>0 Bit 5: Configuration Mode;1=In Configuration Mode =>0 Bit 6: RSD/APM is in Link Mode;1=Link mode Enabled =>0 Bit 7: AD-400 Battery Critical/AD-300 REN Active;1=True =>0 Byte 4 Bit 0: Trouble;1=APM has trouble =>0 Bit 1: AD-400 Low Li Battery/AD-300 ;1=Low Battery =>0 Bit 2: Door Position Switch;1=closed =>0 Bit 3: IPB;1=IPB Pressed =>0 Bit 4: Request To Exit Switch;1=inactive =>1 Bit 5: Wireless: Request to Enter Switch/VIP:LBM Status;1=Active/BoltExtended =>0 Bit 6: Key Override;1=key being used =>0 Bit 7: Lock State;1=unlocked, 0=locked =>1 Byte 5 Bits 0 - 7: More Events =>0x00 (0)New status shows that the door is locked as expected.
03 3A 00RSD/0x03Address = 3, POLL_RSD_CRC, Lngth = 0This message is shown only once here but is repeatedly sent (device is polled) until any of the APMs connected to the RSD has a new status.
FF 31 000xFFAddress = 255, RSD_STATUS_IDLE, Lngth = 0Response shows no new status. Door is still unlocked.
03 3A 00RSD/0x03Address = 3, POLL_RSD_CRC, Lngth = 0 
FF 31 05 02 00 00 10 000xFFAddress = 255, RSD_STATUS_CHANGE, Lngth = 5, Byte 1 Bits 0 - 7: APM Address (0x00 to 0xFE excluding 0xAA) =>0x02 (2) Byte 2 Bit 0: Reader Tamper;1=Tamper =>0 Bit 1: Low Battery;1=Low Battery =>0 Bit 2: Loss of RF Communications;1=RF loss =>0 Bit 3: RSD Tamper;1=RSD door is open =>0 Bit 4: Cache Status;1=has been used =>0 Bit 5: Motor Stall;1=Motor is Stalled =>0 Bit 6: Lock Clutch Position;1=door unlocked =>0 Bit 7: Deadbolt Position;1=bolt extended =>0 Byte 3 Bit 0: Request To Exit Active;1=REX Active =>0 Bit 1: APM forced;1=Forced APM =>0 Bit 2: APM Open Too Long;1=APM Open Too Long =>0 Bit 3: Tamper Active;1=Tamper Active =>0 Bit 4: Datalog Ready; =>0 Bit 5: Configuration Mode;1=In Configuration Mode =>0 Bit 6: RSD/APM is in Link Mode;1=Link mode Enabled =>0 Bit 7: AD-400 Battery Critical/AD-300 REN Active;1=True =>0 Byte 4 Bit 0: Trouble;1=APM has trouble =>0 Bit 1: AD-400 Low Li Battery/AD-300 ;1=Low Battery =>0 Bit 2: Door Position Switch;1=closed =>0 Bit 3: IPB;1=IPB Pressed =>0 Bit 4: Request To Exit Switch;1=inactive =>1 Bit 5: Wireless: Request to Enter Switch/VIP:LBM Status;1=Active/BoltExtended =>0 Bit 6: Key Override;1=key being used =>0 Bit 7: Lock State;1=unlocked, 0=locked =>0 Byte 5 Bits 0 - 7: More Events =>0x00 (0)Same poll message after the relock delay shows that the door is once again locked.