Omega A2400 manual Chapter Extended Addressing, Command 01WE Response, Open/Close Channel Commands

Page 53

Chapter 9

Extended Addressing

The A2400 may be configured to a special command format called Extended Addressing. This mode uses a different prompt, either ‘{‘ or ‘}’ to distinguish it from the regular command syntax. The major difference in syntax for the Extended Addressing mode is that it uses a two-character address. A typical command in Extended Address mode would look like this:

Command: {01WE

Response: *

Both the command and response are terminated with carriage returns. Note that the command uses a two-character address, ’01.’

There are two benefits to using Extended Addressing with the A2400:

1)Greatly expanded addressing capability.

2)Allow for a more structured addressing method in large systems.

With single-byte addressing of the normal command structure, address space is limited to 122 points. Extended addressing allows an addressing range of more than 1.8 million points. More realistically, if only printable characters are used for addresses, the total address range is more than 700,000 points.

Open/Close Channel Commands

From an operational standpoint, A2400’s with Extended Addressing are used differently than A2400’s with normal addressing. An A2400 configured to Extended Addressing acts as a ‘data gate’ that controls the data that may appear on the RS-485 bus. This ‘data gate’ may be turned on and off with the Open Channel (OC) and the Close Channel (CC) commands.

Refer to Figure 7.1. This illustrates a small system of two remote radio sites, each with an A2400 and two modules. Note that the two modules have identical addresses at each site. The radio modems are effectively ad- dressed by the A2400’s, one with an address of ‘01’ and the other address ‘02’.

Image 53
Contents User’sGuide Servicing Europe Servicing North AmericaFor immediate technical or application assistance 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 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 SetWrite Protection Data StructureMiscellaneous Protocol Notes Response StructureLong Form Responses Command Checksum$1WEF ?1 Syntax Error?1 BAD Checksum 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 *1DO004E1ID Tank Farm 1CD $1ID Tank Farm#1ID Tank Farm Read Data RD Command 01OC Response Response *01OCEDOpen Channel OC Extended Tank Farm $1RID#1RID 1RID Tank Farm 11F#1RSU $1RSU$1RSP #1RSPResponse *+00100.00 Read Time Delay 1 RT1Response *1RT1+00100.00DC Read Time Delay 2 RT2 Page Page Short Prompt SP Error Messages Command 01WE Response *01WE27Address Error BAD ChecksumParity Error Command ErrorSyntax Error Value 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 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-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 $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 ResponseExplicit 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