Omega A2400 manual

Page 16

Functional Description 2-7

T1

As soon as the A2400 detects a character in the RS-485 receive buffer, time delay T1 is activated. This is a dead time to allow the host to prepare for the receipt of a message. This is particularly important when a simplex connec- tion is used, where the send and receive data is transmitted on the same frequency. During this time the A2400 creates no control output, but any data received on the RS-485 port is stored in the receive buffer. At the end of time T1, the A2400 asserts the RTS control signal to ‘key’ or turn on the transmitter of the radio.

T2

Once the RTS signal has been asserted, the T2 delay is activated. This is a delay time to allow the transmitter to power up and settle in anticipation of a transmission back to the host. The settling time required is specified by the modem manufacturer. When the T2 time period is over, the A2400 will start to transmit the data held in the receive buffer, and will continue to transmit until the buffer is empty.

Some radio modems provide a CTS (Clear To Send) signal that indicates that the transmitter has settled and is ready for data. This signal may be connected to the CTS input of the A2400 to provide hardware handshaking.

The delay period T2 ends when either the CTS signal is detected or the T2 timer ends, whichever comes first.

T3

The A2400 will transmit data to the modem until the receive buffer is empty. When the receive buffer is empty, and the last character has been transmit- ted, time delay T3 is activated. T3 provides two functions: it provides a clean break between the transmitted data and the turn-off of the radio transmitter, and it allows the host to poll more data without keying the transmitter on and off. During time T3, the host may transmit another command which would pass through the A2400 to the RS-485 bus. Typically, this command would generate a response from a device on the RS-485 bus. If the response data is received by the A2400 before T3 is complete, T3 is canceled and the received data is immediately transferred to the modem. When the receive buffer is empty, T3 is activated again, and the cycle repeats itself. This allows the host to establish communications with the remote radio and talk back and forth without wasting time re-keying the transmitter for each response.

If T3 times out and the receive buffer is empty, the radio connection is terminated by turning off the RTS signal.

Image 16
Contents User’sGuide For immediate technical or application assistance Servicing North AmericaServicing Europe Revised 4/17/95 Omega Engineering ONE Omega DriveBOX STAMFORD, CT Phone 1-800-DAS-IEEETable of Contents Chapter Getting Started IntroductionSystem Overview Leased Lines$1RD +99999.99Default Mode Page Block Diagram Chapter Functional DescriptionFunctional Description Pinout A2400 Operation RS-485 TerminationCharacter Filter Page Programmable Delay Times Page Command $1RD Response *+99999.99 Chapter CommunicationsDO, OC, CC, RD, REA, RID, RLP, RS, RSP, RSU Communication RS-485 Multidrop System DATA+Page Chapter A2400 Command Set Command StructureData Structure Write ProtectionMiscellaneous Protocol Notes Response StructureCommand Checksum Long Form Responses?1 BAD Checksum ?1 Syntax Error$1WEF A2400 User Commands A2400 Command Set RT3Command Descriptions Command 01CC Response Response *01CC11 Digital Output doCommand $1DO01 Response Command #1DO01 Response *1DO014F Closed Channel CC ExtendedCommand $1DO00 Response Command #1DO00 Response *1DO004E Extended Address EA#1ID Tank Farm $1ID Tank Farm1ID Tank Farm 1CD Open Channel OC Extended Command 01OC Response Response *01OCEDRead Data RD $1RID Tank Farm#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 Command 01WE Response *01WE27 Error MessagesAddress Error BAD ChecksumCommand Error Parity ErrorSyntax Error Value ErrorCommand Syntax Chapter Setup Information/SetUp Command$1SUbyte 1byte 2byte 3byte Byte Byte 1 Ascii Printable Characters HEX AsciiParity Baud RateCommand $1WE Response Command $1SU31020000 Command $1RS Response *31070000Command $1RS Response *31020102 Command $1WE Command $1RR Response BitByte 2 Linefeed, Parity and Baud Rate BaudNormal addressing Chapter Delay Time Programming Delay Time Programming Page Command $1T3+00050.00 Set T3 to 50 ms Response Command $1RT1 Response *+00100.00Chapter 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 01OC Response Command $1RD Response +00100.00 Typical $2RD +00123.45Command 01CC Response Command 02OC ResponseStructured Addressing Extended Address SyntaxOC and CC Command Formats Implied CC CommandImplied OC Command Command ResponseCommand 01$1RD Response *+00100.00 Command Response *01OC1D Single Command Module AddressExplicit Open and Close Channel Commands Command 01CC Response 01CC11 ‘11’ is the checksum Command 02OC Response 02OC1E ‘1E’ is the checksumChapter Transparent Mode Transparent Mode FunctionsA2400 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