Omega A2400 manual Do, Oc, Cc, Rd, Rea, Rid, Rlp, Rs, Rsp, Rsu

Page 18

Communication 3-2

improper command prompt or address is transmitted. The table below lists the timeout specification for each command assuming that delay times T1, T2, T3 = 0:

Table 3.1 Response Timeout Specifications.

 

Mnemonic

Timeout

DO, OC, CC, RD, REA, RID, RLP, RS, RSP, RSU,

10 ms

RT1, RT2, RT3, WE

100 ms

EA, ID, LP, RID, RR, SP, SU, T1, T2, T3

The timeout specification is the turn-around time from the receipt of a command to when the module starts to transmit a response.

Data Format

All A2400 modules communicate in standard NRZ asynchronous data format. This format provides one start bit, seven data bits, one parity bit and one stop bit for each character.

RS-485

RS-485 is a recently developed communications standard to satisfy the need for multidropped systems that can communicate at high data rates over long distances. RS-485 is similar to RS-422 in that it uses a balanced differential pair of wires switching from 0 to 5V to communicate data. RS-485 receivers can handle common mode voltages from -7V to +12V without loss of data, making them ideal for transmission over great distances. RS-485 differs from RS-422 by using one balanced pair of wires for both transmitting and receiving. Since an RS-485 system cannot transmit and receive at the same time it is inherently a half-duplex system. RS-485 offers many advantages over RS-232:

1)balanced line gives excellent noise immunity

2)can communicate with modules at 38400 baud

3)communications distances up to 10,000 feet.

4)true multidrop; modules are connected in parallel

5)individual modules may be disconnected without affecting other modules

6)up to 32 modules on one line; 124 with repeaters

7)no communications delay due to multiple modules

8)simplified wiring using standard telephone cable

An RS-485 system usually requires an interface such as the A2400 to convert RS-232 to RS-485.

Image 18
Contents User’sGuide Servicing North America For immediate technical or application assistanceServicing Europe BOX Revised 4/17/95Omega Engineering ONE Omega Drive 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 RS-485 Termination A2400 OperationCharacter 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 StructureMiscellaneous Protocol Notes Data StructureWrite Protection Response StructureCommand Checksum Long Form Responses?1 Syntax Error ?1 BAD Checksum$1WEF A2400 User Commands A2400 Command Set RT3Command $1DO01 Response Command #1DO01 Response *1DO014F Command DescriptionsCommand 01CC Response Response *01CC11 Digital Output do Closed Channel CC ExtendedCommand $1DO00 Response Command #1DO00 Response *1DO004E Extended Address EA$1ID Tank Farm #1ID Tank Farm1ID Tank Farm 1CD Command 01OC Response Response *01OCED Open Channel OC ExtendedRead Data RD #1RID $1RIDTank Farm 1RID Tank Farm 11F$1RSP $1RSU#1RSU #1RSPRead Time Delay 1 RT1 Response *1RT1+00100.00DC Read Time Delay 2 RT2Response *+00100.00 Page Page Short Prompt SP Address Error Command 01WE Response *01WE27Error Messages BAD ChecksumSyntax Error Command ErrorParity Error Value ErrorChapter Setup Information/SetUp Command Command Syntax$1SUbyte 1byte 2byte 3byte Byte Byte 1 Ascii Printable Characters HEX AsciiParity Baud RateCommand $1RS Response *31070000 Command $1WE Response Command $1SU31020000Command $1RS Response *31020102 Command $1WE Byte 2 Linefeed, Parity and Baud Rate Command $1RR ResponseBit 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 Chapter Troubleshooting Symptom RS-232 Module is not responding to commandsSymptom RS-485 Module is not responding to commands Command 01WE Response Open/Close Channel CommandsChapter Extended Addressing Typical system overview Command 01CC Response Command 01OC ResponseCommand $1RD Response +00100.00 Typical $2RD +00123.45 Command 02OC ResponseStructured Addressing Extended Address SyntaxImplied OC Command OC and CC Command FormatsImplied CC Command Command ResponseCommand Response *01OC1D Single Command Module Address Command 01$1RD Response *+00100.00Explicit 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