Omega A2400 manual Short Prompt SP

Page 37

Command Set 4-16

Short Prompt (SP)

The Short Prompt command allows the user to specify a desired short prompt ASCII character. A two character hexadecimal value is used to define the desired ASCII character prompt.

Note: Short Prompt command may be sent to the module in either normal addressing or Extended Addressing mode.

The user-defined short form prompt is only recognized by the module when the module is in the Extended Addressing mode. See chapter 7 for details on the Extended Addressing mode.

Avoid using the following hex codes $00, $0D, $23, $24 that are ASCII characters NULL, CR, #, $. Using these codes for prompts will cause an error when opening a channel in Extended Addressing mode.

Command:

$1SP40

(40=@)

Response:

*

 

Command:

#1SP40

 

Response:

*1SP4062

 

Write Enable (WE)

The Write Enable (WE) command must precede commands that are write- protected. This is to guard against accidentally over writing valuable data in the module’s EEPROM. To change any write-protected parameter, the WE command must precede the write-protected command. The response to the WE command is an asterisk indicating that the module is ready to accept a write-protected command. After the write-protected command is success- fully completed, the module becomes automatically write disabled. Each write-protected command must be preceded individually with a WE com- mand. For example:

Command: $1WE

Response: *

Command: #1WE

Response: *1WEF7

Command: {01WE

Response: *

Image 37
Contents User’sGuide For immediate technical or application assistance Servicing North AmericaServicing 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 A2400 Operation RS-485 TerminationCharacter 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 BAD Checksum ?1 Syntax Error$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 Open Channel OC Extended Command 01OC Response Response *01OCEDRead Data RD Tank Farm $1RID#1RID 1RID Tank Farm 11F#1RSU $1RSU$1RSP #1RSPResponse *1RT1+00100.00DC Read Time Delay 2 RT2 Read Time Delay 1 RT1Response *+00100.00 Page Page Short Prompt SP Error Messages Command 01WE Response *01WE27Address Error BAD ChecksumParity Error Command ErrorSyntax Error Value ErrorCommand Syntax Chapter Setup Information/SetUp Command$1SUbyte 1byte 2byte 3byte Byte HEX Ascii Byte 1 Ascii Printable CharactersBaud Rate ParityCommand $1WE Response Command $1SU31020000 Command $1RS Response *31070000Command $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 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 $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 01$1RD Response *+00100.00 Command Response *01OC1D Single Command Module AddressExplicit 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