Inline module with safe digital outputs (112 pages)
Summary of Contents for Phoenix Contact AXC 1050 PN STARTERKIT
Page 1
Installing and starting up the AXC 1050 PN STARTERKIT Quick start guide...
Page 2
Quick start guide Installing and starting up the AXC 1050 PN STARTERKIT 2015-03-31 Designation: UM QS EN AXC 1050 PN STARTERKIT Revision: Order No.: — This user manual is valid for: Designation Version Order No. AXC 1050 PN STARTERKIT 2400361...
Page 3
How to contact us Internet Up-to-date information on Phoenix Contact products and our Terms and Conditions can be found on the Internet at: phoenixcontact.com Make sure you always use the latest documentation.
Page 4
The receipt of technical documentation (in particular user documentation) does not consti- tute any further duty on the part of Phoenix Contact to furnish information on modifications to products and/or technical documentation. You are responsible to verify the suitability and intended use of the products in your specific application, in particular with regard to observ- ing the applicable standards and regulations.
Table of contents General ............................9 Introduction......................9 Information about this document................9 Components of the AXC 1050 PN STARTERKIT ..........10 System requirements...................11 1.4.1 Operating systems supported ..............11 1.4.2 Hardware requirements ...............11 1.4.3 Required programming software ............11 1.4.4 Required firmware versions .............11 Installing the hardware ......................13 Installing the software ......................17...
Page 6
Changing the PROFINET device name (“DNS Name”)........71 Renumbering devices..................74 Diagnostics with Diag+ ..................75 Importing Ethernet devices into the project............81 Device description files..................84 6.5.1 Phoenix Contact device description files (FDCML files) .......84 6.5.2 Device description files from other manufacturers (GSD files) ...................85 Visualization with WebVisit .....................87 General........................87 Saving/extracting the visualization...............88...
Page 7
Table of contents Appendixes..........................99 List of figures .......................99 106165_en_00 PHOENIX CONTACT...
General General Introduction The AXC 1050 PN STARTERKIT is a combination of hardware and software. It contains all the components you need in order to create and start up a basic PROFINET system. Information about this document Using an example project, this document helps you to install and parameterize a bus con- figuration and to program the application program (according to IEC 61131).
AXC 1050 PN STARTERKIT Components of the AXC 1050 PN STARTERKIT Table 1-1 Components of the AXC 1050 PN STARTERKIT Description Type Order No. Pcs. / Pkt. Software Demo DVD of the PC Worx automation software PC WORX DEMO 2985725...
Required firmware version Device Firmware version AXC 1050 ≥ 2.10 If the firmware version on your device is earlier than that specified in Table 1-4, please up- date your firmware. The latest firmware version can be downloaded at phoenixcontact.net/products. 106165_en_00 PHOENIX CONTACT...
Output DC Input AC L(+) N(-) AXL F DI16/4 2F AXL F DO16/3 2F 106165A001 Figure 2-1 Possible installation method for the AXC 1050 PN STARTERKIT Key: Bold Included in the AXC 1050 PN STARTERKIT Italic Order as accessories 106165_en_00...
L(+) N(-) 106165A002 230 V Figure 2-2 Possible installation of the AXC 1050 PN STARTERKIT – Illustration with supply voltage wiring For the example program in this documentation, the following outputs are used: Table 2-1 Outputs used in the example program...
Connect the Ethernet cables. STEP-PS/ AXL F BK PN AXC 1050 1AC/24DC/1.75 Output DC Input AC L(+) N(-) 106165A003 Figure 2-3 Possible installation of the AXC 1050 PN STARTERKIT – Illustration with Ethernet cabling • Connect the supply voltages. 106165_en_00 PHOENIX CONTACT...
USB driver The “Phoenix Contact USB to UART Interface” USB driver must be selected explicitly when installing the AUTOMATIONWORX Software Suite/PC Worx (see Figure 3-1). This is the only way to ensure that the AXC 1050 will be detected as a USB device under Windows®.
To do so, click on “Finish” at the end of the installation process. • If, after installation, the AXC 1050 is not automatically detected as a USB device under Windows®, repeat the installation process and make sure that the “Phoenix Contact USB to UART Interface” USB driver is selected. Starting PC Worx For installation using the default settings, start PC Worx via “Start, Programs,...
Enter the registration code. • Confirm your entry with “OK”. Alternatively, you can also license PC Worx via the License Manager in the AUTOMATIONWORX Software Suite. Registration comes into effect the next time PC Worx is started. 106165_en_00 PHOENIX CONTACT...
The user interface consists of the following main components: menu bar, toolbars, main window, and status bar. The contents of the main window depend on the selected work- space. Menu bar Toolbars Main window Status bar Figure 4-1 User interface 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT Toolbars The program contains several toolbars with different icons, which enable frequently used operations to be executed quickly. Alternatively, these operating steps can be called via menu items or predefined shortcuts. By default, all the toolbars are shown. To display or hide a specific toolbar, use the “Extras, Options”...
Select the windows that are to be toggled on or off via the “View” menu item. The last setting for each workspace is saved when the program is closed and restored when it is started again. “IEC Programming” workspace Figure 4-2 “IEC Programming” workspace 106165_en_00 PHOENIX CONTACT...
Each window can be toggled on/off via the “View” menu by selecting the corresponding menu item. Docking/undocking win- For each window, you can specify whether or not it is to be docked in the other windows. dows There are various options for docking/undocking windows: 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT Permanent docking/undocking: In the title bar or the gray frame of the relevant window, right-click with the mouse and activate/deactivate the “Allow Docking” menu item. Move an undocked window to the position where it is to be inserted in the desktop.
Page 27
The device is hidden or the bus is deactivated. Errors have occurred for the device. Warnings have occurred for the device. The pin indicates a module that is a fixed component of a device. This element cannot be deleted or replaced. 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT 4.6.2 Display in the “Bus Structure” window The display in the “Bus Structure” window can be adapted to your requirements. • Switch to the bus configuration workspace. • In the context menu of a device, open the “Edit Device Representation...” menu item.
For example, the set device representation for the AXC 1050 controller does not have any influence on the representation of the PROFINET devices (see Figure 4-10). Figure 4-10 Example of different device representations of the individual device groups 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT Compiling and sending a project and performing a cold restart 4.7.1 Compiling a project • When compiling a project for the first time, select the “Rebuild Project” command from the “Build” menu. For further compiling processes you can also use the “Make” com- mand (see also “Compiling (additional information)”...
– Include Page- All page layouts that are used are included in the packed Layouts program source. – Include Back- All project source data including the compilation is included end-Code in the packed program source. 106165_en_00 PHOENIX CONTACT...
Page 32
AXC 1050 PN STARTERKIT – Always allow real-time This checkbox refers to the “Download Changes” function. violations during When it is selected, the following standard procedure ap- Download Changes plies: next time “Download Changes” is executed, the sys- tem does not attempt to observe the realtime conditions (i.e., execution of the user task at the exact time) on the con-...
This window shows the steps the compiler is currently performing. In addi- tion, errors, warnings, and additional information about the process are logged here. Once the compiling process has been completed successfully, (i.e., no errors have been re- ported), the modified project can be downloaded to the controller. 106165_en_00 PHOENIX CONTACT...
Check/modify IP settings for controller Create program Activate PROFINET controller function Assing process data Read PROFINET devices Compile and send project, and perform cold restart Check/modify PROFINET settings Operation/debug (end) 106165A005 Figure 5-1 Sequence for creating a project 106165_en_00 PHOENIX CONTACT...
Page 36
In the following sections, an example project is developed. Please note that the example project is available in compressed format as the “Quickstart_PN.zwt” file on the CD AXC 1050 PN STARTERKIT. – If you want to try out the following steps yourself, please use the same identifiers and names as in this user manual in order to achieve the best possible result.
Page 37
Example project • Select the “File, Save Project As / Zip Project As...” command. • Enter a project name (here: Quickstart_PN) and save the project. Figure 5-3 “Save/Zip project as” window 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT Adapting the project information • Switch to the bus configuration workspace. After creating a new project, the project information is displayed in the bus configuration workspace. • Adapt the project information to your project. Figure 5-4...
This address must be within the specified IP address area. If the default gateway is entered at the start of the project, it will be used automatically for all subsequent Phoenix Contact devices that are inserted (see also Section 5.8).
AXC 1050 PN STARTERKIT Checking/modifying IP settings for the PROFINET controller The IP settings for the controller are made when the project is created. Changes to project information are not applied automatically If any modifications are made to the project information (see Figure 5-4) that affect the IP settings for the controller, a warning is displayed.
Assigning the IP address for the PROFINET controller By default for the AXC 1050 PN STARTERKIT, the AXC 1050 has no preset IP address. Ini- tial setting of the controller's IP address can be carried out with the PC Worx software man- ually via the DCP protocol or manually via the USB interface.
AXC 1050 PN STARTERKIT Figure 5-7 DCP: setting the IP address The “IP Assignment” tab is used for actual IP address assignment with DCP. • Select the “IP Assignment” tab. After selecting the “IP Assignment” tab, the PROFINET network is searched for DCP de- vices.
Page 43
PC via the USB inter- face. In order to use the USB interface of the AXC 1050, the “Phoenix Contact USB to UART Interface” driver must be installed (see Section 3.1 on page 17).
AXC 1050 PN STARTERKIT Figure 5-9 Network settings: manual assignment of the IP address • Click on “Send” in the “Network Settings” area. • In the “Settings Communication Path” dialog box, select the USB interface and confirm with “OK”. Figure 5-10 “Settings Communication Path”...
If a prompt appears asking whether you really want to restart the controller, confirm the dialog box with “Yes”. • In the “Settings Communication Path” dialog box, select the USB interface and confirm with “OK” (see Figure 5-10). 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT Successful execution of the service will be displayed in the status window. Figure 5-13 Activating the network settings: service executed successfully The network settings assigned to the AXC 1050 are active. You can test whether the settings are working correctly on the “Communication” tab in the “Device Details”...
Reading in PROFINET devices • Make sure you are in the bus configuration workspace. • In the “Bus Structure” window, select the PROFINET node of the controller. • Right-click to open the context menu and select “Read PROFINET”. 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT Figure 5-16 Reading in PROFINET All the connected PROFINET devices are displayed. When reading in, the device name and the IP parameters are imported for each device - if present. Figure 5-17 Connected PROFINET devices PHOENIX CONTACT...
(here: quickstart.de). The PROFINET device name can be freely modified. The following characters are permitted for the PROFINET device name: Lowercase letters without umlauts a to z As separator: dot Hyphen 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT If the naming conventions have not been observed, an error message is output in the “Mes- sage Window” and the name is rejected. Upper case letters without umlauts are permitted, however, they will be converted to lower case letters internally.
In the “Bus Structure” window, select the PROFINET device (here: AXL F BK PN bus coupler). • Select the “PROFINET Settings” tab in the “Device Details” window. • Check the PROFINET settings and modify them, if necessary. 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT Figure 5-22 PROFINET settings of the “AXL F BK PN” bus coupler The PROFINET settings comprise: DNS name This name is the unique identification for the PROFINET device in the network. It must be known to the PROFINET device before it can be used in the network (see also page 49).
Page 53
The following settings can be made: Default setting; each aborted connection is indicated by the BF LED and by setting the system variable to TRUE. Indication is prohibited because, for example, switching off a device is an ap- plication-relevant situation. 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT Transferring PROFINET device names and IP set- tings to PROFINET devices Before a PROFINET device can be operated in a PROFINET network, the PROFINET de- vice name (“DNS Name”) and IP address configured in PC Worx must also be made known to the device itself.
PC Worx project; modules marked in green have already been con- figured. When the “Re-insert all modules” option is selected, modules that have already been configured are also read in again. The previously configured bus configuration is over- written. 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT Figure 5-25 Reading in connected Axioline F modules: Axioline F modules that have not yet been read in • Click on “OK” to read in the Axioline F modules. The read in Axioline F modules are read in with their default configuration and are displayed in the “Bus Structure”...
The switch variable maps the status of input 1 of the AXL F DI16/4 2F Axioline F digital input module. Variables LED_1 to LED_8 map the states of outputs 1 to 8 of the AXL F DO16/3 2F Axioline F digital output module. 106165_en_00 PHOENIX CONTACT...
The “Moving_Light” function block used in the example program is part of the function block library of the same name. It is available in compressed format as the “Bibliothek_Moving_Light.zip” file on the CD AXC 1050 PN STARTERKIT. • Save the compressed “Bibliothek_Moving_Light.zip” file from the CD AXC 1050 PN STARTERKIT to the hard disk on your PC.
Select the “Build, Rebuild Project” command. • Close the “Moving_Light” PC Worx project after compiling is complete. • Open the “Quickstart_PN” PC Worx project again. The “Moving_Light” function block library can now be used. Figure 5-30 Inserted “Moving_Light” function block library 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT 5.12.4 Programming • Double-click on the “Main” in the “Project Tree Window” to activate the IEC program- ming interface. Inserting the function • In the “Main” worksheet, click on an empty position where you would like to insert the block into the worksheet function block.
Enter the text “Time#200ms” in the “Initial value” field. • Select the “PDD” checkbox. When the “PDD” checkbox is activated, process data is transferred to visualization pro- grams (WebVisit in the example). The process data is transferred using a .csv file. 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT Figure 5-34 Properties of the Time_Parameter variable • Confirm your entries with “OK”. The Time_Parameter variable has been created and connected to the “CyclicTime” input (see Figure 5-35). Figure 5-35 Time_Parameter variable at the “CyclicTime” input...
• Select the controller in the top right window. The standard configuration is then dis- played in the top left window (“Symbols/Variables”). • In the top left window (“Symbols/Variables”), select the “STD_RES : AXC 1050_21” re- source. 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT • In the top right window, select the device/module for which you would like to link the pro- cess data to variables (here: AXL F DO16/3 2F). • Select the process data item to be linked (here: process data item “OUT00”) •...
Activate the “Always allow real-time violations during Download Changes” checkbox in the “Download Options” dialog box. • Close the “Download Options” dialog box. • Click “Download” in the “Project Control Dialog” dialog box. Performing a cold restart • Click “Cold” in the “Project Control Dialog” dialog box. 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT 5.15 Operation and debug mode – Viewing values on- line While the program is running on the controller, it is possible to activate debug mode in PC Worx. In debug mode, the operation of the program can be monitored online.
Page 67
You can now view the relevant visualization (“First_Steps_AXC1050_PN_Starterkit.prj”) for the “Moving_Light” example program. For more information about installing and starting up the example visualization on the con- troller, and the requirements for your web browser, refer to Section 7. 106165_en_00 PHOENIX CONTACT...
The example project that has been developed in the previous sections is available in com- pressed format as the “Quickstart_PN.zwt” file on the CD AXC 1050 PN STARTERKIT. If you would like to test the project without developing it yourself, you can use the “Quickstart_PN.zwt”...
Page 69
Alternatively, you can view the relevant visualization (“First_Steps_AXC1050_PN_Starterkit.prj”) for the “Moving_Light” example program. For more information about installing and starting up the example visualization on the con- troller, and the requirements for your web browser, refer to Section 7. 106165_en_00 PHOENIX CONTACT...
Project All the PROFINET devices that are not included in the project are listed. same Type Only the PROFINET devices that are the same type as the PROFINET device selected in the bus configuration are listed. 106165_en_00 PHOENIX CONTACT...
Page 72
AXC 1050 PN STARTERKIT Figure 6-1 List of all PROFINET devices that can be accessed in the network In the “Selected Device” area, the PROFINET device name specified under “IP Settings” is displayed. From the list, select the corresponding PROFINET device (e.g., using the indicated MAC address).
Page 73
Assign the appropriate PROFINET device name to each PROFINET device. • Compile the project, send it to the controller, and perform a cold restart (see Section 4.7, “Compiling and sending a project and performing a cold restart”). 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT Renumbering devices There is also the option of automatically regenerating the IP parameters (e.g., IP addresses, Domain Postfix) for all devices. The settings from the project information are used for this. • Select the project node.
Axioline diagnostics PROFINET diagnostics Ethernet diagnostics Optical PROFINET diagnostics Axioline diagnostics • Under “Communication Path”, select the device to which you wish to establish a con- nection. Select the AXL F BK PN bus coupler, for example. 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT Figure 6-5 Diag+: selecting the communication path • To activate the communication path, click on “Connect”. Device representations • In the “View, Device Representations” area, select which information is to be represent- ed for the devices. All information marked blue is displayed in the various views.
Page 77
Additional functions of PC Worx View: Axioline diagnostics Diag+ switches to the diagnostic view of the connected Axioline F system configured in PC Worx. Figure 6-8 Axioline diagnostics: no error Figure 6-8 shows diagnostics of an error-free Axioline F bus. 106165_en_00 PHOENIX CONTACT...
Page 78
AXC 1050 PN STARTERKIT Any errors that occur are diagnosed by Diag+ and displayed. In the following example, the supply voltage for the AXL F DI16/4 2F Axioline F module is not present. When the bus coupler is selected, Diag+ shows the following:...
Page 79
If you select the module on which the error has occurred, Diag+ displays error details: Figure 6-10 AXL F DI16/4 2F Axioline F module: supply voltage not present Diagnostics can be used to identify errors in your application. • Remove the error (here: connect the supply connector again). 106165_en_00 PHOENIX CONTACT...
Page 80
AXC 1050 PN STARTERKIT Context menu of the The context menu of the PROFINET device can be used to influence the state of the PROFINET device in Diag+ Axioline F local bus. Figure 6-11 Context menu of the PROFINET device...
Open the “Universal, Universal, IP” entry in the “Device Catalog”. • If the “Generic IP Device” entry is not present, import this entry. To do this, proceed as follows: • Open the context menu in the device catalog. • Select the “Import Device...” command. 106165_en_00 PHOENIX CONTACT...
Page 82
AXC 1050 PN STARTERKIT • In the “...fdcml10\ETHERNET\Universal” folder, open the “Generic_IP Device-xx.xml” file. The file will be imported into the device catalog. • Insert the “Generic IP Device” in the project. Figure 6-13 Inserting the “Generic IP Device” The generic IP device is inserted together with a free IP address and a PROFINET device name.
Page 83
Adapting the IP address and PROFINET device name (“DNS Name”) • Compile the project, send it to the controller, and perform a cold restart (see “Compiling and sending a project and performing a cold restart” on page 30). 106165_en_00 PHOENIX CONTACT...
These descriptions are also found in the device catalog. When installing add-ons for PC Worx, new device description files are installed in the “..\FDCML10\...\Phoenix Contact” folder. These new descriptions are not included in the de- vice catalog yet. They must be imported as necessary.
6.5.2 Device description files from other manufacturers (GSD files) GSD files can be used to integrate devices from manufacturers other than Phoenix Contact in PC Worx. • Copy the GSD file for your device, e.g., from the Internet to your PC hard disk.
Page 86
AXC 1050 PN STARTERKIT • Open the module catalog via “View, Module Catalog”. • Select the device modules one at a time from the module catalog and drag and drop them in the lower level below the device entry. PHOENIX CONTACT...
To visualize variables from your PC Worx project in WebVisit, activate the “PDD” checkbox in PC Worx: – In the “Variable Properties” window (Figure 7-1) – On the worksheet (Figure 7-2) Figure 7-1 Activating the “PDD” checkbox in the “Variable Properties” window 106165_en_00 PHOENIX CONTACT...
For additional information on using WebVisit, please refer to the corresponding documen- tation. Saving/extracting the visualization On the CD AXC 1050 PN STARTERKIT, you will find the visualization of the example proj- ect from Section 5 as a WebVisit project in compressed format (“FirstSteps_AXC1050.zip” file).
Open WebVisit. • Select the “Open Project” command from the “File” menu. • In the window that opens, navigate to the “FirstSteps_AXC1050_PN_Starterkit” WebVisit project: C:\Program Files (s86)\Phoenix Contact\Software Suite 182\WebVisit ...\Proj- ects\FirstSteps_AXC_1050. • Select the “FirstSteps_AXC1050_PN_Starterkit.prj” file. • Then click “Open”.
AXC 1050 PN STARTERKIT WebVisit: downloading the visualization to the controller • Select the “Download Project” command from the “Project” menu. • In the dialog box that opens, confirm the question “Would you like to make a BuildAll before deploying the HMI Project” with “Yes”.
Page 91
Visualization with WebVisit • Click on the “Connect” button. Figure 7-5 WebVisit connected to the controller • Click on the “Download Project” button. Figure 7-6 Downloading the WebVisit project to the controller 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT The progress bar shows the transmission status. • After successful download, close the window by clicking on “Exit”. The visualization project has been transmitted to the controller. The visualization can now be displayed via your web browser (see Section 7.5).
Page 93
LEDs 00 to 07 of the Axioline F digital output module light up one after the other for the cycle time specified. • Activate the “Start/Stop” button to activate or deactivate animation of the running light in the web browser. 106165_en_00 PHOENIX CONTACT...
A connection cannot be established, e.g., if the corresponding device is ready, but a correct PROFINET device name (“DNS Name”) has not yet been assigned to it (see also Section 5.7). PNIO_CONFIG_ This system variable is set if an error occurred when configuring the PROFINET controller. STATUS_FAULT 106165_en_00 PHOENIX CONTACT...
AXC 1050 PN STARTERKIT Status of a PROFINET device The status of a PROFINET device can be queried using predefined process data. Figure A-2 Predefined process data of a PROFINET device The ~PNIO_DATA_STATE byte that contains the corresponding status bits is available. A PROFINET device only provides valid data if these bits are set.
“Global_Variables” in the “IEC Programming” workspace. Figure A-3 PNIO_FORCE_FAILSAFE system variable If the variable is set, all the PROFINET devices output zero values or defined substitute val- ues. The corresponding inputs are set to zero. 106165_en_00 PHOENIX CONTACT...
Page 99
B Appendixes List of figures Section2 Figure 2-1: Possible installation method for the AXC 1050 PN STARTERKIT ..13 Figure 2-2: Possible installation of the AXC 1050 PN STARTERKIT – Illustration with supply voltage wiring ..........14 Figure 2-3: Possible installation of the AXC 1050 PN STARTERKIT –...
Page 100
AXC 1050 PN STARTERKIT Figure 5-5: Selecting the network card ..............39 Figure 5-6: IP settings ...................40 Figure 5-7: DCP: setting the IP address ..............42 Figure 5-8: Starting IP address assignment via DCP ..........42 Figure 5-9: Network settings: manual assignment of the IP address .....44 Figure 5-10: “Settings Communication Path”...
Page 101
Downloading the WebVisit project to the controller ......91 Figure 7-7: Visualization of the example program ..........92 Appendix A Figure A-1: PNIO_CONFIG_STATUS system variable .........95 Figure A-2: Predefined process data of a PROFINET device ........96 Figure A-3: PNIO_FORCE_FAILSAFE system variable ........97 106165_en_00 PHOENIX CONTACT...
Need help?
Do you have a question about the AXC 1050 PN STARTERKIT and is the answer not in the manual?
Questions and answers