Responses From Axcess - AMX AXCESS CONTROL SYSTEM PROGRAM Instruction Manual

Programming language
Table of Contents

Advertisement

The External_Control Protocol
Command packets (Cont.)
Command
SET BYTE LEVEL
SET WORD LEVEL
LEVEL REQUEST
For example, the following command packet (TURN CHANNEL ON) causes channel 4 on device
3 to be turned on (the bytes are shown in hexadecimal):
<$2A> <$Ø1> <$Ø3> <$Ø4> <$32>
$2A (*) is always for sending commands, and $26 (&) is always for responses
The attention byte appears first. Next, the first command ($Ø1) is needed to turn a channel on. The
following two bytes are the device number and channel to be activated. Finally, the checksum
appears at the end.
In this example, the string AMX is sent to device 3:
<$2A> <$Ø4> <$Ø3> <$Ø3> <$41> <$4D> <$58> <$1A>
The attention byte remains the same as before, but the command changes to $Ø4, to tell Axcess to
send a string. The device number is next, followed by the number of bytes comprising the string-in
this case, 3. The hexadecimal values for each letter of AMX is next, and the packet ends with the
checksum.

Responses from Axcess

In the previous sections, a command was sent to the Central Controller. In turn, the Central
Controller also responds to some of the commands. Figure 70 lists the responses. For example, after
you sent the string AMX to the Central Controller, you would receive the following packet if the
transmission was successful:
!
Returned packets
Response
CHANNEL IS ON
CHANNEL IS OFF
RECEIVE STRING
GET PUSH
GET RELEASE
GET DEVICE ID
GET BYTE LEVEL
GET WORD LEVEL
GET LEVEL
114
Packet structure
'*' <13> <DEVICE> <ADDRESS> <VALUE> <CHECKSUM>
'*' <14> <DEVICE> <ADDRESS> <VALUE.2> <CHECKSUM>
'*' <15> <DEVICE> <ADDRESS> <CHECKSUM>
<$26> <$Ø4> <$Ø3> <$Ø3> <$41> <$4D> <$58> <$1A>
Packet structure
'&' <1> <DEVICE> <CHANNEL> <CHECKSUM>
'&' <2> <DEVICE> <CHANNEL> <CHECKSUM>
'&' <4> <DEVICE> <# OF BYTES> <STRING> <CHECKSUM>
'&' <6> <DEVICE> <CHANNEL> <CHECKSUM>
'&' <7> <DEVICE> <CHANNEL> <CHECKSUM>
'&' <8> <DEVICE> <DEVICE ID> <CHECKSUM>
'&' <13> <DEVICE> <ADDRESS> <VALUE> <CHECKSUM>
'&' <14> <DEVICE> <ADDRESS> <VALUE.2> <CHECKSUM>
'&' <15> <DEVICE> <ADDRESS> <VALUE.2> <CHECKSUM>
Axcess Programming Language

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AXCESS CONTROL SYSTEM PROGRAM and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Axcess

Table of Contents