Omega Speaker Systems LCIC-WIM-BEN manual RS485 Address selection, setting & reading

Page 32

h. RS485: Address selection, setting & reading

(for more details and examples refer to section D.5; except ‘Nx<c/r>’, these commands are available also in the fill mode):

 

Activate the board addressed x. x is between 1 and 64.

 

Notes

:x<c/r>

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

 

“Hello” command: prompt all existing boards to respond.

 

Notes

:999<c/r>

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

 

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.

nNotes

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.

 

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

Nx<c/r>

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.

31

Image 32
Contents LCIC-WIM-BEN Servicing North America Table of Contents Programming your Application Appendices O & the LED DisplayTrouble-shooting Typical Applications IntroductionGeneral Description Installing the board in the PC Page After a while, you’ll have this display Click ‘Finish’ Setup & Running Run the setups of the LCIC-WIM utilities in the foldersUtilities Run a utilityCalibration Utility GeneralThree stages are Show Data step Pseudo Calibration stepsFive calibration steps are Page Page Page Page Save RestoreCalibrations Library Parameters Calibration Efficiency CE Settings Utility Menu BarTools / Analog Output Tools / Baud Rate for SCI port Tools / General Setpoints  The address setting takes effect only upon board reset CommunicationPort Baud RateGet results immediately Auto Zero ActivateMax Zero Min ZeroPage Filling Definition FilteringFilter1 Filter2 Decimator Commands Programming your ApplicationGet a single reading RS485 Address selection, setting & reading Misc Summary of Weight & A/D Reading Commands Parameters Parameter Parameter Description Data Number TypeBecomes effective only after a system reset either Calibration Name 32 characters max LCIC-WIM ActiveX Start/Stop CommunicationVariables GetVariablerVariable NameVariables Table Category Variable Name Description Get SetVariables Table cont’d AnalogOutputM = Manual, 1 = Auto Internal updates there will be a Filters Parameter that needs no changeFast Mode FilteringLevel IntegerTransmission sends blocks of information Stage How to work with the Fast Mode in VB using the ActiveX Misc Interpreting the data in a blockAppendix a I/O & the LED Display General Notes about the I/ODigital Inputs Analog OutputPin Function ConnectionsConnecting External Devices to the Inputs LCIC-WIM I/O & Analog Out LED Display Appendix B Scaling the Load Cell Input Appendix C Load Cell Connections Appendix D USB, RS232 & RS485 Communication ParametersBaud Rate RS485 RS485 Commands Activate address x x=1, 2, 3, …, 62, 63Page Hello Read the RS485 address of the active board Set the specified RS485 addressRS485 Responses Examples Page Page Board selection by the supplied utilities Appendix E Fill Mode IntroductionInput #1 Input #2 Input #3 Input #4 Special ModeHardware Inputs Hardware Outputs Output #1 Output #2 Output #3 Output #4Filling By Weight Filling By = WeightFilling Parameters TimeAuto Correction Averaging x last fillings Auto Tare ActivateHi Limit Lo LimitValid Limits ± … % Valid Results LimitsStart from filling # … Stabilization Criterion Tare & Stop Stabilization Criterion Stop Fast Speed ConfigFilling By = Time Filling Configurations Library Scale of the displayed weight LED Display Notations# 1 A= 40.99 Tr= 6.65 Cv= 0.00 Ft= 7527 ms St= 2554 ms Cc= Get current status small ‘s’ Response Example Error Codes Appendix F Specifications Load Cell InputAppendix G Trouble-shooting Card does not respond after PC power-onManual Zero Appendix H Zero & TareZero function Auto-Tarefunction ParameterWARRANTY/DISCLAIMER Temperature