Technical Support -
International: (928) 778-3554 US: (800) 933-1780 Europe: (31) 20-6238-983
www.rdlnet.com
3
For long distance communication between the controller and the CS1 a pair of RDL RU-SC2s may be
used. Refer to the RDL RU-SC2 Installation Instruction for wiring and cable diagrams.
Note: The RDL RU-SC1A is not recommended for long distance CS1 control. The RDL RU-SC1A model will not always
work properly as it is a half duplex device, which will only communicate to another RU-SC1A one way at a time.
3. Programming
Command Protocol
The CS1 is controlled by ASCII commands received via the RS-232 connector.
A full listing and explanation of these commands is covered later in the Command Reference section.
Each command must have a terminator character appended to the end of the command to enact it. This
terminator may be the Line Feed character (ASCII 10) or the Carriage Return character (ASCII 13) or both
in either order. The CS1 may be set up via the “REN” command to send a response back to the host upon
receiving the terminator character, returning an error code. The error code will indicate a successful command
was received or one of several different error conditions occurred, enabling the programmer to troubleshoot
any erroneous command. By default the error code responses are disabled.
External Inputs
External events may be set to cause spontaneous RS-232 communication
from the CS1 to the host. These events are from changes to the STATUS INPUT pins if commands have
been issued to the CS1 to enable these alerts. By default no input alerts are active upon power up or after
an “INIT” initialization command has been sent.
Response Protocol
All responses from the CS1 can have an optional terminator added which
may be a Carriage Return (ASCII 13) or Line Feed (ASCII 10) or both (CR + LF). The default power-up
condition is “no terminator”. Terminators are activated using the “
T
n” commands covered later in the
Command Reference section.
Power-up Default Conditions
The CS1 powers up ready to accept any command and to not provide
responses back to the computer. The power-up default sets the CS1 to include no terminators (see
Response Protocol above) with any responses. If user equipment or software requires a terminator, the
CS1 must be programmed first with the correct “
T
n” command to enable outgoing terminators. If responses
are required, they should be programmed next by sending the “REN” command. Additionally, “ramp
complete” responses may be enabled by sending the “RER” command to the CS1.
Computer Issues
During computer boot up, the electrical levels on the RS-232 serial port pins
may vary. This may produce a communication error on the CS1 as evidenced by the flashing
ERROR
LED. This can be cleared by sending any terminator character (or command with terminator) to empty the
CS1’s receive buffer followed by sending any valid command with a terminator. One suggestion for the
valid command would be “INIT” which puts the CS1 into the power-up default state.
Ramping
The ramp rates are programmable for each voltage output. Each ramp is adjustable for a
nominal 0.5 to 127.5 seconds full scale. The default time for all channels is 0.5 seconds full scale. To
calculate a specific ramp completion time use the following formula:
| end value – beginning value | X full scale ramp time
256
where:
end value
and
beginning value
are command suffixes in the range from 0 to 255, and
full scale
ramp time
is the total time required to ramp from 0 (off) to 255 (fully on).