Elk Arming Status Request (as)

mishab

Member
Hi. I am tryting to query the control panel for its arming status.
I establish connection with Elk M1 and send 06as0066. But the response I get does not report the arming status.
I do get a response which starts with 1EAS but ends with bunch of zeros.

I only get the correct arming status when i send the arming request first
0Da11001234003F(CR-LF)
and then i get the correct 1EAS response.

Is there a reliable way to check for arming status?

- Misha

PS there is a way to obtain the status by phone, so there must be a way to do this .
 
Here is what you should receive back from the M1 on an unarmed system:

Request to M1 -- 06as0066 //Make sure you have a carriage return at the end of the string
Reply from M1 -- 1EAS000000001111111100000000000E



Explaination from the M1 ASCII Protocol Document which is downloadable from ELK:

Arming Status Request (as)
06 – Length as hex
as – Request arming status
00 – future use
CC – Checksum
Example: 06as0066(CR-LF) Request Arming status
The control panel responds to this message with an Arming Status Report

Reply Arming Status Report Data (AS)
1E – Length as hex
AS – Reply with zone definition data
S[8] - Array of 8 area armed status.
U[8] - Array of 8 area arm up state.
A[8] - Array of 8 area alarm state.
00 – future use, M1 Version 4.11 and later, contains the first found Exit time if U[x] = ‘3’ or Entrance time if A[x] = ‘1’ as two digits hex in seconds.
CC – Checksum
Example: 1EAS100000004000000030000000000E Area 1 is armed away, and the area is in full fire alarm.

Example: 1EAS1000000031111111000000000902 Exit time set to 9 seconds.

If the control’s area status changes, this message will be sent if Global Option “Transmit Keypad Keys” is enabled.

“S” 8-character array field, represents the arming status of partitions 1-8. The leftmost “S” is Area 1. Each area or partition field can contain one of the following ASCII values:
‘0’ Disarmed
‘1’ Armed Away
‘2’ Armed Stay
‘3’ Armed Stay Instant
‘4’ Armed to Night
‘5’ Armed to Night Instant
‘6’ Armed to Vacation

“U” 8-character array field, represents the arm up state of partitions 1-8. The leftmost “U” is Area 1. Each area or partition field can contain one of the following ASCII values:
‘0’ Not Ready To Arm
‘1’ Ready To Arm
‘2’ Ready To Arm, but a zone is violated and can be Force Armed.
‘3’ Armed with Exit Timer working
‘4’ Armed Fully
‘5’ Force Armed with a force arm zone violated
‘6’ Armed with a bypass

“A” 8-character array field, represents the current alarm state of partitions 1-8. The leftmost “A” is
Area 1. Each area or partition field can contain one of the following ASCII values:
‘0’ No Alarm Active
‘1’ Entrance Delay is Active
‘2’ Alarm Abort Delay Active
‘3’ to ‘B’ Area is in Full Alarm, see ASCII alarm table values below:
FireAlarm = ‘3’,
MedicalAlarm = ‘4’,
PoliceAlarm = ‘5’,
BurglarAlarm = ‘6’,
Aux1Alarm = ‘7’,
Aux2Alarm = ‘8’,
Aux3Alarm = ‘9’, //not used
Aux4Alarm = ‘:’, //not used
CarbonMonoxideAlarm = ‘;’,
EmergencyAlarm = ‘<’,
FreezeAlarm= ‘=’,
GasAlarm = ‘>’,
HeatAlarm = ‘?’,
WaterAlarm = ‘@’,
FireSupervisory = ‘A’,
VerifyFire = ‘B’,
 
Thank you Spanky,

My reply from M1 is
1EAS100000004111111100000000000A"

1E AS 10000000 41111111 00000000 00 0A\r\n"

S[8] = 10000000
U[8] = 41111111
A[8] = 00000000

I have no idea how to translate this

also, most of the time i get
1E AS 00000000 01111111 00000000 00 0F


Here is what you should receive back from the M1 on an unarmed system:

