Omega A2400 OC and CC Command Formats, Implied CC Command, Implied OC Command, Command Response

Page 57

Extended Addressing 9-5

All commands that are available with single-byte addressing may be accessed with Extended Addressing, and vice-versa; the only exceptions being the OC and CC commands, which can be used only with Extended Addressing.

OC and CC Command Formats

Once an A2400 has been configured correctly in Extended Address mode, the only commands necessary for normal operation are the Open Channel (OC) and Close Channel (CC) commands. Since these commands are used most often, there are several variations available, both implied and explicit, which trade-off speed with data security.

Implied CC Command

In Extended Address mode, the A2400 is programmed to close the ‘data gate’ each time it detects a ‘{‘ or ‘}’ character. This is to safeguard against the possibility of two or more A2400’s being on at the same time, which could result in data collisions. This is done automatically whether the A2400 is addressed or not. No response is generated by an implied CC command.

Implied OC Command

Since the OC command is the most commonly used command in Extended Address mode, it has been assigned to be the default command if only the address is sent as a command:

Command:

{01

({01OC is implied)

Response:

*

(A2400 #01 data path is open)

Command:

}01

(}01OC is implied)

Response:

*01OC1D

With the implied OC and CC commands, different A2400 channels may be opened and closed with a minimum of command overhead:

Command: {01

Response: *

This command opens the data channel of A2400 #01. At the same time, all other A2400’s on the same system detect the ‘{‘ character and interpret it as an implied Close Channel command. All other A2400’s will automatically be set to Close Channel.

Command: {02

Response: *

Image 57
Contents User’sGuide Servicing North America For immediate technical or application assistanceServicing 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 RS-485 Termination A2400 OperationCharacter 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 Syntax Error ?1 BAD Checksum$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 Command 01OC Response Response *01OCED Open Channel OC ExtendedRead Data RD Tank Farm $1RID#1RID 1RID Tank Farm 11F#1RSU $1RSU$1RSP #1RSPRead Time Delay 1 RT1 Response *1RT1+00100.00DC Read Time Delay 2 RT2Response *+00100.00 Page Page Short Prompt SP Error Messages Command 01WE Response *01WE27Address Error BAD ChecksumParity Error Command ErrorSyntax Error Value ErrorChapter Setup Information/SetUp Command Command Syntax$1SUbyte 1byte 2byte 3byte Byte HEX Ascii Byte 1 Ascii Printable CharactersBaud Rate ParityCommand $1RS Response *31070000 Command $1WE Response Command $1SU31020000Command $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 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 $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 Response *01OC1D Single Command Module Address Command 01$1RD Response *+00100.00Explicit 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