Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Profibus / Profinet
Interface description
Profibus / Profinet
Edition: 2013-11-28
Interface description
Profibus / Profinet
2013-11-28
SB-EN-245
Material number 1892890
Chapter 4 Logs
2. Software installation for the Hilscher cifX card .......... 5-4
2.1 Installation of the cifX device driver ................................. 5-4
The activation of the TruMark series is done via the cifX technology
1
and by using TLV commands and/or the bit interface.
Technology
PC cards for real-time Ethernet and field bus on the basis
of Hilscher cifX technology
Support field bus logs
PROFIBUS DP
PROFIBUS DPV1:ÆMSAC_C1 services:
DS_Read/DS_Write
Support logs Real-time Ethernet 2
ProfiNet IO
PCI cards
cifX 50-DP(M/S): PCI card for ProfiBus DP
cifX 50-RE: PCI card for real-time Ethernet log
1
cifX communication for the PC-based automation, source: www.Hilscher.com
2
"RealTime ethernet" from the Hilscher company is used to differentiate from
the field bus variant. TRUMPF ensures no real time application.
1.4 Accessories
The Process Data Interface (PDI) for the TruMark series is divided
into two areas with a maximum of six modules:
Area for the control of the TruMark series via bit information.
– These modules always must be configured:
Identificatio Length
Module type Contents
n (byte)
PBIM0 Laser/procedure status
2 Word Input
PBIM1 (consistent) Digital interfaces - inputs E1-
E16/E17-E24
4
PBOM0 Laser/sequence control
2 Word Output
PBOM1 (consistent) Digital interface - output A1-
A16/RFU
Tab. 1-2
Area for the control of the TruMark series via TLV command.
– These modules only have to be configured if the Profibus
DP is used for this:
Identificatio Length
Module type Contents
n (byte)
PBIM2 64 Word Input Reception buffer for TLV
commands
128
PBOM2 64 Word Output Transmit buffer for TLV
commands
Tab. 1-1
Diagram for access to the process data
interface
Fig. 1891
User interface
1. Scope of functions of the interface ............................. 2-3
The menu bar contains the two main menu names 1 File and
2 Extras. They are structured as follows:
1 File
2 Extras
Status (LED is gray) The slave card waits until it can change to the "Data
exchange active" status. No data is exchanged with the
controlling master.
Reason
The slave card waits until a connect connection with the
assigned master has been established.
Remedy
Check the following points and perform a reset of the two
participants:
• Has the master been started?
• Is the slave correctly connected to the respective bus?
• Has the slave received the correct bus address or correct
device names?
• Do the configurations of the master and the slave match?
Status (LED is light green) The slave card is in its normal operating status. A data
exchange is taking place with the assigned controlling
master.
Status (LED is yellow) The slave card performs a reset. No data exchange is taking
place with the assigned controlling master.
Reason
You have caused a reset of the slave card by either by the
command sequence 2 Extras > 3 Reset device or by
changing the configuration.
Error
Status (LED is red) The interface is waiting until a previously reported error has
been eliminated. No data exchange is taking place with the
assigned controlling master.
Reason
The interface has detected an error (for example, the slave
card, device drivers, or the manufacturer's CifX driver). The
exact details can be found in the displayed error message.
Remedy
Correct the cause of error and perform a reset of the slave
card by using the command sequence 2 Extras > 3 Reset
device.
Process data
In the Process data tab, the current data of the process data
interface is recorded with the configured modules (also see
chapter 3, "Process - Interface") for DP communication.
3.1 PROFIBUS
General parameter In the bottom part of the Profibus -> Configuration dialog box,
there are three buttons with the following meaning:
OK: The configuration dialog box is complete and
modifications will be saved.
Cancel: The configuration dialog box will be ended and
modifications discarded.
Reset: The configuration parameters will be set to their
default values.
The possible settings in the General tab are listed in the following
table.
Parameter Selection options Description
Card selection Automatic selection • The installed PROFIBUS device card with the
lowest card number is used.
Card number • Only visible when "Automatic selection" is not
selected.
• Card number of the installed PROFIBUS slave
card
• Value range: 0 to 3
Error output Normal • A general error number is displayed for errors that
are caused by the PROFIBUS slave card.
Detailed • The manufacturer-specific error number is
displayed for errors that are caused by the
PROFIBUS slave card.
Word module handling Swap low/high byte • Low and high bytes of the Word module will be
swapped after receipt.
Master/slave Compare configuration • The configuration received from the master is
configuration compared with the slave configuration.
If there is a difference, the PROFIBUS interface
will go into error status.
TLV response handling Synchronous • VMC triggers the sending of
"MSAC_C1_Read_Res" when the TLV response
is received.
Polling • Sending "MSAC_C1_Read_Res" when the TLV
response is received must be poled from the
PROFIBUS master (see chapter 4 "Control via
PROFIBUS-DPV1").
Tab. 1
The possible settings in the Profibus tab are listed in the following
table.
Parameter Selection options Description
Communication mode DP mode 1 • Control with TLV commands via PROFIBUS-DP.
• In addition, activation with a bit interface is
possible via PROFIBUS DP.
• For this, the configured modules PBIM2 and
PBOM2 are used.
(Also see the log description)
• The module size from PBIM2 and PBOM2 can be
selected using the "Module size PBIM2 / PBOM2"
setting.
20 Word
Miscellaneous Bus address of the slave • The PROFIBUS address of the PROFIBUS device
card can be configured here.
• Value range: 1 to 125
DPV1 data size • Only visible when "DPV mode 1" has been
selected
as communication mode.
• The maximum number of data bytes of a DPV1
message can be configured here.
• Value range: 4 to 240
Tab. 2
General parameter In the bottom part of the ProfiNet -> Configuration dialog box,
there are three buttons with the following meaning:
OK: The configuration dialog box is complete and
modifications will be saved.
Cancel: The configuration dialog box will be ended and
modifications discarded.
Reset: The configuration parameters will be set to their
default values.
The possible settings in the General tab are listed in the following
table.
Parameter Selection options Description
Card selection Automatic selection • The installed slave card with the lowest card
number is used.
Card number Not supported at the moment
Error output Normal • A general error number is displayed for errors that
are caused by the slave card.
Detailed • The manufacturer-specific error number is
displayed for errors that are caused by the slave
card.
Word module handling Swap low/high byte • Low and high bytes of the Word module will be
swapped after receipt.
Tab. 3
Fig. 1949
The possible settings in the ProfiNet tab are listed in the following
table.
Tab. 4
4.1 PROFIBUS
The dialog box for the diagnostics is divided into three tabs which
are described below.
Device tab
Device information
Length
Identification Module type Contents
[byte]
PBIM2 nx2 n Word Input Reception buffer for TLV commands
PBOM2 nx2 n Word Output Transmit buffer for TLV commands
PBIM2, PBOIM2 of the PDI Tab. 2
Structure of the PDI for In this mode, the PBIM2 and PBOM2 modules are also needed
"DP mode" had must therefore be configured.
This results in the following structure for the process data interface.
Module Identificatio
Identification Contents Module type
no. n bytes
1 PBIM0 Laser/procedure status 0xD1
2 PBIM1 Digital inputs E1-E16 / E17-E24 2 Word Input (consistent) 0xD1
3 PBIM2 Reception buffer for TLV commands n Word Input 0x40, ZZ
4 PBOM0 Laser/sequence control 0xE1
5 PBOM1 Digital outputs A1-A16 / RFU 2 Word Output (consistent) 0xE1
6 PBOM2 Transmit buffer for TLV commands n Word Output 0x40, ZZ
Process data interface for "DP mode 1" Tab. 4
n = 20 / 32 / 64
(depending on the configured module size for PBIM2 or PBOM2)
n ->ZZ = 0x53/0x5F/0x7F
20 0 x 53
32 0 x 5F
64 0 x 7F
(depending on the configured module size for PBIM2 or PBOM2)
This module is used for the status query of the "TruMark series"
and is defined as follows:
: .....: :
This module is used for the status query of the inputs at the digital
interface of the "TruMark series" and is defined as follows:
1.1 E2
1.2 E3
1.3 E4
1.4 E5 These inputs are used by TruTops Mark and are therefore
not freely available.
1.5 E6
1.6 E7
1.7 E8
1.8 E9
1.9 E10
1.13 E14
1.14 E15
See inputs E1 to E9
1.15 E16
1.16 E17
1.17 E18
1.18 E19 These inputs are freely available.
1.19 E20
1.20 E21 0 -> Input, X low level
1.21 E22 1 -> Input, X high level
1.22 E23
1.23 E24
1.24 RFU Reserved for future use
: ...: :
1.31 RFU Reserved for future use
Definition for bit 0 to bit 31 from PBIM1 Tab. 6
This module is used as reception buffer for TLV commands for TLV
communication with the "TruMark series" and is defined as follows:
This module is used for the control of the "TruMark series" and is
defined as follows:
This module is used for the control of the outputs at the digital
interface of the "TruMark series" and is defined as follows:
This module is used as transmit buffer for TLV commands for TLV
communication via PROFIBUS DP with the "TruMark series" and is
defined as follows:
Logs
1. Introduction .................................................................... 4-3
Communication matrix ................................................ 4-3
Communication matrix
Concept for the actuation of the TruMark series via Fig. 1955
field bus DP with TLV sequences
1
also see the communication matrix
Since 4 byte is required for both the TLV DAY and the TLV
LENGTH, the following condition results for the TLV
commands:
Number of user data sets in the TLV VALUE <= n byte
– TruTops Mark: n = 30 byte / 54 byte / 118 byte
(depending on the configured module size for PBIM2
or PBOM2)
2
The master/slave differentiation applies to all products (also see the
communication matrix)
2. Software installation for the Hilscher cifX card .......... 5-4
2.1 Installation of the cifX device driver ................................. 5-4
Note
The Hilscher cifX card from TRUMPF is installed in the
integrated control computer of the TruMark Series 1000
because the control computer is not accessible. The
following description therefore only applies to the following
series.
Note
The hardware in use currently does not use any other cards.
Fig.1970
Fig. 1971
Agree to the conditions for the licence
agreement and click on the "Install" button.
Fig. 1972
Fig. 1973
Note
If you make settings that deviate from the TRUMPF
specifications, you will receive no support for any inquiries.
3.1 General
Detail zu 2
3 2 1
Fig. 1976
Before the installation of the cifX card, you have to set the rotary
switch as follows:
• To 5 for ProfiNet (corresponds to slot 5, channel 0)
• To 6 for ProfiBus (corresponds to slot 6, channel 0)
2 1
Fig. 1977
1 2
1 Control computer in the supply unit for the TruMark 3000/5000 series
2 Installation position of the cifX card
Fig. 1974
1 2
1 Control computer in the supply unit for the TruMark 6000 series
2 Installation position of the cifX card
Fig. 1975
Prerequisite
Covers at the supply unit have been removed so that there is
access for the installation of the cifX card.
4.1 ProfiBus
Fig. 1979
Also see the Hilscher document "cifX
Device Driver setting and configuring".
Fig. 1985
The following window is shown.
Fig. 1986
6.
Fig. 1987
The following window is shown.
Fig. 1983
2. Confirm the message with "Yes" (Ja).
By confirming with "Yes," the data will be applied and saved.
Fig. 1984
This area must remain empty because it is
intended for the customer (master).
Fig. 1979
Also see the Hilscher document "cifX Device Driver setting
and configuring".
3
2
Fig. 1980
Fig. 1981
6.
Fig. 1982
The following message will be shown.
Fig. 1983
2. Confirm the message with "Yes".
Fig. 1984
This area must remain empty
because it is intended for the customer (controller).
TruTops Mark "Options" for 1. Activate the Profibus using the activation code in
Profibus "Options" at TruTops Mark.
Fig. 2000
Fig. 1994
1 Click on F4 configuration
Fig. 1996
If you have established the Profibus communication (see
next page), proceed to "F7 interface configuration". To do
this, you have to continue to section 5.1 "Configure profibus".
Fig. 1995
or
Fig. 1988
Fig. 1989
Fig. 1990
Now select "F7 Configure interface" and proceed to section
5.2 "Configure ProfiNet".
Fig. 1997
Fig. 1998
When leaving the menu with "OK", the Profibus interface will
be configured.
Fig. 1999
Note
The status remains gray until the card is connected with the
SubD- 9-poled cable. After that, the status LED switches to
green.
Fig. 1949
Fig. 1993
Note
The status remains gray until the card is connected with the
Ethernet cable. After that, the status LED switches to green.