B&B Electronics 485DSS manual Command String, On Command

Page 13

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)

10

485DSS3298 Manual

B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350

PH (815) 433-5100 -- FAX (815) 434-7094

Image 13
Contents Designed and Manufactured Ottawa, Illinois Electronics Mfg. Co. IncInternet Table of Contents Appendix C Cable Charts Hardware Introduction ChecklistPort Configuration SpecificationsRS-485/422 Port RS-232 Port RS-422/485 Port Terminal Block Signal Description DirectionWire Mode RS-422/485 WiringComponent Values For Send Data Timing RS-485 Wiring Diagram Wire Mode RS-422 Wiring Diagram RS-485 and RS-422 Termination Power SupplyOperation Distributed Smart Switch Commands Communication ConfigurationOn Command Command StringStatus Request Command OFF CommandSelect State ACK Address Switch Setting the 485DSS AddressDIP Switch Binary File Transfer Software Description Hard Drive InstallationType CD\485DSS\PASCAL and press the Enter key Running Demonstration ProgramDecimal to HEX to Ascii Conversion Table Appendix a Ascii Character CodesAppendix B Decimal/Hexadecimal/Conversions SymbolDec/Hex Conversions Decimal Hexadecimal Decimal to Hexadecimal Conversion Hexadecimal to Decimal ConversionChart 1. IBM PC DB25 Connector to 485DSS RS-232 DTE Port Appendix C Cable ChartsRS-232 DTE Port DB25 Connector Direction 485DSSDirection Terminal Blocks RS-485/422Class a Equipment
Related manuals
Manual 26 pages 3.35 Kb