PureLink by Dtrovision
65
4.2 Command Line Operation
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 PureLink digital Matrix Routers provide a simple character
stream control used by external control devices attached to a PureLink device. Command
codes are used primarily for control, during system installation and setup, and for diagnostic
purposes.
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 and other functions.
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 page 67.
Note) For PM-128X and PM-256X, input and output # uses three digit format, instead
of two digits. For example;
Input 01 (I001), Input 05 (I005), Output 01 (O001) and Output 100 (O100)
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;
Содержание PM-16X
Страница 93: ...PureLink by Dtrovision 93 4 Hyper terminal setting Go to file Properties setting ASCII setup ...
Страница 94: ...PureLink by Dtrovision 94 Check on Echo typed characters locally and then ok 5 Type program and enter ...
Страница 95: ...PureLink by Dtrovision 95 6 Type 1 and enter 7 Go to send T menu and then send file Select Ymodem Protocol ...
Страница 96: ...PureLink by Dtrovision 96 8 Select firmware file rom and then Send S 9 Firmware update progress window ...