0% found this document useful (0 votes)
60 views20 pages

User's Manual of Haiwell PLC Load Cell Module

The Haiwell PLC Load Cell Module User Manual provides detailed specifications, installation instructions, and application examples for the load cell module. It covers product models, power supply requirements, environmental conditions, and connection diagrams, as well as calibration methods and communication protocols for remote IO applications. This manual serves as a comprehensive guide for users to effectively utilize the load cell module in various settings.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views20 pages

User's Manual of Haiwell PLC Load Cell Module

The Haiwell PLC Load Cell Module User Manual provides detailed specifications, installation instructions, and application examples for the load cell module. It covers product models, power supply requirements, environmental conditions, and connection diagrams, as well as calibration methods and communication protocols for remote IO applications. This manual serves as a comprehensive guide for users to effectively utilize the load cell module in various settings.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

Haiwell PLC User Manual

Programmable Logic Controller

Load Cell Module User Manual & Application Case

Xiamen Haiwell Technology Co., Ltd. en.haiwell.com


en.haiwell.com Haiwell PLC -- Load Cell Module User Manual

Contents

Load Cell Module User Manual

1. Product Model List and Dimension................................................................................................................................................................ 3


2. Indicator Description........................................................................................................................................................................................ 3
3. Power Supply Specification............................................................................................................................................................................ 3
4. Environmental Specification........................................................................................................................................................................... 4
5. Module Parameter Table................................................................................................................................................................................. 4
6. Load Cell Connections.....................................................................................................................................................................................4
7. Multiple-load-Cell Parallel Connections........................................................................................................................................................ 4
8. Terminal connection diagram..........................................................................................................................................................................5
9. Module Parameter Table................................................................................................................................................................................. 5
10. Mounting and Installation.............................................................................................................................................................................. 8

Load Cell Module Application Examples

One. The Module is extended through the parallel port of the host
1. Load Cell Modules Power Supply..................................................................................................................................................................9
2. Load Cell Module Operation Procedure....................................................................................................................................................... 9
3. Hardware Configuration................................................................................................................................................................................ 10
4. Calibration method and program sample................................................................................................................................................... 10
5. Read Average-Weight and Real-time Weight............................................................................................................................................ 12
6. Adjustment for weighing stability and response speed............................................................................................................................ 12
7. Gross Weight and Net Weight......................................................................................................................................................................12
8. Automatic peeling 2AH (Judge every 5S)...................................................................................................................................................13
9. Weighing state................................................................................................................................................................................................ 14
10. Standstill check function............................................................................................................................................................................. 14
11. Zero point detection function...................................................................................................................................................................... 14
12.Restore factory default parameters............................................................................................................................................................ 14

Two. Load Cell Module for remote IO


1. Load Cell Module power supply...................................................................................................................................................................15
2. Communication interface introduction.........................................................................................................................................................16
3. Communication protocol and default parameters..................................................................................................................................... 15
4. When Module is used for remote IO, Module communication parameter configuration method is introduced as folllows........... 16
5. Parameter configuration example: configuring the Module through programming software “remote Module tool”....................... 16
6. Examples of remote IO applications: reading Module real-time weight................................................................................................ 17
7. Examples of remote IO applications: calibration....................................................................................................................................... 18

2 / 20
en.haiwell.com Haiwell PLC -- Load Cell Module User Manual

Load Cell Module User Manual

1. Product Model List and Dimension


Model Power (24VDC) Dimension Model Power (24VDC) Dimension
H01WG 0.2A 30×95×82mm H02WG 0.3A 30×95×82mm

① ⑥ ⑦ ① ⑧
⑥ ⑦ ⑧
⑨ ⑨
EXC+ EXC+

② EXC-
SHD
② EXC-

CH1
SHD

SIG+ SIG+

SIG- SIG-

③ ③
0 1 2 3 0 1 2 3

④ ④ CH1

H01WG H02WG
PWR
⑥ PWR

LINK LINK

① ① CH2
0 1 2 3

A+ EXC+
RS485

B- EXC-

GND

CH2
SHD

24V
DC IN

SIG+

0V SIG-

⑤ ⑤

1. Terminal definition 6. Pluggable terminal


2. Weighing status indicator 7. Module expansion port
3. Model 8. Transparent cover of Module terminal
4. PWR:power indicator、LINK:Module communication indicator 9. Module nameplate
5. DIN rail mounting slot 10. 35mm DIN rail

