Programming
Programming
Use the same Axcess commands as with other AXlink control panels, such as the AXU-MSP series mini-softwire panels. When using the AXP-CPI16 as a control device, use On, Off, and Pulse commands to control sources connected to outputs and Push and Release commands to receive inputs. For additional information, refer to the Axcess Programming Language instruction manual.
Send_Commands
Command | Description |
| |
'STATUS-ON' | Causes the AXP-CPI16 to be in Status-On Mode. |
| This command overrides the mode setting. |
| |
'STATUS-OFF' | Causes the AXP-CPI16 to be in Status-Off Mode. |
| This command overrides the mode setting. |
| |
The AXP-CPI16 uses input channels to report user input on the contacts or switches attached to the input terminals. Output channels are used to turn on the lamp or LED display devices to indicate the button status to the user.
The AXP-CPI16 default mode is STATUS-OFF, and in this mode the programmer cannot poll the AXP- CPI16 to determine the state of the output channel. This is because in this mode the output and input channels use the same number assignments. Inputs are sent by the AXP-CPI16 only as input changes.
When set for STATUS-ON mode the output channels are assigned a different channel number than the input channels. This allows the programmer to monitor the status of an output channel. However the channel offset must be accommodated in the programming code. Statements such as this example can be used in a program.
IF[CPI16,25] (* output channel assigned to input channel 9 on P3 connector *)
Each of the two 20-pin connectors is assigned a group of 8 input and output channels. The table below shows the relation of input and output channels in the STATUS modes.
Input/Output STATUS Mode
Mode | Connector | STATUS-OFF (default) | STATUS-ON |
| | | |
Inputs | P2 | Chan 1-8 (Push/Release only) | Chan 1-8 (On/Push/Off/Release) |
| | | |
| P3 | Chan 9-16 (On/Off only) | Chan 17-24 (On/Off) |
| | | |
Outputs | P2 | Chan 1-8 (Push/Release only) | Chan 9-16 (On/Push/Off/Release) |
| | | |
| P3 | Chan 9-16 (On/Off only) | Chan 25-32 (On/Off) |
| | | |
The AXP-CPI16 may be configured to default to STATUS-ON mode using the following method. The commands can force a change to the mode no matter what default mode is configured for the device.
STATUS-ON Mode:
Remove R7 (1K ohm) resistor OR short across R8 for STATUS-ON mode. Firmware remains the same for standard and STATUS-ON mode AXP-CPI16 units.
AXP-CPI16 16-Channel Custom Panel Interface | 7 |
| |