The Command String; On Command - B&B Electronics 485DSS Manual

Distributed smart switch
Hide thumbs Also See for 485DSS:
Table of Contents

Advertisement

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 ____ ____ ____

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:
Example 1: To turn on the 485DSS set to address 15 decimal (0F
hex).
HOST transmits:
Example 2: To turn on the 485DSS set to address 33 decimal (21
hex).
HOST transmits:
10
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
|
|
|
|
|
|
|
|
Least signf. address character.
|
Most signf. address character.
Start of message character.
SOH (decimal 1)
Xoff "0" "F" SOH
( 19
( 13
Xoff "2" "1" SOH
( 19
( 13
|
Command character.
48
70
1 decimal)
30
46
1 hex)
50
49
1 decimal)
32
31
1 hex)
485DSS-0812 Manual

Advertisement

Table of Contents
loading

Table of Contents