Omega A2400 manual

Page 49

Delay Time Programming 6-3

the data over the RS-485 bus. This data is normally command data being sent to a module on the bus. When the RS-232 command data is complete, the A2400 immediately turns its RS-485 transceiver back to receive mode and monitors the RS-485 bus.

In normal operation the A2400 looks for a D series response prompt character, either a ‘*’ or ‘?’. When a response prompt is received, the A2400 begins the first delay time , T1. Meanwhile, the A2400 stores the response data from the module until a carriage return character is detected, signifying the end of the response string. The A2400 checks to see if delay time T1 has expired. If not, it waits until the delay is complete. After T1 is done, the A2400 activates the RTS signal to key the radio transmitter. After the RTS signal is activated, delay time T2 is started to allow the transmitter to settle. After the completion of delay time T2, the A2400 then checks for an active (high) CTS line from the radio, then outputs the buffered response data to the RS- 232 Transmit line. When the transmit data is complete, the A2400 starts delay time T3. After the completion of delay time T3, the A2400 turns off the RTS signal and is now ready for the next command - response sequence.

Note that T1 only guarantees a minimum turn-around delay time. The actual time is a function of the response time of the module and the amount of time necessary for the radio’s transmitter to turn off after the RTS signal becomes inactive.

If for some reason there is no response to a command, no RTS signal is generated and the transmitter will not be keyed on. This allows the module addressing to be spread among several radio modems on the same frequency. For example, radio modem #1 could be connected to modules with addresses of 1, 2, 3, and radio modem #2 could be connected to modules with addresses of 4, 5, 6. The modems can operate on the same frequency without interference since only the correctly addressed modules will return response data.

The commands used to specify the delay times are similar to other D series commands, using the standard format for analog data with the time values scaled in milliseconds:

Command:

$1T1+00100.00

(set T1 to 100 ms.)

Response:

*

 

Command:

$1T2+00350.00

(set T2 to 350 ms.)

Response:

*

 

Image 49
Contents User’sGuide For immediate technical or application assistance Servicing North AmericaServicing Europe Omega Engineering ONE Omega Drive Revised 4/17/95BOX STAMFORD, CT Phone 1-800-DAS-IEEETable of Contents Introduction Chapter Getting StartedLeased Lines System Overview+99999.99 $1RDDefault Mode Page Chapter Functional Description Block DiagramFunctional Description Pinout A2400 Operation RS-485 TerminationCharacter Filter 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 SetWrite Protection Data StructureMiscellaneous Protocol Notes Response StructureLong Form Responses Command Checksum?1 BAD Checksum ?1 Syntax Error$1WEF A2400 User Commands RT3 A2400 Command SetCommand 01CC Response Response *01CC11 Digital Output do Command DescriptionsCommand $1DO01 Response Command #1DO01 Response *1DO014F Closed Channel CC ExtendedExtended Address EA Command $1DO00 Response Command #1DO00 Response *1DO004E#1ID Tank Farm $1ID Tank Farm1ID Tank Farm 1CD Open Channel OC Extended Command 01OC Response Response *01OCEDRead Data RD Tank Farm $1RID#1RID 1RID Tank Farm 11F#1RSU $1RSU$1RSP #1RSPResponse *1RT1+00100.00DC Read Time Delay 2 RT2 Read Time Delay 1 RT1Response *+00100.00 Page Page Short Prompt SP Error Messages Command 01WE Response *01WE27Address Error BAD ChecksumParity Error Command ErrorSyntax Error Value ErrorCommand Syntax Chapter Setup Information/SetUp Command$1SUbyte 1byte 2byte 3byte Byte HEX Ascii Byte 1 Ascii Printable CharactersBaud Rate ParityCommand $1WE Response Command $1SU31020000 Command $1RS Response *31070000Command $1RS Response *31020102 Command $1WE Bit Command $1RR ResponseByte 2 Linefeed, Parity and Baud Rate BaudNormal 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-232 Module is not responding to commands Chapter TroubleshootingSymptom RS-485 Module is not responding to commands Open/Close Channel Commands Command 01WE ResponseChapter Extended Addressing Typical system overview Command $1RD Response +00100.00 Typical $2RD +00123.45 Command 01OC ResponseCommand 01CC Response Command 02OC ResponseExtended Address Syntax Structured AddressingImplied CC Command OC and CC Command FormatsImplied OC Command Command ResponseCommand 01$1RD Response *+00100.00 Command Response *01OC1D Single Command Module AddressExplicit Open and Close Channel Commands 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