Schenk - BVH2220GB (Fieldbus)
Schenk - BVH2220GB (Fieldbus)
Schenk - BVH2220GB (Fieldbus)
Fieldbus Description
Heavy Industry
Service Tel.: +49 (0) 61 51 32 - 26 23
Service Fax: +49 (0) 61 51 32 - 32 70
eMail: bvh.process@schenck.net
Light Industry
Service Tel.: +49 (0) 61 51 32 - 25 72
Service Fax: +49 (0) 61 51 32 - 20 72
eMail: bvl.process@schenck.net
© Copyright 2005
SCHENCK PROCESS GmbH
Measuring and Process Systems
Landwehrstraße 55, D-64293 Darmstadt
http://www.schenck-process.com
All rights reserved. Any reproduction of manual, regardless of method, without prior permission by
SCHENCK PROCESS GmbH in writing, even by excerpt, is prohibited.
2 PROFIBUS DP ......................................................................................................... 34
3 DEVICENET ............................................................................................................. 39
4 MODBUS...................................................................................................................43
5 MODBUS-TCP/IP......................................................................................................50
6 APPENDIX................................................................................................................ 75
1 Fieldbus Data
Before putting into operation one of the protocols described below, always read
Chapter “Fieldbus Data“ and the protocol-specific items.
Decisive for the further procedure is the “User Data Construction” item. You can
select:
FIXED-1/2 mode or
General user data construction
If one of the FIXED modes suits you, you can skip the information on IDs and
parameters.
The FIXED modes shorten the breaking-in time and ease the use of the fieldbus
interface to a considerable extent. Simply read Chapters 1.1-1.4, and item FIXED
MODE; the “Diagnosis and Troubleshooting” item might be useful, too.
1.3 Units
Example for transmission of value 150.5 in IEEE format (indicating the line sequence):
Bit information
Bits are comprised to form words (Modbus, Modbus/TCP) or double words (Profibus,
DeviceNet). The line sequence is as follows:
The data of FIXED-1 mode are optimised for continuous operation; those of FIXED-2
mode are provided for batching. In addition, the data are matched to the particular
scale type. The construction of the data packages is identical for the two modes (see
below). Every value has the size of one data double word (4 bytes). Values not used
are filled with zero. For detailed description of commands and status values, refer to
the lists of cyclic data given at the end of the Fieldbus Data chapter.
NOTE
In preset value 1 (commands 4 + 5) the release bit (in terms of a fieldbus
release) serving for interface monitoring must always be set statically. If this bit
is not set, the subsequent preset values are not evaluated and HOST
communication fault is set.
The table below includes all values transferred with the particular scale type:
Configuration FIXED-1
Floating point format IEEE format
Since there is no specific Weighing profile, data construction uses the existing
Variable Speed Drives profile.
In this profile, user data construction for the cyclic channel is called Parameter
Process Data Object (PPO).
The guideline determines the user data construction for drives a Master can use to
access the drive slaves by means of cyclic data exchange. User data construction in
cyclic data exchange comprises two ranges which can be transmitted in every
message:
• Process Data Range (PZD), i.e. control words and setpoints, or status
information and actual values
• Parameter Range (PKW) for read/write of parameter values, e.g. read-out of
information on parameter characteristics (MIN/MAX values, etc.).
The PPO type used to address the scale from Master can be configured at the time of
bus system commissioning. The PPO type is selected as a function of the scale task
in the automation environment and used to control the scale in the automation
environment, e.g. Start/Stop, Enter Setpoints. The parameter range enables the user
to freely access all scale parameters with the use of the bus system. Thus, further
information for scale visualization can be called up from a host system, e.g. a PC, with
no adverse effects on the efficiency of process data transmission.
All messages used in cyclic data transmission have the following basic construction:
PPO types
The following PPO types can be defined:
User data without parameter range, with three specified preset values and max. 6
additional read values selectable via ID
User data with parameter range, two preset values and four read values.
The maximum size of a user data package is 32 bytes, the construction is invariable,
data contents (IDs and values) are variable.
Note
When using the DeviceNet protocol for transmission, always use 32 bytes as
produced and consumed connection size.
Sample
Data transmission without parameters with 3 preset values, 6 variable
user-defined identifications (IDs) – representation HEX
Note
The preset IDs from Master to scale must originate from the Command or Preset
value ranges. It is possible to preset multiple setpoints (feed rate and batch
setpoint) or multiple commands with different IDs in one and the same cycle.
If one ID is zero, respective value is not evaluated..
If all bytes are set to zero in the presetting message (bus Master to INTECONT),
fieldbus communication fault is set on INTECONT. INTECONT interprets this state
as failure of the bus Master's host CPU whilst the communication processor in
Master is active. The INTECONT timeout monitoring cannot compensate this state
since formally valid data packages are transferred still. At least one preset ID must
have a valid value unequal to zero.
Control and status information is comprised in 4-byte packages. The IDs assigned
to blocks are highlighted in data description. Only these IDs may be used here. If
a different ID is used, data are rejected and an error message is output.
In the response message, status and actual value are identified by their positions
in message. The fixed status has ID 0x2F0; the actual value, ID 0x750.
Through addition of (read) IDs in Master --> scale message, you can cause the
scale to enter the desired values into the response message. Value sequence
corresponds to the ID sequence. If IDs of the Preset value or Command ranges
are entered, the value preset last is reread.
Scale response
PKE IND PWE1 PWE2 Status infos (2+3) Actual value Values as per ordering list
(4 bytes) (4 bytes)
Note
Parameter ID (PKE),
AK PNU
Bit no. 15 14 13 Bit 0-12
Response ID Meaning
0 No order
2 Transfer current parameter value / event group (double word)
7 Order cannot be executed (error number in PWE2)
IND function
If an order transfers a sub-index with values between 1 and 254, the
desired index of the selected parameter is transferred. For meanings
of single parameter indices, please see the table below.
When a description element is processed, the number of the desired
element is transferred.
Index Meaning
0 Default value
4 Min. value
8 Max. value
12 Unit index (1st word), after-comma places (2nd word)
Bits 0 ... 15: Parameter value with 16-bit parameter, or Low portion with
32-bit parameter
Bits 16 ... 31: Value = 0 with 16-bit parameters, or High portion with 32-bit
parameter
If the response ID has value 7 (order cannot be executed), parameter value 2 (PWE2)
includes an error number specified in table.
The complete order must be sent in one message; splitted order messages are not
admitted. The same applies to the response.
If the response message is repeated, the scale responds with the current values.
If no information from PWK interface are needed in cyclic operation (only PZD data
matter), set the order ID to “No Order”.
For samples, see item below.
Bytes 1-4 status messages: set are "Normal mode” and “No release” bits
-----------------------------------------------------------------------------------------------------------------------------------------------
Bytes 1-8 7205 0000 4170 0000 Preset parameter "F_Control Min. – Feed Index 1" (value =15 %)
Bytes 9+10 0250 ID for "Write feed rate setpoint "
Bytes 11-14 44 7A 00 00 Setpoints 1000.0 kg/hr
Bytes 15+16 0140 ID for "Control"
Bytes 17-20 00 44 00 00 Acknowledge control value for events and reset counter 1
Bytes 21+22 0752 ID to request counter 1 reading
Bytes 23+24 075C ID to request belt speed in m/s
Bytes 25+26 0754 ID to request counter 2 reading
Bytes 27+28 0758 ID to request belt load in kg/m
Bytes 1-8 5205 0000 4170 0000 Preset parameter value accepted
Bytes 9-12 01 02 00 00 Always status messages to ID 02F0
Bytes 13-16 00 00 00 00 Always feed rate actual value in kg/h, ID=0750
Bytes 17-20 00 00 00 00 Value for ID in bytes 19+20, i.e. counter 1 reading
Bytes 21-24 00 00 00 00 Value for ID in bytes 21+22, i.e. belt speed
Bytes 25-28 00 00 00 00 Value for ID in bytes 23+24, i.e. counter 2 reading
Bytes 29-32 00 00 00 00 Value for ID in bytes 25+26, i.e. belt load
-----------------------------------------------------------------------------------------------------------------------------------------------
Sample 3 (preset parameter with error response)
Bytes 1-8 7205 0000 447a 0000 Preset parameter "F_Control Min." (value =1000 %)
... ... ...
Bytes 1-8 F205 0000 4170 1000 Preset parameter value not accepted (value > MAX)
... ... ...
-----------------------------------------------------------------------------------------------------------------------------------------------
Bytes 1-8 3205 0000 xxxx xxxx Read parameter "F_Control Min" (xxxx = optional value)
... ... ...
Not recognised:
Initialisation error upon connection set-up
Layer 2 issues upon data exchange
Display meanings
Display shows current fieldbus protocol (see title) and data selected using checkbox.
“==> “ means that Master sends data to scale ( Receive INTECONT).
“<== “ identifies data sent from INTECONT to Master
Selection buttons
Record:
Starts recording on scale
Display:
Data are transferred from scale to PC and then displayed. This process may take
some seconds depending on how many data have been stored yet. Maximum the
last (most recent) 50 messages can be recorded.
Copy:
Lets you mark all (no selection), single or a group of messages by mouse click
and copy them into clipboard. If requested, data can be copied into an editor.
Checkbox:
Lets you select the direction of data and activate a time stamp.
Note
With the Modbus/TCP protocol, the EasyServe monitor displays the data of the
internal interface (scale-EtherNet module). The representation corresponds to the
Modbus sample.
ID
The “ID” value addresses the complete data word. If a bit is to be addressed (as is
possible with MODBUS), add the number before value meaning to the word address.
e.g.: General alarm (data segment "Status")
Word address 0x02F0 + 5 --> bit address 0x02F5
Value
The "Value" column states the meaning of the value in the INTECONT system.
Scale types
The “Type” column indicates whether or not the respective value is available with the
selected scale type. If not available, ZERO value is returned. Preset values relating
to non-existing IDs are not evaluated.
Note:
Non-existing values are possibly available in a later software version (new extension
stage).
1.7.2 Commands
Byte- Word- ID ID Rem. Value Mode VBW VDB VLW VMD VDM
Offset Offset (HEX) (DEC)
9 Command 4 HI (bit-coded)
! 8 – Volum. Synchronous (D) x x
9 – Moisture Corr. ON (D)
A – Moisture Corr. OFF (D)
B – Meas. Drive OFF (D) x
! C – Gate Feedback (S)
D – Open Gate Manual (D)
E – Stop Gate Manual (D)
F – Close Gate Manual (D)
10 5 Command 5 LO (bit-coded)
0 – Select Batch (D) x x x x x
1 – Deselect Batch (D) x x x x x
Byte- Word- ID ID Rem. Value Mode VBW VDB VLW VMD VDM
Offset Offset (HEX) (DEC)
11 Command 5 HI (bit-coded)
8 - Filling Start (D) x
9 - Filling Stop (D) x
A - Emptying Start (D) x
B - Emptying Stop (D) x
C - Init. Hopper Controller (D)
D - Activate Fill Unit (D)
E - Activate Prefeeder (D) x x x x
F - Stop Prefeeder (D) x x x x
13 Command 6 HI (bit-coded)
14 7 Command 7 LO (bit-coded)
! 0 - Tare (D) x x x x x
! 1 - Zero Set (D) x x x x
! 2 - Weight Check (D) x x x x
! 3 - Pulses/Revolution (D) x x
! 4 - DAE Adjustment (D) x
! 5 - Linearization P1 (D) x
! 6 - Linearization P2 (D) x
! 7 - Linearization P3 (D) x
15 Command 7 HI (bit-coded)
! 8 - Linearization P4 (D) x
! 9 - Volumetric (D) x
! A - Optimize controller (D) x
B - Calibration Acquire (D) x x x x x
C - Calibration Abort (D) x x x x x
D - Time Acquire (D) x x x x x
! E - Bin: Tare (D)
! F - Bin: Weight Check (D)
17 Command 8 HI (bit-coded)
! 8 - Print Batch Report (D) x x x x x
Byte- Word- ID ID Rem. Value Mode VBW VDB VLW VMD VDM
Offset Offset (HEX) (DEC)
18 9 Command 9 LO (bit-coded)
0 – Start Keyb. Mode (D) x x x x x
1 – Stop Keyb. Mode (D) x x x x x
2 – Start Simulation (D) x x x x
3 – Stop Simulation (D) x x x x
4 – Load Default Parameter (D) x x x x x
5 – Check Meas. Start (D) x
6 – Manual Prefeeder (ES only) (D)
7 – Automatic Prefeeder (ES only) (D)
19 Command 9 HI (bit-coded)
reserved
5 Status 2 HI (bit-coded)
8 – Normal Mode x x x x x
9 – Keyboard Mode x x x x x
A – Local Mode
B – Simulation Mode x x x x
C – Volum. Start-Up x x x
D – Meas. Drive ON x
E – Wheel Meas. Drive Delay x
F – Setpoint Limited x x
6 3 Status 3 LO (bit-coded)
0 – Batch Selected x x x x x
1 – Batch Active x x x x x
2 – Batch Dribble Feed (pre-act cont.) x x x x x
3 – Batch + Clearance x
4 – NON-SI active x x x x x
5 – Dead Time active
6 – Dead Time Setpoint active
7 – Dead Time ON/OFF active
7 Status 3 HI (bit-coded)
8 – Tare x x x x x
9 – Zero Set x x x x
A – Weight Check x x x x
B – Pulses/Revolution x x
C – DAE Adjustment x
D – Auto Zero active x x x
E – Volumetric Adaption x
F – Gravimetric Optimization x
9 Status 4 HI (bit-coded)
8 – Feed rate > MAX x x x x x
9 – Feed rate < MIN x x x x x
A – Belt load > MAX x x
B – Belt load < MIN x x
C – Speed > MAX x x
D – Speed < MIN x x
E – Bin > MAX
F – Bin < MIN
10 5 Status 5 LO (bit-coded)
0 – Bin Level Control existent
1 – Hopper level > MAX x
2 – Hopper level < MIN x
3 – Measured load > MAX x
4 – Measured load < MIN
5 – n > MAX x
6 – n < MIN x x
7 – Check system waits for acknowledgement
11 Status 5 HI (bit-coded)
8 – Check system available
9 – Rel. tare exceeded
A – Abs. tare exceeded
B – Rel. range exceeded
C – Abs. range exceeded
D – Check meas. announced
E – Prepare check
F – Check active
13 Status 6 HI (bit-coded)
8 – Open Gate x
9 – Blow-out ON x
A – Manual Prefeeder
B - Bin: Tare
C - Bin: Weight Check
D – Optimization Bin Controller
E - 2nd Bridge > MAX
F - 2nd Bridge < MIN
14 7 Status 7 LO (bit-coded)
0 – Emergency Setpoint active
1 – Trend active
2-
3-
4-
5-
6-
7-
15 Status 7 HI (bit-coded)
8 – Moisture Corr. Active
9 – Moisture > MAX
A – Moisture Meas. Faulty
B – PreFeed Control Active
C – EasyServe active x x x x x
D – EasyServe announced x x x x x
! E – Feeder 1 Active (VLW20152 only)
! F – Feeder 2 Active (VLW20152 only
17 Reserved
8-
9-
A-
B-
C-
D-
E-
F-
9 Status 9
18 Reserved
19 Reserved
21 Event S9
8 – Event Warning 2 S9 x x x x x
9-
A-
B-
C-
D-
E-
F-
22 11 --
23 --
26 13 --
27 --
30 15 --
31 --
32 16 03D0 976 --
33 --
34 17 --
35 --
44 22 0430 1072 --
45 --
48 24 0450 1104 --
49 --
52 26 0470 1136 --
53 --
54 27 --
55 --
56 28 0490 1168 --
57 --
66 33 --
67 --
70 35 --
71 --
74 37 --
75 --
76 38 0530 1328 --
77 --
78 39 --
79 --
86 43 Digital Inputs
0 – DI1 x x x x x
1 – DI2 x x x x x
2 – DI3 x x x x x
3 – DI4 x x x x x
4 – DI5 x x x x x
5 – DI6 x x x x x
6 – DI7 x x x x x
7-
88 44 0590 1424
89
90 45 Digital Outputs
0 - DO1 x x x x x
1 - DO2 x x x x x
2 - DO3 x x x x x
3 - DO4 x x x x x
4 - DO5 x x x x x
5 - DO6 x x x x x
6 - DO7 x x x x x
7 - DO8 x x x x x
91
92 46 05B0 1456
93
94 47
95
96 48 05D0 1488
97
98 49
99
1.7.9 Events
The input in table references the parameter used to change the event class.
System Message (S-1) VBW VLW VDB VMD VDM
S1 Memory Error O 02 Q 02 N 02 M 02 M 02
S2 No Release O 07 Q 07 N 07 M 06 M 04
S3 Maintenance STR-Meter K 04 K 04 K 04 K 04 K 04
S4 Maintenance Interval Electric K 02 K 02 K 02 K 02 K 02
S5 RESERVE
S6 RESERVE
S7 Simulation active Q 10 N 10 M 08 M 07
S8 Setpoint limited Q 11 N 11 M 09
S9 Data Link Host L 03 L 03 L 03 L 03 L 03
2 PROFIBUS DP
This chapter describes the interfacing of the INTECONT Profibus slave to a Profibus
Master assembly.
Described is the functionality of the Profibus module, the data exchange between
Profibus Master and INTECONT, fault diagnosis and troubleshooting. The Profibus
hardware is described at the “Profibus Module VPB020V“ item.
Designed to assist the S7 programmer in commissioning, Manual BVH2204 describes
the use of the general user data construction at the DISOCONT example. However,
data construction is identical for INTECONT.
For details and examples on user data construction, see “Fieldbus Data” chapter.
For parameterisation, you can use the Operator Panel or the EasyServe tool.
Note
Any change to a grey-marked parameter resets the field connection, i.e. the slave
is excluded from user data exchange for approx. 4 sec.
Note:
You will find the INTECONT configuration in the S7 hardware configurator at
“Profibus-DP/Further Fieldbuses/Controller/INTECONT”.
You can download the current GSD file (ICV10524.GSD) from the Schenck-
Process service web-page (www.schenck-process.de, Path: Service-Download-
Bus systems-Profibus).
Reading/writing of double words in S7 systems: please note that the INTECONT
double words can neither be read nor written using function modules SFC14 and
SFC15 of S7 systems. Access the peripherals direct.
If you have selected one of the fieldbuses, any malfunction is reported by event
message "Communication Host” (S9) provided that this message is assigned to an
event class other than IG(NORE). The message is output both on display and on
EasyServe. If only the display is available, read the next two items. The EasyServe, if
present, provides further information on fault diagnosis.
The event message is designed to report any error concerning the fieldbus module:
Different station address on Master and scale
Cable connection between fieldbus module and base board faulty. Watch LEDs on
module. In case of doubt, restart system, and module is initialised provided that
parameters are properly set (red LED flashes).
Fieldbus cable defective or improperly connected. For proper connection, see
“Fieldbus Hardware” chapter.
Fieldbus hardware bus termination is not (or various times) available.
Check resistors on module (supplied state: "Not activated") and on bus
connectors. For details, see “Fieldbus Hardware” chapter.
Selected protocol type does not correspond to the extension board. Change
parameterisation or replace module.
Timeout parameter value too small. Change scale parameterisation.
Scale configuration differs from Master configuration. Change GSD module or
scale parameterisation.
Inadmissible ID detected in Master --> scale message (only use bold-printed IDs).
All preset IDs in message from host system have zero value (communication
between Master-CPU and communication processor (CP) failed). Minimum one
preset ID must be unequal to zero, or – in FIXED mode – the release bit must be
set.
The representation of cyclic user data is the same for all protocols. For details, see
“Fieldbus Data” chapter.
Bus termination:
Activate the bus terminals resistors on first and the last stations on bus. To do so, set
all plug-in jumpers on board to position 1-2. On standard, the resistors are not
activated (position 2-3).
Bus address:
Set address via parameter.
LED
Status LED for communication OK (green)
Bus error or configuration display (red)
X20
Connector assignment
Characteristics
Isolation optocouplers
Voltage supply 5V DC internal
Current supply max. 310mA
Connectors 5-pin Phoenix MSTB 3.5 max. 1.5mm²
9-pin Sub-D-female
3 DeviceNet
The present chapter describes the interfacing of the INTECONT DeviceNet slave to a
DeviceNet Master assembly.
Described is the functionality of the DeviceNet module, the data exchange between
DeviceNet Master and INTECONT, diagnosis and troubleshooting.
For DeviceNet hardware, see “DeviceNet Module VCB020V“ item.
Note
Any change to a grey-marked parameter resets the field connection, i.e. the slave
is excluded from user data exchange for approx. 4 sec.
The representation of cyclic user data is the same for all protocols. For details, see
“Fieldbus Data” chapter.
Bus termination
Activate the bus terminals resistors on first and the last stations on bus. To do so,
set the plug-in jumper W160 on board to position 1-2. On standard, the resistors
are not activated (position 2-3).
X20
Connector assignment
Characteristics
Isolation optocouplers
Voltage supply 5V DC internal
Current supply max. 250mA
Connectors Phoenix MSTB 5 max. 2.5mm²
Phoenix MSTB 5 max. 1.5mm²
4 Modbus
The present chapter describes the interfacing of the INTECONT Modbus slave with a
Modbus Master assembly and describes the Modbus in the form activated by the
MODBUS selection. The previous version of the INTECONT-compatible Modbus
(MODCOMP) is described in Manual FH525.
Described is the functionality of the Modbus module, the data exchange between
Modbus Master and INTECONT, diagnosis and troubleshooting. The hardware of the
Modbus module is described at the end of this chapter.
Connection via RS422 (4-wire bus) or RS485 (2-wire bus, also called J-Bus).
Select physical properties by parameter setting. Connection via RS232 is also
possible.
Cyclic user data exchange with Master
Bus interface monitoring
Easy parameterisation of VSS021V using base unit control station or EasyServe
tool
Modbus mode: RTU
FC [dec] Meaning
1 Bitwise re-reading of control information (one/multiple bits)
2 Bitwise reading of status information (one/multiple bits)
3 Wordwise (re)reading of setpoints, measurement values, LONG values and
parameters (one/multiple words)
4 Wordwise reading of status information (one/multiple words)
5 Bitwise (re)setting of control information (always 1 bit)
6 Wordwise writing of control bits or setpoints (always 1 data word)
8 Diagnosis (only sub-codes 0 and 1)
15 Bitwise writing of control information (one/multiple bits)
16 Wordwise writing of commands (one/multiple data words)
23 Reading and writing of multiple data words in one cycle. This function code may
be used in all cases where FC3 or FC16 can be used.
4.8.2 Parameters
All parameters can be read and written. In contrast to cyclic values, only one
parameter per message can be processed. Transmission requires the parameter ID
unique throughout the system. For some important parameters of wagon type VLW,
these IDs can be found in the list of fieldbus data. For the residual parameters,
EasyServe can create a list including the IDs.
Note: Menu item “EXTRAS-OPTIONS-PARAMETER-Print SysID” lets you activate
printout of the IDs to be used for data address of the Modbus protocol. Please note
that the modification of the selection parameters requires special knowledge. Floating
point and/or integer values can be read and written without any problems. The data
formats correspond to those of the cyclic values.
16 Command P word
6 Command P word
3 Command R word
2 STATUS R bit
4 STATUS R word
3 STATUS R word
Note:
In many cases, the host system must add a so-called segment address (depending on
function code) to the described data address. Furthermore, the data address must be
incremented by 1 since the Modbus protocol’s register addresses start from 1.
So the data address is configured like this:
Data address = segment address + INTECONTaddress + 1.
01 06 0140 0040 8812 01 06 0140 0040 8812 Reset counter 1 (preset word)
01 03 02F0 0004 4582 01 03 08 xx xx xx xx xx xx xx xx Read 4 words of status information
cc cc xx = data, cc = CRC16
01 03 1082 0002 60E3 01 03 04 42C8 0000 6FB5 Read parameter (nominal feed rate,
ID=1082 (hex), value = 100))
01 10 1082 0002 04 4323 5678 01 10 1082 0002 E520 Write parameter (value =163.34)
6C1A
Note
Used for message end identification, the Modbus idle time is defined with 3.5
characters as a function of selected baud rate, and corresponds to approx. 4
milliseconds at 9600 baud. For adaptation to specific device configurations, this time
can be set in the EasyServe block. The setting acts both on EasyServe and fieldbus
interfaces.
When operating the EasyServe interface using a radio converter, the times stated in
table may be longer.
Bus termination
X20
Jumpers for interface physics and bus termination with RS485 (2-wire)
Characteristics
Isolation Optocouplers
Voltage supply 5V DC internal
Current supply max. 100mA
Connectors Phoenix MSTB 5 max. 1.5mm²
5 Modbus-TCP/IP
This chapter describes the functionality of INTECONT used as server on Ethernet.
In detail:
Ethernet module (“Ethernet Bus Module VET020V“ item)
Ethernet module configuration (determine characteristics and assign station
addresses)
FIELDBUS mode: Data exchange between Ethernet client and INTECONT via
Modbus/TCP
WEB SERVER mode: Preparation and call of a WEB page
Diagnosis and troubleshooting.
NOTE
In addition to the Normal mode, the following items describe the Expert mode of the
MultiServerTools PC software. Changeover to Expert mode takes place upon program
start by way of an additional parameter you can request using the service telephone
numbers. The individual items include information on the modes in which the
individual functions can be used.
5.1 Definitions
Client
Refers to the computer or application using the server’s capabilities.
In the present documentation, the term “client” normally refers to a PC or control
system using the data and services of the Ethernet interface module (VET010V,
sometimes also called “Beck chip“) or displaying the data of the latter. Single PC
applications, e.g. FTP, Internet Explorer, Telnet can enter into a client-server
relationship using the relevant VET010V server programs.
Server
Normally refers to the general VET010V applications, e.g. the WEB server readies its
services to the Internet Explorer, and the FTP server communicates with the
corresponding client on PC in order to load (multiserver) programs and configuration
data into VET010V.
MultiServer
Refers to the application program (Multisrv.exe) executed on VET010V. The term
MULTI suggests that multiple servers are running quasi in parallel and that, in case of
the fieldbus server, multiple channels can be served at the same time.
BIOS/Firmware
Refers to the basic software of Messrs. BECK, comprising real-time operating system
and some basic applications, e.g. FTP server, Telnet, TCP/IP software.
MultiServer Tools
Refers to the PC program denoted VPC28000-xx xxxx.
The MultiServer Scanner program module assists the operator wishing to use
INTECONT with Ethernet as WEB Server in quick selection of device and display of
Web pages.
The MultiServer Loader module helps the commissioner load new software, create
data, edit web pages, etc.
The MultiServer Mastersimulator module lets you test fieldbus channels.
Modbus/TCP
Uses the TCP/IP standard for data transmission; the application data present
themselves in the form of a Modbus RTU frame.
This program consists of various subroutines. The two most important modules are
depicted below (applicable to Expert mode).
The “Download Options“, “Diagnosis“, “Telnet“ and “Webserver“ frames are visible
only in Expert mode. In Normal mode, the depicted settings apply.
Alternatively or parallely, the Chip tool of Messrs. Beck can be used for scanner.
This subroutine prompts for input all parameters required to perform a download:
Note:
Go to scanner module, click on line indicating name and IP address of desired device,
and all values are transferred to the Loader module. If required, values can be
adjusted before next download.
recorded by program and can be viewed in service menu at the “Show FTPLogFile“
entry.
TOOLS Menu
This menu item comprises further useful tools for WEB server and fieldbus mode:
MultiServer Mastersimulator: lets you check fieldbus channels for proper
functioning. All requisite parameters are preset by the Loader module.
Internet Explorer: lets you try to start Microsoft Internet Explorer using preset
address
Telnet: lets you start TeraTerm program using TELNET setting and selected IP
address
Upload: lets you start browser as FTP client. The drag & drop function lets you
shift or copy selected files from module to PC.
Note:
In Normal mode, only menu item “Internet Explorer“ is visible.
You can also reach the Tools menu using the right mouse button.
The Tools menu is also available in the Scanner module and can be reached using
the right mouse button. If started via Scanner module, the address of the line
selected last is valid.
SERVICE Menu
The SERVICE menu offers some commissioning aids that are but seldom used.
In Normal mode, only menu items “Edit Configuration“ and “Show FTP LogFile“ are
visible.
Change Network Parameters: lets you preset IP address, net mask and
gateway address of the Ethernet module. However, this menu item should be
used only if the chip on the Ethernet module is loaded with the use of a program
for the very first time.
Load BIOS: lets you load a new firmware. This should be done only after prior
consulting with Schenck. After every BIOS update, the application software must
be reloaded, and complete device has to be reset.
Edit Configuration: lets you edit the Web pages. Display shows the directory
tree as created by the setup program. Select file, and edit using the editor.
The editor’s SAVE function lets you store the changed file in the same location
on directory. The SAVE AS function lets you add a new file in the same or
another location on the directory tree.
Please note that changes in the INTECONT standard directory can produce
errors in the ACTUAL VALUES display. Preferably use an existing file as pattern
and store the changed file in the CUSTOMER_INTECONT directory using the
SAVE AS function. The name of the new file should start with “CU_“ (for
Customer) and meet the DOS name convention “8+3“. This also ensures that
after reloading of application software the newly added file is entered into the
WEB server’s start page and can be started from there via mouse click.
Show FTPLogFile: lets you check loading process (s. MultiServer Loader)
Note
The freshly loaded Multiserver version is active only after reset (power-up) of
INTECONT. If Web server is active during download, update (F5 button) may be
necessary.
For more information on WEB server files, see relevant item of the present
chapter.
Write FC 16
Lets you transmit one or multiple preset values to scale. This command can be used
both for setpoints and commands. The length information to be entered into message
is computed automatically from entered preset values.
RW FC 23
Function code 23 lets you write and read values in a cycle. The input fields correspond
to those of FC3 and 16.
Write FC 5
Function code 5 lets you set or delete single command bits.
Note
You can specify a cycle time on the upper right (default: 1000 milliseconds).
The function selected last is executed using the specified cycle time.
If you wish to send off single messages, set cycle time to ZERO.
The two buttons on the lower left let you translate the read values from
hexadecimal format into normal clear text. However, this works only for the
specified data segments ‘measurement values = data address 750hex ff., as well as
for status ID 02F0 most frequently used.
Tick checkbox “Simulate Configuration Tool“, and you can simulate the EasyServe
behaviour on one of the eligible fieldbus channels.
You can open the Mastersimulator window up to three times corresponding to the
number of eligible fieldbus channels.
5.4.1.4 Setup
The MultiServer Tools program starts from a fixed directory structure. The latter is
determined by the setup program and must not be changed in order to ensure peak
functionality of Loader module and commissioning tools.
Depending on operating system version and selected language, the paths are
selected so that all invariable subroutines are installed using the program path preset
by Microsoft (CSIDL_PROGRAM_FILES); and all variable files, using the All Users
application files path (CSIDL_COMMON_APPDATA ). For clear orientation, use the
HELP INFO of the MultiServer tool to view the paths.
Your INTECONT can be parameterized using the INTECONT control unit or the
EasyServe tool.
The parameter description holds for either system.
Note
If you operate your INTECONT units on a local sub-network with specific network
card, we suggest to set the PC network adapter to the following values:
IP address: 192.168.240.254
Net mask: 255.255.255.0
Gateway: 192.168.240.0
INTECONT 1-n: 192.168.240.x wo x=1-n
Always use unique IP addresses. Ask your system administrator for available
addresses.
The network parameterization described above can be checked using the Scanner
module or the CHIP tool of Messrs. BECK accessible using program path …\ Modbus-
TCP\chiptool\chiptool.exe.
Scanner and Chip tool acquire all BECK chips located in network via UDP broadcast
and supply current settings in tabulated form.
You can also check network parameters using the PING command available on any
PC, e.g. “ping 192.168.240.1”
If check is successful, reponse time of the final unit is displayed.
In the Ethernet network, all stations are clearly identified by their IP addresses.
Therefore the Modbus slave address can always be set to value 1.
FC [dec] Meaning
1 Bitwise re-reading of control information (one/multiple bits)
2 Bitwise re-reading of status information (one/multiple bits)
3 Wordwise (re)reading of setpoints, measurement, LONG and parameter
values (one/multiple words)
4 Wordwise reading of status information (one/multiple words)
5 Bitwise (re)setting of control information (always 1 bit)
6 Wordwise writing of control bits or setpoints (always 1 data word)
8 Diagnosis (sub-codes 0 and 1 only)
15 Bitwise writing of control information (one/(multiple bits)
16 Wordwise writing of commands (one/multiple data words)
23 Wordwise writing and simultaneous reading of data (one/multiple data
words)
With Modbus/TCP, the transmission is protected by the safety measures of the TCP
layer.
Only error codes 01 to 03 are used. Upon CRC error, no reponse is sent.
All errors described below are comprised in system in the form of general error
message “Data Link Host“. This message includes the timeout.
Transmission starts with MSB. Setpoints and measurement values are transferred in
the IEEE float format (IEEE754, 32 bits). All control information and statusses are
represented in form of a binary signal using the 8 data bits of each character. In
addition, all control and status information can be treated as single bit information.
Every cyclic data segment includes values of the same type. The addresses of the
data within a segment are consecutively added. The data of a segment can be read or
written using a single message.
5.5.7 Parameters
All parameters can be read and written. In contrast to cyclic values, however, only one
parameter per message can be processed. Transmission requires the parameter ID
unique throughout the system. For some significant parameters of scale type VLW,
these IDs can be found in the list of fieldbus data. For residual parameters, EasyServe
can prepare a list complete with IDs.
Note: Menu item “EXTRAS-OPTIONS-PARAMETERS-Print SysID” lets you activate
printout of IDs to be used for data address of the Modbus protocol. Please note that
special knowledge is required to edit the selection parameters. Floating point and/or
integer values can be read and written without any problems. The data formats
correspond to those of the cyclic values.
Note:
Parameters preset via fieldbus are accepted only if parameter mode is not active at
the same time.
P = Preset
L = Read
R = Re-read
15 Command P Bit
5 Command P Bit
1 Command RR Bit
16 Command P Word
6 Command P Word
3 Command RR Word
2 STATUS R Bit
4 STATUS R Word
3 STATUS R Word
Note
In many cases, the host system must add a so-called segment address (depending
on function code) to the described data address. Furthermore, the data address must
be incremented by 1 since the Modbus protocol’s register addresses start from 1.
So the data address is configured like this:
Data address = segment address + INTECONTaddress + 1.
The following lines show the construction of the Modbus/TCP messages. The first
column represents the message from bus Master to scale; the second, the scale
response.
Data to scale Scale response Meaning
00 00 00 00 00 06 00 00 00 00 00 06 Start scale (single-bit command)
01 05 0140 ff00 01 05 0140 ff00
00 00 00 00 00 06 00 00 00 00 00 06 Stop scale (single-bit command)
01 05 0141 ff00 01 05 0141 ff00
00 00 00 00 00 06 00 00 00 00 00 06 Reset counter 1 (preset word)
01 06 0140 0040 01 06 0140 0040
00 00 00 00 00 06 00 00 00 00 00 0B Read 4 words of status information
01 03 02F0 0004 01 03 08 xx xx xx xx xx xx xx xx xx = data, cc = CRC16
00 00 00 00 00 06 00 00 00 00 00 07 Read parameter (nominal feed rate,
01 03 1082 0002 01 03 04 42C8 0000
ID=1082 (hex), value = 100))
00 00 00 00 00 0B 00 00 00 00 00 06 Write parameter (value =163.34)
01 10 1082 0002 04 4323 5678 01 10 1082 0002
If data from various segments are used (s. Fieldbus Data), every segment needs
at least one message.
Set correct byte sequence for values in the IEEE and LONG formats.
Maximum admissible message length is 256 bytes including header and trailor
bytes.
If you have activated (selected) one of the eligible fieldbus modules, any malfunction
is reported by event message "Host Data Link (S9) provided that message is assigned
an event class other than IG(NORE). Message is output on display and EasyServe. If
only the display is available, continue reading from next chapter. The EasyServe tool
provides further information on error diagnosis.
Note
An internal communication fault (fieldbus card – INTECONT main board) produces a
timeout on fieldbus Master. To remove, restart your INTECONT.
Designed as general message for any fieldbus connection faults, this message reports
the following errors:
Different station address on Master and scale
Cable connection between fieldbus module and base board faulty
Fieldbus cable defective or improperly connected; for proper connection, see
“Fieldbus Hardware“ item.
Selected protocol type does not correspond to add-on card. Change
parameterization or exchange module.
Timeout parameter value too small. Change scale parameterization.
Inadmissible ID (data address) detected in Master -> scale message.
The representation of cyclic user data for all protocols is explained at the “Fieldbus
Data“ item.
Note
To be able to watch the data exchange between a fieldbus client and the Ethernet
module, perform a new download using the following Loader settings:
When download is complete, start Telnet. The Telnet window lets you see data
exchanged via fieldbus and store them in a LOG file (see Telnet: File Menu).
Checkbox “Other“ is reserved for internal outputs.
Tick checkbox “Log-File“, and you can record all connection attempts in a
Connect.log file on the Ethernet chip.
Outputs use the following form:
The Application Data directory offers for every scale type a configuration file named
TRANSFER.CFG (path …\CUSTOMER_xxx) that lets you effect the following settings:
Configure internal interface
Determine timeout for fieldbus interfaces
For every setting option, the file offers an individual section as shown below:
[SerialCommunication]
1=720,1712,1 ;Status
2=1872,1994,1 ;Measure1
3=2432,2478,1 ;Long
4=1996,2118,1 ;Measure2
[ClientConnection]
1=60 ; Timeout in sec
As a rule: space and comment lines (preceding semicolon) are admitted anywhere.
Interpreted is the part from equals sign through line end, or start of comment.
Line numbering must be kept as shown above.
Only the data supplied by the scale can influence configuration.
Note:
The TIMEOUT parameter value on scale only determines the period after which
external timeouts are indicated. In addition, scale uses this value to monitor the
internal communication beween scale and VET020V.
Every connected fieldbus client has the right to read server data. By definition, the first
client sending a valid presettings package is granted the right to write. For assignment
of access rights, the data included in presettings package are irrelevant. Once the
access right is assigned, write attempts of residual cients are responded with error
package ILLEGAL FUNCTION: Code 01. Function code 23 (write and read in a cycle)
behaves so that only the reading function is executed. The right to write can be
reassigned only after abort of connection.
When fieldbus channels are monitored for error message and safety cut-off of scale,
only the channel with WRITE rights is monitored. Communication errors are displayed
only for this very channel. If the event class for “Communication Error Host“ is set to
ALARM, scale cuts off and all static command bits go to the safe state.
Exception: if no fieldbus channel has been granted presetting rights yet and fieldbus
is already activated, “Communication Error Host“ is displayed. In this case, error
message can be suppressed only by setting the event class to IGNORE.
The WEB SERVER mode uses the HTTP protocol. Using a standard browser (e.g.
Microsoft Internet Explorer), optional INTECONT process data and parameters can
be displayed.
The MultiServer Loader program automatically loads the specific device files onto the
Ethernet module. These files can be started from the start page using the references.
All INTECONT standard files are stored write-protected in the
“…\Modbus-TCP\Conti\Intecont\…“ directory.
To ensure peak functionality of your system, never change these files. If you wish to
create further files (WEB pages), use the CUSTOMER_INTECONT directory. To this
directory, the following rules apply:
Ensure that all names of user-defined configuration files designed to appear as links
on the device start page start with CU_ (CUstomer). The residual 5 name digits can
be assigned at will (e.g. CU_STAT1.TXT). File extension TXT is a must.
Stylesheet file DATA.XSL ensures desired representation of values provided that
WEB-CODING parameter is set to XML. To change the form of data representation,
create a stylesheet file using the name of the configuration file and add data
extension XSL. If no special stylesheet file is available, standard stylesheet
DATA.XSL is used. Store stylesheet file on the Customer_INTECONT directory.
For construction of configuration files, see separate item.
If all files are loaded and the IP address has been entered into the brower’s address
field, e.g. http://192.168.240.11, start page is displayed and comprises:
in 2nd line: information assigned by the commissioner, i.e. device name, device
family, designation of WEB page (common or scale-type specific page, e.g. VDB)
reference to actual values corresponding to the input in line 2
if necessary, reference to user-defined WEB pages (smaller letters, starting with
CU_)
reference to chip configuration page
link to information page, display of current program version and settings at the
time of download
The start page already references the standard and user-defined configuration files.
To be able to use the additional capabilities of the WEB server, the present item
describes the manual browser inputs.
The following codes are used:
Call without arguments IP/data (data refers to the point of entry into the CGI
table and is therefore invariable).
Standard call implicitly searches for scale-type specific
configuration file DCVxxyy.TXT and tries to represent
data using stylesheet file DATA.XSL (or HTML file).
Call with arguments Arguments are separated from one another using a
question mark:
IP/data?abc?NoXSL (argument means:
configuration file ”abc.txt”, no stylesheet)
The table below shows some examples for correct and faulty (grey) calls.
Note:
Abort cyclic browser outputs by (repeated) operation of ESC key.
Key F5 (Update) lets you resume cyclic processing.
Shortcut ALT-Pos1 lets you go to the browser start page.
Please note that browser stores some files in the TEMPORARY INTERNET
FILES directory. In case of doubt, delete these files before going on.
The names of configuration and stylesheet files should meet the 8+3 name
convention.
The information on point 1 are comprised in the DATA.TXT file. In the case of the
above page, the data are represented as follows (the line numbers are not included in
file; they merely serve as reference for the explanation of the contents):
Changes made to this file automatically acquire all language-dependent and national
particularities (e.g. different units). If NON-SI units are used, adapt corresponding
parameter accordingly. If NON-SI is selected, the “t” unit is automatically converted
into Amercian short tons.
General
All lines starting with a semicolon are comment lines.
Separate all line inputs by comma.
4 blank fields generate a separator line (e.g. lines 4 and 5).
Enter special characters see appendix:
The WEB server can process the following information:
Program automatically recognizes umlauts and special characters and translates
them into respective HTML codes.
An XML file with current values is generated by interpretation of the DATA.TXT file.
Notes
The EVENT and EVTEXT data types are useful only in conjunction with ID 610
(hex.)
The PCONF, PEVCLASS and PSELECT types are reserved for the described
parameter types. The EasyServe menu item FILE-PRINT-PAGE VIEW lets you
find the required IDs in no time.
Depending on the input in the first headline of the configuration file, the Webserver
can display the IP address or the device name.
To display the XML file generated by the Ethernet module, you need a browser
capable of interpreting XML, e.g. IE5 plus option pack and IE6 (on standard). Other
potentially suitable browsers have not been explored. To update your Internet Explorer
Version 5, a service pack is available (s. “For Further Reading“ item).
To represent the data of the XML file, the browser still needs an XSL file (style sheet)
that informs him HOW the data are to be displayed. The file supplied readies the data
in form of a table. However, any other representation including backgrounds, etc. can
also be generated. If need be, load further graphics files into the Ethernet module.
The XML file printout below shows the keywords (TP, XVal, XNam and XDim) used to
prepare an own style sheet. The header lines feature HD in place of ID with data lines.
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="data.xsl"?>
<Values>
<HD No="0001" TP="HEAD" XVal="IP" XNam=" INTECONT PLUS VBW20600-01 2413"
XDim="192.168.240.3"> </HD>
<HD No="0001" TP="HEAD" XVal="Value" XNam="Name" XDim="Unit"> </HD>
<ID No=""> </ID>
<ID No=""> </ID>
<ID No="0752" TP="BOOL" XVal="NO" XNam="Scale On"> </ID>
<ID No="0761" TP="BOOL" XVal="NO" XNam="Keyboard Mode"> </ID>
<ID No="0763" TP="BOOL" XVal="NO" XNam="Simulation aktive"> </ID>
<ID No="0768" TP="BOOL" XVal="NO" XNam="Batch Selected"> </ID>
<ID No="1552" TP="BOOL" XVal="   " XNam="Most Significant Event"> </ID>
<ID No=""> </ID>
<ID No=""> </ID>
<ID No="1872" TP="FLOAT" XVal=" 48.56" XNam="Feedrate" XDim="kg/h"> </ID>
<ID No="1942" TP="FLOAT" XVal=" 0.00" XNam="Relative Feed Rate" XDim="%"> </ID>
<ID No="1880" TP="FLOAT" XVal=" 0.00" XNam="Belt Load" XDim="kg/m"> </ID>
<ID No="1944" TP="FLOAT" XVal=" 0.00" XNam="Relative Belt Load" XDim="%"> </ID>
<ID No="1884" TP="FLOAT" XVal=" 0.00" XNam="Speed" XDim="m/s"> </ID>
<ID No="1874" TP="FLOAT" XVal=" 0.00" XNam="Totalizer 1" XDim="kg"> </ID>
<ID No="1876" TP="FLOAT" XVal=" 0.00" XNam=" Totalizer 2" XDim="kg"> </ID>
<ID No="1878" TP="FLOAT" XVal=" 0.00" XNam=" Totalizer 3" XDim="kg"> </ID>
<ID No="1948" TP="FLOAT" XVal=" 0.00" XNam="Batch Setpoint" XDim="kg"> </ID>
<ID No="1898" TP="FLOAT" XVal=" 0.00" XNam="Batch Res. Amount" XDim="kg"> </ID>
<ID No="1896" TP="FLOAT" XVal=" 0.00" XNam="Batch Feed Rate" XDim="kg"> </ID>
<ID No="2052" TP="FLOAT" XVal=" 0.00" XNam="Current Batch-No." XDim=" "> </ID>
</Values>
Download the standard XSL file from the EtherNet module onto your PC via UPLOAD
command.
While XML data and their representation are separate and processing takes place in
the browser, a HTML page is completely generated in module and only displayed by
the browser.
The advantage is that the selected tabulated form can be represented without any
problems by virtually any browser.
X20
Pin Meaning
1 TX+
2 TX-
3 RX+
4 --
5 --
6 RX-
7 --
8 PE
Features
Separation Yes
Voltage supply 5V DC internally
Current supply max. 500mA
Connector RJ45
Note
Any external document, update and sample can be downloaded from the Schenck
Process Service Page (www.schenck-process.de, Path: Service-Download-Bus
Systems-TCP).
6 Appendix
The Group