2. Indicator Description
(1) PWR:Power indicator. Green, power is normal; No light - power is abnormal.
(2) LINK: Multi-status indicator .three colors(Red. Yellow. Green).
(3) 0: ON:gross weight; 1: ON: net weight; 2: ON: tare weight; 3: ON: calibration. As follows:

Reference processing mode Module bus state LINK indicator state


No communication of Module No light
MPU has identified the Module but no
Normal Constant light in green
communication
Serial or parallel port in communication Green jitter: indicator on 30ms and off 30ms
Without serial or parallel port in communication Yellow flicker: indicator on 0.5s and off 0.5s
Parallel power supply insufficient, must
connect to external power supply Yellow indicator off and jitter alternates: indicator off
With serial or parallel port in communication
0.5s and jitter 0.5s
Without serial or parallel port in communication Red flicker: indicator on 0.5s and off 0.5s
Firmware upgrade failed, re-upgrade
the Module firmware Red indicator off and jitter alternates: indicator off
With serial or parallel port in communication
0.5s and jitter 0.5s
Without serial or parallel port in communication Always on in red
Hardware failure
With serial or parallel port in communication Red jitter quickly: indicator on 30ms and off 30ms

3.Power Supply Specification


Item DC Power Supply
Power supply voltage 24VDC -15%~+20%
Power supply frequency ——
Instantaneous surge MAX 20A 1.5ms @24VDC
Permit Power supply loss 10ms or less
Isolation Model No Electrical isolation
Power Protection DC input power polarity reverse, over voltage protection

3 / 20
en.haiwell.com Haiwell PLC -- Load Cell Module User Manual

4. Environmental Specification
Item Environment Specification
Temperature/humidity Operating temperature:0~+55℃ Storage temperature:-25~+70℃ Humidity: 5~95%RH, No condensation
Anti Vibration 10~57 HZ, amplitude=0.075mm, 57HZ~150HZ acceleration=1G, 10 times each for X-axis, Y-axis and Z-axis
Anti Shock 15G, duration=11ms, 6 times each for X-axis, Y-axis and Z-axis
Anti jamming DC EFT:±2500V Surge:±1000V
Operating environment Avoid dust, moisture, corrosion, electric shock and external shocks

5. Module Parameter Table


Item Specification
Power supply 24VDC±20%,0.2A
A/D conversion method 24Bits △ Σ
A/D conversion speed 6.25/12.5/25/50/100/200/500Hz
Internal resolution 24bits
linearity error Static weighing≤ 0.02% FS
Excitation Voltage 5VDC ±5% , 125mA ( it can connect with 4 load Cells each 350 Ω )
Sensor sensitivity 1mV/V~5 mV/V
Measurement pulse 0~2000Hz 24VDC
Load Cell form 4- line connection or 6-line connection load Cells
Maximum distance to
100 meters
connect the sensor

6. Load Cell Connections


Wiring Diagram (First generation load cell module)

4-wire sensor and instrument connection 6-wire sensor and instrument connection

Wiring Diagram (Second generation load cell module)


传感器 屏蔽电缆 传感器 屏蔽电缆
EXC+ EXC+ EXC+
EXC+ 激励正 EXC+ 激励正
SEN+
EXC- 激励负 EXC- 激励负
SIG- SIG+ SIG- SIG+
SHD 屏蔽线 SHD 屏蔽线
SEN-
SIG+ 信号正 SIG+ 信号正
EXC-
EXC- EXC-
SIG- 信号负 SIG- 信号负

4芯传感器与仪表接线图
4-wire sensor and instrument connection 6-wire sensor and instrument connection
6芯传感器与仪表接线图

Load Cell
7. Multiple-load-Cell Parallel Connections
Load Cell
Load Cell
Load Cell

Load Cell
Load Cell

Load Cell
Load Cell

Load Cell
Load Cell

Load Cell

Load Cell

4 / 20
en.haiwell.com Haiwell PLC -- Load Cell Module User Manual

8. Terminal connection diagram


First generation module terminal: Second generation module terminal:

EXC+ EXC+
EXC- EXC-

CH1
SHD SHD
S IG + S IG +
S IG - S IG -

H 01W G H 02W G
A+ EXC+

RS485
B- EXC-

CH2
GND SHD
24V S IG +

DC IN
0V S IG -

