Omega Speaker Systems LCIC-WIM-BEN manual Variables, GetVariablerVariable Name

Page 39

4.3.2 Variables

The system has variables with which the user may adjust the system to his needs and communicate with the I/O. Actually these variables consist of parameters, inputs and outputs. A variable may be read and sometimes also may be written. The table below lists the variables, describes them and specifies which of them may be also written.

The methods to read and write a variable are:

Read:

Get_Variable(r<Variable Name>)

Returns a string with the value of the variable.

r<Variable Name> is the variable name as it appears in the table below, prefixed by ‘r’ for read, e.g., rOutput_1_Mode.

Write:

Set_Variable(w<Variable Name>, Value)

w<Variable Name> is the variable name as it appears in the table below, prefixed by ‘w’ for write, e.g., wOutput_1_Mode.

Value is a string with the value of the value to be written to the variable.

38

Image 39
Contents LCIC-WIM-BEN Servicing North America Table of Contents Programming your Application O & the LED Display AppendicesTrouble-shooting Introduction General DescriptionTypical Applications Installing the board in the PC Page After a while, you’ll have this display Click ‘Finish’ Run a utility Setup & RunningRun the setups of the LCIC-WIM utilities in the folders UtilitiesPseudo Calibration steps Calibration UtilityGeneral Three stages are Show Data stepFive calibration steps are Page Page Page Page Restore Calibrations LibrarySave Parameters Calibration Efficiency CE Menu Bar Settings UtilityTools / Analog Output Tools / Baud Rate for SCI port Tools / General Setpoints Baud Rate  The address setting takes effect only upon board resetCommunication PortGet results immediately Min Zero Auto ZeroActivate Max ZeroPage Filtering Filter1 Filter2 DecimatorFilling Definition Programming your Application CommandsGet a single reading RS485 Address selection, setting & reading Misc Summary of Weight & A/D Reading Commands Parameter Parameter Description Data Number Type Parameters Becomes effective only after a system reset either Calibration Name 32 characters max Start/Stop Communication LCIC-WIM ActiveXGetVariablerVariable Name VariablesCategory Variable Name Description Get Set Variables TableVariables Table cont’d AnalogOutputM = Manual, 1 = Auto Internal updates there will be a Parameter that needs no change FiltersFilteringLevel Integer Fast ModeTransmission sends blocks of information Stage How to work with the Fast Mode in VB using the ActiveX Interpreting the data in a block MiscAnalog Output Appendix a I/O & the LED DisplayGeneral Notes about the I/O Digital InputsConnections Pin FunctionConnecting 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 Communication Parameters Appendix D USB, RS232 & RS485Baud Rate RS485 Activate address x x=1, 2, 3, …, 62, 63 RS485 CommandsPage Hello Set the specified RS485 address Read the RS485 address of the active boardRS485 Responses Examples Page Page Board selection by the supplied utilities Introduction Appendix E Fill ModeSpecial Mode Hardware InputsInput #1 Input #2 Input #3 Input #4 Output #1 Output #2 Output #3 Output #4 Hardware OutputsTime Filling By WeightFilling By = Weight Filling ParametersLo Limit Auto Correction Averaging x last fillingsAuto Tare Activate Hi LimitValid Results Limits Start from filling # …Valid Limits ± … % Stabilization Criterion Tare & Stop Fast Speed Config Filling By = TimeStabilization Criterion Stop Filling Configurations Library LED Display Notations Scale of the displayed weight# 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 Load Cell Input Appendix F SpecificationsCard does not respond after PC power-on Appendix G Trouble-shootingAppendix H Zero & Tare Zero functionManual Zero Parameter Auto-TarefunctionWARRANTY/DISCLAIMER Temperature