Request to M1 -- 06as0066 //Make sure you have a carriage return at the end of the string
Reply from M1 -- 1EAS000000001111111100000000000E



Explaination from the M1 ASCII Protocol Document which is downloadable from ELK:

Arming Status Request (as)
06 – Length as hex
as – Request arming status
00 – future use
CC – Checksum
Example: 06as0066(CR-LF) Request Arming status
The control panel responds to this message with an Arming Status Report

Reply Arming Status Report Data (AS)
1E – Length as hex
AS – Reply with zone definition data
S[8] - Array of 8 area armed status.
U[8] - Array of 8 area arm up state.
A[8] - Array of 8 area alarm state.
00 – future use, M1 Version 4.11 and later, contains the first found Exit time if U[x] = ‘3’ or Entrance time if A[x] = ‘1’ as two digits hex in seconds.
CC – Checksum
Example: 1EAS100000004000000030000000000E Area 1 is armed away, and the area is in full fire alarm.

Example: 1EAS1000000031111111000000000902 Exit time set to 9 seconds.

If the control’s area status changes, this message will be sent if Global Option “Transmit Keypad Keys” is enabled.

“S” 8-character array field, represents the arming status of partitions 1-8. The leftmost “S” is Area 1. Each area or partition field can contain one of the following ASCII values:
‘0’ Disarmed
‘1’ Armed Away
‘2’ Armed Stay
‘3’ Armed Stay Instant
‘4’ Armed to Night
‘5’ Armed to Night Instant
‘6’ Armed to Vacation

“U” 8-character array field, represents the arm up state of partitions 1-8. The leftmost “U” is Area 1. Each area or partition field can contain one of the following ASCII values:
‘0’ Not Ready To Arm
‘1’ Ready To Arm
‘2’ Ready To Arm, but a zone is violated and can be Force Armed.
‘3’ Armed with Exit Timer working
‘4’ Armed Fully
‘5’ Force Armed with a force arm zone violated
‘6’ Armed with a bypass

“A” 8-character array field, represents the current alarm state of partitions 1-8. The leftmost “A” is
Area 1. Each area or partition field can contain one of the following ASCII values:
‘0’ No Alarm Active
‘1’ Entrance Delay is Active
‘2’ Alarm Abort Delay Active
‘3’ to ‘B’ Area is in Full Alarm, see ASCII alarm table values below:
FireAlarm = ‘3’,
MedicalAlarm = ‘4’,
PoliceAlarm = ‘5’,
BurglarAlarm = ‘6’,
Aux1Alarm = ‘7’,
Aux2Alarm = ‘8’,
Aux3Alarm = ‘9’, //not used
Aux4Alarm = ‘:’, //not used
CarbonMonoxideAlarm = ‘;’,
EmergencyAlarm = ‘<’,
FreezeAlarm= ‘=’,
GasAlarm = ‘>’,
HeatAlarm = ‘?’,
WaterAlarm = ‘@’,
FireSupervisory = ‘A’,
VerifyFire = ‘B’,
 
Mishab:

The 8 characters in the "S" field are the arming status by Area. This shows area 1 as armed.
The 4 in the "U" field left character shows Area 1 as "Fully Armed", with Areas 2 to 8 as ready to arm with a "1" in each Area position.
The "0"'s in the "A" field show that there has been no alarm activity.
The left character in each field is Area 1 going to the 8th character which is Area 8.

These data packets are not meant to be text readable, only to be interpreted by a PC program.

As you have done here, it starts making more sense when you break the data fields apart.

Therefore this packet "1E AS 00000000 01111111 00000000 00 0F" means all areas are disarmed and Area 1 is not ready to arm.

Have fun, you can get most all the M1 status from these data strings as well as control its operation. ELKRM uses these same data strings.

_______________________________
My reply from M1 is
1EAS100000004111111100000000000A"

1E AS 10000000 41111111 00000000 00 0A\r\n"

S[8] = 10000000
U[8] = 41111111
A[8] = 00000000

I have no idea how to translate this

also, most of the time i get
1E AS 00000000 01111111 00000000 00 0F
 
Back
Top