9. Module parameter table (CR code means the corresponding Modbus register address)
Note: CR code is corresponding to the Modbus register address.
CR code(Hex)
Factory
communicatio Function description Property Remarks
default
n address
Low byte for Module code, Higher 3-bit of the High-Byte is ID
00H R xxxx
number. Lower 5-bit of High-Byte is version number.
01H Communication Address R/W 1 Range:1~247
Communication Protocol
Low byte lower 4-bit:0 - N,8, 2 For RTU
1 - E,8, 1 For RTU
2 - O 8, ,1 For RTU
3 - N,7, 2 For ASCII
4 - E,7, 1 For ASCII 48
5 - O,7, 1 For ASCII
02H 6 - N,8, 1 For RTU R/W (19200, N,8,
Low byte higher 4-bit:0 – 2400 2 RTU)
1 - 4800
2 - 9600
3 - 19200
4 - 38400
5 – 57600
6 - 115200
03H Module name R/W
04H Module name R/W
05H Module name R/W
06H Module name R/W
07H IP Address: default 192.168.1.111 R/W 0x016F
08H IP Address: default 192.168.1.111 R/W 0xC0A8
09H Month/date R
0AH Year batch number R
High byte subnet mask( b3~b0,”1” means 255, “0” means 0, for
Low byte code cannot be
0BH example subnet mask 255.255.255.0 b3~b0=1110), low byte R/W
modified
manufacturer code HW
0CH Verification code R
0DH Serial number low byte R
0EH Serial number high byte R
Error Code
0:normal
1: illegal firmware identity
0FH R
2: firmware incomplete
3:system data access exception
4: No external 24V power supply
10H Channel 1 average weight R
Channel 1 status code
bit0:No-load( zero point weight)
1H bit1:exceed the upper limit of weight R
bit2:measurement value stable
bit3~15:reserve
12H Channel 1 real-time weight R
Channel 1 uses 32-bit display flags:
13H 0: 16-bit weight display RW
1: 32-bit weight display

5 / 20
en.haiwell.com Haiwell PLC -- Load Cell Module User Manual

Channel 1 Real-time Weight 32 Bit Value:


14H~15H 14H: 32-bit low byte R
15H: 32-bit high byte
The average weight of channel 1 is 32 bits:
16H~17H 16H: 32-bit low byte R
17H: 32-bit high byte
18H Channel 1 Skin Weight Low Bytes RW 0
19H Channel 1 Skin Weight High Bytes R/W 0
Channel 1 Control Setting Switch the current display
Bit 0: Reservation weight to rough weight or
1AH Bit 1: Gross/Net Weight Display, 0-Gross Weight, 1-Net Weight R/W 0 net weight, us the value of
Bit2-15: Reservation 19H to work as tare weight
Channel 1 sampling frequency 0-7.5Hz , 1-15Hz , 2-30Hz ,
1BH R/W 3 range:0~7
3-60Hz,4-120Hz,5-240Hz,6-480Hz,7-960Hz
1CH~1DH Reserve R
1EH Channel 1 average number of times R/W 10 range:1~100
1FH Channel 1 filter ratio R/W 2 range:0~5
20H Channel 1 stability examination times R/W 5 range:0~500
21H Channel 1 stability examination range R/W 10 range:0~10000
Channel 1 zero point tracking intensity Absolute value, range :
22H 0 :close zero point tracking function R/W 0 0~200
Others: zero-point tracking intensity (absolute value)
Absolute value, range :
23H Channel 1 zero point detection range R/W 10
0~10000
Channel 1 upper limit of weight
24H Set the upper limit value of weight, when measurement value is R/W 32767
over the set value will record error code
Channel 1 Skin Weight Read (Settings) 0: no operation
At 16-bit display, the current weight value (10H) is read as the 1: Read the weight value
25H weight value of the leather weight and stored at 18H. R/W 0 as the tare weight and
When 32-bit display, read CR16H and CR17H as skin weight Z store it at 18H and 19H.
value, and store them at 18H and 19H. Others: Invalid
Channel 1 Calibration Weight Instruction Supports Maximum
3-Section Calibration.
1: Zero instruction
2: Weight base point instruction user adjustment steps:
Step1: No weights on the weighing unit
Step2: CR26H write value 1, enter calibration mode
Step3: Paragraph 1: Calibration. Add a standard weight to the
weighing unit. Write 16 bits of weight on the current chassis into
CR27H and 16 bits of weight on CR28H.
26H Step4: If the second calibration is needed, add another standard
weight to the weighing unit, write the weight of the weight on the Before use, the weight
current chassis to CR29H with 16 bits of low byte weight, adjustment should be
R/W 0
CR2AH with 16 bits of high byte weight, and Step6 with no need. completed step by step.
Step5: If paragraph 3 calibration is required, add another weight
standard to the weighing unit.
Weight, the current chassis weight value of low byte 16 bits
written to CR2BH, high byte 16 bits written to CR2CH, if not
necessary, to Step6.
Step 6: CR26H Writes value 2 to end the calibration process.
27H Low bytes of base weight of weights in channel 1, paragraph 1 R/W 1000

