beautypg.com

Typical rs-232 device interconnections – FSR IT-R4S User Manual

Page 10

background image

10

String Data

The string data would be enclosed in double quotes; this allows a string of data to be

virtually any length. Single Hex characters will be defined as <0D> (which is a carriage return).
Multiple hex characters can be sent using the same scheme but with spaces between the two
ASCII bytes that represent the hex value (example <0A 0D> which is a carriage return and line
feed). A backslash character will be used preceding a “<” or “>” if the “<” or “>” is part of the
string but not defining ASCII-Hex characters. An example of this might be “\< is a less than
character” or “\> is a greater than character”. If a backslash is part of a string a double backslash
will be sent “\\”. A double quote is required in a string it would be sent as “\””.

In order to pass a request to a device connected to the IT-R4S, a pass through sequence

must be sent from a RN8200, RN1000, WPCS or other control system. Using “\S” for each
device on the drop enclosed in braces ({}). For example {\S\S}”R C 1<0D>” would cause the
first device on the drop to skip the request and send “[\S]R C 1<0D>” to the second device on
the drop. The second device seeing the “}” would process the request and send the message
within the double quotes, with the ASCII hex (<0D>) replaced with the actual hex characters (R
1 C 0D) to the third device. Since the message to the third device hasn’t a drop preamble it
would handle the relay request.

Responses

The responses are sent as they are received.

Typical RS-232 Device Interconnections






TYPICAL RS-232 DEVICE INTERCONNECTIONS