B&B Electronics manual Command String, On Command, Decimal, Hex, 10485DSS-0308 Manual

Page 14

The Command String

All Command Strings consist of four ASCII characters. The first character is the start of message character, "X-off" (decimal 19). The second and third characters represent the hexadecimal address of an individual 485DSS. The address range is from 0 to 255 (HEX "00" to "FF"). Some commands require the use of the broadcast character "DC2" (decimal 18) as the second and third characters in the command. The fourth character is the command character.

Command Syntax: X-off

____

____ ____

Command character.

Least signf. address character.

Most signf. address character.

Start of message character.

ON Command

This command turns on an individual 485DSS and asserts the RTS output handshake line on pin 4 of the DB25 connector. This command allows the RS-232 device connected to the 485DSS to access the RS-485 network. The address field in the command string specifies which 485DSS is to turn on. All other 485DSS's on the network will turn off if the address field does not match their address setting.

Command character: SOH (decimal 1)

Example 1: To turn on the 485DSS set to address 15 decimal (0F hex).

HOST transmits: Xoff “0” “F” SOH

( 19 48 70 1 decimal) ( 13 30 46 1 hex)

Example 2: To turn on the 485DSS set to address 33 decimal (21 hex).

HOST transmits: Xoff

“2”

“1”

SOH

( 19

50

49

1 decimal)

( 13

32

31

1 hex)

10485DSS-0308 Manual

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91 792444 – Fax +353 91 792445

Image 14
Contents Internet Electronics Mfg. Co. IncDesigned and Manufactured Ottawa, Illinois 485DSS-0308 Manual CoverPage Table of Contents IiTable of Contents 485DSS-0308 Manual Checklist Hardware IntroductionRS-485/422 Port SpecificationsPort Configuration RS-232 Port RS-422/485 Port Terminal Block Signal Description DirectionSignal Ground +12VDC Power Supply Input Wire Mode Clear to Send Input Signal GroundRS-422/485 Wiring Frame Ground Transmit Data Output Receive Data InputComponent Values For Send Data Timing RS-485 Wiring Diagram Wire Mode Power Supply RS-422 Wiring Diagram RS-485 and RS-422 TerminationOperation Communication Configuration Distributed Smart Switch CommandsDecimal Command StringOn Command HexOFF Command Status Request CommandPage ACK DIP Switch Setting the 485DSS AddressAddress Switch Binary File Transfer Software Description Appendix a Ascii Character Codes 485DSS-0308 Manual Appendix aPage Dec/Hex Conversions Decimal Hexadecimal SymbolAppendix B Decimal/Hexadecimal/Conversions 485DSS-0308 Manual Appendix BHexadecimal to Decimal Conversion Decimal to Hexadecimal ConversionRS-232 DTE Port DB25 Connector Direction Appendix C Cable ChartsChart 1. IBM PC DB25 Connector to 485DSS RS-232 DTE Port RS-232 DTE PortDevice Direction Terminal Blocks Chart 6. RS-485 2-Wire Device to 485DSS RS-485/422 PortRS-485/422
Related manuals
Manual 26 pages 24.25 Kb