beautypg.com

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

Page 32

background image

31

h. RS485: Address selection, setting & reading

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

N

x

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

:

x

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

’).

2. Wait 30 ms after sending the ‘:

x

’ command

before analyzing the response(s).

:999

“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’).

2. Wait 1000 ms after sending the ‘:999

command before analyzing the response(s).

n

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

x

’, 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

’ will

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

N

x

Set the required RS485 address.

x

is between 0 and 64.

Board’s response: ‘OK’.
(

x

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

facilitate your coding, as no ‘:

x

’ 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.