Omega Speaker Systems High Speed Load Cell Interface Card LCIC-WIM-BEN User Manual

Page 32

Advertising
background image

31

h. RS485: Address selection, setting & reading

(for more details and examples refer to section D.5; except

N

x

<c/r>

’, these commands are available also in the fill mode):

:

x

<c/r>

Activate the board addressed

x

.

x

is between 1 and 64.

Notes
1. Wait 10 ms after sending the colon (‘:’) before

sending the rest of the command (‘

x

<c/r>’).

2. Wait 30 ms after sending the ‘:

x

<c/r>’ command

before analyzing the response(s).

:999<c/r>

“Hello” command: prompt all existing boards to respond.
Notes
1. Wait 10 ms after sending the colon (‘:’) before

sending the rest of the command (‘999<c/r>’).

2. Wait 1000 ms after sending the ‘:999<c/r>’

command before analyzing the response(s).

n

Read the RS485 address of the active board.
Board’s response:
’#

x

<c/r>’, where

x

is the address of the active board.

x

=0 means that the board has been configured as a non-

RS485 device. Other value (between 1 & 64) specifies the
RS485 address of the active board.
Notes

1. Wait 1 second after sending the ‘n’ command.
2. If no board is active, there will be no response.
3. In case of malfunction, more than one ’#

x

<c/r>’ will

be responded in sequence. This is theoretically
impossible but should be checked in order to be on
the safe side.

N

x

<c/r>

Set the required RS485 address.

x

is between 0 and 64.

Board’s response: ‘OK<c/r>’.
(

x

=0 sets the board as a non-RS485 device; this will

facilitate your coding, as no ‘:

x

<c/r>’ command will be

needed.)
Notes
1. The address setting takes effect only upon board
reset.
2. When the RS485 address is not 0, its value is shown
for a while on the LED display upon board reset.

Advertising