Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
for PC Worx
version 52
Contents
1 Introduction .................................................................................................................. 4
2 Libraries ........................................................................................................................ 5
pc_worx_function_blocks.docx Page 2 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 3 of 72
Libraries and function blocks for PC Worx
1 Introduction
Control programs are created under the PC Worx or PC WORX EXPRESS environments.
The source code can then be divided into programs, blocks and functions by means of
logical Program Organization Units (POU). Numerous function blocks are already contained
in the editor wizard of the programming environment. Each block is provided with short
description and online help. Additional blocks as extension to the input/output terminals or as
technology functions are compiled into libraries by Phoenix Contact and can be added to a
project if required.
The source code of a library provided by Phoenix Contact is protected, which means that it
cannot be viewed.
Libraries from Phoenix Contact can be provided with a setup. A compressed project for PC
Worx 5 is stored on the computer during execution of the setup program, which must then be
opened. When requested for the target directory for storing the library, the Library directory
from PC Worx should be selected that is located in the Documents and Settings\All
Users\Documents\PC Worx directory. The library is automatically converted to the
programming environment version used and displayed as a project when opening with PC
Worx 5 or 6. The library must be compiled once by the PC Worx version that is used.
Libraries must then be integrated into the user project via the PC Worx project tree. Select
the libraries item and add the user library via the context menu.
Individual function blocks from Phoenix Contact such as those from the SQL and SNMP
libraries are licensed, which means that a fee is charged for each controller on which
licensed blocks are to be used. The blocks check the license stored on the controller during
runtime and enable themselves or run for a limited time in demo mode.
The license is stored on the plug-in CF FLASH APPLIC A (Order No. 29 88 793) or SD
FLASH APPLIC A (Order No. 29 88 816) modules. In the case of the compact ILC 130 ETH,
ILC 150 ETH and ILC 150 GSM/GPRS controllers, the firmware with Version 3.50 or later
contains the type APPLIC A license, which means that licensed blocks can run on them
without restrictions. Please observe the specified performance data of the controllers in this
performance class and check that they are suitable for your application.
pc_worx_function_blocks.docx Page 4 of 72
Libraries and function blocks for PC Worx
2 Libraries
pc_worx_function_blocks.docx Page 5 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 6 of 72
Libraries and function blocks for PC Worx
FileHandling Function blocks for handling file access. 1.00 None From
6.10.169
[File I/O -
pc_worx_6_x_filehandling_1_00.exe]
FunctionModules Function blocks for acquisition, open and 1.16 None From
closed-loop control (drivers for position 6.10.200
detection terminals for incremental
encoders, terminals with counting function or
communication with IO-Link devices).
[Special function modules -
PCW_6_FunctionModules_1_16.msi]
HART_Basic Function blocks for using the HART modules 1.01 None From
from Phoenix Contact. 6.10.200
[Function blocks for using the HART
modules from Phoenix Contact.-
PCW_6_HART_Basic_V1_01.msi]
ILCME_MCE Motion control function blocks for ILC 191 1.02 None From
ME. 6.30.601
[Motion control function blocks for ILC 191
ME. - pc_worx_6_x_ilcme_mce_1_02.exe]
ILCME_ModBus Modbus function blocks for ILC 191 ME. 1.01 None From
6.30.601
[ModBus function block for ILC 191 ME -
pc_worx_6_x_ilcme_modbus_1_01.exe]
InterBus INTERBUS handling. 1.11 None From
6.10.200
[INTERBUS -
pc_worx_6_x_interbus_1_11.exe]
InterBus_PN INTERBUS handling on a PROFINET proxy. 2.02 None From 6.20
[INTERBUS over PROFINET -
pc_worx_6_x_interbus_pn_2_02.exe]
IntrinsicallySafe Function block for parameterizing and 1.05 None From
communication of modules which are used 6.30.601
in Zone 2 according to EN 60079.
[Self-reliant modules -
pc_worx_6_x_intrinsicallysafe_1_05.exe]
IT_Library Function blocks for using IT communication 4 Applic-A From
protocols. 6.10.200
[Network protocols
PCW_6_IT_Library_4.msi]
IT_Security Function blocks for safe communication. 1.00 Applic-A From 5
[IT security -
pc_worx_5_x_it_security_1_00.exe]
IP_Com Function blocks for establishing IP 2 None From
connections via a controller 6.10.200
[Function blocks for establishing IP
connections - PCW_6_IP_Com_2.msi]
pc_worx_function_blocks.docx Page 7 of 72
Libraries and function blocks for PC Worx
Lighting Function blocks for controlling PLD machine 1.01 None From
lights. 6.10.200
[Library for controlling LED Machine Lights
pc_worx_6_x_lighting_1_01.exe]
LMS_Modbus Function blocks for the Lightning Monitoring 1.00 None From
System LMS 6.30.767
[Function blocks for the LMS lighting
monitoring system -
pc_worx_6_x_lms_modbus_1_00.exe]
MBUS Function blocks for sending and receiving 1.01 None From
data as an MBUS protocol via the IB IL 6.30.767
MBUS-PAC terminal
[Function blocks for communication via the
IB IL MBUS-PAC terminal -
pc_worx_6_x_mbus_1_01.exe]
MCE_Library Function blocks for motion control. 3 None From
6.30.1202
[Drive control - PCW_6_MCE_Library_3.msi]
Modbus Function blocks for communication with the 2.04 None From
controller via Modbus protocol Modbus RTU 6.10.200
and Modbus TCP.
[Modbus communication via the Modbus
RTU und Modbus TCP protocol -
pc_worx_6_x_modbus_2_04.exe]
OperatorPanel Function blocks for communication with the 1.00 None From
operator panel NLC OP2 LCD 076 4X20 6.10.200
[Function blocks for communication with the
operator interface NLC OP2 LCD 076 4X20 -
pc_worx_6_x_operatorpanel_1_00.exe]
PDPI_Basic P, D, PD, I, PI, PID controllers Self-tuning 2.11 PDPI From
controllers for temperature control. Basic 6.20.331
[Self-tuning controllers (Basic) -
pc_worx_6_x_pdpi_basic_2_11.exe]
PDPI_Pro P, D, PD, I, PI, PID controllers Self-tuning 2.11 PDPI Pro From
controllers for special process automation 6.20.331
functions.
[Self-tuning controllers (Pro) -
pc_worx_6_x_pdpi_pro_2_11.exe]
PN_Dev_Diag Function blocks for handling PROFINET. 1.13 None From
6.10.200
[PROFINET Device IO diagnostics -
pc_worx_6_x_pn_dev_diag_1_13.exe]
Positioning Function blocks for positioning terminals 1.11 None From
from Phoenix Contact. 6.10.200
[Positioning -
pc_worx_6_x_positioning_1_11.exe]
pc_worx_function_blocks.docx Page 8 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 9 of 72
Libraries and function blocks for PC Worx
TempConversion Function blocks for data exchange between 1.10 None From
controllers and temperature modules from 6.30.601
Phoenix Contact.
[Acquisition and evaluation of temperature
modules -
pc_worx_6_x_tempconversion_1_10.exe]
TouchDisplay Function block for parameterizing a HMI. 1.00 None From
6.10.200
[Touch display -
pc_worx_6_x_touchdisplay_1_00.exe]
UpsIqBasic Function blocks for reading basic 1.05 keine ab
parameters from uninterruptible power 6.10.200
supplies (UPS).
[Function blocks for reading basic
parameters from uninterruptible power
supplies (UPS) -
PCW_6_UpsIqBasic_1_05.msi]
WirelessTechnology Function blocks for controlling Bluetooth and 1.06 None From 5
WLAN Ethernet adapters.
[Wireless communication -
pc_worx_5_x_wirelesstechnology_1_06.exe]
pc_worx_function_blocks.docx Page 10 of 72
Libraries and function blocks for PC Worx
3 Function blocks
3.1 AnalogTechnology V1.30
pc_worx_function_blocks.docx Page 11 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 12 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 13 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 14 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 15 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 16 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 17 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 18 of 72
Libraries and function blocks for PC Worx
IL_RS232P* Function blocks for controlling and 1.11 IB IL RS232 PRO PAC
configuring the IB IL RS232 PRO
terminal. 2878722
IL_RS485P* Function blocks for controlling and 1.03 IB IL RS485/422 PRO PAC
configuring the IB IL RS485 PRO
terminal. 2863627
pc_worx_function_blocks.docx Page 19 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 20 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 21 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 22 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 23 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 24 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 25 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 26 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 27 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 28 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 29 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 30 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 31 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 32 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 33 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 34 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 35 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 36 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 37 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 38 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 39 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 40 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 41 of 72
Libraries and function blocks for PC Worx
3.25 IT_Library V4
pc_worx_function_blocks.docx Page 42 of 72
Libraries and function blocks for PC Worx
3.27 IP_Com V2
pc_worx_function_blocks.docx Page 43 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 44 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 45 of 72
Libraries and function blocks for PC Worx
3.31 MCE_Library V3
MCE_Basic_V2_00
MCE_Home MC_Home functionality according to 1.01 ---
the PLC-OPEN Motion Control
Definition
MCE_MoveAbsolute MC_MoveAbsolute functionality 1.01 ---
according to the PLC-OPEN Motion
Control Definition
MCE_MoveVelocity MC_MoveVelocity functionality 1.01 ---
according to the PLC-OPEN Motion
Control Definition
MCE_Power MC_Power functionality according to 1.01 ---
the PLC-OPEN Motion Control
Definition
MCE_Reset MC_Reset functionality according to 1.01 ---
the PLC-OPEN Motion Control
Definition
MCE_SetPosition SetPosition functionality according to 1.01 ---
the PLC-OPEN Motion Control
Definition
MCE_Stop MC_Stop functionality according to 1.01 ---
the PLC-OPEN Motion Control
Definition
MCE_TorqueControl MC_TorqueControl functionality 1.00 ---
according to the PLC-OPEN Motion
Control Definition
MCE_Com_V2_00
MCE_ETH_C_DIN66019 The block forms the communication 1.01 ---
interface between the converter-
specific driver block and the Ethernet
DIN 66019 protocol.
MCE_C_IB_PCP The block forms the communication 1.00 ---
interface between the converter-
specific driver block and the PCP
protocol.
MCE_Drive_KEBF5_V2_00
MCE_D_KEBF5_DRV Reading and writing of converter 1.01 KEB-F5
parameters. converter
MCE_D_KEBF5_FR Writes the configuration to the 1.01 KEB-F5
converter. converter
MCE_D_KEBF5_IBI32 Writes the input process data to the 1.00 KEB-F5
axis structure. converter
MCE_D_KEBF5_IBO32 Writes the axis structure to the output 1.00 KEB-F5
process data converter
MCE_D_KEBF5_IBI48 Writes the input process data to the 1.01 KEB-F5
axis structure. converter
MCE_D_KEBF5_IBO48 Writes the axis structure to the output 1.01 KEB-F5
process data converter
MCE_D_KEBF5_IBOP Block for transmitting parameters to 1.00 KEB-F5
pc_worx_function_blocks.docx Page 46 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 47 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 48 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 49 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 50 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 51 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 52 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 53 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 54 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 55 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 56 of 72
Libraries and function blocks for PC Worx
3.39 PROFIdrive V2
pc_worx_function_blocks.docx Page 57 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 58 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 59 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 60 of 72
Libraries and function blocks for PC Worx
3.44 SBT_V3 V4
pc_worx_function_blocks.docx Page 61 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 62 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 63 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 64 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 65 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 66 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 67 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 68 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 69 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 70 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 71 of 72
Libraries and function blocks for PC Worx
pc_worx_function_blocks.docx Page 72 of 72