Professional Documents
Culture Documents
TIA Portal: Electronic Fuse 787-166x/0000-0080 With I/O-Link Interface
TIA Portal: Electronic Fuse 787-166x/0000-0080 With I/O-Link Interface
TIA Portal
1.0.0
2 TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
Hansastraße 27
D-32423 Minden
E-Mail: info@wago.com
Web: www.wago.com
Technical Support
E-Mail: support@wago.com
Every conceivable measure has been taken to ensure the accuracy and
completeness of this documentation. However, as errors can never be fully
excluded, we always appreciate any information or suggestions for improving the
documentation.
E-Mail: documentation@wago.com
We wish to point out that the software and hardware terms as well as the
trademarks of companies used and/or mentioned in the present manual are
generally protected by trademark or patent.
Application Note
1.0.0
TIA Portal Table of Contents 3
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
Table of Contents
1 Notes about this Documentation ............................................................. 4
1.1 Copyright ................................................................................................ 4
1.1 Symbols ................................................................................................. 4
1.2 Number Notation .................................................................................... 6
1.3 Font Conventions ................................................................................... 6
1.4 Legal Bases............................................................................................ 7
1.4.1 Subject to Changes ............................................................................ 7
1.4.2 Personal Qualifications ...................................................................... 7
1.4.3 Limitation of Liability ........................................................................... 7
1.5 Revision History...................................................................................... 8
2 Material Used............................................................................................. 9
2.1 Devices .................................................................................................. 9
2.2 Tools ...................................................................................................... 9
3 System configuration ............................................................................. 10
3.1 PROFINET ........................................................................................... 10
3.2 PROFIBUS ........................................................................................... 13
4 Function Blocks ...................................................................................... 16
4.1 FB1 FB IOL_CALL................................................................................ 16
4.2 FB50001 IO_LINK_DEVICE ................................................................. 18
4.3 Fuse_IOL ............................................................................................. 20
4.4 Wago_Fuse_IO_Link ............................................................................ 23
5 Examples ................................................................................................. 25
5.1 Siemens I/O-Link Master: Example ...................................................... 25
5.1.1 Configuring the I/O-Link Masters ...................................................... 25
5.1.2 “Fuse_IOL” Function Block .............................................................. 26
5.1.3 Visualization ..................................................................................... 29
5.1.4 The Example Project ........................................................................ 31
5.2 WAGO I/O-Link Master: Example ......................................................... 34
5.2.1 “Fuse_IOL” Function Block .............................................................. 34
5.2.2 “Wago_Fuse_IO_Link” Function Block ............................................. 35
5.2.3 Visualization ..................................................................................... 36
5.2.4 The Example Project ........................................................................ 38
List of Figures .................................................................................................. 41
List of Tables .................................................................................................... 42
Application Note
1.0.0
4 Notes about this Documentation TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
1.1 Symbols
Personal Injury!
Indicates a high-risk, imminently hazardous situation which, if not avoided, will
result in death or serious injury.
Personal Injury!
Indicates a moderate-risk, potentially hazardous situation which, if not avoided,
could result in death or serious injury.
Personal Injury!
Indicates a low-risk, potentially hazardous situation which, if not avoided, may
result in minor or moderate injury.
Damage to Property!
Indicates a potentially hazardous situation which, if not avoided, may result in
damage to property.
Application Note
1.0.0
TIA Portal Notes about this Documentation 5
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
Important Note!
Indicates a potential malfunction which, if not avoided, however, will not result in
damage to property.
Additional Information:
Refers to additional information which is not an integral part of this
documentation (e.g., the Internet).
Application Note
1.0.0
6 Notes about this Documentation TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
Application Note
1.0.0
TIA Portal Notes about this Documentation 7
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
Moreover, the persons cited here must also be familiar with all of the products
cited in this document, along with the operating instructions. They must also be
capable of correctly predicting any hazards which may not arise until the products
are combined.
Application Note
1.0.0
8 Notes about this Documentation TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
WAGO Kontakttechnik GmbH & Co. KG is not liable for any actual
implementation of the concepts.
Application Note
1.0.0
TIA Portal Material Used 9
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
2 Material Used
2.1 Devices
Table 4: Devices
Supplier Quantity Designation Item No. Version*
WAGO 1 PROFINET IO 750-375 FW05
advanced fieldbus HW01
coupler
WAGO 1 PROFIBUS DP/V1 750-333 FW17
fieldbus coupler
WAGO 1 I/O-Link Master 750-657
SIEMENS 1 I/O-Link Master, CM 4x 6ES7137-
I/O Link 6BD00-0CA0
SIEMENS 1 CPU 1511-1 PN 6ETIA 511- V1.1
1AK00-0AB0
WAGO 1 Electronic fuse 787- >=2.39
1668/0000-
0080
* This version was used when the Application Notes were created.
2.2 Tools
Table 5: Tools
Designation Item No. Version*
TIA Portal V15 SP1
* This version was used when the Application Notes were created.
Application Note
1.0.0
10 System configuration TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
3 System configuration
3.1 PROFINET
The PROFINET fieldbus coupler used can be added via Catalog > Other FIELD
DEVICES > PROFINET IO > I/O > WAGO-I/O-SYSTEM 750/753.
Application Note
1.0.0
TIA Portal System configuration 11
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
The I/O-Link Master is added in the device view of the fieldbus coupler. The
process image input and output addresses can be set in the I/O module properties.
Application Note
1.0.0
12 System configuration TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
In the I/O module assembly parameters, the ports are selected, ->I/O-Link, the
size of the input and output process images determined Output PA ->3 and Input
PA ->5 and the fragmentation ->deactivated.
Application Note
1.0.0
TIA Portal System configuration 13
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
3.2 PROFIBUS
The PROFINET fieldbus coupler used can be added via Catalog > Other FIELD
DEVICES > PROFIBUS DP > I/O > WAGO-I/O-SYSTEM 750/753.
Application Note
1.0.0
14 System configuration TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
The I/O-Link Master is added in the device view of the fieldbus coupler. The
process image input and output addresses can be set in the I/O module properties.
Application Note
1.0.0
TIA Portal System configuration 15
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
In the I/O module assembly parameters, the ports are selected, ->I/O-Link, the
size of the input and output process images determined Output PA ->3 and Input
PA ->5 and the fragmentation ->locked.
Application Note
1.0.0
16 Function Blocks TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
4 Function Blocks
Application Note
1.0.0
TIA Portal Function Blocks 17
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
Graphical Illustration:
Function Description:
With this Siemens FB (function block), it is possible to perform a standard I/O call. This block
permits access to the ISDU dataset of an I/O-link device.
Example for reading the manufacturer:
Port=4
IOL_Index=16
IOL_Subindex=0
The answer is: WAGO Kontakttechnik GmbH Co. KG
Application Note
1.0.0
18 Function Blocks TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
Application Note
1.0.0
TIA Portal Function Blocks 19
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
Graphical Illustration:
Function Description:
With this Siemens FB, it is possible to perform a standard IO call. This block permits access
to the ISDU dataset of an I/O-link device.
Example for reading the manufacturer:
Port=1
IOL_Index=16
IOL_Subindex=0
The answer is: WAGO Kontakttechnik GmbH Co. KG
Application Note
1.0.0
20 Function Blocks TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
4.3 Fuse_IOL
Table 8: FUSE_IOL
Function Blocks for TIA
Category:
Name: Fuse_IOL
Type: Function Function block X Program
Name of Library:
Applicable to: S7-1500
Application Note
1.0.0
TIA Portal Function Blocks 21
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
Graphical Illustration:
Application Note
1.0.0
22 Function Blocks TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
Function Description:
This block enables control of electric fuses type 787-1668/0000-0080 and 787-1664/0000-
0080.
Trip current can be specified for each channel. To do so, the corresponding channel must be
in the operating mode “RemoteControl.”
Also, if the channel was not switched off locally, each channel can be specifically switched
on or off. If a channel has tripped, it can be switched on again.
In addition, the current at any given time can be output.
The block “FB50001 IO_LINK_DEVICE” is used internally, so the ID and CAP entries must
be preset accordingly. Thus, this block cannot be used with a series 300 or 400 CPU.
The electronic fuse delivers five bytes input data and requires three bytes output data. This
data must be applied at the input “aDeviceInData” or the output “aDeviceOutData.” Where
this information from the respective I/O-Link Master is provided from is to be determined in
specific association with the respective configuration.
The signals needed for the visualization are provided at the in-/output “typVisu.” It must be
used in the data block “IOLink_Fuse” or “IOLink_Fuse_Siemens.”
Application Note
1.0.0
TIA Portal Function Blocks 23
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
4.4 Wago_Fuse_IO_Link
Table 9: Wago_Fuse_IO_Link
Function Blocks for TIA
Category:
Name: Wago_Fuse_IO_Link
Type: Function Function block X Program
Name of Library:
Applicable to: S7-1500
Graphical Illustration:
Application Note
1.0.0
24 Function Blocks TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
Function Description:
Additional Information:
This block can only be used for the WAGO-I/O-Link Master.
The block enables control of up to four electric fuses type 787-1668/0000-0080 and 787-
1664/0000-0080.
The various fuses and channels are controlled through the data block “IOLink_Fuse.”
Trip current can be specified for each channel. To do so, the corresponding channel must be
in the operating mode “RemoteControl.”
Also, if the channel was not switched off locally, each channel can be specifically switched
on or off. If a channel has tripped, it can be switched on again.
In addition, the current at any given time can be output.
The block “FB50001 IO_LINK_DEVICE” is used internally, so the ID and CAP entries must
be preset accordingly. Thus, this block cannot be used with a series 300 or 400 CPU.
Each channel of the I/O-Link Master must be set to five bytes input, two bytes output and no
fragmentation.
The signals needed for the visualization are provided at the in-/output “typVisu.” The data
block “IOLink_Fuse” or “IOLink_Fuse_Siemens” must be used.
Application Note
1.0.0
TIA Portal Examples 25
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
5 Examples
5.1 Siemens I/O-Link Master: Example
The file IOL_V1_2_RC_Fuse_v16_Siemens.zap15 provides a TIA V15 archive.
The I/O-Link Master is configured without using the S7-PCT software. Thus, the
individual ports are to be set in the following.
The length of the input data for the electronic fuse must be set to “5” and the length
of the output data to “3.” The operating mode for the channel should be “I/O-Link
Autostart.”
The starting address for the inputs and outputs is automatically determined. These
values are important for the programming.
Application Note
1.0.0
26 Examples TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
The input “ID” of the block “Fuse_IOL” needs a hardware address that can be
determined with the block “LOG2MOD.”
Application Note
1.0.0
TIA Portal Examples 27
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
Application Note
1.0.0
28 Examples TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
A connection to the address area of the I/O-Link Master is needed to provide this
block with the data for the corresponding ports.
Figure 15: Connection diagram for the input data of the first channel
Figure 16: Connection diagram for the output data of the first channel
Application Note
1.0.0
TIA Portal Examples 29
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
5.1.3 Visualization
The example project also contains the visualization (HMI_Siemens_IOL_Master).
Either an eight-channel or a four-channel variant can be selected.
“IOLink_Fuse_Siemens” is the basis for data exchange with the PLC program.
Application Note
1.0.0
30 Examples TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
DB8_xxx ->IOLink_Fuse_Siemens.aModule[1].aPort[1].xxx
DB9_xxx ->IOLink_Fuse_Siemens.aModule[1].aPort[2].xxx
DB10_xxx ->IOLink_Fuse_Siemens.aModule[1].aPort[3].xxx
DB11_xxx ->IOLink_Fuse_Siemens.aModule[1].aPort[4].xxx
DB100_xxx ->IOLink_Fuse_Siemens.aModule[1].aPort[1].xxx
DB200_xxx ->IOLink_Fuse_Siemens.aModule[1].aPort[2].xxx
DB300_xxx ->IOLink_Fuse_Siemens.aModule[1].aPort[3].xxx
DB400_xxx ->IOLink_Fuse_Siemens.aModule[1].aPort[4].xxx
Additional Information:
The visualization HMI_3 contains all eight available images. The images for
specific project can be copied starting with this visualization. Each port in the
specific project can only have one image.
IOLink_Fuse_Siemens.aModule[1].aPort[1].xxx
IOLink_Fuse_Siemens.aModule[2].aPort[1].xxx
The visualization project HMI_2 only serves to create the images with the
corresponding variables (there may be more elegant ways to modify the variables).
The images delivered in the example project can be viewed in the HMI simulation
mode.
This requires setting the corresponding image as starting image in the properties
of visualization “HMI_Siemens_IOL_Master”:
Application Note
1.0.0
TIA Portal Examples 31
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
Application Note
1.0.0
32 Examples TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
The variables correspond directly with the designations of the block “Fuse_IOL.”
Application Note
1.0.0
TIA Portal Examples 33
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
Application Note
1.0.0
34 Examples TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
Application Note
1.0.0
TIA Portal Examples 35
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
There is also one more function block; with it, up to four electronic fuses can be
operated.
Additional Information:
It is imperative to use the data block “IOLink_Fuse” with this function block.
The IO-IDs and addresses for the inputs correspond to the inputs as they are
defined for the Siemens Log2Mod; i.e., the settings from the I/O-Link-Masters 750-
657 configuration are to be entered.
In addition, the I/O-Link Master input and output ranges are to be entered at the
inputs “src” and “dst.”
With multiple instancing, more than four electronic fuses can also be used. Each
module requires a corresponding entry in the data block “IOLink_Fuse.”
Application Note
1.0.0
36 Examples TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
The number of I/O-Link Modules (750-657) can be specified by adapting the upper
array limit. The number of possible electronic fuses is increased by a factor of four.
In this example, five I/O-Link Master modules, each with four electronic fuses, are
possible.
5.2.3 Visualization
The example project also contains the visualization (HMI_1). Either an eight-
channel or a four-channel variant can be selected. “IOLink_Fuse” is the basis for
data exchange with the PLC program.
Application Note
1.0.0
TIA Portal Examples 37
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
The following variables are determined in the HMI variant editor:
DB8_xxx ->IOLink_Fuse.aModule[1].aPort[1].xxx
DB9_xxx ->IOLink_Fuse.aModule[1].aPort[2].xxx
DB10_xxx ->IOLink_Fuse.aModule[1].aPort[3].xxx
DB11_xxx ->IOLink_Fuse.aModule[1].aPort[4].xxx
DB100_xxx ->IOLink_Fuse.aModule[1].aPort[1].xxx
DB200_xxx ->IOLink_Fuse.aModule[1].aPort[2].xxx
DB300_xxx ->IOLink_Fuse.aModule[1].aPort[3].xxx
DB400_xxx ->IOLink_Fuse.aModule[1].aPort[4].xxx
Additional Information:
The visualization HMI_3 contains all eight available images. The images for
specific project can be copied starting with this visualization. Each port in the
specific project can only have one image.
The visualization project HMI_2 only serves to create the images with the
corresponding variables (there may be more elegant ways to modify the variables).
The images delivered in the example project can be viewed in the HMI simulation
mode.
This requires setting the corresponding image as starting image in the properties
of visualization “HMI_1”:
Application Note
1.0.0
38 Examples TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
The default setting in the data block “IOLink_Fuse” is set to eight-channel fuses.
With this in mind, the variable
"IOLink_Fuse".aModule[1].aPort[2].xIs4ChannelFuse
must be set with “True.”
If control should not be through the visualization, the data block “IOLink_Fuse”
offers access to all the information.
Application Note
1.0.0
TIA Portal Examples 39
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
The variables correspond directly with the designations of the block “Fuse_IOL.”
Application Note
1.0.0
40 Examples TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
Application Note
1.0.0
TIA Portal List of Figures 41
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
List of Figures
Figure 1: Devices & networks .............................................................................10
Figure 2: Select PROFINET fieldbus coupler .....................................................10
Figure 3: Assign PROFINET coupler ..................................................................11
Figure 4: Process image I/O addresses .............................................................11
Figure 5: Select ports in I/O module assembly parameters ................................12
Figure 6: Networks & devices .............................................................................13
Figure 7: Select PROFIBUS fieldbus coupler .....................................................13
Figure 8: Assign PROFIBUS fieldbus coupler ....................................................14
Figure 9: Process image I/O addresses .............................................................14
Figure 10: Select ports in I/O module assembly parameters...............................15
Figure 11: Set I/O-Link Master ports...................................................................25
Figure 12: I/O-Link Master port configuration .....................................................26
Figure 13: Block "LOG2MOD" ............................................................................26
Figure 14: Call-up block “Fuse_IOL”...................................................................27
Figure 15: Connection diagram for the input data of the first channel .................28
Figure 16: Connection diagram for the output data of the first channel ...............28
Figure 17: Visualization for the eight-channel variant .........................................29
Figure 18: Visualization for the four-channel variant ...........................................29
Figure 19: Set starting image .............................................................................31
Figure 20: Select visualization to start "HMI_Siemens_IOL_Master" ..................31
Figure 21: Information via data block “IOLink_Fuse_Siemens” ...........................32
Figure 22: Replaceable images ..........................................................................33
Figure 23: Connect "HMI_Siemens_IOL_Master" in device overview .................33
Figure 24: Call-up “Fuse_IOL” ............................................................................34
Figure 25: “Wago_Fuse_IO_Link” Function Block ..............................................35
Figure 26: Adapt number of I/O-Modules...........................................................35
Figure 27: Visualization for the eight-channel variant .........................................36
Figure 28: Visualization for the four-channel variant ...........................................36
Figure 29: Set starting image .............................................................................38
Figure 30: Select visualization to start "HMI_1" ..................................................38
Figure 31: Information via data block “IOLink_Fuse” ..........................................39
Figure 32: Replaceable images ..........................................................................40
Application Note
1.0.0
42 List of Tables TIA Portal
a2019004 Electronic fuse 787-166x/0000-0080 with I/O-Link Interface
List of Tables
Table 1: Number Notation ................................................................................... 6
Table 2: Font Conventions .................................................................................. 6
Table 3: Revision History .................................................................................... 8
Table 4: Devices ................................................................................................. 9
Table 5: Tools ..................................................................................................... 9
Table 6: FB1 FB IOL_CALL................................................................................16
Table 7: FB50001 IO_LINK_DEVICE .................................................................18
Table 8: FUSE_IOL ............................................................................................20
Table 9: Wago_Fuse_IO_Link ............................................................................23
Application Note
1.0.0
WAGO Kontakttechnik GmbH & Co. KG
Postfach 2880 • 32385 Minden
Hansastraße 27 • 32423 Minden
Phone: +49 571 887 – 0
Fax: +49 571 887 – 844169
E-Mail: info@wago.com
Internet: www.wago.com