The text of a manual · part 3 of 4
Axcent3 and Axcent3 Pro Integrated Axcess Controllers Instruction Manual, pages 19 to 27
Pages 19 to 27 of 34
The original document is the PDF (485 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the AMX Axcent3
Page 19
Axcess Programming
Send_Commands for the IR/Serial/Data Ports (Cont.) SP
The CTON sets pulse length and CTOF sets time between pulses.
Generates a single <IR out> function pulse.
Syntax:
"’SP’,<IR out>" Variables: <IR out> = 1 - 127 Example:
SEND_COMMAND IR_1, "'SP',25" Pulses IR code 25, which decreases the volume level on the equipment connected to the controller. XCH Transmits the IR code in the format set with the XCHM mode command.
Syntax:
’XCH [channel]’ Variables: <channel> = 0 - 999 Mode 0 (default) Example:
SEND_COMMAND IR_1, 'XCH 3' Transmits the IR code as 3 enter.
SEND_COMMAND IR_1, 'XCH 34 ' Transmits the IR code as 3 4 enter. SEND_COMMAND IR_1, 'XCH 343 ' Transmits the IR code as 3 4 3 enter. Mode 1 Example:
SEND_COMMAND IR_1,'XCH 3' Transmits the IR code as 0 0 3 enter.
SEND_COMMAND IR_1, 'XCH 34' Transmits the IR code as 0 3 4 enter.
SEND_COMMAND IR_1,'XCH 343' Transmits the IR code as 3 4 3 enter. Mode 2 Example:
SEND_COMMAND IR_1,'XCH 3' Transmits the IR code as 0 0 3.
SEND_COMMAND IR_1,'XCH 34' Transmits the IR code as 0 3 4.
SEND_COMMAND IR_1,'XCH 343' Transmits the IR code as 3 4 3. Mode 3 Example:
SEND_COMMAND IR_1,'XCH 3' Transmits the IR code as 0 3.
SEND_COMMAND IR_1,'XCH 34' Transmits the IR code as 3 4.
SEND_COMMAND IR_1,'XCH 343' Transmits the IR code as 100 100 100 4 3.
Axcent3 and Axcent3 Pro Integrated Axcess Controllers
15
Page 20
Axcess Programming
Send_Commands for the IR/Serial/Data Ports (Cont.) XCHM
Syntax:
Sets the IR output ’XCHM [channel mode]’ format on the chan- Variables: nel specified with channel mode = Mode 0 - 3: the XCH command. Mode 0: [x][x]<x><enter> (default) Mode 1: <x><x><x><enter> Mode 2: <x><x><x> Mode 3: [[100][100]….]<x><x> Example:
SEND_COMMAND IR_1,'XCHM-3' Sets the XCH [Channel] extended channel command to mode 3. Refer to the XCH command for additional programming examples.
Send_Commands for Input/Output Ports The table below lists the I/O Send_Commands that set the I/O ports on the controller. Send_Commands for Input/Output Ports SET INPUT
An active state can be high (logic high) or low (logic low or contact closure). Channel Sets the input chan- changes, pushes, and releases generate reports based on their active state. nel's active state. Syntax:
’SET INPUT (Port) (State)’ Variables: Port = 1-6 Sate = High or Low Example:
SEND_COMMAND IO,'SET INPUT 1 HIGH' Sets I/O port to detect a high state change. GET INPUT Gets the input channel's active state.
An active state can be high (logic high) or low (logic low or contact closure). Channel changes, pushes, and releases generate reports based on their active state. Syntax:
’GET INPUT (Port)’ Variables: Port = 1-6 Example:
SEND_COMMAND IO,'GET INPUT 1' Gets I/O port's active state.
16
Axcent3 and Axcent3 Pro Integrated Axcess Controllers
Page 21
Axcess Programming
Standard IR Function Order The table below lists the standard function order for IR codes. Refer to the IRLIB instruction manual to download IR files. Standard IR Function Order Function Description
Function Description
1
Play >
22
Channel up or +
2
Stop [ ]
23
Channel down or -
3
Pause | | or still
24
Volume up or +
4
Ffwd >> (AMS/skip/track/ chapter)
25
Volume down or -
5
Rewind << (AMS/skip/track/ chapter)
26
Mute
6
Search fwd >>| (AMS/scan)
27
On (power typically)
7
Search rev |<< (AMS/scan)
28
Off (power typically)
8
Record
29
TV/Video or TV/VCR or TV/LDP (one button source selection)
9
Power or on/off
30
TV
10
’0’ or ’10’
31
Video1, Line A, VCR1, VDP, or input +
11
’1’ (channel digits or tracks for CD)
32
Video2, LineB, VCR2, or input -
12
’2’
33
Video3
13
’3’
34
RGB1 or Tape1
14
’4’
35
RGB2, or Tape2
15
’5’
36
CD
16
’6’
37
Tuner
17
’7’
38
Phono
18
’8’
39
AUX
19
’9’
40
AM/FM
20
’+10’ or ’+100’
41
Play < (play reverse)
21
Enter (used in conjunction with numbers typically)
42
A/B
Axcent3 and Axcent3 Pro Integrated Axcess Controllers
17
Page 22
Axcess Programming
Program Port Commands The PROGRAM port commands listed in the table below perform a wide variety of operations. You will need to connect an programming cable to the PROGRAM port on a master or slave controller, and your PC's serial port. The Controllers column shows the commands that can be used with Central controllers. PROGRAM Port Commands Command
Function
Description
COMPARE DEVICE
Master
The controller returns a list of all devices that it detects as missing from the AXlink bus and then a list of all the extra devices. The controller compares the devices present on the AXlink bus against the devices listed in the Define_Device section in the controller’s Axcess program. Syntax:
COMPARE DEVICE DATE
Master
The controller returns the current date and day of the week set in the controller. Syntax:
DATE DEVICE STATUS
Master
Syntax:
DEVICE STATUS <Device Number> The controller returns a list of all activated (on) channels in the specified device. ECHO OFF
Master and Slave
Disables terminal character’s echo function. Syntax:
ECHO OFF ECHO ON
Master and Slave
Enables terminal character’s echo function.
Master
The controller reports if it is currently controlling AXlink. The controller stays in control if a valid system program is running, unless there is another redundant controller present. If the controller is not in control of AXlink, it may not contain a program, there are AXlink wiring problems, or the backup controller (if present) is in control. The green LED on the controller also shows indication of AXlink control.
Syntax:
ECHO ON HAVE CONTROL
Syntax:
HAVE CONTROL HAVE PROGRAM
Master
The controller reports if it currently has a system program in memory. Syntax:
HAVE PROGRAM HELP
Master and Slave
Displays online help menu. Syntax:
HELP LEDON
Master and Slave
The 32 LEDs will light for approximately two seconds. This command is used for hardware test purposes. Syntax:
LEDON MEMORY
Master
Displays total memory equipped in the controller. Syntax:
MEMORY
18
Axcent3 and Axcent3 Pro Integrated Axcess Controllers
Page 23
Axcess Programming
PROGRAM Port Commands (Cont.) OFF
Master
Turns the device and channel numbers off. Syntax:
OFF[Device, Channel] Variables: Device = 1 - 255 Channel = 1 - 255 Example:
>OFF [52,1] Turns channel 1 on device 52 off. ON
Master
Turns the device and channel numbers on. Syntax:
ON [Device, Channel] Variables: Device = 1 - 255 Channel = 1 - 255 Example:
>ON [25,1] Turns channel 1 on device 25 on. PASS
Master
Syntax:
PASS <Device Number> This command communicates across the AXlink bus to external devices. When the PASS mode is enabled, all characters sent to the controller are passed along to the specified device, and all characters received from the device travel to the controller and then out of the card’s port. To exit from the PASS mode, type the following while holding down the <Shift> key (<ESC> is the Escape key):
++ <Esc> <Esc> PULSE
Master
Pulse the device and channel numbers. Syntax:
PULSE [Device, Channel] Variables: Device = 1 - 255 Channel = 1 - 255 Example:
>PULSE [16,1] Pulses channel 1 on device 16. SEND_COMMAND
Master
Send commands to the specified device. Refer to the device’s literature for programming. Syntax:
SEND_COMMAND <Device>, String Variables: Device = 1 - 255 SEND_STRING
Master
Send strings to the specified device. Refer to the device’s literature for programming. Syntax:
SEND_STRING <Device>, String Variables: Device = 1 - 255
Axcent3 and Axcent3 Pro Integrated Axcess Controllers
19
Page 24
Axcess Programming
PROGRAM Port Commands (Cont.) SET BASE DEVICE NUMBER
Master and Slave
Sets the AXlink base device number on the controller’s RS-232 port 1. Subsequent ports on the controller are incrementally set. If the device number is 1, the controller becomes an AXlink bus master, and if the device number is set to 2-xxx, the controller becomes a slave. Syntax:
SET BASE DEVICE NUMBER <Device> Variables: Device = 1 - 238 SET DATE
Master
Changes the date in the controller. Syntax:
SET DATE SET TIME
Master
Changes the time in the controller. Syntax:
SET TIME SHOW DEVICE
Master
Displays a list of all devices present on the AXlink bus. Syntax:
SHOW DEVICE SHOW INPUT OFF
Master
Sets Show Input mode off. Syntax:
SHOW INPUT OFF SHOW INPUT ON
Master
Sets Show Input mode on. Syntax:
SHOW INPUT ON SLOT
Master
The active controller returns its slot number. Syntax:
SLOT SYSTEM RESET
Master
The controller stops communication on AXlink for 2 seconds and then restarts. The system program then restarts according to the Define_Start section. Syntax:
SYSTEM RESET TIME
Master
The controller returns the time in its internal clock. Syntax:
TIME VERSION
Master and Slave
Displays current software version of the controllers. Syntax:
VERSION
20
Axcent3 and Axcent3 Pro Integrated Axcess Controllers
Page 25
Axcess Programming
Xmodem Timing Commands The table below lists the Axcent3 and Axcent3 Pro Xmodem timing commands. Xmodem timeouts and retires exist to accommodate potential Ethernet delays and for consistency among and within products. Any of the Timeout commands will change timing for Axcess code download as well as SOFTROM transfer. Any of the Retry commands will change the number of retries for Axcess code download as well as SOFTROM transfer.
Xmodem Timing Commands Xmodem timeouts (Default is 10 sec.)
’TIMEOUT XX’
Via the Program Port.
SEND_COMMAND 0, ’XMTO XX’
Over AXlink, where 0 is the device number.
SEND_COMMAND 1, ’XMTO XX’
Over AXlink, where 1 is the device number.
’RETRY XX’
Via the Program Port.
SEND_COMMAND 0, ’XMRT XX’
Over AXlink, where 0 is the device number.
SEND_COMMAND 1, ’XMRT XX’
Over AXlink, where 1 is the device number.
Where XX is from 1 - 50 seconds in 1-second increments. Where XX is from 1 - 50 seconds in 1-second increments. Xmodem retries (Default is 5)
Where XX is from 1 - 10 in increments of 1. Where XX is from 1 - 10 in increments of 1.
Setting PC-to-Axcess Program Communications, and a Controller’s Device Number in Terminal Emulator Mode Follow these instructions to set PC-to-Axcess program communications, and the controller's base device number. The only time you need to perform these steps is to download an Axcess program the first time, or to reset a controller back to a master. 1. Connect a programming cable to the PROGRAM connector on the controller, and to the serial port on your PC. 2. Launch the AxcessX program to open the main window. 3. Press F4 to open the Communications drop-down menu, and select Configure. 4. Press ENTER. Reset the communication parameters so that they match the con-troller's communication settings. Press F10 to save the new settings and close the CONFIGURE menu . When AXlink communication is established between the controller and PC, the AX Present message appears in the lower left-hand corner of the Axcess main window. You set options in the CONFIGURE window by placing the cursor next to the option using the directional keys, and pressing Enter. A check mark will appear next to each option you set.
5. Press F4 again to open the Communications drop-down menu. Choose the Terminal emulator option to open the Terminal window. You can also press CTRL and T to open the window.
Axcent3 and Axcent3 Pro Integrated Axcess Controllers
21
Page 26
Axcess Programming
6. Press ENTER four times to lock-in the communication settings. Now, you can download an Axcess program to the controller. Choose one of the following modes to set: To reset the controller’s base device number, type SET BASE DEVICE NUMBER 1. To display everything you type in the Terminal window, type Echo On to activate echo mode.
Setting PC to Axcess Program Communications and Setting Device Number in Normal Mode Follow these instructions to set PC-to-Axcess program communications, and the controller's base device number. The following procedure is based upon having an existing Axcess program file that is ready to be downloaded. 1. Press F1 to open the File menu, select Change directory, type the directory path into the popup dialog and press ENTER. 2. Press F1 to open the File menu and then select OPEN. 3. Enter the file name assigned to your Axcess program in the dialog box that appears and press ENTER. 4. The defined file will then appear in the Axcess window. Then press F2 and select SEND. The file loaded into the Axcess window is then sent to the Central controller.
Axcess Master Mode When an Axcess device is placed in "Master Mode", the Central Controller’s PROGRAM port is moved to the Axcess device’s RS-232 port. Press the escape key, then type either MC or MD: <esc>MC - connects the device in Master Mode <esc>MD - disconnects the device where <esc> means "press the Esc key". Master Mode can be very useful in situations where physical access to the Central Controller’s PROGRAM port is not practical (for example, in installations where the Central Controller is located a long distance from the bus device(s)).
22
Axcent3 and Axcent3 Pro Integrated Axcess Controllers
Page 27
Axcess Programming
Axcent3 and Axcent3 Pro Integrated Axcess Controllers
23