Omega A2400 manual Chapter Functional Description, Block Diagram

Page 10

Chapter 2

Functional Description

Block Diagram

The A2400 is an RS-232/RS-485 converter specifically designed to inter- face D series RS-485 modules to radio modems. To this end the A2400 provides three functions:

1)Perform the RS-232 to RS-485 electrical conversion.

2)Control the data direction of the RS-485 bus.

3)Create hand-shaking signals to control the modem.

A simplified block diagram of the A2400 is illustrated in Figure 2.1. This shows the RS-485 and RS-232 drivers connected to their respective interface pins. The A2400 contains two UARTs (Universal Asynchronous Receiver / Transmitters), one dedicated to each port. The RS-485 port is connected to a UART that is integral to the supervisory microprocessor. The RS-232 port connects to a second UART external to the microprocessor. All data communicated to and from the A2400 on either port must pass through the microprocessor. The micro controls the data flow depending on the content of the data and setup information specified by the user.

The A2400 contains an Electrically Erasable Programmable Read-Only Memory (EEPROM) which is used to store operating parameters specified by the user. The EEPROM will retain the setup data even if power is removed from the A2400. The EEPROM requires no battery and is guaranteed to retain data for at least ten years. The setup data stored in the EEPROM includes the baud rate, address, parity, timing data, etc. When power is applied to the A2400, the internal microprocessor reads the setup data from the EEPROM and automatically configures itself. The setup data may be downloaded with a terminal or computer connected to the RS-232 port.

Image 10
Contents User’sGuide For immediate technical or application assistance Servicing North AmericaServicing 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 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 StructureMiscellaneous Protocol Notes Data StructureWrite Protection Response StructureCommand Checksum Long Form Responses?1 BAD Checksum ?1 Syntax Error$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 Open Channel OC Extended Command 01OC Response Response *01OCEDRead Data RD #1RID $1RIDTank Farm 1RID Tank Farm 11F$1RSP $1RSU#1RSU #1RSPResponse *1RT1+00100.00DC Read Time Delay 2 RT2 Read Time Delay 1 RT1Response *+00100.00 Page Page Short Prompt SP Address Error Command 01WE Response *01WE27Error Messages BAD ChecksumSyntax Error Command ErrorParity 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 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 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 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 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