28H High bytes of base weight of weights in channel 1, paragraph 1 R/W 0


29H Low bytes of base weight of weights in channel 1, paragraph 2 R/W 0
2AH High bytes of base weight of weights in channel 1, paragraph 2 RW 0
2BH Low bytes of base weight of weights in channel 1, paragraph 3 RW 0
2CH High bytes of base weight of weights in channel 1, paragraph 3 RW 0
2DH Automatic peeling range of channel 1 RW 0
2EH Channel 1 Weight Upper Limit Low Bytes (32 Bit Display) RW 32767
2FH Channel 1 Weight Upper Limit High Bytes (32Bit Display) RW 32767
30H~4FH Reserve R 0
50H Channel 2 average weight R
Channel 2 status code:
bit0:no-load(zero point weight)
51H bit1:exceed the weight upper limit
bit2:stability of measurement value R
bit3~15:reserved
52H Channel 2 Real-time weight R
Channel 2 uses 32-bit display flags:
53H 0: 16-bit weight display RW
1: 32-bit weight display

6 / 20
en.haiwell.com Haiwell PLC -- Load Cell Module User Manual

Channel 2 Real-time Weight 32 Bit Value:


54H~55H 54H: 32-bit low byte
55H: 32-bit high byte
The average weight of channel 2 is 32 bits:
56H~57H 56H: 32-bit low byte
57H:32-bit high byte
58H Channel 2 Skin Weight Low Bytes RW 0

59H Channel 2 Skin Weight High Bytes R/W 0


Switch the current
Channel 2 Control Setting display weight to wool
Bit 0: Reservation Weight or net weight,
5AH
Bit 1: Gross/Net Weight Display, 0-Gross Weight, 1-Net Weight R/W 0 used in calculation the
Bit2-15: Reservation value of 58H and 59H as
tare weight
Channel 2 sampling frequency 0-7.5Hz , 1-15Hz , 2-30Hz ,
5BH R/W 3 range:0~7
3-60Hz,4-120Hz,5-240Hz,6-480Hz,7-960Hz
5CH-5DH Reserved R

5EH Channel 2 average number of times R/W 10 range:1~100

5FH Channel 2 filter ratio R/W 2 range:0~5

60H Channel 2 standstill checking times R/W 5 range:0~500

61H Channel 2 standtill checking range R/W 2 range:0~10000


Channel 2 zero tracking intensity
Abolute vaule,range :
62H 0 :close zero tracking function R/W 0
others: show zero tracking intensity(absolute value) 0~200
Abolute vaule,range :
63H Channel 2 zero-point detection range R/W 10
0~10000
Channel 2 weight upper limit
64H Set the upper limit value of weight, when measurement value is R/W 32767
over the set value will record error code
Channel 2 Skin Weight Read (Settings) 0: no operation
When 16-bit display, read the current weight value (50H) as the 1: Read the weight value
65H weight value of the leather weight and store it at 58H. R/W 0 as the tare weight and
When 32-bit display, read CR56H and CR57H as skin weight Z store it at 59H.
value and store them at 58H and 59H. Others: Invalid
Channel 2 Calibration Weight Instruction to Support Maximum
3-Section Calibration
1: Zero instruction
2: Weight base point instruction user adjustment steps:
Step1: No weights on the weighing unit
Step2: CR66H write value 1, enter calibration mode
Step3: Paragraph 1: Calibration. Add a standard weight to the
weighing unit. Write 16 bits of weight on the current chassis into
CR67H and 16 bits of weight on CR68H.
Step4: If the second paragraph of the calibration is needed, add Before use, the weight
66H
another standard weight to the weighing unit, write the weight of adjustment should be
the weight on the current chassis to CR69H with 16 bits of low completed step by step.
byte weight, CR6AH with 16 bits of high byte weight, and Step6 R/W 0
if not required.
Step5: If paragraph 3 calibration is required, add another weight
standard to the weighing unit.
Weight, the current chassis weight value of low byte 16 bits to
write CR6BH, high byte 16 bits to write CR6CH, if not necessary,
to Step6.
Step 6: CR66H write value 2, end calibration process.
67H Low bytes of base weight of weights in channel 2, paragraph 1 R/W 1000
68H High bytes of base weight of weights in channel 2, paragraph 1 R/W 0
69H Low bytes of base weight of weights in channel 2, paragraph 2 R/W 0
6AH High bytes of base weight of weights in channel 2, paragraph 2 RW 0
6BH Low bytes of base weight of weights in channel 2, paragraph 3 RW 0
6CH High bytes of base weight of channel 2, paragraph 3 RW 0
6DH Automatic peeling range of channel 2 RW 0
6EH Channel 2 Weight Upper Limit Low Bytes (32Bit Display) RW 32767
6FH Channel 2 Weight Upper Limit High Bytes (32Bit Display) RW 32767
70H-9EH Reserved R 0
The default value is 1 and
0 is written to the CR to
9FH Restoring factory parameters of configurable CR RW 1 restore the factory
parameters of the
configurable CR.

