background image

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).

Содержание SYS-CS1

Страница 1: ...er Communications and Connections 2 RS 232 Communication 2 RS 232 Connection 2 3 Programming 3 Command Protocol 3 External Inputs 3 Response Protocol 3 Power Up Default Conditions 3 Computer Issues 3 Ramping 3 Sample Program 4 Baud Rate 4 Status Monitor 4 Windows Hyper Terminal 4 4 Command and Error Code Reference 5 5 Rear Panel Connections and Typical Performance 8 2005 Radio Design Labs Inc ...

Страница 2: ...ducts are in the same size chassis which is one RU rack unit high and two thirds wide Either CS1 model will occupy 2 of 3 bays in an available RDL RU RA3 rack mounting accessory Note References in this manual that apply to both SYS CS1 and RU2 CS1 will use the term CS1 2 Computer Communications and Connections RS 232 Communication The CS1 communicates with a host controller using an RS 232 connect...

Страница 3: ...en 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 Tn commands covered later in the Command Reference section Power up Default Conditions The CS1 powers up ready to accept any command and to not provi...

Страница 4: ...ialog select the baud rate that is set on the CS1 rear panel switches The data bits should be 8 the parity setting should be None and the Stop bits 1 The Flow control must be set to None Click OK when ready Hyper Terminal is now configured and the setup should be saved for convenient use later The info bar at the bottom should have a Connected message If not click on the telephone icon on the menu...

Страница 5: ...t stop bit settings as well E3 Internal receive buffer overrun Too many characters with no terminator were received Possibly caused by an incorrect baud rate E4 Command not understood An unknown command was received E5 Argument incorrect Command was recognized but an invalid value parameter was detected Note An argument containing more characters than required may not trigger an E5 error code The ...

Страница 6: ... b 0 for inactive and 1 for active The first character after I is STATUS INPUT 8 then 7 etc IAbbbbbbbb Returns alert for STATUS INPUT terminal pattern bbbbbbbb where b 0 for inactive 1 for active and X for don t care The first character after IA is terminal 8 then 7 etc The response is IA when the user input terminals match the defined pattern The alert response is sent even if the CS1 is in no re...

Страница 7: ...ely to level xxx This command follows the leading zero rules as in VO command above No value for xxx will set the output off to 0 Vdc VRmn m A to H n 0 or 1 to set Output Voltage Range Default value of n is 0 which is the 0 to 10Vdc range a value of 1 sets the range to 0 to 5 Vdc RMPmxxx m A to H xxx 0 to 255 Ramps 0 to 10V output m to level xxx using rate set by RR command RRmxxx m A to H xxx 1 t...

Страница 8: ... cm Depth 3 98 in 10 10 cm Width 11 60 in 29 50 cm SYS CS1 5 Rear Panel Connections and Typical Performance RU2 CS1 TYPICAL PERFORMANCE Control Input Output RS 232 DB 9 female jack Control Outputs 8 Open collector 50 mA Status Inputs 8 Low active internally pulled high to 5 V MAX input 24 Vdc 0 to 10 VDC Outputs 8 22 Ω ground referenced 20 mA 256 steps Ramp Rate 0 to 10 V Outputs 0 5 to 120 second...

Отзывы: