Omega Speaker Systems LCIC-WIM-BEN manual Appendix D USB, RS232 & RS485, Communication Parameters

Page 56

Appendix D: USB, RS232 & RS485

In addition to USB, The LCIC has an option for both full-duplex RS232 and half-duplex RS485 interfaces. These are brought out on CONN3, a 9 way ‘D’ type connector. The pin-out is as follows:

CONN3 PIN

FUNCTION

1

RS485-

2

RS232 TX (out)

3

RS232 RX (in)

4

NC

5

SIGNAL GROUND

6

RS485+

7

NC

8

NC

9

NC

i.e., for RS232 use pins 2,3 & 5 and for RS485 use pins 1,5 & 6

For RS232 connection, a standard direct (straight through) wired 9D M-F cable can be used for direct connection to a standard 9 way ‘D’ type PC COM port.

RS485 line termination – placing a jumper across the two rightmost pins of LK1 puts a 120 Ohm (ac coupled) impedance across the RS485 data lines. This should be used in single LCIC RS485 applications. In applications where multiple LCIC boards reside on one RS485 bus, the termination impedance should only be added on the last board on the bus.

D.1 Communication Parameters

For both the USB, the full-duplex RS232 and half-duplex RS485 interfaces, the communications parameters are fixed as follows:

Data

8 bits

Parity

None

Stop Bits

1

_ This is generally referred to as “8,N,1”.

55

Image 56
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