User's Manual of Haiwell PLC Load Cell Module
User's Manual of Haiwell PLC Load Cell Module
Contents
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
2 / 20
en.haiwell.com Haiwell PLC -- Load Cell Module User Manual
① ⑥ ⑦ ① ⑧
⑥ ⑦ ⑧
⑨ ⑨
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-
⑤ ⑤
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:
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
4-wire sensor and instrument connection 6-wire sensor and instrument connection
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
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
6 / 20
en.haiwell.com Haiwell PLC -- Load Cell Module User Manual
7 / 20
en.haiwell.com Haiwell PLC -- Load Cell Module User Manual
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
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.)
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.
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:
10 / 20
en.haiwell.com Haiwell PLC - Load Cell Module Application Example
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
12 / 20
en.haiwell.com Haiwell PLC - Load Cell Module Application Example
13 / 20
en.haiwell.com Haiwell PLC - Load Cell Module Application Example
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
6.Filter ratio[CR31/CR95](2)
15 / 20
en.haiwell.com Haiwell PLC - Load Cell Module Application Example
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.
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.
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
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