7 / 20
en.haiwell.com Haiwell PLC -- Load Cell Module User Manual

10. Mounting and Installation


The PLC should be secured to an enclosed cabinet while mounting. For heat dissipation, make sure to provide a minimum
clearance of 50mm between the unit and all sides of the
cabinet.

Rail mounting: Use standard 35 mm rail.

Screw mounting: Each MPU or extension Module has two


positioning screw holes, the diameter of the hole is 4.5mm.
Please refer to the dimension figure for the location of the
positioning holes and their spacing.

To avoid over temperature and for a better heat dissipation,


do not mount PLC to a position near to the bottom/top of the
cabinet. Do not mount PLC in vertical direction.

Extension Module wiring: Connections between extension Modules and connections between Module and MPU are achieved
through bus.A extension cable will be configured to every extension Module, for the connection between two different
Modules.Connection methods: turn the right side of extended interface(the last MPU or extension Module) over, plug the
extension cable in the extended interface, then press down the cover of the extended interface to reset the interface, the extended
interface at the right side of the Module will be reserved for extension of the next Module. Connect all extension Modules in turn in
the same way.

8 / 20
en.haiwell.com Haiwell PLC - Load Cell Module Application Example

Application example of load Cell Module

One. The Module is extended through the parallel port of the host

(The sample program is H01WG and H02WG 1 channel program, the method of using 1, 2 channels is the same, as long as the
CR number is changed to the corresponding value of the second channel.)

1. Load Cell Modules Power Supply


All expansion Modules of Haiwell do not require external power supply, can be directly powered by the parallel port of the host.
If the PLC is 24VDC power supply, the external switching power supply is supplied to the host, and the extensions are powered by
the parallel port from the host plc. The Module power supply is essentially from the external switch power supply, so the Module
needs no additional external power supply. If the expansion Module has insufficient power supply (the PWR light on the Module is
not bright), the external switching power supply capacity is not enough. The correct approach is to enlarge the power supply of the
external switch power.

If the host PLC is 220VAC power supply, the extension Modules are powered by the parallel port from the host plc, the expansion
Module does not need to connect the external power supply; if the expansion Module is in insufficient power supply (the PWR
lamp on the Module is not bright), the correct approach is to supply the power supply Module only by a single switch power supply.
(This case happens when the number of expansion Modules is too big and external loads are too much).

Haiwell extension Module can be used as remote IO, so it will not be restricted by the number of system I/O points, and can be
installed distributively, reducing cable wiring and solving the problem of interference caused by the long distance of traditional
wiring. When Modules are used as remote IO, they need power to be supplied externally The external power supply of the Module
is optional with 24VDC and 220VAC.

2. Load Cell Module Operation Procedure

When we get the weighing Module.


The first step: Calibration. The weight can be read directly after calibration.
The second step: Read the weight. One is average weight and the other is real-time weight. We usually read average weight.
The third step: Adjust the stability and responsiveness of weighing. The above two factors affect the sampling frequency, average

9 / 20
en.haiwell.com Haiwell PLC - Load Cell Module Application Example

number and filtering rate. Therefore, we can adjust the above three parameters get proper stability and responsiveness .
The fourth step: In order to make the usage more convenient, we also provide the status-value for the load Cell Module,if the
current status is like no-load, exceeding the upper limit, or value measurement with stability. We can achieve the automatic
judgment control of weighing. At the same time, it also has the functions of gross weight setting, zero-point tracking, automatic
tare-removing, and so on.
To introduce the weighing Module programming and practical use.
3. Hardware Configuration
In this case, the host is N40S2T, with a load Cell Module, so the hardware configuration is as follows:

