Installation and Setup CIFX-Profinet® Option For Telesis Laser Marking Systems This document contains installation and setup data for the Telesis® Profinet® IO using a CIFX-PCIe® (express) card. This option allows the marking system controller to communicate with remote devices in an Ethernet environment. The example used in the Document is Siemens Profinet using Step 7 interface. Document No. 85857D Telesis Technologies, Inc. 28181 River Drive P.O. Box 1000 Circleville, Ohio 43113 CIFX-Profinet Option Foreword Telesis Technologies, Inc. (hereinafter referred to as Telesis) reserves the right to change the information and specifications contained in this document without prior notice. The reader should consult Telesis to determine whether such changes have been made. In no event shall Telesis be liable for any incidental, indirect, special, or consequential damages whatsoever, including but not limited to lost profits, arising out of, or relating to this document or the information it contains, even if Telesis has been advised, has knowledge, or should have knowledge of the possibility of such damages. Telesis expressly warrants the equipment it manufactures as set forth in the Standard Terms and Conditions of Sale. Telesis makes no other warranties, expressed or implied, including and without limitation, warranties as to merchantability or fitness for a particular purpose. The information contained in this document is confidential and is proprietary to Telesis or its licensors. Trademarks Telesis and Merlin are registered trademarks of Telesis Technologies, Inc. in the USA and/or other countries. Windows is a registered trademark of Microsoft Corporation. PROFINET is a registered trademark of PI PROFIBUS and PROFINET International. PCI, PCI express, and PCIe are registered trademarks of the Peripheral Component Interconnect Special Interest Group (PCI-SIG) © 2021 Telesis Technologies, Incorporated – All Rights Reserved 85857D i CIFX-Profinet Option Safety Summary The following formats are used throughout this documentation to advise you of hazards associated with the marking system. Notification of hazards or unsafe practices that will result in serious personal injury or death. Notification of hazards or unsafe practices that could result in serious personal injury or death. Notification of hazards or unsafe practices that could result in product damage or minor personal injury. Information to help clarify a task, action, or concept. ii 85857D CIFX-Profinet Option Contents Overview ....................................................................................................................................... 1 Hardware Platform ........................................................................................................... 1 PROFINET-IO Slave .......................................................................................................... 1 PROFINET-IO Cyclic Output Data ....................................................................................... 2 PROFINET-Cyclic Input Data .............................................................................................. 2 Adding CIFX Profinet to a new System .......................................................................................... 3 CIFX Driver Setup ............................................................................................................ 3 Board Installation .................................................................................................... 3 Driver Installation .................................................................................................... 3 SYCON.net Installation and Setup for Merlin II LS ................................................................ 3 Installation ............................................................................................................. 3 SYCON.net Configuration .......................................................................................... 4 Using Pre-Installed CIFX Profinet .................................................................................................. 8 Replacing board on CIFX-PNIO system .......................................................................................... 8 SYCON.net Configuration .......................................................................................... 8 Merlin II LS Application Setup ..................................................................................................... 12 Properties ..................................................................................................................... 12 Additional CIFX Information ............................................................................................ 12 Merlin II LS Interface Setup ............................................................................................ 13 General Tab .......................................................................................................... 13 Maintenance Tab ................................................................................................... 13 Merlin II LS Telesis PNIO Device Mapping ................................................................................... 14 PROFINET IO Cyclic Output Data ...................................................................................... 14 PROFINET IO Cyclic Input Data ........................................................................................ 14 Merlin II LS Message Types for Pass-Through Service ......................................................... 16 Merlin Touch (TMC600) Application Setup ................................................................................... 17 Properties ..................................................................................................................... 17 Additional CFIX Information ............................................................................................ 17 Merlin Touch (TMC600) Interface Setup ............................................................................ 18 Cifx Tab................................................................................................................ 18 EtherNet/IP Tab .................................................................................................... 18 Maintenance Tab ................................................................................................... 19 Merlin Touch (TMC600) Telesis PNIO Device Mapping ................................................................. 20 PROFINET IO Cyclic Output Data ...................................................................................... 20 PROFINET IO Cyclic Input Data ........................................................................................ 20 TMC600 Message Types for Pass-Through Service .............................................................. 22 PNIO Device ................................................................................................................................ 23 85857D iii CIFX-Profinet Option iv 85857D CIFX-Profinet Option Overview Hardware Platform The optional Telesis CIFX-PNIO PC Card uses the CIFX-50E PCI Express® Card for external PCs or the CIFX-90E Mini-PCI Express® Card for embedded PCs provided by Hilscher Communication Solutions. The card can be configured using software and drivers developed by Hilscher and provided on the Telesis CIFX-PNIO software kit. Throughout this document, the term “Telesis controller” refers to the TMC600 controller or the Merlin II LS-based laser marking software controllers. PROFINET-IO Slave The Telesis PNIO device is a non-profile device. For Cyclic I/O data exchange, one input data slot and one output data slot is implemented. The bytes of data associated with these slots are mapped to data within this device. Acyclic data exchange is not implemented. PROFINET-IO cyclic messaging is a producer/consumer relationship where the server produces an input data packet at given intervals and the client produces an output packet at given intervals. The PNIO device contains an internal Extended Protocol serial client that exchanges data with the Telesis controller. The current data is buffered inside the PNIO device. Data received via PROFINET-IO updates the internal output buffer and results in Extended Protocol data being sent to the Telesis controller. Data received from the Telesis controller updates the internal input buffer and is produced via PROFINET-IO at the next production interval. Some of the data being transferred is more acyclic in nature, with explicit request/response pairings. This is implemented in a message pass-through service. To transport these types of messages via the PNIO cyclic data exchange, a Message ID Field is implemented. When the PLC changes the Message ID field in the PNIO output data, it is an indication to the PNIO device that the remaining Message Type and data contains a new Extended Protocol request to be sent to the Telesis Controller. When the Extended Protocol response is received, the response data is “passed through” to the PLC. The PNIO device changes its Response Message ID field in the PNIO input data as an indication to the PLC that a response is available via the Response Message Type, Response ACK field, and Response Message Data. 85857D 1 CIFX-Profinet Option PROFINET-IO Cyclic Output Data This output packet, which is consumed by the card, consists of the following data items: • • • • Outputs: 3 bytes Message ID: 1 byte Message Type: 1 byte Message Data: up to 251 bytes The card retrieves the outputs from the fieldbus and stores it in its internal memory. Then an application can request this output image from the card using the CIFX driver. The Message ID, Message Type, and Message Data are used in the Message Pass-Through Service. PROFINET-Cyclic Input Data This input packet, which is produced by the card, consists of the following data items: • • • • • • • • Error Status: 3 bytes Machine Status: 4 bytes Inputs: 2 bytes Input: 1 byte Response Message ID 1 byte Response Message Type 1 byte Response Message ACK 1 byte Response Message Data up to 243 bytes The card receives the inputs from an application using the CIFX driver and stores it in its internal memory. Then it sends the input image to the fieldbus. The Response Message ID, Response Message Type, Response Message ACK, and Response Message Data are used in the Message Pass-Through Service. 2 85857D CIFX-Profinet Option Adding CIFX Profinet to a new System If a CIFX Profinet application is being added to a new system or for a first time to an existing system, the following board, driver, and SYCON.net application must be completed. It is recommended a qualified person perform the board installation. Note: If a kit for embedded PCs is to be installed outside of Telesis, please contact Telesis Technical services for details. CIFX Driver Setup Board Installation If the CIFX-PNIO was installed by Telesis, do not proceed with driver installation. If the kit for non-embedded PCs is purchased after and is installed outside of Telesis, the purchaser must be sure an empty PCIe slot is open and available on the PC. Only qualified personnel should install the CIFX- EIP PCIe card to the PC. Refer to the supplied CD for details and description for the board assembly and safety warnings. With the CD file open, go to Documents > PC cards CIFX > EN (English) > CIFX50E or PCI90E. Driver Installation The Telesis CIFX-PNIO software kit includes a USB stick. If the PC is not embedded, insert the stick into the PC. If the PC is embedded, insert the stick in the back of the controller. Open the files on the stick and complete the following steps: 1. Double-click Communication-Solutions. 2. In the application window, click Driver, Software, and Tools > Install cifx/netJACK Device Driver. 3. Follow the on-screen prompts to install the CIFX driver. This driver is a software-first driver, which means the card does not need to be installed on the PC to install the driver. SYCON.net Installation and Setup for Merlin II LS Installation If necessary install the SYCON.net Configuration software package: Do not attempt to install if already installed. 1. In the Telesis CIFX-PNIO software kit USB files, double-click Communication-Solutions. 2. In the application window, click Install SYCON.net Configuration Software. 3. Follow the on-screen prompts. Some windows may pop up behind the Main window. Refer to the task bar at the bottom for any hidden open pop ups. A user Account control window may pop up in the task bar. Select Yes if it does. 4. Close Adobe Flash Player and continue to SYCON.net Configuration Do not shut down or restart the system without running Sycon for the first time. 85857D 3 CIFX-Profinet Option SYCON.net Configuration To begin setup and configuration of the card on the Merlin II LS: 1. From the Start menu, run SYCON.net. 2. Acknowledge and complete any sign-on or password creation screens. To begin setup and configuration of the card on the TMC600: 1. From the TMC600 Boot Loader, click the SYCON button 2. Acknowledge any sign-on screens. Complete Configuration: 1. Create a new project, and save the project by clicking File > Save As a filename of your choosing. 2. On the right side of the netDevice pane, browse to PROFINET IO > Gateway/Stand-Alone Slave. 3. Click and drag the CIFX-RE/PNS icon with the largest version number to the center of the file folder icon in the NetProject pane or in the NetDevice pane on the project line (see below). Drop CIFXRE/PNS device on the line. 4. Double-click the device that appeared at the previous step. 5. The Configuration window below will open: In the Navigation Area, navigate to Settings > Device Assignment. In the Device Assignment view, find the device, click its checkbox, and click Apply to assign the driver to the device. Note: If no device is available, select All from the Device selection list. 4 85857D CIFX-Profinet Option 6. In the Navigation Area of the Configuration window: Navigate to Settings > Firmware Download. In the Firmware Download view, click Browse and navigate to Firmware > CIFX folder in the Telesis CIFX-PNIO software kit on the USB stick supplied by Telesis, and open the file cifxpns.nxf. Once opened click Download to download the new firmware to the device. This must be done before any configuration can be downloaded to the device. When the download is complete, click OK to save changes. 85857D 5 CIFX-Profinet Option 7. 8. Double-click the device. On the Configuration window: In the Navigation Area, navigate to Settings > Device Assignment. In the Device Assignment view, find the device PROFINET-IO IO Device, click its checkbox, and click Apply to assign the driver to the device. Note: If no device is available, select All from the Device selection list. 9. In the Navigation Area of the Configuration window, navigate to Configuration > Modules. 10. In the Modules view, manually add 4 input and 4 output modules to the card configuration. Note: The Sycon Modules must be configured exactly as the modules in the PLC hardware or the system will not work. To do so: 1) Click the Add Module button. 5) Click the Add Module button. Click in the 1 byte box and select 64-byte output. Click in the 1 byte box and select 64-byte input. 2) Click the Add Module button. 6) Click the Add Module button. Click in the 1 byte box and select 64-byte output. Click in the 1 byte box and select 64-byte input. 3) Click the Add Module button. 7) Click the Add Module button. Click in the 1 byte box and select 64-byte output. Click in the 1 byte box and select 64-byte input. 4) Click the Add Module button. 8) Click the Add Module button. Click in the 1 byte box and select 64-byte output Click in the 1 byte box and select 64-byte input. 9) Click Apply to save changes 6 85857D CIFX-Profinet Option 11. To display the address offsets for each Input and Output module, navigate to Configuration > Address Table in the Navigation Area. These are the addresses needed to interface to the system. 12. To view the GSDML file associated with the assigned device, navigate to Description > GSDML Viewer in the Navigation Area. The file path for the GSDML file displays in the File name text box. . No action is needed at this time. This file will be needed when Profinet is used. Manually locate the GSDM file with File Explorer and use for PLC setup. File Path here Note: Refer to the Hilscher documentation included with the Telesis CIFX-PNIO software kit for more information about the remaining Configuration views. 13. Once the device is configured in the software, click OK to close the Configuration window. 14. Right-click the device and click Download to download the configuration to the device. 15. Save any project changes in the folder of your choice. 16. Close SYCON.net application. Failure to Download the configuration will result in improper setup and no PNIO communications. 85857D 7 CIFX-Profinet Option Using Pre-Installed CIFX Profinet If the CIFX-PNIO was ordered with a new system, the CIFX-PNIO PCI card option will be installed at Telesis before shipment. The CIFX board and driver installation will be completed and SYCON.net application will already be installed and configured. Do not attempt to re-install the driver or SYCON.net applications, system errors could result. Proceed directly to the Application Setup section in this manual for the controller you are using. Replacing board on CIFX-PNIO system If replacing the CIFX-PNIO board, contact Telesis Technical Services for details. The board driver and SYCON.net will not need to be re-installed. Once board is replaced, continue with SYCON.net configuration. The USB drive with the CIFX-PNIO setup files that came with the CIFX-PNIO kit will need to inserted into the PC or for embedded systems the back of the controller to complete the process. SYCON.net Configuration To begin setup and configuration of the card on the Merlin II LS: 1. From the Start menu, run SYCON.net. 2. Acknowledge and complete any sign-on or password creation screens. To begin setup and configuration of the card on the TMC600: 3. From the TMC600 Boot Loader, click the SYCON button 4. Acknowledge any sign-on screens. Complete Configuration: 5. Create a new project, and save the project by clicking File > Save As a filename of your choosing. 6. On the right side of the netDevice pane, browse to PROFINET IO > Gateway/Stand-Alone Slave. 7. Click and drag the CIFX-RE/PNS icon with the largest version number to the center of the file folder icon in the NetProject pane or in the NetDevice pane on the project line (see below). Drop CIFXRE/PNS device on the line. 8 85857D CIFX-Profinet Option 8. 9. Double-click the device that appeared at the previous step. The Configuration window below will open: In the Navigation Area, navigate to Settings > Device Assignment. In the Device Assignment view, find the device, click its checkbox, and click Apply to assign the driver to the device. Note: If no device is available, select All from the Device selection list. 10. In the Navigation Area of the Configuration window: Navigate to Settings > Firmware Download. In the Firmware Download view, click Browse and navigate to Firmware > CIFX folder in the Telesis CIFX-PNIO software kit on the USB stick supplied by Telesis, and open the file cifxpns.nxf. Once opened click Download to download the new firmware to the device. This must be done before any configuration can be downloaded to the device. When the download is complete, click OK to save changes. 85857D 9 CIFX-Profinet Option 11. Double-click the device. 12. On the Configuration window: In the Navigation Area, navigate to Settings > Device Assignment. In the Device Assignment view, find the device PROFINET-IO IO Device, click its checkbox, and click Apply to assign the driver to the device. Note: If no device is available, select All from the Device selection list. 13. In the Navigation Area of the Configuration window, navigate to Configuration > Modules. 14. In the Modules view, manually add 2-64 byte inputs then 2-64 byte outputs in the Sycon modules window 2 input and 2 output modules to the card configuration. Note: The Sycon Modules must be configured exactly as the modules in the PLC hardware or the system will not work. Must Match 10 85857D CIFX-Profinet Option 15. To view the GSDML file associated with the assigned device, navigate to Description > GSDML Viewer in the Navigation Area. The file path for the GSDML file displays in the File name text box. No action is needed at this time. This file will be needed when Profinet is used. Manually locate the GSDM file with File Explorer and use for PLC setup. File Path here Note: Refer to the Hilscher documentation included with the Telesis CIFX-PNIO software kit for more information about the remaining Configuration views. 16. Once the device is configured in the software, click OK to close the Configuration window. 17. Right-click the device and click Download to download the configuration to the device. 18. Save any project changes in the folder of your choice. 19. Close SYCON.net application. Failure to Download the configuration will result in improper setup and no PNIO communications. 85857D 11 CIFX-Profinet Option Merlin II LS Application Setup Properties The standard Merlin II LS software package (Telesis item 47038) supports the Telesis CIFX-PNIO PC Card, beginning with version 9.00. To use the card: 1. Start Merlin. 2. Click Setup > Level > Supervisor to enter Supervisor mode. 3. Click Machine > Properties. 4. In the Machine Properties dialog box Optional Equipment section, click the CIFX CIP Card checkbox. The Output field is enabled. This field represents the interval in which Merlin updates outputs and machine status in the PROFINET IO Cyclic Input data. 5. Click OK to create an interface to the card. Additional CIFX Information For additional information about the firmware in the card, click Help > About Cifx. The About TCifx window displays information about the firmware that is currently loaded in the card. Of particular importance is the Firmware Name—in this case, PROFINET IO Device. The firmware name is important for interfacing Merlin to the card. About TCifX 12 85857D CIFX-Profinet Option Merlin II LS Interface Setup To set up Merlin’s interface to the card, click Setup > Cifx from Supervisor mode. This displays CIFX property pages as shown below. General Tab The General Properties tab allows a Supervisor to configure properties that are not specific to any protocol. For the Telesis CIFX-PNIO PC Cards, select PROFINET from the Protocol list. Note: The PROFINET protocol should be selected only if the PROFINET IO Device firmware is loaded in the card. This can be seen in the About TCifX window in the Help Menu. The Cyclic Poll Rate text box allows a Supervisor to designate the interval in which Merlin polls the output image from the PROFINET IO Cyclic Output data in the card. By default, this value is set to 500 ms. Change the value to 200 ms, then click OK. 200 General Tab Maintenance Tab Do not operate the system for long periods of time while the datascope is enabled and writing to a file. This is due to the size of the files it can cause systems slowdowns and issues. The Maintenance tab allows a Supervisor to configure maintenance properties that are independent of any protocol. These files are used solely for trouble shooting and show communication between Ethernet IP and Merlin through the CIFX software. The Log File field allows a Supervisor to specify the file where Implicit and Explicit Extended Protocol Messages are logged. Maintenance Tab The Datascope checkbox determines whether a Datascope dialog box displays. If the dialog box displays, Implicit and Explicit Extended Protocol Messages display in the dialog box. Click OK to save any changes. Datascope Log 85857D 13 CIFX-Profinet Option Merlin II LS Telesis PNIO Device Mapping PROFINET IO Cyclic Output Data Byte Offset Purpose 0 Spare (16-23) 1 Outputs MSB (8-15) .0 = Reserved .1 = Reserved .2 = Reserved .3 = Reserved .4 = Reserved .5 = Reserved .6 = Reserved .7 = Reserved 2 Outputs LSB (0-7) .0 = GO .1 = ABORT .2 = SELECT 0 .3 = SELECT 1 .4 = SELECT 3 .5 = SELECT 4/ONLINE .6 = Reserved .7 = Reserved 3 Message ID 4 Message Type 5 Message Data PROFINET IO Cyclic Input Data 14 Byte Offset Purpose 0 Error Status Spare 1 Error Status MSB 2 Error Status LSB 3 Machine Status MSB .0 = MACHINE FLY AUTO GO .1 = MACHINE FLY TRIGGER LASER .2 = MACHINE AXIS RESET .3 = .4 = .5 = .6 = .7 = 4 Machine Status .0 = MACHINE PREVIEW .1 = MACHINE PREPOSITION .2 = MACHINE INPUT .3 = MACHINE SERIAL TOOL .4 = MACHINE SELECTED .5 = MACHINE PULSE .6 = MACHINE FLY .7 = MACHINE FLY TRIGGER 85857D CIFX-Profinet Option Byte Offset Purpose 5 Machine Status .0 = MACHINE TARGET .1 = MACHINE HOMING .2 = MACHINE PRINTING .3 = MACHINE DRYRUN .4 = MACHINE PAUSED .5 = MACHINE PARKING .6 = MACHINE BATCH .7 = MACHINE REPEAT 6 Machine Status .0 = MACHINE ABORTED .1 = .2 = .3 = .4 =MACHINE ONLINE .5 = .6 = .7 = 7 Spare (8-15) 8 Inputs (0-7) .0 = READY .1 = DONE .2 = PAUSED .3 = SPARE 1 .4 = SPARE 2 .5 = SPARE 3 .6 = Reserved .7 = Reserved 9 Reserved 10 Response Message ID 11 Response Message Type 12 Response Message ACK or NAK 13 … Response Message Data 85857D 15 CIFX-Profinet Option Merlin II LS Message Types for Pass-Through Service The following table describes the message types that can be used with the Merlin II LS software via NET232EX protocol. Refer to the Merlin II LS Operating Instructions for complete details about Extended Protocol Message Types. Message Type Description Type 1 Downloads data to the marking system or polls the system for information. • Downloading Data. If a text string is provided, this message type overwrites the content of the specified field with the data received from the host message. Note that if the field contains message flags, they will be overwritten, not updated. • Polling Data. If a text string is not provided, this message type polls the specified field and returns the current data to the host. Type A Downloads data to the marking system or polls the system for information. • Downloading Data. If a text string is provided, this message type updates the Offset Angle for the primary scan head. • Polling Data. If a text string is not provided, this message type polls the system for the current Offset Angle setting for the primary scan head and returns the current value to the host. Type a Downloads data to the marking system or polls the system for information. • Downloading Data. If a text string is provided, this message type updates the Offset Angle setting for the secondary scan head. • Polling Data. If a text string is not provided, this message type polls the system for the current Offset Angle for the secondary scan head and returns the current value to the host. Type E Places the marking system Offline with the option of displaying an error message. Type G Initiates a print cycle. Type H Downloads data to the marking system or polls the system for information. • Downloading Data. If a text string is provided, this message type updates the Offset X/Y setting for the primary scan head. • Polling Data. If a text string is not provided, this message type polls the system for the current Offset X/Y setting for the primary scan head and returns the current value to the host. Type h Downloads data to the marking system or polls the system for information. • Downloading Data. If a text string is provided, this message type updates the Offset Angle for the secondary scan head. • Polling Data. If a text string is not provided, this message type polls the system for the current Offset Angle for the secondary scan head and returns the current value to the host. Type I Polls the marking system for the I/O status. The system returns a hexadecimal code to the host. Type O Places the marking system online. This allows a host computer to reset. For example, this can be used to recover from a power outage when the marker is unattended. Type P Downloads data to the marking system or polls the system for information. • Downloading Data. If a pattern name is provided, the system loads the specified pattern and opens it. The system must be idle to load a pattern. Note also that if the pattern resides in a location other than the default pattern directory, you must specify the full file path name to identify the pattern you wish to open. • Polling Data. If a pattern name is not provided, this message type polls the marking system and returns the name of the currently loaded pattern to the host. Type Q Downloads data to the marking system or polls the system for information. • Downloading Data. If a text string is provided, this message type updates the text in the specified query text buffer. • Polling Data. If a text string is not provided, this message type polls the specified query text buffer and returns the current data to the host. Type S Polls the system for the machine status. The machine status is returned to the host in an eightcharacter hexadecimal mask. Type V Downloads data to the marking system or polls the system for information. • Downloading Data. If a text string is provided, this message type updates the variable text in the specified field with the data received from the host message. • Polling Data. If a text string is not provided, this message type polls the specified field and returns the current data to the host. 16 85857D CIFX-Profinet Option Merlin Touch (TMC600) Application Setup Properties The standard Merlin Touch software package (Telesis item 70714) in the TMC600 controller supports the Telesis CIFX-PNIO PC Card, beginning with version 2.10. To use the card: 1. Start Merlin. 2. Click Setup > Supervisor to enter Supervisor mode. 3. Click Machine > Properties. The Machine Properties window displays. 4. On the Cifx tab, click the Enable Cifx PCI-E Option button. The Output Interval field represents the interval in which Merlin updates outputs and machine status in the PROFINET IO Cyclic Input data. 5. Click OK (green check mark) to create an interface to the card. Machine Properties Window Cifx Tab Additional CFIX Information For additional information about the firmware in the card, click Help > About Cifx. The About Cifx window displays information about the firmware that is currently loaded in the card. Of particular importance is the Firmware Name—in this case, PROFINET IO Device. The firmware name is important for interfacing Merlin to the card. About TCifX Window 85857D 17 CIFX-Profinet Option Merlin Touch (TMC600) Interface Setup To set up the Merlin interface to the card, click Setup > Cifx from Supervisor mode. Cifx Tab The Cifx tab allows a Supervisor to configure properties that are not specific to any protocol. For the Telesis CIFX-PNIO PC cards, select PROFINET from the Protocol list. Note: The PROFINET protocol should be selected only if the PROFINET IO Device firmware is loaded in the card. This can be seen in the About CifX window in the Help Menu. The Cyclic Poll Rate text box allows a Supervisor to designate the interval in which Merlin polls the output image from the Output Assembly in the card. By default, this value is 500 ms. Change the value to 200 ms, then click OK (green check mark). Cifx Tab EtherNet/IP Tab The EtherNet/IP tab allows a Supervisor to configure properties for the Enable Pass-Through Service. This push button is used to determine whether the Implicit or Explicit Pass-Through Service is used. If the push button is on, the Implicit Pass-Through Service is used. Otherwise, the Explicit Pass-Through Service is used. Click OK to save any changes. EtherNet/IP Tab 18 85857D CIFX-Profinet Option Maintenance Tab The Maintenance tab allows a Supervisor to configure maintenance properties that are independent of any protocol. The Log File text box allows a Supervisor to choose a file where Implicit and Explicit Extended Protocol Messages are logged. Maintenance Tab The Data Scope button determines whether a Datascope dialog box displays. If this dialog box displays, Implicit and Explicit Extended Protocol Messages display in the dialog box. Click OK to save changes. Datascope Log 85857D 19 CIFX-Profinet Option Merlin Touch (TMC600) Telesis PNIO Device Mapping PROFINET IO Cyclic Output Data Byte Offset Purpose 0 Spare (16-23) 1 Outputs MSB (8-15) .0 = SELECT 5 .1 = SPARE INPUT (PIN 11) .2 = SPARE INPUT (PIN 12) .3 = SPARE INPUT (PIN 13) .4 = Reserved .5 = Reserved .6 = Reserved .7 = Reserved 2 Outputs LSB (0-7) .0 = GO .1 = ABORT .2 = SELECT 0 .3 = SELECT 1 .4 = SELECT 2 .5 = SELECT 3 .6 = ONLINE or SELECT 6 .7 = SELECT 4 3 Message ID 4 Message Type 5 Message Data PROFINET IO Cyclic Input Data 20 Byte Offset Purpose 0 Error Status Spare 1 Error Status MSB 2 Error Status LSB 3 Machine Status MSB .0 = .1 = .2 = .3 = .4 = .5 = .6 = .7 = 4 Machine Status .0 = MACHINE PULSING .1 = .2 = .3 = .4 = .5 = .6 = .7 = 85857D CIFX-Profinet Option Byte Offset Purpose 5 Machine Status .0 = MACHINE PAUSED .1 = MACHINE PARKING .2 = MACHINE BATCH .3 = MACHINE REPEAT .4 = MACHINE PREVIEW .5 = MACHINE PREPOSITION .6 = MACHINE INPUT .7 = MACHINE SERIAL 6 Machine Status .0 = MACHINE ABORTED .1 = .2 = .3 = .4 = MACHINE ONLINE .5 = MACHINE HOMING .6 = MACHINE PRINTING .7 = MACHINE DRYRUN 7 Spare (8-15) 8 Inputs (0-7) .0 = READY .1 = DONE .2 = PAUSED .3 = SPARE 1 (PIN 23) .4 = SPARE 2 (PIN 24) .5 = SPARE 3 (PIN 25) .6 = Reserved .7 = Reserved 9 Reserved 10 Response Message ID 11 Response Message Type 12 Response Message ACK or NAK 13 Response Message Data 85857D 21 CIFX-Profinet Option TMC600 Message Types for Pass-Through Service The following table describes the message types that can be used with the TMC600 Controller via NET232EX protocol. Refer to the TMC600 Operating Instructions for complete details about Extended Protocol Message Types. Message Type Description Type 1 Downloads data to the marking system or polls the system for information. • Downloading Data. When used to supply data, this message type overwrites the content of the specified field with the data sent from the host. Note: If the field contains message flags, they are overwritten, not updated. • Polling Data. When used to poll for data, this message type requests the content of the specified field. You can request the actual content of the field (as defined by the pattern designer), or you can request the parsed (real-time) data in the field. For example, if the field contains a date/time flag, the actual content might be “%C”, but the parsed (real-time) data might be “03/05/14 09:42”. Type G Allows the host to initiate a print cycle. Type I Requests the marking system return the status of standard output and input signals. The controller returns a hexadecimal code for the 7 output signals and 13 input signals. Type O Allows the host to place the machine online. This permits a marking system that is unattended to recover from a power outage by supplying the Online command from the host. Type P Downloads data to the marking system or polls the system for information. • Downloading Data. When used to supply data, the host sends the name of the pattern to be loaded. • Polling Data. When used to poll for data, this message type requests the name of the pattern currently loaded in the controller. Type Q Updates text in the specified query text buffer with the data sent from the host. Type S Polls the system for the machine status. The machine status is returned to the host in an eightcharacter hexadecimal mask. Type V Downloads data to the marking system or polls the system for information. • Downloading Data. When used to supply data, this message type updates the variable text in the specified field with the data sent from the host. The specified field must contain a variable text flag (%#V or %#v). To avoid data truncation, the data supplied to each field must be compatible with the maximum number of characters allowed for that field. You can supply data to a single variable text field or to multiple variable text fields. When supplying data to multiple fields: ° If you attempt to supply data to more variable text fields than exist in the pattern, the extra data is ignored. ° • 22 If you supply data for fewer variable text fields than exist in the pattern, the extra variable text fields are cleared of their data (but retain their variable text flags). Polling Data. When used to poll for data, this message type requests the user-supplied text contained in a specific variable text field. Suppose a field contains both fixed text and variable text (for example, MODEL %5V), and the user supplies the text “12345”. This message type returns only the value of the user-supplied text, “12345”. 85857D CIFX-Profinet Option PNIO Device This example shows how you can use the PNIO device in your marking application projects. The CIFX-PNIO device is used as an interface between the Telesis marking system controller and a Programmable Logic Controller (PLC) using PROFINET communications. Before you begin project setup, open the Siemens Simatic Step 7 software and configure the controller. In this example, Siemens Simatic Step 7 Professional Software V13 was used to configure the connections. The PLC has been assigned the IP address 192.168.0.1. All other settings are defaults. 85857D 23 CIFX-Profinet Option 1. In the STEP 7 software, select Options > Install GSD File… Note: “GSD” stands for “General Station Description” file. 2. On the Install GSD Files dialog box: Enter the file path found on Step # 16 on page 11 in the Sycon.net configuration process. (See below) Step 16 pg11- To view the GSDML file associated with the assigned device, navigate to Description > GSDML Viewer in the Navigation Area. The file path for the GSDML file displays in the File name text box. No action is needed at this time. This file will be needed when Profinet is used. Manually locate the GSDM file with File Explorer and use for PLC setup. File Path here After entered click OK. 24 85857D CIFX-Profinet Option 3. Click Install. The Telesis CIFX PROFINET IO device should now be accessible. 4. In the Hardware Catalog, locate the CIFX PNIO device by navigating to PROFINET IO > Additional field devices > IO > PNS. 85857D 25 CIFX-Profinet Option 5. Click and drag the CIFX device to add it to the network tree. 6. Right-click the CIFX device you just added and select Object Properties. 26 85857D CIFX-Profinet Option 7. On the General tab, under the Node in PROFINET IO section, select the device number. The device name is preloaded in the GSD file and must be exactly the same throughout the project or it will not work. 8. In the Hardware Catalog do the following: Under Input Modules, add two 64-byte inputs. Under Output Modules, add two 64-byte outputs. 85857D 27 CIFX-Profinet Option 9. From the menu, select PLC > Download. 10. In the Select Target Module dialog box: Select the PLC you are using. Click OK. 28 85857D CIFX-Profinet Option 11. In the Select Node Address box: Confirm the information is correct. Click OK. The PROFINET IO is ready to communicate to the Telesis controller via the CIFX-PNIO card. You can now program the PLC as needed for the project. 85857D 29