Delta Electronics — 6.15.2 Explanation of Module Instructions

Chapter 6 Applied Instructions TareW : Tare weight value Weight : Present weight value Status : Status code of LC module Error : Error flag ErrCode : Error code Explanation 1. This instruction is available for PLC with FW V1.06.00 or later. 2. The LCWEI instruction supports AS series LC module only. Before the instruction is used, you should get to know the configuration position of current module from HWCONFIG. 3. Group is the group number of the specified LC module connected to the right of the PLC or the remote module. The number of the PLC is 0, the number of the first remote module is 1 and so on. The maximum group number is 15.

If the specified module is not a LC module, the Error flag will change to ON. 4. Module sets the serial number of modules at the right of the PLC. The first one is number 1, the second one is number 2 and so on. Whatever modules at the right of the PLC must be numbered. The maximum number is 32. If the specified module is not a LC module, the error flag Error will change to ON. 5. ChNo is a channel number of the specified LC module. If the input value is not a channel number of the LC module, the error flag Error will change to ON . 6_ 6. Stable sets a value within the stable-weight range. It is a raw data.

The value can be set to a floating-point value within the range of 0.0~100000.0 and the maximum value or minimum value will be automatically taken as the setting if the setting value exceeds the range. The timing of making the parameter value valid is when the instruction is enabled for the first time. If the value in the LC module need be modified, disable the instruction first, set a new range value and then enable the instruction for a new setting. 7. After the LCWEI instruction is enabled, the specified channel will be automatically changed into the display mode of “net weight”. If you need to know the gross weight (total weight), add TareW value and Weight value by yourself. 8.

ZeroS is the flag to set the present weight to 0. When the ZeroS flag changes from Off to ON, the values of TareW and Weight are cleared to 0. 9. TareS is the flag to set the tare weight. When TareS changes from Off to ON, TareW value will equal present Weight value and the Weight value will be cleared to 0. When TareS changes from On to Off, TareW value will return to the present Weight value and the TareW value will be cleared to 0. 10. Weight is the weight value measured by deducting the tare weight. You can observe if the TareW value exists or not in order to know whether the tare weight function has been enabled.

When the TareW value is 0, it indicates that the tare weight has not been set. 11. Status is a commonly used status code for the instruction to integrate LC module. See the explanation of status 6-439