4.Calibration method and program sample


The weighing Module supports three segments of calibration, and can realize multi-scale calibration. Take Channel 1 as an
example, the tutorial steps are as follows:
Step1: No weight is put on the weighing unit.
Step2: CR26H write value 1, enter the calibration mode;
Step3: In the first paragraph of calibration, a standard weight is added to the weighing unit to write 16 bits of weight on the chassis
to CR27H. If 32 bits weight is displayed, the 16 bits of weight is written to CR28H (that is, 32 bits integer value of weight is written
to CR27CR28H). If multi-section calibration criterion is not needed to Step6.
Step4: If the second paragraph of the calibration is needed, add another standard weight to the weighing unit, write the weight of
the current chassis 16 bits lower into CR29H, and if it is 32 bits weight display, write the weight 16 bits higher into CR30H (that is,
32 bits integer value of weight into CR29 CR30H), if no multi-section calibration criterion is needed to Step6;
Step5: If the third paragraph of the calibration is needed, add another standard weight to the weighing unit, write the weight of the
current chassis 16 bits lower into CR29H, and if it is 32 bits weight display, write the weight 16 bits higher into CR30H (that is, 32
bits integer value of weight into CR29 CR30H), if no multi-section calibration criterion is needed to Step6;
Step6: CR26H writes value 2 to end the calibration process.
Examples of multi-segment calibration procedures are as follows:

10 / 20
en.haiwell.com Haiwell PLC - Load Cell Module Application Example

5.Read Average-Weight and Real-time Weight


5.1 Weight 16 Bit/32 Bit Display Switching
Module weight 16-bit display and 32-bit weight display are two modes, which can realize 16-bit/32-bit weight switching by CR13H.
The program example is as follows.

5.2 Weight 16 Bit/32 Bit Data Reading


The weight read by module is divided into average weight and real-time weight. Usually we read average weight. The average
weight CR of 16 bits is 10H, and the real-time weight CR of 16 bits is 12H. The program example is shown below.

The average weight CR of 32 bits is 16-17H, and the real-time weight CR of 32 bits is 14-15H. The sample program is as follows.

11 / 20
en.haiwell.com Haiwell PLC - Load Cell Module Application Example

6. Adjustment for weighing stability and response speed


Module weighing stability and responsiveness will vary according to the actual application of different needs, and the impact of
these two factors are sampling frequency, average times and filtering ratio. Therefore, we can adjust the above three parameters
to do stability and responsiveness adjustment.

1BH: Sampling Frequency


Sampling frequency, that is, the number of sampling times per second, such as CR1BH=3 means 50 times per second. The faster
the sampling, the faster the average calculation, so the average weighing and real-time weight update faster. But the stability will
decrease accordingly.

CR register 1BH Channel 1 sampling frequency


1FH: Filtering Ratio
The larger the register value and the larger the filter ratio, the more stable the average weight value (10H), but the greater the
delay and the lower the sensitivity. The function of filtering is to filter out the abrupt change value, so that the average filter value
will not be affected by the abrupt change value. The filtering ratio ranges from 10% to 50%. The default is 2, that is, 20%,
assuming that the average number of times is 10, then the system will collect 10 data from large to small , filtering ratio of 20%, is
to filter out two data, that is, remove a maximum value, then remove a minimum value, and finally get an average value.

12 / 20
en.haiwell.com Haiwell PLC - Load Cell Module Application Example

1EH: Average times


The bigger the register value the more samples, the more accurate the average weight value (10H) will be, but the slower the
update speed. The default is 10, that is to say, every time we collect 10 weight data, we get an average and update the average
weight.

7. Gross Weight and Net Weight


1. When the value of 25H is written to 1 and the weight value is displayed in 16 bits, the current 16-bit weight value (10H) is read
as the weight value of the leather weight; when the weight value is read as the leather weight and stored in 18H and the weight
value is displayed in 32 bits, the current 32-bit weight value (16H 17H) is read as the weight value of the leather weight; and when
the weight value is displayed in 18H and 19H, the weight value is stored in 18H and 19H.
2, 18H, 19H store the skin weight value.
3. Enable control settings. It is controlled by Bit1 bit of 1AH. Bit1 = 0 - Gross weight, Bit1 = 1 - net weight.
Switching the current display weight to gross or net weight, the calculation uses the value of 18H (16 bits)/18H19H (32 bits) as the.
tare weight.

