![background image](http://html.mh-extra.com/html/amx/axb-pccom/axb-pccom_instruction-manual_2937741012.webp)
Programming
8
AXB-PCCOM Communications Port Interface
Requests sent to the AXB-PCCOM (Cont.)
Command
Packet Structure and Example
Get Devices
Syntax:
'*' <9> <CHECKSUM>
Example:
"'*',9,51"
Request the devices and device numbers of the AXB-PCCOM. The AXB-PCCOM
responds with a DEVICE LIST string.
Get Level Status
Syntax:
'*' <7> <DEVICE> <LEVEL> <CHECKSUM>
Example:
"'*',7,2,7,58"
Request the level for level 7 on device 2 (AXlink device 130). The AXB-PCCOM
responds with a CHANGE LEVEL string.
Pulse Push/Release
Syntax:
'*' <2> <DEVICE> <CHANNEL> <CHECKSUM>
Example:
"'*',2,0,1,45"
Push and release channel 1 on device 0 (AXlink device 128).
Send All Levels
Syntax:
'*' <12> <DEVICE> <CHECKSUM>
Example:
"'*',12,2,56"
Request the AXB-PCCOM to send level status for all levels on device 2 (AXlink
device 129). The AXB-PCCOM responds with a CHANGE LEVEL string for each level
for device 2.
Send All On Channels
Syntax:
'*' <11> <DEVICE> <CHECKSUM>
Example:
"'*',11,1,54"
Request the AXB-PCCOM to send all on channels for device 1 (AXlink device 129).
The AXB-PCCOM responds with a channel status string for each channel that is On
for device 1.
Send Command
Syntax:
'*' <5> <DEVICE> <# BYTES> <STRING> <CHECKSUM>
Example:
"'*',5,3,9,'COMMAND 0',138"
Device 3 (AXlink device 131) sends the command 'COMMAND 0' to the master card
from device 3 (AXlink device 131).
Send String
Syntax:
'*' <4> <DEVICE> <# BYTES> <STRING> <CHECKSUM>
Example:
"'*',4,0,9,'AXB-PCCOM',177"
Send the string 'AXB-PCCOM' to a buffer assigned to device 0 (AXlink device 128).