Manual Siwarex Wp521 Wp522 en
Manual Siwarex Wp521 Wp522 en
___________________
___________________
Documentation guide 2
___________________
3
Weighing systems Product overview
___________________
Installation and connection 4
Electronic Weighing System
SIWAREX WP521/WP522
___________________
Commissioning 5
Scale parameters and
___________________
functions 6
Manual
7
___________________
Alarm logging
8
___________________
Commands
Communication with
___________________
SIMATIC S7-1500 9
___________________
Communication via Modbus 10
___________________
Technical specifications 11
12
___________________
Accessories
A
___________________
Appendix
04/2016
A5E36695225A
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
1 Foreword ................................................................................................................................................ 9
1.1 Purpose of the manual .............................................................................................................. 9
1.2 Conventions .............................................................................................................................. 9
1.3 Security messages .................................................................................................................... 9
1.4 Industrial Security ..................................................................................................................... 9
2 Documentation guide ............................................................................................................................ 11
3 Product overview .................................................................................................................................. 13
3.1 Properties ................................................................................................................................13
3.2 Area of application ..................................................................................................................15
3.3 System integration in SIMATIC ...............................................................................................16
3.4 Customer benefits ...................................................................................................................16
3.5 Product package .....................................................................................................................17
3.6 Overview of the functions .......................................................................................................17
3.7 Overview of configuration options ...........................................................................................18
3.7.1 Configuration with the PC .......................................................................................................18
3.7.2 Configuration via the Modbus interface ..................................................................................19
4 Installation and connection .................................................................................................................... 21
4.1 Installation guideline ...............................................................................................................21
4.2 Pin assignment .......................................................................................................................21
4.3 Connecting the load cells ........................................................................................................24
4.4 Shield connection....................................................................................................................27
4.5 Supply voltage L+/M ...............................................................................................................28
4.6 Digital inputs DI0, DI1 and DI2 ...............................................................................................29
4.7 Digital outputs DQ0, DQ1, DQ2 and DQ3 ..............................................................................30
4.8 Connection of RS485 serial interface .....................................................................................30
4.9 Connection of Siebert display via RS485 ...............................................................................31
4.10 Connection of the Ethernet interface ......................................................................................31
5 Commissioning ..................................................................................................................................... 35
5.1 Basic tasks ..............................................................................................................................35
5.2 Ex-works settings of the operating switch ..............................................................................36
5.3 Factory-set parameters ...........................................................................................................38
5.4 Commissioning tools ...............................................................................................................38
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 3
Table of contents
5.5 Start-up with the operator panel and the Ready-for-use software ......................................... 38
5.5.1 Restriction of access .............................................................................................................. 38
5.5.2 Start ........................................................................................................................................ 39
5.5.3 Specification of basic values 1 ............................................................................................... 40
5.5.4 Specification of basic values 2 ............................................................................................... 41
5.5.5 Selecting the calibration method ............................................................................................ 41
5.5.6 Defining the calibration weights ............................................................................................. 42
5.5.7 Setting calibration points ........................................................................................................ 43
5.5.8 Calibrating the scale automatically ........................................................................................ 44
5.5.9 Performing the automatic calibration ..................................................................................... 45
5.5.10 Checking the scale following calibration ................................................................................ 45
5.6 Service with the SIWATOOL program ................................................................................... 46
5.6.1 General .................................................................................................................................. 46
5.6.2 Windows and functions of SIWATOOL .................................................................................. 47
5.6.3 Available help options ............................................................................................................ 49
5.6.4 Recording scale traces .......................................................................................................... 49
5.6.5 Offline parameter assignment ................................................................................................ 50
5.7 Commissioning with SIWATOOL ........................................................................................... 51
5.7.1 IP address for SIWAREX ....................................................................................................... 51
5.7.2 Entering a known SIWAREX IP address ............................................................................... 51
5.7.3 Determining an unknown IP address ..................................................................................... 52
5.7.4 Setting up a network .............................................................................................................. 52
5.7.5 Start ........................................................................................................................................ 52
5.7.6 Calibration method ................................................................................................................. 53
5.7.6.1 Selecting the calibration method ............................................................................................ 53
5.7.6.2 Calibration with calibration weight.......................................................................................... 54
5.7.6.3 Automatic calibration (= calibration without calibration weight) ............................................. 58
5.7.6.4 Receive all data...................................................................................................................... 63
5.7.7 Firmware update with SIWATOOL......................................................................................... 64
5.7.8 Firmware update with SIMATIC TIA Portal ............................................................................ 65
6 Scale parameters and functions ............................................................................................................ 67
6.1 Parameters and functions ...................................................................................................... 67
6.2 DR 2 command code ............................................................................................................. 67
6.3 DR 3 calibration parameters .................................................................................................. 67
6.3.1 Overview ................................................................................................................................ 67
6.3.2 Scale name ............................................................................................................................ 71
6.3.3 Unit of weight ......................................................................................................................... 71
6.3.4 Gross identifier ....................................................................................................................... 71
6.3.5 Minimum weighing range ....................................................................................................... 72
6.3.6 Maximum weighing range ...................................................................................................... 72
6.3.7 Calibration weights 0, 1, 2 and calibration digits 0, 1, 2 ........................................................ 72
6.3.8 Scale interval.......................................................................................................................... 72
6.3.9 Automatic zero adjustment .................................................................................................... 72
6.3.10 Filling/emptying mode ............................................................................................................ 72
6.3.11 Weight simulation ................................................................................................................... 72
6.3.12 Filter sequence....................................................................................................................... 73
6.3.13 Maximum tare load ................................................................................................................ 73
6.3.14 Maximum negative zero setting limit (semi-automatically) .................................................... 73
6.3.15 Maximum positive zero setting limit (semi-automatically) ...................................................... 73
SIWAREX WP521/WP522
4 Manual, 04/2016, A5E36695225A
Table of contents
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 5
Table of contents
SIWAREX WP521/WP522
6 Manual, 04/2016, A5E36695225A
Table of contents
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 7
Table of contents
10.2 Special feature of Modbus TCP/IP connection to SIWAREX WP522 ................................. 151
10.3 Principle of data transmission .............................................................................................. 151
10.4 Data record concept ............................................................................................................. 153
10.5 Command mailboxes ........................................................................................................... 153
10.6 Reading registers ................................................................................................................. 153
10.7 Writing registers ................................................................................................................... 154
11 Technical specifications .......................................................................................................................157
11.1 Technical specifications ....................................................................................................... 157
11.2 Electrical, EMC and climatic requirements .......................................................................... 161
11.3 Approvals ............................................................................................................................. 166
12 Accessories .........................................................................................................................................169
12.1 Configuration package ......................................................................................................... 169
A Appendix .............................................................................................................................................171
A.1 Technical support ................................................................................................................. 171
A.2 ESD Guidelines .................................................................................................................... 172
A.3 List of abbreviations ............................................................................................................. 173
Index ...................................................................................................................................................175
SIWAREX WP521/WP522
8 Manual, 04/2016, A5E36695225A
Foreword 1
1.1 Purpose of the manual
This manual contains module-specific information about the wiring, diagnostic and technical
specifications of the technology module.
Information about the design and commissioning of the S7-1500 or the ET 200MP in general
can be found in the system manual for S7-1500 or ET 200MP.
1.2 Conventions
Observe the notes labeled as follows:
Note
A note contains important information about the product described in the documentation,
about handling the product, or about a part of the documentation to which special attention
should be given.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 9
Foreword
1.4 Industrial Security
SIWAREX WP521/WP522
10 Manual, 04/2016, A5E36695225A
Documentation guide 2
Introduction
The documentation for the SIMATIC and SIWAREX is modular and includes topics related to
your automation system.
The complete documentation for the S7-1500 and ET 200MP systems consists of the
respective system manuals, function manuals and device manuals.
You are also supported by the information system from STEP 7 (TIA Portal) during the
configuration and programming of your automation system.
SIMATIC manuals
All current manuals for the SIMATIC products are available for download free of charge from
the Internet (https://support.industry.siemens.com).
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 11
Documentation guide
SIWAREX WP521/WP522
12 Manual, 04/2016, A5E36695225A
Product overview 3
3.1 Properties
Article number
SIWAREX WP521 - 7MH4 980-1AA01
SIWAREX WP522 - 7MH4 980-2AA01
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 13
Product overview
3.1 Properties
SIWAREX WP521/WP522
14 Manual, 04/2016, A5E36695225A
Product overview
3.2 Area of application
Properties
The TM SIWAREX WP521/WP522 technology module has the following features:
● Technical properties
● Width: 35 mm
● WP521 one weighing channel, WP522 two weighing channels
● Interfaces:
– Supply voltage L+
– Load cell connection for strain gauge load cell in 6 or 4-wire system (per channel), 1 to
4 mV/V
– Digital input signals DI0, DI1 and DI2 (per channel)
– Digital output signals DQ0, DQ1, DQ2, DQ3 (per channel)
– RS485 with Modbus RTU or for connecting the remote display (per channel)
– Ethernet interface with SIWATOOL protocol and Modbus TCP/IP (once for each
channel)
● Channel-by-channel monitoring of load cells for wire breakage
● Hardware interrupts can be configured channel by channel
● Input filter for suppressing interference with programmable digital inputs
● Supported functions:
– Scale calibration with weights or automatically
– Signal filtering with average value filter and low-pass filter
– 3 limits
– Tare
– Set to zero
– Trace (signal recording)
– Firmware update
– Identification data I&M
– Commissioning with SIWATOOL (service tool for PC)
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 15
Product overview
3.3 System integration in SIMATIC
● Platform scale
● Scales in hazardous areas (with SIWAREX IS Ex interface)
SIWAREX WP521/WP522
16 Manual, 04/2016, A5E36695225A
Product overview
3.5 Product package
Other components
The following components must be ordered separately:
● Front connectors, including potential jumpers and cable ties
● Front connector 35 mm with push-in system
Note
We recommend using the SIWAREX WP521/WP522 configuration package to configure the
SIWAREX WP521/WP522 electronic weighing system. The configuration package is not
included in the product package of the module: → Accessories (Page 169).
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 17
Product overview
3.7 Overview of configuration options
The SIWAREX WP521 / WP522 is calibrated ex factory. This enables both automatic
adjustment of the scale without calibration weights and modules to be exchanged without
having to re-adjust the scale.
The Ethernet interface enables connection of a PC for configuring the electronic weighing
system or the connection of automation systems of any kind (Modbus TCP / IP).
The SIWAREX WP521/WP522 electronic weighing system can also be used in hazardous
areas (Zone 2). The load cell is powered intrinsically safe for Zone 1 applications via the
optional Ex interface, SIWAREX IS.
The SIWAREX WP521/WP522 can also be used independent of the automation system in
stand-alone mode. This scenarios provide numerous configuration options.
The user himself can determine the HMI device. However, the HMI device must support
Modbus RTU or TCP/IP. A custom operating style can be implemented.
The SIWAREX WP521/WP522 can be controlled remotely without a separate, local HMI
device. An HMI device can be used for multiple scales. The configuration possibilities are
almost unlimited.
SIWAREX WP521/WP522
18 Manual, 04/2016, A5E36695225A
Product overview
3.7 Overview of configuration options
SIWATOOL not only provides support for adjusting the scale, but also in the analysis of the
diagnostics buffer, which can be saved together with the parameters after reading the
module. The display of the current scale state can be adjusted.
The program can be switched between several languages.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 19
Product overview
3.7 Overview of configuration options
SIWAREX WP521/WP522
20 Manual, 04/2016, A5E36695225A
Installation and connection 4
4.1 Installation guideline
When assembling the SIMATIC components with the electronic weighing system described
herein, you must adhere to the guidelines for setup, assembly and wiring the SIMATIC S7-
1500 (see documentation tree).
This manual also describes the specific aspects of assembly and wiring the electronic
weighing system.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 21
Installation and connection
4.2 Pin assignment
WP521 ST
Load cell 1 21
EXC+
Load cell 2 22
EXC-
Load cell 3 23
SIG+
Load cell 4 24
SIG-
Load cell 5 25
SEN+
Load cell 6 26
SEN-
RS485, D+ 7 27
RS485, D- 8 28
DQ.L+ 9 29
(24V DQ)
DQ.M (0V 10 30
DQ)
DQ.0 11 31
(Pins 21 ... 38 unusable)
DQ.1 12 32
DQ.2 13 33
DQ.3 14 34
DI.0 15 35
DI.1 16 36
DI.2 17 37
DI.M (0V 18 38
DI)
L+ (if 19 39 L+ (of 41, 42) Pins 19 and 39 jump-
jumpered) erable
M (if jump- 20 40 M (of 43, 44) Pins 20 and 40 jump-
ered) erable
4 4 4 4
1 2 3 4
L+ M
SIWAREX WP521/WP522
22 Manual, 04/2016, A5E36695225A
Installation and connection
4.2 Pin assignment
WP522 ST
Load cell 1 21
EXC+
Load cell 2 22
EXC-
Load cell 3 23
SIG+
Load cell 4 24
SIG-
Load cell 5 25
SEN+
Load cell 6 26
SEN-
RS485, D+ 7 27
RS485, D- 8 28
DQ.L+ 9 29 Pins 9 and 29 jump-
(24V DQ) erable
DQ.M (0V 10 30 Pins 10 and 30 jump-
DQ) erable
DQ.0 11 31
DQ.1 12 32
DQ.2 13 33
DQ.3 14 34
DI.0 15 35
DI.1 16 36
DI.2 17 37
DI.M (0V 18 38
DI)
L+ (if 19 39 L+ (of 41, 42) Pins 19 and 39 jump-
jumpered) erable
M (if jump- 20 40 M (of 43, 44) Pins 20 and 40 jump-
ered) erable
4 4 4 4
1 2 3 4
L+ M
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 23
Installation and connection
4.3 Connecting the load cells
Overview
Pickups equipped with strain gauges (EMS full bridge) can be connected to the electronic
weighing system SIWAREX WP521/WP522 to meet the following requirements.
● Identifier 1.... 4 mV/V
● A supply voltage of 5 V is permitted
The power supply for the load cells is 4.85 V.
To test the maximum possible number of load cells that can be connected to a
WP521/WP522, the following condition must be met:
● Scale operation without Ex interface: (input resistance of load cell) / (number of load cells)
> 40 Ohm
● Weighing mode with EX interface: (input resistance of load cell) / (number of load cells) >
50 Ohm
SIWAREX WP521/WP522
24 Manual, 04/2016, A5E36695225A
Installation and connection
4.3 Connecting the load cells
Image 4-2 Connection of strain gauge load cell with 4-wire system
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 25
Installation and connection
4.3 Connecting the load cells
Rules
Observe the following rules when connecting analog (strain gauge) load cells:
1. The use of a junction box (SIWAREX JB junction box) is required when more than one
load cell is connected (the load cells must be connected in parallel). If the distance of a
load cell to the SIWAREX WP521/WP522 or terminal box is greater than the available
length of the load cell cable, the SIWAREX EB extension box should be used.
2. The cable shield is always applied at the cable gland of the junction box (SIWAREX JB)
or the extension box. If there is a risk of equipotential bonding through the cable shield,
connect a equipotential equalization conductor parallel to the load cell cable.
SIWAREX WP521/WP522
26 Manual, 04/2016, A5E36695225A
Installation and connection
4.4 Shield connection
3. Twisted wire pairs that are also shielded are required for the specified cables:
– Sensor cable (+) and (-)
– Measuring voltage cable (+) and (-)
– Supply voltage cable (+) and (-)
We recommended that you use the cables listed in chapter → Accessories (Page 169).
4. The shield must be connected to ground in the immediate vicinity of the SIWAREX
WP521/WP522. The maximum distance between the SIWAREX WP521/WP522 and the
load cell is applicable when the recommended cables are used.
Labeling Function
Sig- Measurement cable load cell -
Sig+ Measurement cable load cell -
Sen- Sensor cable load cell -
Sen+ Sensor cable load cell +
Exc- Supply load cell -
Exc+ Supply load cell +
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 27
Installation and connection
4.5 Supply voltage L+/M
Only use cables with a braided shield (see recommended cable in the section Accessories
(Page 169)). The coverage of the shield should be at least 80%.
Image 4-5 Front connector with a shielded cable and 24V connection
SIWAREX WP521/WP522
28 Manual, 04/2016, A5E36695225A
Installation and connection
4.6 Digital inputs DI0, DI1 and DI2
CAUTION
Unknown assignment of digital inputs
If the assignment of the digital inputs is not known at the time of connection, This may
damage parts of the system.
Do not create a connection with the digital inputs before you know the assignment.
The digital inputs are not permanently assigned to commands in the delivery state. The
assignment of the digital inputs to commands is made during commissioning by setting
parameters of the data record DR7.
The digital inputs of the two SIWAREX WP522 scale channels are electrically isolated from
each other.
Input filter for digital inputs
The following values can be specified for the input delay:
● None
● 5 ms
● 10 ms (preset)
● 15 ms
● 20 ms
● 25 ms
● 30 ms
● 35 ms
● 40 ms
Note
If you select "No", you must use shielded cables to connect the digital inputs.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 29
Installation and connection
4.7 Digital outputs DQ0, DQ1, DQ2 and DQ3
CAUTION
Unknown assignment of digital outputs
The assignment of the digital outputs is not known at the time of connection. Digital outputs
can be active immediately after turning on the power supply. This may damage parts of the
system.
Do not create a connection with the digital outputs before you know the assignment of the
digital outputs.
The digital outputs have no fixed assignment to process data ex factory. The assignment of
the digital inputs to function and the reaction to failure is made during commissioning by
setting parameters of the data record DR7.
The digital outputs of the two SIWAREX WP522 scale channels are electrically isolated from
each other.
The digital outputs are 24 V sourcing with respect to M and with a nominal load current of
0.5A. They are protected against overload and short-circuit.
Note
Direct connection of relays and contactors is not possible without external wiring. You can
find information about the maximum possible operating frequencies and the inductance of
the inductive load on the digital outputs in the section Technical specifications (Page 157).
Labeling Function
EIA-485 D+ RS485 data line + for feeding in of bus signal
EIA-485 D- RS485 data line - for feeding in of bus signal
When a SIWAREX WP521/WP522 module forms the end of an RS485 network, the
termination of the bus network can be switched per configuration.
SIWAREX WP521/WP522
30 Manual, 04/2016, A5E36695225A
Installation and connection
4.9 Connection of Siebert display via RS485
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 31
Installation and connection
4.10 Connection of the Ethernet interface
SIWAREX WP521/WP522
32 Manual, 04/2016, A5E36695225A
Installation and connection
4.10 Connection of the Ethernet interface
Ethernet socket on the bottom of the enclosure, plug with extended release lever
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 33
Installation and connection
4.10 Connection of the Ethernet interface
SIWAREX WP521/WP522
34 Manual, 04/2016, A5E36695225A
Commissioning 5
5.1 Basic tasks
Commissioning consists mainly of checking the mechanical scale structure, setting
parameters, calibration, and verification of the envisaged functionality.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 35
Commissioning
5.2 Ex-works settings of the operating switch
SIWAREX WP521/WP522
36 Manual, 04/2016, A5E36695225A
Commissioning
5.2 Ex-works settings of the operating switch
Switch ①
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 37
Commissioning
5.3 Factory-set parameters
Connected to an S7-1500 CPU, stand-alone mode (DIP 1 in lower position) can be useful,
because SIWAREX WP521/WP522 then remains fully functional even in the case of a CPU
stop and can be operated (e.g. through an HMI device directly connected via Modbus,
through a coupled PC or through the digital inputs)
Note
If the switch ① is set to the lower position while the SIWAREX module is operating with
SIMATIC, the SIWAREX module does not perform a reset when there is a loss of power
supply for the SIMATIC CPU.
5.5 Start-up with the operator panel and the Ready-for-use software
Note
The example project "Ready-for-use" does not restrict access. If operation of the
scale/system is implemented based on this configuration example, restriction of access is
recommended, e.g. by using passwords with the support of the engineering tools.
SIWAREX WP521/WP522
38 Manual, 04/2016, A5E36695225A
Commissioning
5.5 Start-up with the operator panel and the Ready-for-use software
5.5.2 Start
The quick start is performed in this example with a TP700 Comfort Panel connected directly
to the WP521/WP522. The panel communicates directly via Modbus TCP/IP or via the
SIMATIC S7-1500 CPU.
To carry out the quick start, select the "1.0 Setup" function in the main menu and then "1.2
Quick Start". You will be guided through the individual tasks for setting the most important
parameters.
The remaining parameters are factory-set in such a way that they can be used in most cases
without any changes.
All parameter inputs must be saved by clicking on the diskette icon.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 39
Commissioning
5.5 Start-up with the operator panel and the Ready-for-use software
SIWAREX WP521/WP522
40 Manual, 04/2016, A5E36695225A
Commissioning
5.5 Start-up with the operator panel and the Ready-for-use software
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 41
Commissioning
5.5 Start-up with the operator panel and the Ready-for-use software
In step 5 you enter the calibration weights which are to be positioned on the scale during the
calibration. If the scale is not empty and the current contents are known, you can define an
"Calibration weight 0" with the current contents of the scale. With an empty scale, this
parameter remains as 0 kg. "Calibration weight 1" usually defines the first reference point of
the scale characteristic. A further reference point ("Calibration weight 2") can also be set in
addition. This is optional, and may not be necessary depending on the mechanical properties
of the scale.
Note that the interval between the calibration weights must be at least 2% of the nominal
load of the scale. With a 1 000 kg scale, a calibration weight of at least 20 kg must therefore
be used.
SIWAREX WP521/WP522
42 Manual, 04/2016, A5E36695225A
Commissioning
5.5 Start-up with the operator panel and the Ready-for-use software
Carry out the calibration commands at the end of the quick start:
1. Carry out the "Set calibration weight 0" command. The "Calibration weight 0" defined in
step 5 is now visible in the display.
2. Place the "Calibration weight 1" defined in step 5 on the scale construction, and execute
the "Set calibration weight 1" command.
3. If an "Calibration weight 2" was selected:
Place the "Calibration weight 2" defined in step 5 on the scale construction, and execute
the "Set calibration weight 2" command.
4. Calibration of the scale is now complete. Return to the start screen by clicking on the
house icon.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 43
Commissioning
5.5 Start-up with the operator panel and the Ready-for-use software
The number of points of support corresponds with a silo, for example, to the number of
clamps or feet of the silo. A quadratic platform scale with a load cell at each corner has 4
support points. The characteristic values of the individual load cells are required to calculate
the average characteristic value of the cells.
The formula for the calculation is:
(characteristic value cell 1 + characteristic value cell 2 + .... characteristic value cell n) / n
If the exact characteristic values are unknown, it is permissible to also use rounded-off
numbers (e.g. 1.0 mV/V, 2.0 mV/V). The nominal load of one single load cell (not the
nominal load of the complete scale!) must subsequently be defined.
SIWAREX WP521/WP522
44 Manual, 04/2016, A5E36695225A
Commissioning
5.5 Start-up with the operator panel and the Ready-for-use software
Subsequently enter the "Perform automatic calibration" command with the scale empty. The
scale is calibrated directly, and clicking on the house icon returns you to the start screen.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 45
Commissioning
5.6 Service with the SIWATOOL program
5.6.1 General
You can use the SIWATOOL program to commission the scale independently of the
SIMATIC automation system.
The program is included in the configuration package.
Install the SIWATOOL program (SIWATOOL folder) on your PC for commissioning. You
have 3 options when selecting the SIWAREX module:
● Selection SIWAREX WP521ST
● Selection SIWAREX WP522STA - for channel A
● Selection SIWAREX WP522STB - for channel B
SIWAREX WP521/WP522
46 Manual, 04/2016, A5E36695225A
Commissioning
5.6 Service with the SIWATOOL program
① Control elements for SIWATOOL and operation ③ Offline values of the SIWAREX module
of the scale
② Parameter list of the SIWATOOL module ④ Online values of the connected SIWAREX module
Image 5-11 Layout of the SIWATOOL user interface
The message window shows the current contents of the message buffer of the SIWAREX
module. The most recent message is in the top line.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 47
Commissioning
5.6 Service with the SIWATOOL program
In order to archive data, all data can be exported from the SIWAREX module and saved as a
file or printed.
Note
You can edit all data in the SIWAREX module in online mode. The changes are not
automatically imported to the corresponding scale data block in the SIMATIC CPU.
Select the appropriate data record in order to send or receive it (e.g.: "Calibration parameter
(DR3)") and call the command list with a right mouse click.
The data record is sent from the PC to the SIWAREX WP521/WP522 using "Send data
record".
The data record is sent from the SIWAREX WP521/WP522 to the PC using "Receive data
record".
The complete data record (all parameters of the data record) is always transferred, not just
individual parameters!
For example, if data record 3 is to be sent, right-click on "Calibration Parameter (DR3)". The
command list is then opened with the option for sending the respective data record to the
weighing module or for reading it from the module. All data records can only be sent to or
read from the SIWAREX as complete packets. It is not possible to read or write individual
parameters within a data record.
Different parameter-settings between PC and SIWAREX are marked in red in the
SIWATOOL:
Therefore the complete data record must initially be received for every change to parameters
within it.
SIWAREX WP521/WP522
48 Manual, 04/2016, A5E36695225A
Commissioning
5.6 Service with the SIWATOOL program
The desired parameter can then be edited, and the data record returned.
Note
If the data record is not received, the danger exists that different PC parameters will be sent
to the scale and overwrite previously active and intentionally defined parameters.
Online parameter trends can be recorded and played back using the recorder function
located at the top right-hand edge of SIWATOOL. You can use the "Configure recorder"
button to select the data records to be recorded and to set the save parameters. The
playback speed can be set using a slider.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 49
Commissioning
5.6 Service with the SIWATOOL program
SIWAREX WP521/WP522
50 Manual, 04/2016, A5E36695225A
Commissioning
5.7 Commissioning with SIWATOOL
Note
Please also observe the Security information (Page 9).
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 51
Commissioning
5.7 Commissioning with SIWATOOL
Note
Please also observe the Security information (Page 9).
5.7.5 Start
When starting the SIWATOOL program, first select the SIWAREX WP521ST or SIWAREX
WP522STA (channel A) or SIWAREX 522STB (channel B) using the "Device selection"
window.
SIWAREX WP521/WP522
52 Manual, 04/2016, A5E36695225A
Commissioning
5.7 Commissioning with SIWATOOL
See also
Service with the SIWATOOL program (Page 46)
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 53
Commissioning
5.7 Commissioning with SIWATOOL
Unit of weight:
The unit of weight can be selected from a list.
Maximum weighing range:
Exceeding the maximum weighing range (= the maximum material to be weighed) is
indicated in DS30, status 1-2, at parameter "Max 9e".
If the maximum weighing range is exceeded, this bit is set to TRUE.
Resolution d:
The resolution d can be defined in accordance with EN 45501 (0.0001 to 50). This parameter
is used for the weight display in the SIWATOOL software.
Calibration weight 1:
The calibration weight 1 and its corresponding calibration digits define the characteristic
curve of the scale.
A minimum calibration weight must be used as calibration weight 1; with a load cell
characteristic value of:
● 1 mV/V: 8% of the total rated load of all load cells
● 2 mV/V: 4% of the total rated load of all load cells
● 4 mV/V: 2% of the total rated load of all load cells
SIWAREX WP521/WP522
54 Manual, 04/2016, A5E36695225A
Commissioning
5.7 Commissioning with SIWATOOL
Example
Number of load cells: 3 units
Nominal load of one single load cell: 100 kg
Load cell characteristic value: 2 mV/V
The minimum calibration weight which can be used for the calibration is: 4% x 3 x 100 kg =
12 kg
Once the above-mentioned parameters have been set in the PC, they must be sent to the
SIWAREX. Service mode must be switched on first. The DR3 can only be sent and the
calibration commands executed with service mode switched on.
After switching on service mode, a red wrench icon is displayed in the SIWATOOL next to
the weight value.
All parameter settings in DR3 are now identical again between PC and SIWAREX, and all
parameters of DR3 are displayed again in black.
Following transmission of the parameters to the SIWAREX, and with a empty scale – i.e.
only the mechanical dead load (e.g. empty container) bears on the load cells – the
"Calibration point 0 valid" command is executed:
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 55
Commissioning
5.7 Commissioning with SIWATOOL
SIWAREX WP521/WP522
56 Manual, 04/2016, A5E36695225A
Commissioning
5.7 Commissioning with SIWATOOL
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 57
Commissioning
5.7 Commissioning with SIWATOOL
The calibration is then finished, and the correct weight value is now displayed in SIWATOOL.
Read back DR3
During the calibration, the SIWAREX internally changes its calibration digits.
This means that obsolete parameter values are now present in SIWATOOL.
These are displayed in red, e.g.:
The DR3 must be read back in order to again achieve calibration digits in the SIWATOOL
which are consistent with the SIWAREX:
SIWAREX WP521/WP522
58 Manual, 04/2016, A5E36695225A
Commissioning
5.7 Commissioning with SIWATOOL
Unit of weight:
The unit of weight can be selected from a list.
Maximum weighing range:
Exceeding the maximum weighing range (= the maximum material to be weighed) is
indicated in DR30, status 1-2, at parameter "Max 9e".
If the maximum weighing range is exceeded, this bit is set to TRUE.
Resolution d:
The resolution d can be defined in accordance with EN 45501 (0.0001 to 50).
Once the above-mentioned parameters have been entered, the parameters modified in the
PC must be sent to the SIWAREX.
Service mode must be switched on first.
The DR3 and DR10 can only be sent and the calibration commands executed with service
mode switched on:
After switching on service mode, a red wrench icon is displayed in the SIWATOOL next to
the weight value:
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 59
Commissioning
5.7 Commissioning with SIWATOOL
All parameter settings in DR3 are now identical again between PC and SIWAREX, and all
parameters of DR3 are displayed again in black.
The data specific to the load cells is subsequently specified in DR10:
SIWAREX WP521/WP522
60 Manual, 04/2016, A5E36695225A
Commissioning
5.7 Commissioning with SIWATOOL
All parameter settings in DR10 are now identical again between PC and SIWAREX, and all
parameters of DR10 are displayed again in black.
Following transmission of the parameters to the SIWAREX, and with a empty scale – i.e.
only the mechanical dead load (e.g. empty container) bears on the load cells – the
"Automatic calibration" command is executed:
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 61
Commissioning
5.7 Commissioning with SIWATOOL
The calibration is then finished, and the correct weight value is now displayed in SIWATOOL.
Read back DR3
During the calibration, the SIWAREX internally changes its calibration digits and the
calibration weight.
This means that obsolete parameter values are now present in SIWATOOL.
These are displayed in red, e.g.:
The DR3 must be read back in order to again achieve calibration digits and the calibration
weight in the SIWATOOL which are consistent with the SIWAREX:
SIWAREX WP521/WP522
62 Manual, 04/2016, A5E36695225A
Commissioning
5.7 Commissioning with SIWATOOL
All parameters can now been saved as a backup file on the hard disk. If a module is
replaced, the backup file can be downloaded to the new module within a few seconds. At the
time of input of the backup file, the scale is directly in the calibrated state again – without a
new calibration.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 63
Commissioning
5.7 Commissioning with SIWATOOL
Note
The SIWAREX module parameters are preassigned with default values after the transfer of
the new firmware.
You should therefore export and save the original parameter values prior to the firmware
update. Following the firmware update, the saved data can be converted by SIWATOOL to
the new firmware version.
Note
During the firmware transfer, the SIWAREX module works restricted with the old firmware
version and the new firmware is loaded in the background. For this reason, you must not
switch off the module during the firmware transfer.
SIWAREX WP521/WP522
64 Manual, 04/2016, A5E36695225A
Commissioning
5.7 Commissioning with SIWATOOL
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 65
Commissioning
5.7 Commissioning with SIWATOOL
WARNING
Prohibited system states possible
An S7-1500 CPU goes immediately to STOP mode when the firmware update begins,
which may affect the operation of an online process or machine. Unexpected operation of a
process or machine can lead to death or serious injury and/or property damage.
Note
After performing a firmware update, you must replace the affected module by the same
module with the current firmware version in the hardware configuration of your project. The
configuration will then comply with the actual existing configuration again.
A station can restart after activating the firmware. This will result in the failure of all modules
of the station.
If the corresponding CPU is in RUN mode, activation of the firmware can cause access
errors or other impairments of the user program even including sustained CPU STOP.
SIWAREX WP521/WP522
66 Manual, 04/2016, A5E36695225A
Scale parameters and functions 6
6.1 Parameters and functions
The electronic weighing system used here can be used for non-automatic weighing, for
examples, as a platform scale or hopper scale. They are not legal-for-trade.
All parameters are set to default values in the factory. You can restore the configuration to
factory settings using the "Load factory settings" command.
The default parameters are set such that the scale is immediately ready for operation. The
weight value indicates changes in weight on the load cell, but only corresponds to the actual
weight following a calibration. You do not need to re-enter all parameters. The advantage of
this solution is that you can decide which default values are to be retained and which
parameters need to be adapted for your application.
All parameters are divided into data records (DR). The data records are organized in steps
(tasks) to be implemented during commissioning or during the process.
The scale functions governed by the parameters are also described in the parameter
description below.
First, the parameters of a given data record are displayed in a table. The detailed parameter
description for the parameters of this data record then follows.
When it receives new parameters, the SIWAREX module runs a validation check. In the
event of a parameter assignment error, the data record is not applied (not saved) by the
SIWAREX module and a data/operator error is reported.
6.3.1 Overview
The calibration parameters need to be checked and if necessary modified for all scales.
The scale is basically defined by calibration parameters and calibration operation. Any
changes in data record DR 3 require the service operation of the module to be activated. If
service mode is not active, all parameter inputs are directly rejected with an error.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 67
Scale parameters and functions
6.3 DR 3 calibration parameters
Procedure
● Check all parameters and modify them as required
● Transfer the DR 3 data record from SIWATOOL to the scales
● Adjust the scales
● Transfer the DR 3 data record from the scales to SIWATOOL
Variable Note Type Length Read Write Default Min. Max. Modbus
(bytes) write protec- registers
tion
Pro-
tection
Data record Contains no. of USHORT 2 r - 3 - - 1000
number data record
Length Data record USHORT 2 r - 116 - - 1001
length information
Application Information about USHORT 2 r - 141 - - 1002
which application
the DR belongs to
Version ID Information about USHORT 2 r - 1 1 65635 1003
the current data
record version
Scale name Maximum length UBYTE[2] 2 rw r 12,12 - - 1004
header and actual length
of string for scale
name
Scale name Scale name CHAR[12] 12 rw r "" - - 1005
(Page 71) specified by user
Unit of weight Unit of weight USHORT 2 rw r 2 0 6 1011
(Page 71)
Gross identifier Abbreviation for USHORT 2 rw r 0 0 1 1012
(Page 71) brutto/gross
(B or G)
Reserve Reserve USHORT 2 rw - 0 - - 1013
Reserve Reserve USHORT 2 rw r 0 - - 1014
Minimum Minimum number USHORT 2 rw r 20 0 65535 1015
weighing d
range
(Page 72)1)
Maximum Maximum weight FLOAT 4 rw r 100 > weigh- 9.999.999 1016
weighing ing_range
range _min
(Page 72) 1)
Calibration weight FLOAT 4 rw r 0 1 9.999.999 1018
01) (usually the
zero point)
Calibration weight FLOAT 4 rw r 100 1 9.999.999 1020
11)
SIWAREX WP521/WP522
68 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.3 DR 3 calibration parameters
Variable Note Type Length Read Write Default Min. Max. Modbus
(bytes) write protec- registers
tion
Pro-
tection
Calibration weight FLOAT 4 rw r 0 1 9.999.999 1022
2
Calibration digits LONG 4 rw r 0 0 3.999.999 1024
0 determined
during calibration
with calibration
weight 0
Calibration digits LONG 4 rw r 2000 0 3.999.999 1026
1 determined
during calibration
with calibration
weight 1
Calibration digits LONG 4 rw r 0 0 3.999.999 1028
2 determined
during calibration
with calibration
weight 2
Scale interval Resolution weigh- FLOAT 4 rw r 0.1 0.0001 50 1030
(Page 72) 1) ing range 1
(1*10**k, 2*10**k,
5*10**k]; k: -3 …
2)
Automatic zero 0: auto. zero ad- BIT 0 rw r 0 0 1 1036.16
adjustment justment off
(Page 72) 1: auto. zero ad-
justment on
Reserve BIT 0 rw r 0 1 1036.15
Currency 0: Filling BIT 0 rw r 0 0 1 1036.14
1: Emptying
Weight simula- Weight simulation BIT 0 rw r 0 0 1 1036.13
tion (Page 72)
BIT 0 rw r 0 0 1 1036.12
Bit 5 Bit 5: Reserve BIT 0 rw r 0 0 1 1036.11
Bit 6 Bit 6: Reserve BIT 0 rw r 0 0 1 1036.10
Filter se- 0: Low-pass filter BIT 0 rw r 0 0 1 1036.9
quence before average
value filter
1: Average value
filter before low-
pass filter
Bit 8 Bit 8: Reserve BIT 0 rw r 0 0 1 1036.8
Bit 9 Bit 9: Reserve BIT 0 rw r 0 0 1 1036.7
Bit 10 Bit 10: Reserve BIT 0 rw r 0 0 1 1036.6
Bit 11 Bit 11: Reserve BIT 0 rw r 0 0 1 1036.5
Bit 12 Bit 12: Reserve BIT 0 rw r 0 0 1 1036.4
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 69
Scale parameters and functions
6.3 DR 3 calibration parameters
Variable Note Type Length Read Write Default Min. Max. Modbus
(bytes) write protec- registers
tion
Pro-
tection
Bit 13 Bit 13: Reserve BIT 0 rw r 0 0 1 1036.3
Bit 14 Bit 14: Reserve BIT 0 rw r 0 0 1 1036.2
Bit 15 Bit 15: Reserve BIT 2 rw r 0 0 1 1036.1
Reserve USHORT 2 rw r 0 0 6 1033
Maximum tare Tare maximum FLOAT 4 rw r 100 0 250 1034
load (Page 73) [in % of WRmax ]
Reserve FLOAT 4 rw r 0 0 100.0 1036
Reserve FLOAT 4 rw r 0 0 100.0 1038
Maximum Negative range of FLOAT 4 rw r 1 0 100.0 1040
negative zero the semi-
setting limit automatic zeroing
(semi- [in % of maximum
automatically) weighing range
(Page 73) WRmax]
Maximum Positive range of FLOAT 4 rw r 3.0 0 100.0 1042
positive zero the semi-
setting limit automatic zeroing
(semi- [in % of maximum
automatically) weighing range
(Page 73) WRmax]
Standstill Standstill range FLOAT 4 rw r 1 0 9.999.999 1044
range (in d)
(Page 74)
Standstill time Standstill time 1 in TIME 4 rw r 2000 10 10000 1046
(Page 74) ms
Standstill wait- Waiting time until TIME 4 rw - 0 0 10000 1048
ing time standstill.
(Page 74) 0: standstill-
dependent scale
command, if there
is no standstill,
immediately re-
jected.
> 0: Maximum
waiting time until
command is exe-
cuted
Low-pass filter Low-pass filter 1 - FLOAT 4 rw r 2 0 50 1050
limit frequency cutoff frequency:
(Page 75) 0: Filter disabled
Low-pass filter Filter order USHORT 2 rw r 4 1 4 1052
number Low-pass filter 1
(Page 75)
Reserve Reserve USHORT 2 rw - 0 - - 1053
SIWAREX WP521/WP522
70 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.3 DR 3 calibration parameters
Variable Note Type Length Read Write Default Min. Max. Modbus
(bytes) write protec- registers
tion
Pro-
tection
FLOAT 4 rw - 0 1054
Reserve
Period the Averaging period USHORT 2 rw r 100 0 10000 1056
average value of the average
filter (Page 76) value filter in ms
1) Parameter for calculation of calibration points with theoretical calibration
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 71
Scale parameters and functions
6.3 DR 3 calibration parameters
SIWAREX WP521/WP522
72 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.3 DR 3 calibration parameters
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 73
Scale parameters and functions
6.3 DR 3 calibration parameters
SIWAREX WP521/WP522
74 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.3 DR 3 calibration parameters
If the standstill waiting time is equal to zero, a command requiring standstill is rejected
immediately if there is no standstill.
The definition of the limit frequency is extremely important for the suppression of faults.
Defining the limit frequency defines the "speed" of the scales' response to changes in the
measured value.
A value of 5 Hz, for example, results in a relatively rapid response to a change in weight; a
value of 0.5 Hz makes the scales "slower".
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 75
Scale parameters and functions
6.4 Performing calibration
Load cell characteristic value Calibration digit 1 (ca.) when rated load is
1 mV/V 1 000 000
2 mV/V 2 000 000
4 mV/V 4 000 000
SIWAREX WP521/WP522
76 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.4 Performing calibration
This defines the characteristic curve and the scale can now calculate weights for the full
measuring range.
The diagram below illustrates the relationship between calibration digits and the calibration
weight.
You do not need to perform calibration if the calibration digits and the calibration weights are
known to the weighing module described here. They are simply sent to SIWAREX by data
record DR 3 and the scale is ready for use immediately.
The SIWATOOL program facilitates rapid calibration.
Following commissioning and calibration, all data records must be read from the weighing
module and saved as a scale file.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 77
Scale parameters and functions
6.4 Performing calibration
Identical scales can be put into operation immediately. Connect the PC to the new scale and
enable the "Send all data records" function in service mode. This transfers the parameters
for calibration weights and calibration digits, and the characteristic curve is determined
immediately. The same applies when you change a weighing module.
Note
Two working points are usually sufficient for determining the scale's characteristic curve. An
additional working point is only required for non-linear systems.
Specification of negative calibration points is not possible. However, the characteristic can
also be used in the negative range down to -2 000 000 digits. To achieve this, the
characteristic curve generated in the positive range is extended into the negative range.
SIWAREX WP521/WP522
78 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.5 DR 4 output the calculated adjustment digits
Note
The characteristic curve data in data record 3 active prior to execution of command 82 is
directly overwritten.
6.5.1 Overview
Data record DR 4 outputs the digits calculated from the automatic scale calibration and the
calibration check. This data record cannot be sent to the scales.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 79
Scale parameters and functions
6.6 DR 5 zeroing memory
6.6.1 Overview
Data record DR 5 displays the current values in the tare memory and the zeroing memory.
Procedure
● Check all parameters
● Transfer the data record to the scales
SIWAREX WP521/WP522
80 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.6 DR 5 zeroing memory
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 81
Scale parameters and functions
6.7 DR 6 limit settings
6.7.1 Overview
The switch-on and switch-off values for the limits are configured in data record DR 6.
Procedure
● Check all parameters and modify them as required
● Transfer the data record to the scales
SIWAREX WP521/WP522
82 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.7 DR 6 limit settings
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 83
Scale parameters and functions
6.7 DR 6 limit settings
Val Ref.
ue
0 GW 1 and GW 2 are based on gross (specified as percentage, min: -200%, max: 200%)
1 GW 1 and GW 2 are based on net (specified as percentage, min: -200%, max: 200%)
2 GW 1 and GW 2 are absolute weight values and based on gross
3 GW 1 and GW 2 are absolute weight values and based on net
Note
The blank value then functions either as a percentage or absolute weight value, but is
always based on gross.
6.7.3 Limit value 1 ON, limit value 2 ON, limit value 1 OFF, limit value 2 OFF
The switch-on and switch-off points can be specified separately for each limit value as a
percentage of the measuring range. This allows both minimum and maximum value violation
monitoring with hysteresis. A delay time for switch-on and switch-off can also be specified.
Either the current net weight or the current gross weight can be selected as the reference
value for limits 1 and 2.
SIWAREX WP521/WP522
84 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.7 DR 6 limit settings
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 85
Scale parameters and functions
6.8 DR 7 interface parameters
6.8.1 Overview
Data record DR 7 contains the parameters for defining the properties of the available I/O
(digital inputs, digital outputs, serial interfaces).
If a port is not used, the default values can be retained.
Procedure
● Change the parameters if necessary
● Transfer the data record to the scales
SIWAREX WP521/WP522
86 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.8 DR 7 interface parameters
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 87
Scale parameters and functions
6.8 DR 7 interface parameters
1 000: 10 s
Trace storage 0: Trace recording runs as circular BIT 0 rw 0 0 1 1319.16
method buffer
(Page 90) 1: Trace is stopped when trace
memory is full
Reserve 1 Reserve LONG 4 rw 0 0 - 1320
Reserve 2 Reserve FLOAT 4 rw 0 0 - 1322
Code Assignment
0 Not assigned
1…32767 Command triggered by a rising edge (0→1 transition)
32769…65535 (Command code + 32768): Command triggered by a falling edge (1→0 transi-
tion)
SIWAREX WP521/WP522
88 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.8 DR 7 interface parameters
Value Response
0 All outputs are switched off
1 The corresponding predefined state value is applied
2 Outputs are not switched off (continue)
3 Switch on all outputs
NOTICE
Risk to the plant
If an output is set following a fault (operating error), this can pose a risk for the plant.
Ensure that the parameters are correctly set.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 89
Scale parameters and functions
6.9 DR 8 date and time
Value Response
n=1 Recording every 10 ms
n=10 Recording every 100 ms
n=100 Recording every second
N=1 000 Recording every 10 s
Value Response
0 Trace recording runs as circulating memory
1 Trace is stopped when the trace memory is full
Procedure
● Set the date and time
● Transfer the data record to the scales
SIWAREX WP521/WP522
90 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.10 DR 9 module information
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 91
Scale parameters and functions
6.11 DR 10 load cell parameters
6.11.1 Overview
The parameters of the analog load cells must be checked prior to the automatic calibration
and modified if necessary. Only the parameters identified by bold font and asterisk (*) need
be entered.
Procedure
● Check the parameters and modify them as required
● Transfer the data record to the scales
● Adjust the scales
SIWAREX WP521/WP522
92 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.11 DR 10 load cell parameters
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 93
Scale parameters and functions
6.11 DR 10 load cell parameters
Example
Characteristic value = 2.018 mV/V
SIWAREX WP521/WP522
94 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.12 DR 11 channel status/channel activation
6.12.1 Overview
Data record DR 11 is used to activate and deactivate the weighing channel.
Procedure
● Enter the desired state for the weighing channel
● Transfer the data record to the scales
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 95
Scale parameters and functions
6.13 DR 12 Ethernet parameters
SIWAREX WP521/WP522
96 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.13 DR 12 Ethernet parameters
6.13.1 Overview
Before the SIWAREX module can be integrated into an Ethernet network, the Ethernet
parameters need to be configured.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 97
Scale parameters and functions
6.13 DR 12 Ethernet parameters
SIWAREX WP521/WP522
98 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.13 DR 12 Ethernet parameters
6.13.3 IP address
Assign the IP address using the Primary Setup Tool, SIWATOOL, or via the SIMATIC (see
chapter "Ethernet approvals (Page 143)").
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 99
Scale parameters and functions
6.13 DR 12 Ethernet parameters
6.13.5 Gateway
If a gateway is used between the SIWAREX WP251/WP522 and the communication partner,
you enter the address of the gateway here.
If a gateway is not present, enter the IP address of the SIWAREX module.
SIWAREX WP521/WP522
100 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.14 DR 13 RS485 parameters
6.14.1 Overview
The parameters which define the response of the RS485 interface are specified in data
record DR 13. If the interface is not used, the default values can be retained.
Procedure
● Check the parameters and modify them as required
● Transfer the data record to the scales
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 101
Scale parameters and functions
6.14 DR 13 RS485 parameters
Value Protocol
0 No communication/protocol
1 Modbus RTU
2 SIEBERT display
SIWAREX WP521/WP522
102 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.14 DR 13 RS485 parameters
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 103
Scale parameters and functions
6.15 DR 14 SIMATIC interface parameters
6.15.1 Overview
The parameters which define the response of the SIMATIC interface are specified in data
record DR 14. It is possible to define the process values to be output on the basis of the I/O
area.
Procedure
● Check the parameters and modify them as required
● Transfer the data record to the scales
SIWAREX WP521/WP522
104 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.15 DR 14 SIMATIC interface parameters
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 105
Scale parameters and functions
6.16 DR 15 tare default values
See also
Overview (Page 113)
DR 32 alarm display (Page 116)
6.16.1 Overview
Data record DR 15 is used for external specification of the tare weight.
Procedure
● Enter the tare weight
● Transfer the data record to the scales
● Activate the tare weight with a command
SIWAREX WP521/WP522
106 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.17 DR 16 simulation value
6.17.1 Overview
Specifying a weight value using data record DR 16 disables the measuring input of the
SIWAREX module and "simulates" a weight with the specified value. The SIWAREX module
must first be released for simulation mode in DR 3 and then switched to simulation mode
with command no. 3.
Procedure
● Release simulation mode in DR 3
● Enter the weight to be simulated
● Transfer the data record to the SIWAREX module
● Start the simulation using command "Weight simulation on (3)"
● Stop the simulation using command "Weight simulation off (4)"
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 107
Scale parameters and functions
6.18 DR 18 digital output control specifications
6.18.1 Overview
If a digital output is defined in data record DR 7 for control with data record DR 18 (see
Assignment for digital output 0, 1, 2, 3 (Page 89)), you can control this output with data
record DR 18. Transfer is always for all four digital outputs. Only outputs which have been
configured for control via DR 18 (see DR7 interface parameters (Page 86)) are activated or
deactivated according to the content of data record DR 18.
Procedure
● Check or adapt the desired parameter settings of the digital outputs in data record 7
● Define the value for digital output 0, 1, 2, 3
● Transfer the data record to the scales
SIWAREX WP521/WP522
108 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.19 DR 30 current process values
Note
The reaction of the controlled outputs in the case of SIMATIC CPU stop, failure or module
fault can be determined by the user in DR 7.
6.19.1 Overview
Current states and process values in the scales can be monitored using process values and
advanced process values from data record DR 31. Monitoring selected data during
commissioning is extremely useful as it helps you to optimize parameters.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 109
Scale parameters and functions
6.19 DR 30 current process values
Procedure
● Read data record DR 30 via a time-controlled OB
● Display/analyze the required tags
It is not always necessary to cyclically read data record DR 30. If corresponding process
tags have already been selected in DR 14 (Page 104), they are sent to the scale data block
over the I/O interface using the FB. In this case, you can use these tags and also all status
bits without the data communication.
SIWAREX WP521/WP522
110 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.19 DR 30 current process values
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 111
Scale parameters and functions
6.19 DR 30 current process values
SIWAREX WP521/WP522
112 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.20 DR 31 advanced current process values
6.20.1 Overview
Current states and process values in the scales can be monitored using advanced process
values and process values (DR 30). This data is not required for standard operation of the
scales.
Monitoring selected data during trial operation is extremely useful as it helps you to optimize
parameters.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 113
Scale parameters and functions
6.20 DR 31 advanced current process values
Procedure
● Read data record DR 31
● Display/analyze the required tags
SIWAREX WP521/WP522
114 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.20 DR 31 advanced current process values
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 115
Scale parameters and functions
6.21 DR 32 alarm display
No meaning
SIWAREX WP521/WP522
116 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.21 DR 32 alarm display
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 117
Scale parameters and functions
6.21 DR 32 alarm display
SIWAREX WP521/WP522
118 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.22 DR 34 ASCII main display value
6.22.1 Overview
The ASCII weight value corresponds to the value on the main display of the scale and can
be used in addition to the main display for an auxiliary display / operating display.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 119
Scale parameters and functions
6.23 DR 48 date and time 2 (for Modbus)
SIWAREX WP521/WP522
120 Manual, 04/2016, A5E36695225A
Scale parameters and functions
6.23 DR 48 date and time 2 (for Modbus)
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 121
Alarm logging 7
7.1 Message types
The messages in the electronic weighing system described here are divided into three types.
Operating messages
System status messages can be generated spontaneously at any time by an unexpected
event. They include internal and external hardware problems which can occur spontaneously
during weighing.
Technological error
Technology errors occur spontaneously due to the weighing process.
The status bits are not messages in contrast. The status indicators describe the status of the
scale in normal operation and can always be observed and evaluated.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 123
Alarm logging
7.3 Evaluating messages with the help of SIWATOOL
7.5.1 Introduction
The message list is an overview of all messages that the SIWAREX module can generate. A
message can be quickly identified by the message code (number).
Operator error (code 1000 to 1999) Error code Description and remedy
1000 Operating error pending 1000 Group message, at least one operating error exists.
1001 Watchdog 1001 Watchdog, error is displayed for at least 10 seconds. A seri-
ous error has occurred in the function of SIWAREX, e.g.
program error, severe electromagnetic influence on device,
etc.
Contact the SIWAREX Support if the error occurs multiple
times.
1003 Checksum incorrect parameter 1003 Checksum error at parameter. Critical error because the
parameters are no longer safe.
1004 Checksum incorrect program 1004 Checksum error program code. Critical error because the
program is no longer safe.
1008 Firmware version not compatible 1008 The firmware must be updated via the TIA Portal.
1102 ADU error 1102 AD converter error when reading in the measured value. If
the error occurs again, make sure that the EMC recommen-
dations are observed (chapter Electrical, EMC and climatic
requirements (Page 161)).
1104 Undervoltage 1104 Undervoltage at sensor cables
SIWAREX WP521/WP522
124 Manual, 04/2016, A5E36695225A
Alarm logging
7.5 Message list
Operator error (code 1000 to 1999) Error code Description and remedy
1105 Overload 1105 Overload of scale (ca. 110%)
1106 Underload 1106 Underload of scale (ca. -10%)
1108 Short-circuit 1108 Short-circuit to power supply line to the load cell
1109 Fault digital outputs 1109 Fault digital outputs (overtemperature, no ext. supply voltage)
Technology error (code 2000 to 4999) Error code Description and remedy
2000 Technological error detected 2000 Group message, at least one technology error exists
2001 Taring/zeroing timeout 2001 Taring of scale or set to zero is not possible because a standstill
was not reached during the standstill time. The command was
discarded.
2002 Trace overloaded 2002 The configured recording rate for trace cannot be processed. Set
a slower recording rate (section "Trace recording cycle
(Page 90)")
2005 Restart after voltage dip 2005 Restart after power failure or firmware download.
2006 Download error 2006 A firmware download was canceled/rejected, e.g. because the
transferred file is invalid.
7.5.4 Message list data and operating errors with additional information
Additional information is available for most data or command errors. The cause of the error is
described in more detail using this information. If a data or command error bit is set, the
additional information is filled accordingly at the same time. In this way, both the error bits as
well as the additional information must be analyzed together in order to locate the cause of
the error in the program.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 125
Alarm logging
7.5 Message list
SIWAREX WP521/WP522
126 Manual, 04/2016, A5E36695225A
Alarm logging
7.5 Message list
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 127
Alarm logging
7.5 Message list
SIWAREX WP521/WP522
128 Manual, 04/2016, A5E36695225A
Alarm logging
7.5 Message list
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 129
Alarm logging
7.5 Message list
Standstill Standstill
SIWAREX WP521/WP522
130 Manual, 04/2016, A5E36695225A
Alarm logging
7.5 Message list
As with all S7-1500 technology and signal modules, there are 3 LEDs in the colors green,
red and yellow located at the top of the area. The following table explains the dynamic
meaning of the LEDs.
SF/ERROR Red 2Hz System fault (module/channel diagnostics alarm pending, e.g. operating errors or firm-
LED ware update)
[red LED flashes for at least 3 seconds]
MAINT LED Maintenance LED - without function for WP52x
/ 2Hz
D (diagnos- Red 2Hz Operating error pending (e.g. also: Stand-alone configured, but S7 communication
tics)
Stand-alone mode active (possible to continue work without operational S7 CPU)
Ready
Limit 2 responded
Limit 3 triggered
(off) No standstill
Status standstill pending
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 131
Alarm logging
7.5 Message list
Digital outputs ready; trigger at Simatic failure or stop, output replacement values if
required
Digital outputs ready; no monitoring of SIMATIC function (stand-alone operation)
DI.x Digital input x active (high level) (status is detected after filtering)
xxx = LED ON
= LED flashes
SIWAREX WP521/WP522
132 Manual, 04/2016, A5E36695225A
Commands 8
8.1 Overview
The commands for the electronic weighing system described here can be transmitted by
several interfaces:
● by the Operator Panel via the controller to the SIWAREX module
● by the Operator Panel directly to the SIWAREX module
● by SIWATOOL directly to the SIWAREX module
● by the digital inputs after corresponding assignment in data record DR 7
A data or command error is signaled if a command cannot be executed or if the sent data
record is rejected.
Detailed descriptions of the commands can be found in the following command lists:
→ Table 8-1 Command 1 ... 99: Service commands (Page 133)
→ Table 8-2 Commands 450 ... 499: Trace commands (Page 134)
→ Table 8-3 Commands 700 to 899: HMI display switching (Page 134)
→ Table 8-4 Commands 1000 ... : Basic functions for weighing commands (Page 135)
→ Command groups of SIWAREX WP521/WP522 (Page 135)
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 133
Commands
8.2 Command lists
SIWAREX WP521/WP522
134 Manual, 04/2016, A5E36695225A
Commands
8.3 Command groups of SIWAREX WP521/WP522
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 135
Commands
8.3 Command groups of SIWAREX WP521/WP522
SIWAREX WP521/WP522
136 Manual, 04/2016, A5E36695225A
Communication with SIMATIC S7-1500 9
9.1 General information
A SIWAREX WP521 occupies 32 bytes, a SIWAREX WP522 occupies 64 bytes in the I/O
area of the CPU.
The effect of the mode switch setting (see section "Ex-works settings of the operating switch
(Page 36)") on the reaction to CPU failure or stop must be taken into account. If the switch is
set to SIMATIC operation ex factory, the user use the parameters in DR7 to determine how
the module reacts to CPU failure or stop.
The function block can be used to read the current process values of the scale (weight,
status). It is also possible to set the scale parameters and issue commands (taring, zeroing,
etc.). A separate call of the FB is required for each weighing channel.
The function blocks described above including HMI configurations can be downloaded as a
completed example project ("ready-for-use") at: Example project "ready-for-use"
(https://support.industry.siemens.com/cs/document/94109373/tia-portal-project-
%E2%80%9Eready-for-use%E2%80%9C-for-siwarex-wp521/wp522?dti=0&lc=en-WW)
The latest firmware versions for the weighing modules can be downloaded at:Firmware
(https://support.industry.siemens.com/cs/document/75231231/firmware-siwarex-
wp231?dti=0&lc=en-WW)
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 137
Communication with SIMATIC S7-1500
9.3 Memory requirements for SIWAREX communication
SIWAREX WP521/WP522
138 Manual, 04/2016, A5E36695225A
Communication with SIMATIC S7-1500
9.4 Creating the hardware configuration
The SIWAREX WP521 or SIWAREX WP522 module can be placed directly next to the S7-
1500 CPU via drag-and-drop.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 139
Communication with SIMATIC S7-1500
9.4 Creating the hardware configuration
TIA Portal automatically assigns a separate I/O start address and a HW ID for every
SIWAREX present in the project. These two parameters are relevant for calling the function
block, and can be obtained from the properties of the respective module. The address range
is always in the region of the I/O image of the automation system.
SIWAREX WP521/WP522
140 Manual, 04/2016, A5E36695225A
Communication with SIMATIC S7-1500
9.5 Diagnostic messages
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 141
Communication with SIMATIC S7-1500
9.6 Triggering a hardware interrupt
SIWAREX WP521/WP522
142 Manual, 04/2016, A5E36695225A
Communication with SIMATIC S7-1500
9.7 Ethernet approvals
Note
Please also observe the Security information (Page 9).
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 143
Communication with SIMATIC S7-1500
9.8 Calling of function block
The settings in HW Config only take effect in "SIMATIC mode", see Ex-works settings of the
operating switch (Page 36).
The restriction of Ethernet Modbus communication can be performed per configuration of the
ports in data record DR12 (port number = 0)
SIWAREX WP521/WP522
144 Manual, 04/2016, A5E36695225A
Communication with SIMATIC S7-1500
9.8 Calling of function block
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 145
Communication with SIMATIC S7-1500
9.8 Calling of function block
Image 9-9 Call the block for SIWAREX WP521/WP522 in the user program
The generated instance DB (DB521 in this case) has multi-instance capability and includes
all data records of the WP52X, as well as all the necessary parameters for data
communication between the CPU and the weighing module.
A separate FB call must be made in the user program for each weighing module. In this
manner, each scale receives its own instance DB (or a section of the multi-instance DB is
SIWAREX WP521/WP522
146 Manual, 04/2016, A5E36695225A
Communication with SIMATIC S7-1500
9.9 Working with the function block
assigned to each scale) which provides the respective scale parameters. The input and
output parameters of the FB must be adapted for each call.
As shown in the graphics, a command mailbox always consists of a command code (Int) and
four bits (Bool). A command is set by entering the desired command code in the
"i_CMD_CODE" parameter and setting the respective command trigger
"bo_CMD_TRIGGER". The status bits "bo_CMD_InProgress" (command being processed),
"bo_CMD_FinishedOk" (command finished without errors) and "bo_CMD_FinishedError"
(command rejected or finished with error) can be evaluated in the user program.
In addition, the three command mailboxes are managed and processed according to priority.
CMD1 has the highest priority, CMD3 has the lowest priority. If all three command mailboxes
are triggered simultaneously by the user program, for example, the function block initially
processes CMD1, then CMD2, and finally CMD3. Cyclic triggering of command mailbox 3 is
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 147
Communication with SIMATIC S7-1500
9.9 Working with the function block
Note
Cyclic triggering of the CMD1 command mailbox makes it impossible to send commands in
mailbox 2 or 3.
A summary of all existing command codes can be found in chapter →Command lists
(Page 133).
The following equation for generation of a corresponding command code applies to the
reading of data records from the SIWAREX to the data block:
Command code = 2000 + X (X = desired data record number)
The following equation for generation of a corresponding command code applies to the
writing of data records from the data block to the SIWAREX:
Command code = 4000 + X (X = desired data record number)
Example
The following example clarifies the actions with command mailboxes and data records:
"Calibration weight 1" is to be set to a value of 12.5 by the CPU. Since "Calibration weight 1"
is a parameter of data record 3 (see section → Scale parameters and functions (Page 67)),
service mode must be first activated. This can be done with command code "1" (see section
→ Command lists (Page 133)).
The variable "i_CMD_CODE" must therefore be assigned the value "1" and the associated
"bo_CMD_TRIGGER" set to TRUE. Subsequently, the module is directly in service mode
(DIAG LED flashes green):
i_CMD_CODE = 1
bo_CMD_TRIGGER = TRUE
Since only complete data records can be read or written, it is recommendable to now read
data record 3 into the CPU. This is carried out using command code 2003 (see chapter →
Command lists (Page 133)):
i_CMD_CODE = 2003
bo_CMD_TRIGGER = TRUE
All current data from data record 3 are now present in the data block. The calibration weight
is then set as desired to a value of 12.5:
CALIB_WEIGHT_1 = 12.5
The modified data record 3 must now be written into the SIWAREX again. This is carried out
using command code 4003 (see chapter → Command lists (Page 133)):
i_CMD_CODE = 4003
bo_CMD_TRIGGER = TRUE
The new calibration weight is now present in the SIWAREX and can be used. Service mode
for the module should subsequently be switched off again using command "2".
SIWAREX WP521/WP522
148 Manual, 04/2016, A5E36695225A
Communication with SIMATIC S7-1500
9.10 I/O interface of function block
This procedure for reading and writing data records is identical for all data records.
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 149
Communication with SIMATIC S7-1500
9.11 Error codes of function block
Note
If execution of the function block is faulty, the variables shown do not correspond to the
actual status in the module.
SIWAREX WP521/WP522
150 Manual, 04/2016, A5E36695225A
Communication via Modbus 10
10.1 General information
The current process values and parameters can be exchanged via the RS485 interface with
Modbus RTU or the Ethernet interface with Modbus TCP/IP. It is possible to use both
interfaces for the communication.
Note
Please also observe the Security information (Page 9).
The following chapters describe the specifications for handling communication. The following
functions can be executed:
● Export parameters from the electronic weighing system
● Write parameters
● Export current process values
● Monitor messages
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 151
Communication via Modbus
10.3 Principle of data transmission
The standardized MODBUS protocol is used for communication. The master function is
always in the connected communication partner, while the SIWAREX module is always the
slave.
Data transfer is bidirectional. The master function is always in the connected module which
“controls” the communication with corresponding requests to the respective SIWAREX
module address. The SIWAREX module is always the slave and responds to the requests of
the master, provided that the address matches, with a response frame.
Each Modbus partner has its own address. The SIWAREX module has the default address
1. This address can be changed as a parameter (e.g. in SIWATOOL). This address is
without significance if the Ethernet interface is used because the connection is based on the
IP address.
If the RS485 interface is used, the following character frame is valid:
Start bit 1
Number of data bits 8
Parity Even
Stop bit 1
If a request of the master is answered by the SIWAREX module (slave), the SIWAREX
module sends a response frame with or without errors. In the case of a response without
error message, the response frame contains the received function code; in the case of
errors, the highest bit of the function code is set. This corresponds to the Modbus standard.
Afterwards, the master requests the data record DR 32 to check which process-related data
or operator errors exist.
SIWAREX WP521/WP522
152 Manual, 04/2016, A5E36695225A
Communication via Modbus
10.4 Data record concept
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 153
Communication via Modbus
10.7 Writing registers
If you wish to read the registers from the data records DR 3 to DR 29, you must first export
these as a complete data record to the internal output buffer.
All Modbus registers of the individual parameters can be found in chapter → Scale
parameters and functions (Page 67).
Example
A parameter is to be read from data record 3 (DR 3).
● First, write register CMD3_CODE with 2003 (2000 plus the number of the data record =
read data record).
● Then write "1" for CMD3_TRIGGER. DR3 is now updated in the Modbus buffer.
● It is now possible to read one or more registers with the corresponding variable(s). The
data consistency of the registers read at this time is guaranteed.
You can find all further command numbers in chapter → Command lists (Page 133).
Example
A current measured value is to be read out from DR 30.
⇒ The register can be directly requested because its contents are automatically refreshed in
the SIWAREX module at the specified measuring rate of 100 Hz and are always available
up-to-date.
Example
A parameter from DR 3 is to be written.
● First, write register CMD3_CODE with 2003 (2000 plus the number of the data record).
● Then write "1" for CMD3_TRIGGER. DR 3 is now updated in the Modbus memory.
● Now you can write or make changes in one or more registers with the corresponding
variable. If you want to transfer the written/changed register to the scale, you need to
write the entire data record:
● First, write register CMD3_CODE with 4003 (4000 plus the number of the data record =
write data record).
● Then write "1" for CMD3_TRIGGER.
● The data record is then transferred to the process memory in the SIWAREX module. All
registers of the data record are checked for plausibility in the process.
If the plausibility check fails, the complete data record is not written and a message is output
to the user (from the area of data/operator errors).
SIWAREX WP521/WP522
154 Manual, 04/2016, A5E36695225A
Communication via Modbus
10.7 Writing registers
You can find all further command numbers in chapter → Command lists (Page 133).
A document for working with SIWAREX WP521/WP522 and Modbus is also available online
→Modbus communication of the WP521/WP522
(https://support.industry.siemens.com/cs/document/77913998/how-does-the-modbus-
communication-of-the-wp231-work?dti=0&lc=en-WW).
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 155
Communication via Modbus
10.7 Writing registers
SIWAREX WP521/WP522
156 Manual, 04/2016, A5E36695225A
Technical specifications 11
11.1 Technical specifications
A scale can be connected to the SIWAREX WP521.
Two separate scales can be connected to the SIWAREX WP522. The weighing functionality
is available 2x.
24 V power supply
Note
The 24 V DC nominal power supply, all interfaces and all I/O circuits must be powered from
sources with safety extra-low voltage that fulfill the requirements SELV, PELV according to
IEC 61140 or NEC Class 2 meet.
Rated voltage 24 V DC
Static low / high limits 19.2 / 28.8 V DC
Dynamic low / high limits 18.5 / 30.2 V DC
Non-periodic overvoltages 35 V DC for 500 ms with a recovery time of 50 s
Maximum current consumption WP521: 120 mA, WP522: 200 mA @ 24 V DC
(without digital inputs/outputs, see table)
Module power loss typical WP521: 2.4 W, WP522: 3.9 W
(without digital inputs/outputs, see table)
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 157
Technical specifications
11.1 Technical specifications
SIWAREX WP521/WP522
158 Manual, 04/2016, A5E36695225A
Technical specifications
11.1 Technical specifications
Number of inputs 3
Rated voltage 24 V DC
Supply voltage range max. DC 30 V
Current consumption @ 24 V DC 4 mA
Surge voltage 35 V DC for 0.5 s
Signal level logic 1 (max) 15 V DC, input current typ. 3 mA @24 V DC
Signal level logic 0 (max) 5 V DC, input current ≤ 2.0 mA
Sampling rate (FW) 10 ms
Configurable filtering (DS 7) 1) 0 to 40 ms in intervals of 5ms
Electrical isolation 500 V AC
Type in accordance with EN 61131-2: 2007 Type 1 to 3
1) Signal changes shorter than the programmed time are recorded)
Standard EIA-485
Baud rate up to 115 Kbps*
Data bits 7 or 8
Parity even | odd | none
Stop bits 1 or 2
Terminating resistors (can be activated) 390 Ω / 220 Ω / 390 Ω
Electrical isolation 500 V AC
Transfer protocol ASCII for remote display, Siebert company and
Modbus RTU
Cable length ≤ 115 Kbps max. 1 000 m
(Fieldbus 2-core, shielded, e.g. 6XV1830-0EH10)
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 159
Technical specifications
11.1 Technical specifications
SIWAREX WP521/WP522
160 Manual, 04/2016, A5E36695225A
Technical specifications
11.2 Electrical, EMC and climatic requirements
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 161
Technical specifications
11.2 Electrical, EMC and climatic requirements
SIWAREX WP521/WP522
162 Manual, 04/2016, A5E36695225A
Technical specifications
11.2 Electrical, EMC and climatic requirements
Electromagnetic compatibility
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 163
Technical specifications
11.2 Electrical, EMC and climatic requirements
NOTICE
Radio interference is possible
This is a device of class A. The device may cause radio interference in residential areas.
Implement appropriate measures (e.g.: use in 8MC cabinets) to prevent radio interference.
SIWAREX WP521/WP522
164 Manual, 04/2016, A5E36695225A
Technical specifications
11.2 Electrical, EMC and climatic requirements
Ambient conditions
The SIWAREX WP521/WP522 is designed for use under the following conditions in
SIMATIC S7-1500. Also observe the operating conditions of the S7-1500 system.
Reliability
Mean Time Between Failure (MTBF)
The MTBF calculation results in the following values for the modules:
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 165
Technical specifications
11.3 Approvals
11.3 Approvals
NOTICE
Safety guidelines for applications in hazardous areas
For applications in hazardous areas, the safety instructions in the document "Product
Information - Use of SIWAREX Modules in a Zone 2 Hazardous Area
(https://support.industry.siemens.com/cs/?lc=en-DE)" are to be observed.
Note
The latest valid approvals for SIWAREX WP521/WP522 can be found on the rating plate of
the module.
CE mark
(https://support.industry.siemens.com/cs/document/65692972/decl
aration-of-conformity-ec-eu-declaration-of-conformity-
manufacturer?dti=0&lc=en-WW)
cULus approval
(https://support.industry.siemens.com/cs/document/74442065/gen
eral-product-approval-ul-ul?dti=0&lc=en-WW) - pending
ATEX approval
(https://support.industry.siemens.com/cs/document/81803667/for-
use-in-hazardous-locations-manufacturer-declartion-
manufacturer?dti=0&lc=en-WW) - pending
For Category 3 Equipment according to EU Directive 2014/34/EU
(ATEX)
IECEx approval - pending
For category 3 equipment
KC mark
For use in S. Korea
SIWAREX WP521/WP522
166 Manual, 04/2016, A5E36695225A
Technical specifications
11.3 Approvals
RCM mark
For use in Australia and New Zealand
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 167
Accessories 12
12.1 Configuration package
Ordering data
Description Order number
Configuration Package SIWAREX WP521/WP522 7MH4980-1AK01
• SIWATOOL program for adjustment of scales during commissioning
• Software "Ready for use"
This contains the SIMATIC S7 blocks for operation with SIMATIC S7-
1500 and a project for SIMATIC Operator Panel KTP600
• Product manuals in several languages
Product Manual SIWAREX WP521/WP522 Free download from
in various languages the Internet
WP521/WP522 Man-
uals
(https://support.indust
ry.siemens.com)
SIWAREX WP521/WP522 "Ready for Use" Free download from
the Internet
"Ready for Use"
(https://support.indust
ry.siemens.com)
Front connector 35 mm with screw-type system 6ES7592-1AM00-
0XB0
Front connector 35 mm with push-in system 6ES7592-1BM00-
0XB0
Ethernet patch cable CAT5
For connecting the SIWAREX with a PC (SIWATOOL), a SIMATIC CPU, a
panel, etc.
Digital remote display
The digital remote displays can be connected directly to the SIWAREX
WP521/WP522 via the RS485 interface.
Suitable remote display: S102
Siebert Industrieelektronik GmbH
Postfach 1180
D-66565 Eppelborn, Germany
Tel.: 06806/980-0
Fax: 06806/980-999
Internet: www.siebert.de (www.siebert.de)
Detailed information can be obtained from the manufacturer.
SIWAREX JB junction box 7MH4 710-1BA
for parallel connection of load cells
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 169
Accessories
12.1 Configuration package
Ordering data
Description Order number
SIWAREX EB extension box 7MH4 710-2AA
For extending load cell cables
Ex interface, type SIWAREX IS
With ATEX approval for intrinsically-safe connection of load cells, including
manual, suitable for the load cell groups SIWAREX CS, U, M, FTA, and P
• With short-circuit current < 199 mA DC 7MH4 710-5BA
Cable (optional)
Cable Li2Y 1 x 2 x 0.75 ST + 2 x (2 x 0.34 ST) - CY 7MH4 702-8AG
• To connect SIWAREX CS, U, M, P, A, WP521/WP522 to the junction box
(JB), extension box (EB) or Ex interface (Ex-I) or between two JBs, for
fixed laying
• Occasional bending is possible
• 10.8 mm outer diameter
• For ambient temperature -20 ... +70 °C
Cable Li2Y 1 x 2 x 0.75 ST + 2 x (2 x 0.34 ST) - CY, blue sheath 7MH4 702-8AF
• To connect junction box (JB) or extension box (EB) in hazardous area
and Ex interface (Ex-I),
for fixed laying
• Occasional bending is possible,
blue PVC insulating sheath, approx. 10.8 mm outer diameter
• For ambient temperature -20 ... +70 °C
SIWAREX WP521/WP522
170 Manual, 04/2016, A5E36695225A
Appendix A
A.1 Technical support
Technical Support
You can contact Technical Support for weighing technology:
● E-mail (mailto:[email protected])
● Tel.: +49 (721) 595-2811
You can contact Technical Support for all IA and DT products:
● Via the Internet with the Support Request:
Documentation
(https://support.industry.siemens.com/cs/products?dtp=Manual&pnid=17781&lc=en-WW)
● Tel.: +49 (911) 895-7222
● Fax: +49 (911) 895-7223
You can find additional information about our technical support on the Internet at
Technical support (https://support.industry.siemens.com/cs/start?lc=en-WW)
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 171
Appendix
A.2 ESD Guidelines
Additional Support
Please contact your local Siemens representative and offices if you have any questions
about the products described in this manual and do not find the right answers.
Find your contact partner at:
Partner (http://www.automation.siemens.com/aspa_app/?ci=yes&lang=en)
A signpost to the documentation of the various products and systems is available at:
Industry Online Support (https://support.industry.siemens.com/cs/?lc=en-DE)
Definition of ESD
All electronic modules are equipped with large-scale integrated ICs or components. Due to
their design, these electronic elements are highly sensitive to overvoltage, and thus to any
electrostatic discharge.
The electrostatic sensitive components/modules are commonly referred to as ESD devices.
This is also the international abbreviation for such devices.
ESD modules are identified by the following symbol:
NOTICE
Overvoltage on modules
ESD devices can be destroyed by voltages well below the threshold of human perception.
These static voltages develop when you touch a component or electrical connection of a
device without having drained the static charges present on your body. The electrostatic
discharge current may lead to latent failure of a module, that is, this damage may not be
significant immediately, but in operation may cause malfunction.
Electrostatic charging
Anyone who is not connected to the electrical potential of their surroundings can be
electrostatically charged.
The figure below shows the maximum electrostatic voltage which may build up on a person
coming into contact with the materials indicated. These values correspond to IEC 801-2
specifications.
SIWAREX WP521/WP522
172 Manual, 04/2016, A5E36695225A
Appendix
A.3 List of abbreviations
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 173
Appendix
A.3 List of abbreviations
IM Interface module
N Net weight
NAWI Non-automatic weighing instrument
NAW Non-automatic scales
OIML Organisation Internationale de Metrologie Legale
OP Operator Panel (SIMATIC)
PC Personal computer
pT Preset tare (predefined tare weight with manual taring)
RAM Random Access Memory (read/write memory)
PLC Programmable logic controller
STEP 7 Programming device software for SIMATIC S7
T Tare weight
TM Technology module
TP Touch Panel (SIMATIC)
UDT Universal Data Type (S7)
WRP Write protection
LC Load cell(s)
NR Numerical range
SIWAREX WP521/WP522
174 Manual, 04/2016, A5E36695225A
Index
Firmware update, 64
A
G
Abbreviations, 173
Additional Support, 172 Guidelines
Alarm buffer, 123 ESD guidelines, 172
Automatic calibration, 58
Average characteristic value, 44
H
Hardware interrupt, 142
B
Hotline, 171
Backup file, 63
I
C Immunity, 163
Calibration methods, 53 Internet, 171
Calibration with calibration weight, 54
Climatic requirements, 165
Command groups, 135 L
Communication with SIMATIC S7-1500, 137
LEDs, 130
Configuration package, 169
Limit base, 84
Connections, 18
Customer Support Hotline, 171
M
D Messages, 123
Modbus, 151
Data and operating messages, 125
Module replacement, 63
Data records, 67
MTBF, 165
Data security, 143
Date, 90
Default values, 67
O
Delay time, 104
Diagnostic messages, 141 OB82, 123
DIP switch, 36 Operating messages, 124
Overview of the functions, 17
E
R
Electromagnetic compatibility, 163
Error code, 125 Rated load, 44
Error messages, 130 Ready for Use, 169
ESD guidelines, 172 Reliability, 165
F S
Filter sequence, 73 S7-1500 CPU, 105
SIWAREX WP521/WP522
Manual, 04/2016, A5E36695225A 175
Index
T
Technical specifications, 157
Technology messages, 125
Time, 90
W
Weight unit, 71
SIWAREX WP521/WP522
176 Manual, 04/2016, A5E36695225A