13 / 20
en.haiwell.com Haiwell PLC - Load Cell Module Application Example

8. Automatic peeling 2AH (Judge every 5S)


The weighing platform or equipment causes dust or residual material to be scattered during the weighing process, causing the
platform to be in the absence of any weighing items, causing the current weight to be non-zero.If the automatic peeling function is
used, the weighing module will automatically peel the current value as long as the current weight is less than the set automatic
peeling weight 2AH value.

9.Weighing state
The load Cell Module also detects the status of the scale and records it to a special CR register CR11H, CR11H status code as
follows:
Bit0: When the bit is 1, it indicates that the weighing unit is in no-load state, and the no-load check range is set on CR 23H.
Bit1: When this bit is 1, it means that the upper weight of the weighing unit exceeds the set upper weight limit. The upper weight
limit CR for 16-bit display is 24H, and the upper weight limit CR for 32-bit display is 2E 2FH.
Bit2: When the bit is 1, the measurement of the weighing unit reaches a stable state. The standstill check range and the number of
checks are set by CR20H and CR21H.
The registers can be converted to the WTOB instructions for quick checking.

14 / 20
en.haiwell.com Haiwell PLC - Load Cell Module Application Example

10.Standstill check function


When the item is placed on the load Cell to measure weight, the standstill check function can be used to know whether the current
measurement is stable.
if the amplitude of the measured value is within the checking range set by CR 21H, the relevant Bit of CR11H will be set to 1.
If the measured value exceeds the set range of standstill, the relevant stable-Bit of the CR 11H will be set to 0, until the standstill
check number 20H is within the checking range, and the relevant stable-Bit of the CR 11H will be then set to 1.
For example, the measurement time is 10ms, the standstill check times is set to 10 times, the checking range is 1000, when the
variation range exceeds 1000, the measurement value is unstable, that is, the relevant stable-Bit of CR 11H will be set to 0, when
the 100ms (10*10ms) variation range is within the checking range 1000, the relevant stability-Bit will be reset to 1 again. It is
recommended to judge the stability before controlling it.

11.Zero point detection function


Zero point tracking is related to address CR22H and CR23H.
Zero tracking density for CR 22H Channel 1. 0: close zero point tracking function; other values (absolute value) for zero tracking.
Under normal circumstances, it shows 0 after calibration. Sometimes, however, there is a small fluctuation due to equipment jitter
and other reasons. This fluctuation range is defined as 0 if it is in the tolerable range set by CR22H.

12.Restore factory default parameters


The default parameter to restore the factory is CR 9FH register.The CR will remain at 1 during normal operation. When the factory
value is restored, write CR to CR[159], and then restore the factory value after re-powering.
Recoverable CR include:
1. Skin weight [CR24, 25/CR88, 89] (0) 7. Stable inspection times[CR32/CR96](5)
2.Gross/net weight display[CR26/CR90](0/gross weight) 8. Stable inspection range[CR33/CR97](10)
3.Automatic peeling range[CR42/CR106](0) 9.Zero judgment range[CR35/CR99](10)
4.Sampling frequency[CR27/CR91](3/60Hz) 10.Maximum weight[CR36/CR100](32767)
5.Average time[CR30/CR94](10) 11.Zero tracking strength[CR34/CR98](0)

6.Filter ratio[CR31/CR95](2)

15 / 20
en.haiwell.com Haiwell PLC - Load Cell Module Application Example

Two. Load Cell Module for remote IO

Haiwell extension Module has a RS485 communication port (part models with additional Ethernet communication interface),
which supports parallel bus (the parallel interface with PLC host by extending the extension bus) and the serial bus (using the
RS485 communication port with the communication port of the PLC, the host plc using the communication instruction to control
the remote Module). When you use the serial connection, then the remote IO Module is not limited by system IO points, and can
be distributively installed.
It is very important for Distributed installation to collect or monitor a large number of discrete DI/DO or analog signals
(temperature, humidity, pressure, air volume, flow, fan speed, valve opening and so on). The Distributed installation control and
unrestricted expansion are easily realized, which greatly improves the control system. It reduces the wiring cost of all kinds of
signals, and reduces the interference caused by the over-length of the analog signal line.
Next, we will introduce remote IO usage.

1. Load Cell Module power supply


