Beruflich Dokumente
Kultur Dokumente
Copyright 2014
Lahti Precision Oy
LAHTI Finland
All rights reserved. Also partial copy of this manual is forbidden without
a written permission of Lahti Precision Oy.
Subject to change without notice.
CONTENTS
Page 3
CONTENTS
1. FIELDBUSES .................................................................................................................. 5
1.1. GENERAL INFORMATION ................................................................................................ 5
1.2. STRUCTURE OF USER DATA ........................................................................................... 7
1.3. FIELDBUS DATA ............................................................................................................ 8
1.4. USER DATA DIAGNOSIS ............................................................................................... 13
2. PROFIBUS DP .............................................................................................................. 16
2.1. GUIDELINES FOR COMMISSIONING ................................................................................ 16
2.2. FUNCTIONALITY OF THE PROFIBUS CONNECTION ........................................................... 16
2.3. STRUCTURE OF USER DATA ......................................................................................... 17
2.4. PROFIBUS DP MASTER SETTINGS ................................................................................ 17
2.5. DIAGNOSIS AND TROUBLESHOOTING ............................................................................ 17
2.6. PROFIBUS MODULE (VPB8020) .................................................................................. 18
3. DEVICENET .................................................................................................................. 21
3.1. GUIDELINES FOR COMMISSIONING ................................................................................ 21
3.2. FUNCTIONALITY OF THE DEVICENET CONNECTION ......................................................... 21
3.3. STRUCTURE OF USER DATA ......................................................................................... 21
3.4. DEVICENET MASTER SETTINGS .................................................................................... 21
3.5. DIAGNOSIS AND TROUBLESHOOTING ............................................................................ 22
3.6. DEVICENET MODULE (VCB8020) ................................................................................ 22
4. MODBUS ....................................................................................................................... 26
4.1. GUIDELINES FOR COMMISSIONING ................................................................................ 26
4.2. FUNCTIONALITY OF THE MODBUS CONNECTION ............................................................. 26
4.3. DATA FORMAT ........................................................................................................... 26
4.4. FUNCTION CODES (FC) ............................................................................................... 27
4.5. SECURING TRANSMISSION ........................................................................................... 27
4.6. ERROR CODES ........................................................................................................... 28
4.7. SUBSCRIBER ADDRESSES ........................................................................................... 28
4.8. PROCESS VALUES ...................................................................................................... 28
4.9. EXAMPLE TELEGRAMS ................................................................................................ 29
4.10. MODBUS MASTER SETTINGS ...................................................................................... 29
4.11. DIAGNOSIS AND TROUBLESHOOTING .......................................................................... 29
4.12. WA-BELT FIELDBUS VIEW ......................................................................................... 29
WA-810 Totalizing Belt Scale Indicator
COMMUNICATION MANUAL
DE020742 V1.3
Page 4
COMMUNICATION MANUAL
COMMUNICATION MANUAL
DE020742 V1.3
FIELDBUSES
Page 5
1. FIELDBUSES
All protocol variants of the WA-810 are described in the following chapters. If you
use one of the following protocols, you should always read the chapter Fieldbuses
and the protocol-specific chapter before commissioning!
This chapter describes all the data that can be transmitted via the various fieldbus
protocols. The data basis is the same for all Fieldbuses. The particulars are
described in the protocol-dependent sections.
Dimensions
WA-810 uses two systems of units
SI-units and
NON SI-units
Floating-point values
Measurement values, setpoints and some parameters are in the WA-810 as
floating point numbers in IEEE-754 4-Byte format. A conversion can be made into
another floating-point format depending on the parameter and protocol. Further
information can be found in the protocol descriptions. Transmission always starts
with MSB.
COMMUNICATION MANUAL
DE020742 V1.3
Page 6
FIELDBUSES
Here is an example of the transfer of the value 150,5 in IEEE format (the sequence
in the circuit is given):
Byte 1:
Sign/Exponent
Byte 2:
Mantissa 1
Byte 3:
Mantissa 2
Byte 4:
Mantissa 3
0x43
0x16
0x80
0x00
1.0
3F800000
01400000
10.0
41200000
04500000
100.0
42C80000
07640000
1000.0
447A0000
0A7D0000
MSB
LSB
Int 32 / LONG
MSB
LSB
Int 16
MSB
LSB
Bit information
Bits are summed up in words (Modbus, Modbus/TCP) or double words (Profibus,
DeviceNet and Ethernet/IP). The sequence is as follows:
Ex.: CommandID 0x0140
Komm4_HI
Komm4_LO
Komm5_HI
Komm5_LO
Ex.: Status-ID
0x02F0
Status2_HI
Status2_LO
Status3_HI
Status3_LO
COMMUNICATION MANUAL
DE020742 V1.3
FIELDBUSES
Page 7
IEEE Format
Big Endian configured by L05: High-Low; L04:I:std/L:std
Master to Slave
Bytes (hex)
Current Value
Preset Value 1
Byte 1-4
00 0C 00 00
Commands 4+5
(0140)
Event
acknowledged,
Release set
Preset Value 2
Byte 5-8
00 00 00 00
Commands 6 & 7
(0160)
No command
Active
Byte 9-32
00 00
Unused
Slave to Master
Bytes (hex)
Current Value
Read Value 1
Byte 1-4
01 05 00 10
Normal operation
Counter active,
Scales is running,
NONSI active
Read Value 2
Byte 5-8
00 00 00 00
Read Value 3
Byte 9-12
03 18 03 0C
Highest priority
error (0610)
Event S9,
Warning2
Read Value 4
Byte 13-16
48 B5 8D 54
371818 lb/h
Read Value 5
Byte 17-20
44 9A 40 00
Totalizing counter
1 (0752)
114881 lb
Read Value 6
Byte 21-24
43 AC 80 00
31.48 lb/f
Read Value 7
Byte 25-28
45 F6 90 00
3.28 f/s
COMMUNICATION MANUAL
DE020742 V1.3
Page 8
FIELDBUSES
Read Value 8
Byte 29-32
00 00 00 00
Unused
Scales Reply
Meaning
01 10 0140 0004
01 05 0142 ff00
01 05 0142 ff00
01 06 0140 0040
01 06 0140 0040
01 03 02F0 0004
01 03 08 xx xx xx xx xx xx xx
xx
01 03 0610 0001
01 03 02 xx xx
01 03 0750 0005 0A
01 03 0750 0A xx .... xx
The FIXED mode data for all protocols is explained further in the following tables.
ID (dec)
140
320
Note
Description
Static/
Dynamic
COMMUNICATION MANUAL
DE020742 V1.3
FIELDBUSES
Page 9
352
0 - Tare
(D)
1!
2 - Weight control-circuit
(D)
(D)
(D)
C - Abort calibration
(D)
D - Apply time
(D)
EF-
COMMUNICATION MANUAL
DE020742 V1.3
Page 10
FIELDBUSES
ID (dec)
Description
0610
1552
Event Number
Range 0 8, (corresponds to display 1 9)
Bit 4 7
Event Group
Range 1 12, (S = 1, E = 3, B=5, C=9, H=10, L=11)
Event Class
Range 1 4, (A=1, W1=2, W2=3, (IG=4))
Bit 12 15
Acknowledge Event
Range 0 1, (Acknowledged = 1, Not
acknowledged = 0)
ID (DEC)
Value
0750
1872
0752
1874
0754
1876
0756
1878
0758
1880
075A
1882
075C
1884
ID (DEC)
Value
30
48
31
COMMUNICATION MANUAL
DE020742 V1.3
49
FIELDBUSES
Page 11
* 8 hours
32
50
33
51
34
52
ID (dec)
Description
752
Status description
ID (hex)
02F0
COMMUNICATION MANUAL
DE020742 V1.3
Page 12
FIELDBUSES
0310
784
COMMUNICATION MANUAL
DE020742 V1.3
FIELDBUSES
Page 13
The Acknowledge Event command and the Fieldbus release bit are
transmitted by the master.
COMMUNICATION MANUAL
DE020742 V1.3
Page 14
FIELDBUSES
The diagram shows the Modbus telegram depiction (including Modbus frame)
Meaning of the display
The current Fieldbus protocol is displayed (see title row), and the data selected via
the checkboxes in the window.
==> Identifies data sent from the master to the scales WA-810.
COMMUNICATION MANUAL
DE020742 V1.3
FIELDBUSES
Page 15
---
All
>
Receive
<
Send
The channel filters show all channels, which appear in the record. The following
mean:
---
All
5, 6
The data of two host channels can be filtered out by combining both channel filters.
The host data contain the 6 Modbus/TCP header bytes.
The copy function transfers the currently selected data into an editor window.
COMMUNICATION MANUAL
DE020742 V1.3
Page 16
PROFIBUS DP
2. PROFIBUS DP
The following chapter describes the coupling of the Profibus slaveWA-810to a
Modbus master component group.
The Profibus connection functionality, the data exchange between the Profibus
master and the WA-810 and notes on troubleshooting and diagnosis are all
described. The Profibus hardware connection is described in the chapter Profibus
Module VPB8020.
Failsafe: Clear state does not support any alteration of the station address
via bus.
COMMUNICATION MANUAL
DE020742 V1.3
PROFIBUS DP
Page 17
There is a problem with the cabling between Fieldbus connection and main
board. Observe he LEDs on the connection. If in doubt, turn the power off
and on, if the parameterization as been performed correctly the connection
will be initialized (red LED blinks).
The bus termination is either absent or is present multiple times. Check the
resistances a connection (delivery condition is not activated) and possibly
the resistances in the bus plugs. See the chapter Fieldbus Hardware for
details.
COMMUNICATION MANUAL
DE020742 V1.3
Page 18
PROFIBUS DP
The selected protocol does not correspond to the add-on card. Change the
parameterization or swap the interface connection.
The timeout parameter has been set at too small a value. Change the
parameterization of the scales.
The configuration of the scales does not correspond with the configuration of
the master.
An improper ID has been identified in the telegram from the master to the
scales (use only IDs printed in bold type!)
Bus termination
The bus termination resistances must be activated at the first and last station of the
bus. This is done by setting all jumper plugs into position 1-2 on the card. As a rule
the resistances are not activated (position 2-3).
COMMUNICATION MANUAL
DE020742 V1.3
PROFIBUS DP
Page 19
Bus addresses:
The addresses are set using parameters.
Indication
Off
Green
Flashing
Parameterization error
Status
State
Indication
Off
Green
Initialized
Flashing Green
Red
Exception error
COMMUNICATION MANUAL
DE020742 V1.3
Page 20
PROFIBUS DP
Pin assignment
Pin
GND BUS
+5V BUS
GND BUS
Shielding
+5V BUS
Housing
Optocoupler
Power supply
5V DC internal
Power supply
Max 310mA
Plug connector
COMMUNICATION MANUAL
DE020742 V1.3
DEVICENET
Page 21
3. DEVICENET
The following chapter describes the connection of the DeviceNet slave WA-810 to a
DeviceNet master component group. It describes the functionality of the DeviceNet
connection, the data exchange between DeviceNet master and the WA-810, and
contains notes on troubleshooting and diagnosis. The DeviceNet hardware
connection is described in the chapter DeviceNet Module VCB8020.
A cyclical data exchange is performed with the master. As a rule the POLL
mode is used for transferring I/O data.
COMMUNICATION MANUAL
DE020742 V1.3
Page 22
DEVICENET
The event message is a group message for all errors concerning the
Fieldbus connection. These are:
Different baud rate settings are sent to the master and scales.
There is a problem with the cabling between Fieldbus connection and main
board.
The bus termination is either absent or is present multiple times. Check the
resistances at the connection (delivery condition is not activated) and
possibly the resistances in the bus plugs. See the chapter Fieldbus
Hardware for details.
The selected protocol does not correspond to the add-on card. Change the
parameterization or swap the interface connection.
The timeout parameter has been set too low. Change the parameterization
of the scales.
An improper ID has been identified in the telegram from the master to the
scales (use only IDs printed in bold type!).
COMMUNICATION MANUAL
DE020742 V1.3
DEVICENET
Page 23
The bus termination resistances must be activated at the first and last station
of the bus. This is done by applying the W160 jumper to the position 1-2. By
default, the resistances are not activated (position 2-3).
The W100 jumper, for determining the power supply, must be plugged in position 23.
COMMUNICATION MANUAL
DE020742 V1.3
Page 24
DEVICENET
Status
Indication
Off
Green
On-line, no connections
established
Red
Alternating Red/Green
Self test
Indication
OFF
No power
Green
Red
Unrecoverable Fault(s)
Recoverable Fault(s)
Alternating Red/Greed
Self test
Signal X20
Screening
CAN_H
CAN_L
V-
V+
COMMUNICATION MANUAL
DE020742 V1.3
DEVICENET
Page 25
Characteristics
Disconnection
Optocoupler
Power supply
5V DC internal
Power supply
Max 250mA
Plug connector
COMMUNICATION MANUAL
DE020742 V1.3
Page 26
MODBUS
4. MODBUS
The following chapter describes coupling the Modbus slave WA-810 to a Modbus
master component group. The chapter describes how the Modbus is activated by
selecting MODBUS.
The Modbus connection, the data exchange between the Modbus master and the
WA-810are described, and notes for troubleshooting and diagnosis are given. The
Modbus connection hardware is described at the end of this chapter.
COMMUNICATION MANUAL
DE020742 V1.3
MODBUS
Page 27
Meaning
Wordwise writing of control bits or setpoint values (always one data word)
15
16
23
COMMUNICATION MANUAL
DE020742 V1.3
Page 28
MODBUS
Meaning
COMMUNICATION MANUAL
DE020742 V1.3
MODBUS
Page 29
Different baud rate settings are sent to the master and scales.
The bus termination is either absent or is present multiple times. Check the
wire jumpers in the connection plug. See chapter XES3 Serial Interface for
details.
The timeout parameter has been set too low. Change the parameterization
of the scales.
An improper ID has been identified in the telegram from the master to the
scales.
COMMUNICATION MANUAL
DE020742 V1.3
Page 30
MODBUS
COMMUNICATION MANUAL
DE020742 V1.3
ETHERNET
Page 31
5. ETHERNET
All Ethernet-based protocols and tools are described in this chapter. These are
currently the application protocols Modbus/TCP and Ethernet/IP. As different
communication modules are used for the various application protocols, the
corresponding software user interfaces are also different.
COMMUNICATION MANUAL
DE020742 V1.3
Page 32
ETHERNET
5.3. Modbus/TCP
The following chapter describes the functionality of the WA-810 as a Modbus/TCP
server in the Ethernet. The following are described in detail:
The FIELDBUS mode of operation between an Ethernet client and the WA810 via Modbus/TCP,
COMMUNICATION MANUAL
DE020742 V1.3
ETHERNET
Page 33
The server can exchange data with up to 3 clients simultaneously. If the WAbelt tool is used, it can occupy one of the three channels if the coupling is
performed over the network. The data are either sent as Modbus (RTU)/TCP
packets or are expected as such from external. The functional range is
described in more detail below.
COMMUNICATION MANUAL
DE020742 V1.3
Page 34
ETHERNET
If data from several segments is used (see Fieldbus Data), each segment
requires at least one telegram.
Setting the correct byte sequence with values in IEEE and LONG format.
The timeout parameter has been set at too small a value. Change the
parameterization of the scales.
COMMUNICATION MANUAL
DE020742 V1.3
ETHERNET
Page 35
5.4. Ethernet/IP
WA-810 is an Ethernet/IP server. You can activate the protocol and all parameter
changes specific to the protocol in the fieldbus block. You can use the units control
terminal or WA-belt diagnostic tool for this.
It is connected to the network with the RJ45 plug on the basic board (refer to the
chapter on Connecting up the Unit).
The server can exchange data with as many as 16 clients at the same time. It
cannot be locked against writing access, meaning that the client most recently
sending specifications wins.
The bus interface is monitored for timeout and the defective ID configuration on the
control side as per the configuration in the fieldbus block.
The timeout parameter has been set at too small a value. Change the
parameterization of the scales.
An improper ID has been identified in the telegram from the master to the
scales (only use IDs printed in bold type)
COMMUNICATION MANUAL
DE020742 V1.3
Page 36
ETHERNET
COMMUNICATION MANUAL
DE020742 V1.3
ETHERNET
Page 37
COMMUNICATION MANUAL
DE020742 V1.3
Page 38
ETHERNET
COMMUNICATION MANUAL
DE020742 V1.3
Lahti Precision Oy
Ahjokatu 4 A, P.O.B. 22
FI-15801 Lahti, Finland
www.lahtiprecision.com