Omega A2400 manual Command Error, Parity Error, Syntax Error, Value Error, Write Protected

Page 39

Command Set 4-18

COMMAND ERROR

This error occurs when a command is not recognized by the module. Often this error results when a command is sent with lowercase letters. All valid commands use uppercase characters.

PARITY ERROR

A parity error can only occur if the module is setup with parity on. Usually a parity error results from a bit error caused by interference on the communi- cations line. Random parity errors are usually overcome by simply repeating the command. If too many errors occur, the communications channel may have to be improved or a slower baud rate may be used.

A consistent parity error will result if the host computer parity type does not match the module parity. In this situation, the easiest solution may be to change the host parity to obtain communications. At this point the parity in the module may be changed to the desired value with the SetUp (SU) command.

SYNTAX ERROR

This error will result if the structure of the command is not correct. This is caused by having too few or too many characters, signs or decimal points missing or in the wrong place.

VALUE ERROR

This error results when an incorrect character is used as a numerical value. Data values can only contain decimal digits 0-9. Hex values can range from 0-F.

WRITE PROTECTED

All commands that write data into a module’s nonvolatile memory are write- protected to prevent accidental erasures. These commands must be preceded with a Write Enable (WE) command or else a WRITE PRO- TECTED error will result.

Image 39
Contents User’sGuide Servicing North America For immediate technical or application assistanceServicing Europe STAMFORD, CT Phone 1-800-DAS-IEEE Revised 4/17/95Omega Engineering ONE Omega Drive BOXTable 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 SetResponse Structure Data StructureWrite Protection Miscellaneous Protocol NotesLong Form Responses Command Checksum?1 Syntax Error ?1 BAD Checksum$1WEF A2400 User Commands RT3 A2400 Command SetClosed Channel CC Extended Command DescriptionsCommand 01CC Response Response *01CC11 Digital Output do Command $1DO01 Response Command #1DO01 Response *1DO014FExtended 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 1RID Tank Farm 11F $1RIDTank Farm #1RID#1RSP $1RSU#1RSU $1RSPRead Time Delay 1 RT1 Response *1RT1+00100.00DC Read Time Delay 2 RT2Response *+00100.00 Page Page Short Prompt SP BAD Checksum Command 01WE Response *01WE27Error Messages Address ErrorValue Error Command ErrorParity Error Syntax 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 Baud Command $1RR ResponseBit Byte 2 Linefeed, Parity and Baud RateNormal 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 02OC Response Command 01OC ResponseCommand $1RD Response +00100.00 Typical $2RD +00123.45 Command 01CC ResponseExtended Address Syntax Structured AddressingCommand Response OC and CC Command FormatsImplied CC Command Implied OC CommandCommand 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