When load Cell Module is used for remote IO,24VDC external switch power supply, PWR indicator light is on.
2. Communication interface introduction
H01WG has the RS485 interface.
3. Communication protocol and default parameters
RS485:
It supports standard Modbus RTU/ASCII protocol, and it can communicate with any third-party devices, such as PC scada, touch
screen, text display and PLC, which support Modbus protocol.
Soft address: by programming software, the address set by remote tool, the address range 1-254, the default value is 1;
Baud rate: 2400, 4800, 9600, 19200, 38400, 57600, 115200 optional;
Data format: N,8,2 RTU、 E,8,1 RTU、 O,8,1 RTU、 N,8, 1 RTU、E,7,1 ASCII、 O,7,1 ASCII、 N,7,2
ASCII
RS485 default parameters: 19200, N 82 RTU, station number 1.
4.When Module is used for remote IO, Module communication parameter configuration method is introduced as
folllows:
There are three methods for remote IO parameter configuration:
①It can be configured by programming software tool remote Module (recommended).
②The Module can be connected to the host plc by parallel port and configured by hardware configuration and TO instruction.
③The Module can be configured by MODW instruction through serial communication

5.Parameter configuration example: configuring the Module through programming software “remote Module tool”.

16 / 20
en.haiwell.com Haiwell PLC - Load Cell Module Application Example

Hardware connection
①.through the RS485 (A+ B- terminal) connection: the computer with the serial port, can use 232 to 485 converter, if the PC with
USB interface, you can use USB to 485 converter.
②.connect via Ethernet + communication interface: the Module can connect directly to the computer network port with standard
network cable, or the computer and Module will be connected to the Ethernet switch.

Software operation steps


Click on the software menu bar - "remote Module":

The default address of the Module is 1 with format 19200, N 82 RTU, and the online success is as follows:

If there is only one plc on the 485 port, then you can use “find standalone”. If there are many, set the start address and stop
address, so that all the machines on the 485 port can be found and the parameters are configured. Click exit to enter the
configuration interface.
In the communication parameter area, we can change the Module's name, address, baud rate and data format and other
communication parameters, and then download it after modification.

17 / 20
en.haiwell.com Haiwell PLC - Load Cell Module Application Example

6.Examples of remote IO applications: reading Module real-time weight


①:hardware wiring: the 485 ports of the host PLC and the load Cell Module are connected by the shielded twisted cable and the
A+ is connected by A+ and B- to B-. If PLC connects to multiple weighing Modules, it is necessary to connect by mode of “hand by
hand”.
② : Modbus address: from the CR parameter table above, we can see that the H01WG Module CR 12H means the real-time
weight.
③PLC program: this example H01WG communication is the default parameter: station number 1, baud rate 19200, data format N
82 RTU. PLC reads the 4 Channels values as follows:

7.Examples of remote IO applications: calibration


The weighing Module supports three segments of calibration, and can realize multi-scale calibration. Take Channel 1 as an
example, the tutorial steps are as follows:
Step1: No weight is put on the weighing unit.
Step2: CR26H write value 1, enter the calibration mode;
Step3: In paragraph 1, a standard weight is added to the weighing unit, and the weight on the current chassis is written into
CR27H when the 16-bit weight is displayed, while the weight on the current chassis is written into CR27H CR28H when the 32-bit
weight is displayed.
Step4: If the second calibration is needed, add another standard weight to the weighing unit, and write the weight on the current

18 / 20
en.haiwell.com Haiwell PLC - Load Cell Module Application Example

chassis into CR29H when the 16-bit weight is displayed, and write the weight on the current chassis into CR29H CR30H when the
32-bit weight is displayed, otherwise implement Step6.
Step5: If the third paragraph of the calibration is needed, add another standard weight to the weighing unit, and write the weight of
the current chassis into CR31H when the 16-bit weight is displayed, while the weight of the current chassis is written into CR31H
CR32H when the 32-bit weight is displayed, otherwise Step6 will be executed.
Step6: CR26H writes value 2 to end the calibration process.
Examples of multi-segment calibration procedures are as follows:

19 / 20
en.haiwell.com Haiwell PLC - Load Cell Module Application Example

Other parameters configuration and read are also read with MODR and MODW instructions.

Thanks for choosing Haiwell PLC, If you have any questions about our products or services, please let us know!
Haiwell website:www.haiwell.com Copyright © 2005 Xiamen Haiwell Technology Co.,Ltd.
20 / 20

You might also like