![background image](http://html.mh-extra.com/html/amx/axb-pccom/axb-pccom_instruction-manual_2937741013.webp)
Programming
9
AXB-PCCOM Communications Port Interface
Send_Commands
The following table lists the Send_Commands for the AXB-PCCOM :
Requests sent to the AXB-PCCOM (Cont.)
Command
Packet Structure and Example
Set Level (Byte)
Syntax:
'*' <3> <DEVICE> <LEVEL NO> <LEVEL> <CHECKSUM>
Example
"'*',3,1,0,200,246"
Set level 0 on device 1 (AXlink device 129) to 200.
Set Level (Word)
Syntax:
'*' <13> <DEVICE> <LEVEL NO><LEV_H><LEV_L><CHECKSUM>
Example:
"'*',13,1,0,128,0,184"
Set level 0 on device 1 (AXlink device 129) to 32768.
Set Response Mask
Syntax:
'*' <10> <MASK1> <MASK2> <CHECKSUM>
Examples:
"'*',10,32,0,212"
Set the AXB-PCCOM to send only CHANNEL STATUS strings.
"'*',10,160,0,84"
Set the AXB-PCCOM to send CHANNEL STATUS and RECEIVE STRING strings.
Refer to the
Response Mask
section on page 11 for more information.
AXB-PCCOM Send_Commands
Command
Packet Structure and Example
’RXON
Enables strings to be sent to master.
’RXOFF’
Disables strings to be sent to master.
’LEVON’
Enables levels to be sent to master.
’LEVOFF’
Disables levels to be sent to master.
’PASS ON’
AXB-PCCOM is put into PASS mode where any string sent from master will be sent
without protocol formatting, and any string received will be sent to master without
protocol checking. The PCCOM will act like a AXB-232 with the capability to send and
receive strings.
’PASS OFF’
Turns off PASS mode. PCCOM operates normally.
’SS-’
Allows a RAW string to be sent from the PCCOM. Any characters after the '-' will be
sent without PCCOM protocol formatting.