Function blocks for STEP7, overview

Libraries and function blocks for STEP 7
Libraries and function blocks
for STEP 7
Rev. 12
June 05, 2015/CSC
Documentation for
PHOENIX CONTACT function blocks
PHOENIX CONTACT GmbH & Co. KG
Flachsmarktstraße 8
32825 Blomberg, Germany
Libraries and function blocks for STEP 7
1
Contents
1
Contents......................................................................................................................... 2
2
General information ........................................................................................................ 3
3
Libraries ......................................................................................................................... 3
4
Function blocks .............................................................................................................. 5
4.1
AnalogTechnology .................................................................................................. 5
4.2
AsynCom ................................................................................................................ 6
4.3
Bushandling ............................................................................................................ 6
4.4
ComSerial ............................................................................................................... 6
4.5
Drives ...................................................................................................................... 7
4.6
FunctionModules ..................................................................................................... 8
4.7
IBS_DSC................................................................................................................. 9
4.8
Lighting ..................................................................................................................10
4.9
Positioning .............................................................................................................10
4.10
PowerMeasurement ...............................................................................................11
4.11
PN_Dev_Diag ........................................................................................................11
4.12
SBT_V2..................................................................................................................12
4.13
SBT_V3..................................................................................................................13
step7_function_blocks.docx
Seite 2 von 13
Libraries and function blocks for STEP 7
2
General information
In this document you will find an overview of the libraries and function blocks for the
development environment STEP 7 from Siemens. Listed are all libraries with the current
versioning and the associated EXE file. In addition, see the point function blocks a short
description of the functionality of the individual components of each library, the current
version number and the corresponding Phoenix Contact products.
3
Libraries
Name
AnalogTechnology
Description/EXE-files
Version
Function blocks for acquisition and evaluation of analog signals.
1.06
[STEP7 Analog Technology - step_7_analogtechnology.exe]
AsynCom
Function blocks for asynchronous communication for INTERBUS
and Profinet.
1.10
[STEP7 Function blocks for asynchronous communication step_7_asyncom_1_10.exe]
Bushandling
Function block for switching bus devices.
1.06
[STEP7 BusHandling - step_7_bushandling.exe]
ComSerial
Function blocks for implementing communication protocols as well
as activating communication modules.
1.01
[STEP7 Serial Communication - ]
Drives
Function blocks for power-level terminals from Phoenix Contact.
1.04
[STEP7 Drives - step_7_drives_V1_04.exe]
FunctionModules
Function blocks for acquisition, open and closed-loop control
(drivers for position detection terminals for incremental encoders,
terminals with counting function or communication with IO-Link
devices).
1.10
[STEP7 Function Modules - step_7_functionmodules_1_10.exe]
IBS_DSC
Function block used for communication between a Siemens
controller and the INTERBUS termination board IBS S7 300 DSC-T.
1.80
[STEP7 driver software for IBS S7 300 DSC-T and
IBS S7 400 DSC/I-T - step_7_ibs_dsc_1_80.exe]
Lighting
Function blocks for controlling PLD machine lights.
1.00
[STEP7 library for controlling LED machine lights step_7_lighting_1_00.exe]
Positioning
Function blocks for positioning terminals from Phoenix Contact.
1.02
[STEP7 Positioning- step_7_positioning_1_02.exe]
PowerMeasurement
Function blocks for power measurement terminals from Phoenix
Contact.
1.02
[STEP7 Power Measurement step_7_powermeasurement_1_02.exe]
step7_function_blocks.docx
Seite 3 von 13
Libraries and function blocks for STEP 7
PN_Dev_Diag
Function blocks for handling PROFINET.
1.02
[STEP7 PROFINET diagnostics step_7_pn_dev_diag_1_01_20150205.exe]
SBT_V2
Function blocks for a standard controller for startup of the logic
modules and for exchanging data between the safe I/O modules
and the logic module.
1.02
[STEP7 SafetyBridge V2 - step_7_g4_sbt_v2_1_02.exe]
SBT_V3
Function blocks for a standard controller for startup of the logic
modules and for exchanging data between the safe I/O modules
and the logic module.
1.01
[STEP7 SafetyBridge V3 - step_7_sbt_v3_1_01_20150205.exe]
step7_function_blocks.docx
Seite 4 von 13
Libraries and function blocks for STEP 7
4
Function blocks
4.1
AnalogTechnology
The AnalogTechnology library contains function blocks for all aspects of analog value
processing with STEP7. The blocks provide support for analog input and output terminals,
terminals for temperature recording or for standardizing analog process data.
Function block
Description
Version
Article
IB_AI
Standardization of analog input
values for analog modules from
Phoenix Contact.
1.10
---
IB_AO
Standardization of analog output
values for analog modules from
Phoenix Contact.
1.10
---
IL_AI_2_SF
Standardization of analog input
values for the IB IL AI 2/SF
analog module.
1.00
IB IL AI 2/SF-PAC
2861302
IL_AO_4_8
Parameterization and operation
of the IB IL AO 4/8/U/BP
terminal as well as
standardization of analog
values.
1.10
IB IL AO 4/8/U/BP-PAC
2878036
IL_AI_8
Parameterization and operation
of the IB IL AI 8/SF terminal as
well as standardization of analog
values.
2.11
ILAI4AO2
Parameterization and operation
of the ILB IB AI4/AO2 terminal
as well as standardization of
analog values.
1.00
IB IL AI 8/SF-PAC
2861412
IB IL AI8/SF 2MBD PAC
2862042
IB IL AI8/IS PAC
(only current measuring range)
2861661
ILB IB AI4/AO2-PAC
2878777
step7_function_blocks.docx
Seite 5 von 13
Libraries and function blocks for STEP 7
4.2
AsynCom
Acyclic reading and writing of PCP- communication data via the SFB52 / SFB53 system
blocks in a PROFIBUS/ PROFINET system is possible with the help of these function blocks.
Function block
Description
Version
Article
AsynCom_PN
PROFINET communication
block for operation with BK
IL PN BK DI8 DO4 2TX-PAC.
1.10
IL PN BK DI8 DO4 2TX- PAC
2703994
AsynCom_PBb
PROFIBUS communication
block for operation with BK
IL PB BK DI8 DO4/EF DP.
1.10
IL PB BK DI8 DO4/EF DP
2692322
AsynCom_PBa
PROFIBUS communication
block for operation with BK
IL PB BK DP/V1.
1.10
IL PB BK DP/V1
2718688
4.3
Bushandling
The Bushandling block library contains a block for switching bus devices.
Function block
DevMod_II
4.4
Description
Function block for switching
bus devices.
Version
Article
1.65
---
ComSerial
The ComSerial function block library offers function blocks for implementing communication
protocols, and for controlling communication modules.
Function block
IL_RS_UNI
Description
Function block for control
and configuration of the
IB IL RS UNI terminal.
step7_function_blocks.docx
Version
Article
1.10
IB IL RS UNI
2700893
IB IL RS UNI-2MBD
2701025
Seite 6 von 13
Libraries and function blocks for STEP 7
4.5
Drives
The Drives library contains function blocks for the startup, operation, and diagnostics of
power-level terminals in the STEP7 development environment from Siemens. Power-level
terminals for direct and reversing starters enable a three-phase induction motor to be
switched, protected, and monitored.
Function block
Description
Version
Article
IB IL 400 MLR 1-8A
2727365
IB IL 400 ELR 1-3
2727352
IB IL 400 ELR R-3
2727378
IBS IP 400 ELR 1 - 3A DI 4/4F
2728005
IBS IP 400 ELR 2-3A DI 4/4-F
2836023
IBS IP 400 ELR 1-3A DI 4/4
2727967
IBS IP 400 ELR 2-3A DI 4/4
2727970
IBS IP 400 MLR 1-8A DI 4/4-F
2727996
IBS IP 400 MLR 2-8A DI 4/4-F
2836010
IBS IP 400 ELR R-3A DI 4/4-F
2836502
IBS IP 400 ELR R-3A DI 4/4
2836502
IBS IP 400 MLR R-8A DI 4/4-F
2836515
IBS IP 400 ME-VFD-3A FO
2734523
IL400MOT
Parameterization, operation, and
diagnostics of power-level
terminals.
1.01
IP400MOT
Parameterization, operation, and
diagnostics of 400 series
INTERBUS motor starters
(IP54/IP67).
2.10
IP400MOTR
Parameterization, operation, and
diagnostics of 400 series
INTERBUS reversing load motor
starters (IP54/IP67).
2.20
VFD_1W
Initialization, parameterization,
operation, and diagnostics of the
IBS IP 400 ME-VFD-3A FO
INTERBUS variable frequency
drive for single-word operation.
1.00
VFD_2W
Parameterization, operation, and
diagnostics of the
IBS IP 400 VFD 1-3A DI4
INTERBUS variable frequency
drive with two-word operation.
2.10
IBS IP 400 VFD 1-3A DI4
2836939
VFD_2W_D
Parameterization, operation, and
diagnostics of the
IBS IP 400 VFD 1-3A DI4
INTERBUS variable frequency
drive with two-word
operation/direct.
2.20
IBS IP 400 VFD 1-3A DI4
2836939
step7_function_blocks.docx
Seite 7 von 13
Libraries and function blocks for STEP 7
VFD_4W_D
4.6
Parameterization, operation,
and diagnostics of the
IBS IP 400 VFD 1-3A DI4
INTERBUS variable
frequency drive with fourword operation/direct.
2.10
IBS IP 400 VFD 1-3A DI4
2836939
FunctionModules
The FunctionModules block library for the STEP7 development environment from Siemens
contains blocks for temperature measurement terminals and temperature controller
terminals.
Function block
Description
Version
IL_TEMPCON
Parameterization, operation,
and diagnostics of
IB IL TEMPCON terminals
for multi-channel
temperature controllers.
1.10
TEMP_4_8_RTD
Parameterization, operation,
and diagnostics of the
IB IL TEMP 4/8 RTD
terminal.
1.10
IL_CNT_COUNT
This block is used for event
counting via the Inline
function terminal
IB IL CNT PAC.
1.00
step7_function_blocks.docx
Article
IB IL TEMPCON 300 RTD PAC
281966
IB IL TEMPCON 300 RTD 2MBD PAC
2819820
IB IL TEMPCON 300 RTD-B-PAC
2819590
IB IL TEMPCON 300 RTD-B-2M-PAC
2819859
IB IL TEMPCON 300-UTH-PAC
2819671
IB IL TEMPCON 300 UTH 2MBD PAC
2819833
IB IL TEMPCON 300 UTH-B-PAC
2819613
IB IL TEMPCON 300 UTH-B-2M-PAC
2819846
IB IL TEMP 4/8 RTD-PAC
2863915
IB IL TEMP 4/8 RTD-2MBD-PAC
2878612
IB IL TEMP 4/8 RTD-PAC/CN
2692487
IB IL TEMP 4/8 RTD/EF-PAC
2897402
IB IL TEMP 4/8 RTD/EF-2MBD-PAC
2897606
IB IL TEMP 4/8 RTD/EF-XC-PAC
2701218
IB IL CNT PAC
2861852
Seite 8 von 13
Libraries and function blocks for STEP 7
IL_CNT_FREQ
This block is used for
frequency measurement via
the Inline function terminal
IB IL CNT PAC.
1.00
IB IL CNT PAC
2861852
IL_CNT_TIME
This block is used for time
measurement via the Inline
function terminal
IB IL CNT PAC.
1.00
IB IL CNT PAC
2861852
IL_CNT_PULSE
This block is used for pulse
generation via the Inline
function terminal
IB IL CNT PAC.
1.00
IB IL CNT PAC
2861852
4.7
IBS_DSC
The functions are used for communication between a Siemens controller and the INTERBUS
termination board IBS S7 300 DSC-T. The library offers different possibilities and modes for
communication.
The functions are used for start-up the communication, diagnostics, and read and write data
records. It is possible to use user-defined functions. In addition, it is possible to operate in the
asynchronous mode with synchronization pulse.
Function block
Description
Version
Article
INIT_IB
Initialize communication and
synchronize the PLC and the controller
board
1.80
---
MEM_READ
Read process data and PCP services
1.80
---
MEM_WRIT
Write process data and PCP services
1.80
---
IB_DIAG
The function processes INTERBUS
error messages together with the
internal functions of the controller
board.
1.80
---
IB_SERV
The PCP-Handling function sends
services to the controller board and
receives answers.
1.80
---
IB_FUNCT
The function executes handshakes for
user defined functions
1.80
---
IB_SYNC
This function controls the protocol in
asynchronous with synchronization
pulse operating mode. It also calls
functions to read and write I/O data.
1.80
---
READ_DS
Read all data records
1.80
---
WRITE_DS
Write all data records
1.80
---
step7_function_blocks.docx
Seite 9 von 13
Libraries and function blocks for STEP 7
4.8
Lighting
The Lighting library offers function blocks for controlling PLD machine lights.
Function block
Description
Version
Article
PLD CM 360 PN
2701696
PLD CM 360 PB
2701695
PLD CM 360 PN
2701696
PLD CM 360 PB
2701695
IB IL PWM/2-PAC
2861632
PLD_CM_DIM
Function block for dimming mode.
1.00
PLD_CM_FLASH
Function block for flashing mode.
1.00
PLD_PWM
This block controls the PLD machine
lights via the IB IL PWM/2-PAC Inline
function terminal.
1.00
4.9
Positioning
The Positioning library contains function blocks for positioning terminals in the STEP7
development environment from Siemens. These blocks can be used for point-to-point
positioning of binary-controlled drives in accordance with the rapid motion/creeping motion
principle.
Tasks such as positioning transport equipment, adjustment axes, and tools are therefore
possible – without having to set control parameters. After specifying the target position, the
terminal assumes control of the drive autonomously and therefore independently of the bus.
It specifies both the traversing rate and the traversing direction via four binary outputs and
signals when the target point has been reached.
Function block
Description
Version
Article
IL_INC
Initialization, parameterization, operation,
and diagnostics of the IB IL INC
positioning control terminal with position
detection using incremental encoders.
2.11
IB IL INC
2836324
IL_SSI
Initialization, parameterization, operation,
and diagnostics of the IB IL SSI
positioning control terminal. With position
detection using absolute encoders with
SSI interface.
1.03
IB IL SSI
2836340
POS200
Process data and PCP communication
with the IB IL POS-200 positioning
controller.
1.00
IB IL POS 200 UM
2698740
step7_function_blocks.docx
Seite 10 von 13
Libraries and function blocks for STEP 7
4.10 PowerMeasurement
Function blocks for power measurement.
Function block
S7_IL_PM_3P_N_EF
Description
Function block for power
measurement.
Version
1.01
Article
IB IL PM 3P/N/EF-PAC
27009650
4.11 PN_Dev_Diag
These function blocks are used for diagnosis of a PROFIBUS device.
Diagnostic reports which must be confirmed can be approved with function blocks from the
PROFINET PN_Dev_Diag library.
Block
Description
Version
Article
PNDD_IL_Diag
The function block checks
cyclically the diagnostic
status of PROFINET
devices. The function
block can be used to
confirm diagnostic
messages from safety
Inline I/O modules
1.10
Inline I/O modules
SMC valve terminal
PNDD_AXL_Diag
The function block checks
the status of a
PROFINET module/
Device connected to an
AXIOLINE PROFINET
Bus-coupler. If possible,
the function block can
acknowledge error
messages from the
module.
1.00
Axioline modules
step7_function_blocks.docx
Seite 11 von 13
Libraries and function blocks for STEP 7
4.12 SBT_V2
This block family is used for data exchange between the LPSDO and other devices. It is also
possible to perform diagnostics and transmit acknowledgment signals to the individual
devices. All blocks use a data structure among each other for data exchange and this
contains all necessary project data as well as diagnostics.
Function block
Description
Version
Article
SBT_V2_Operate5
Function block for transmitting
the LPSDO project and
exchanging data between the
LPSDO and the devices
1.00
IB IL 24 LPSDO 8 V2-PAC
2700606
SBT_V2_Operate3
Function block for transmitting
the LPSDO project and
exchanging data between the
LPSDO and the devices
1.00
IB IL 24 LPSDO 8 V2-PAC
2700606
SBT_V2_Operate5_IBS
Function block for transmitting
the LPSDO project and
exchanging data between the
LPSDO and the devices
1.00
IB IL 24 LPSDO 8 V2-PAC
2700606
SBT_V2_Operate3_IBS
Function block for transmitting
the LPSDO project and
exchanging data between the
LPSDO and the devices
1.00
IB IL 24 LPSDO 8 V2-PAC
2700606
step7_function_blocks.docx
Seite 12 von 13
Libraries and function blocks for STEP 7
4.13 SBT_V3
The SafetyBridge Technology (SBT) offers flexible safe functionality, without the use of a
safety-PLC. It is based on an island model. The logic module IB IL 24 LPSDO 16 V3-PAC is
the central component of the SafetyBridge-system (Island), and SBT input and output
modules are the island’s Satellites.
The function block generates and monitors the SafetyBridge protocol, processes the freely
configurable safety logic, and it controls the SBT input and output modules (SBT Satellites).
Function block
Description
Version
Article
SBT_V3_Operate
The function block is used to send
a SAFECONF project to the
LPSDO logic module. The block
also takes care of the
communication of maximum 16
satellites (modules).
1.00
IB IL 24 LPSDO 8 V3-PAC
2701625
SBT_V3_CrossComm
In the SBT version V3, the islands
can communicate with each other.
The cross communication is a
master-slave model. One or more
islands act as slaves for another
master island.
1.00
IB IL 24 LPSDO 8 V3-PAC
2701625
SBT_V3_DataExch
If two islands are connected on
different PLCs, and a crosscommunication is needed, then
the function block is responsible
for data exchange between the
master and the slave island.
1.00
IB IL 24 LPSDO 8 V3-PAC
2701625
step7_function_blocks.docx
Seite 13 von 13