Owner`s manual

PureLink GmbH
16
4. Communication Code Configuration
4-1.COMMAND LINE OPERATIONS
Control Programmer’s Guide (Code Structure and Examples)
This section is designed for programmers who wish to create their own control programs
using the command code. All Pure Link digital matrix routers provide a simple character
stream control used by external control devices attached to a Pure Link device. Command
codes are used primarily for control, during system installation and setup, and for diagnostic
purposes.
Overview
Command code is a set of alphanumeric characters that combine to form control commands.
Command code strings are entered into a terminal emulation program (such as windows
HyperTerminal) running on an external control device. The control device (PC, third-party
controller) sends the commands to the system. Control devices must be able to send and
receive ASCII or HEXA code via an RS-232 or Ethernet port.
Command Code Formats
A command code is a series of command characters and numbers used to send commands
to the system. Commands include basic formulas for creating and disconnecting switches, as
well as for verifying the status of switches.
In a command code, each character is either general command (e.g, C for connect) or an
identifier that indicates what the following number designates (e.g, “O” and the number
following it designate an “output number”). The command code *255CI01O01! Can be
interested as follows: (*) Starting the command code (255) Router ID is 255 (C) Create
connection on (I01) Input 01 to (O01) Output 01 (!) take the command. For a complete list
of command characters and their functions, see pages 17-24
Ack value (Acknowledge value: Response from Pure Link device) will be echoed back to the
terminal screen as the unit accepts them. When a command is successfully executed, all of
the characters appear containing the character “s” which stands for status. For example,