Omega A2400 manual

Page 35

Command Set 4-14

The SetUp command requires an argument of eight hexadecimal digits to describe four bytes of setup information.

Command: $1SU31070007

Response: *

Command: #1SU31070007

Response: *1SU3107000795

Set Time Delay 1 (T1)

T1 is a programmable time delay used to control the RTS output. T1 is used to guarantee a dead time between the completion of host transmitted data and the beginning of remote data transmission. The T1 timer is started after a character has been received by the A2400 on the RS-485 bus. Upon completion of delay T1, the RS-232 Request to Send (RTS) signal will become active and delay T2 will begin. T1 delay times are specified in units of milliseconds with a range of 0 to 2000 ms. The data value must be formatted as a plus sign, five decimal digits, decimal point, and two more digits:

Command:

$1T1+00100.00

(Set T1 to 100 ms.)

Response:

*

 

Command:

#1T1+00100.00

(Set T1 to 100 ms.)

Response:

*1T1+00100.008A

 

Set Time Delay 2 (T2)

The time delay T2 is used as part of the intelligent control of the radio modem transmitter. After the RTS signal is asserted to turn on the transmitter, T2 is activated to allow the transmitter time to settle in preparation of the transfer of data. The minimum time for T2 is usually specified by the radio modem manufacturer. After the T2 time is complete, the A2400 transfers data stored in a buffer out the RS-232 Transmit line to the radio modem.

Some radio modems offer a Clear-To-Send signal which can be connected to the CTS input of the A2400. This is a hardware indicator that the transmitter is ready and it can substitute for the T2 time.

If CTS input becomes active before T2 expires, delay T2 will be overridden and the buffered RS-485 data will be transmitted.

Image 35
Contents User’sGuide Servicing Europe Servicing North AmericaFor immediate technical or application assistance STAMFORD, CT Phone 1-800-DAS-IEEE Revised 4/17/95Omega Engineering ONE Omega Drive BOXTable of Contents Introduction Chapter Getting StartedLeased Lines System Overview+99999.99 $1RDDefault Mode Page Chapter Functional Description Block DiagramFunctional Description Pinout Character Filter RS-485 TerminationA2400 Operation Page Programmable Delay Times Page Chapter Communications Command $1RD Response *+99999.99DO, OC, CC, RD, REA, RID, RLP, RS, RSP, RSU Communication DATA+ RS-485 Multidrop SystemPage Command Structure Chapter A2400 Command SetResponse Structure Data StructureWrite Protection Miscellaneous Protocol NotesLong Form Responses Command Checksum$1WEF ?1 Syntax Error?1 BAD Checksum A2400 User Commands RT3 A2400 Command SetClosed Channel CC Extended Command DescriptionsCommand 01CC Response Response *01CC11 Digital Output do Command $1DO01 Response Command #1DO01 Response *1DO014FExtended Address EA Command $1DO00 Response Command #1DO00 Response *1DO004E1ID Tank Farm 1CD $1ID Tank Farm#1ID Tank Farm Read Data RD Command 01OC Response Response *01OCEDOpen Channel OC Extended 1RID Tank Farm 11F $1RID Tank Farm #1RID#1RSP $1RSU#1RSU $1RSPResponse *+00100.00 Read Time Delay 1 RT1Response *1RT1+00100.00DC Read Time Delay 2 RT2 Page Page Short Prompt SP BAD Checksum Command 01WE Response *01WE27Error Messages Address ErrorValue Error Command ErrorParity Error Syntax Error$1SUbyte 1byte 2byte 3byte Chapter Setup Information/SetUp CommandCommand Syntax Byte HEX Ascii Byte 1 Ascii Printable CharactersBaud Rate ParityCommand $1RS Response *31020102 Command $1WE Command $1RS Response *31070000Command $1WE Response Command $1SU31020000 Baud Command $1RR ResponseBit Byte 2 Linefeed, Parity and Baud RateNormal addressing Chapter Delay Time Programming Delay Time Programming Page Command $1RT1 Response *+00100.00 Command $1T3+00050.00 Set T3 to 50 ms ResponseChapter Power Supply Symptom RS-485 Module is not responding to commands Chapter TroubleshootingSymptom RS-232 Module is not responding to commands Chapter Extended Addressing Command 01WE ResponseOpen/Close Channel Commands Typical system overview Command 02OC Response Command 01OC ResponseCommand $1RD Response +00100.00 Typical $2RD +00123.45 Command 01CC ResponseExtended Address Syntax Structured AddressingCommand Response OC and CC Command FormatsImplied CC Command Implied OC CommandExplicit Open and Close Channel Commands Command Response *01OC1D Single Command Module AddressCommand 01$1RD Response *+00100.00 Command 02OC Response 02OC1E ‘1E’ is the checksum Command 01CC Response 01CC11 ‘11’ is the checksumTransparent Mode Functions Chapter Transparent ModeA2400 interfacing a PLC to a leased-line modem A2400 networking several RS-232 devices to a host computer A2400 interfacing a laboratory instrument with modules Transparent Mode Adding secondary control using A2400 modules Transparent Mode WARRANTY/DISCLAIMER Shop online at omega.com