Table of Contents

Advertisement

Quick Links

User Manual
netPLC C100
Startup Guide
Hilscher Gesellschaft für Systemautomation mbH
www.hilscher.com
DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the netPLC C100 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for hilscher netPLC C100

  • Page 1 User Manual netPLC C100 Startup Guide Hilscher Gesellschaft für Systemautomation mbH www.hilscher.com DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public...
  • Page 2: Table Of Contents

    System Requirements PC ..................19 3.2.2 System Requirements CoDeSys ................19 Requirements for Operation ................... 20 3.3.1 Slot PLC ......................20 DEVICE DRAWINGS ....................21 netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 3 Start PLC Program .....................89 Disconnect from the Slot PLC ................90 VISUALIZATION .......................91 OPC Configurator....................92 OPC Client ......................96 netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 4 APPENDIX ......................125 18.1 netPLC CoDeSys Server Program ............... 125 18.1.1 Starting netPLC CoDeSys Server ..............125 18.1.2 netPLC CoDeSys Server Window..............126 netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 5 Mini-B USB Connector (5 Pin)................138 18.7 List of Figures ...................... 139 18.8 List of Tables......................140 18.9 Glossary....................... 141 18.10 Contacts....................... 142 netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 6: Introduction

    This user manual describes the product • NPLC-C100-DP/CDS-OPC 1.1.1 List of Revisions Index Date Chapter Revisions 2009-10-01 created Table 1: List of Revisions netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 7: Reference On Hardware, Firmware, Software And Driver

    Table 5: Reference on Server Software Software Software Version V3.3 SP1 Patch 2 CoDeSys 1.200.x.x SYCONnet netX setup.exe Table 6: Reference on Software netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 8: Conventions In This Manual

    Operation Instructions: <instruction> 1. <instruction> 2. <instruction> Results: <result> Notes: Important: <important note> Note: <note> <note, were to find further information> netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 9: Contents Of The Product Dvd

    Setup for CoDeSys programming software including configuration software Setup netPLC CoDeSys Server Setup Device Driver Table 7: Directory Structure of the CD netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 10: Documentations Netplc

    Reader format (PDF). Manual Contents Document name User Manual Startup Guide including installation, operation netPLC C100 Startup Guide UM xx EN.pdf Slot PLC C100 and hardware description CoDeSys CoDeSys Installation and first steps CoDesys Installation and Start.pdf OPC Server V3 OPC_V3_how_to_use_E.pdf...
  • Page 11: Legal Notes

    There is no entitlement to revisions of delivered documents. The manual delivered with the product applies. Hilscher Gesellschaft für Systemautomation mbH is not liable under any circumstances for direct, indirect, incidental or follow-on damage or loss of earnings resulting from the use of the information contained in this publication.
  • Page 12: Exclusion Of Liability

    Warranty Although the hardware and software was developed with utmost care and tested intensively, Hilscher Gesellschaft für Systemautomation mbH does not guarantee its suitability for any purpose not confirmed in writing. It cannot be guaranteed that the hardware and software will meet your requirements, that the use of the software operates without interruption and that the software is free of errors.
  • Page 13: Export Regulations

    * The master license includes operating of the slot PLC as master and the license for the bus configuration software SYCON.net for the respective card. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 14: Safety

    Commitment to read and understand the Manual Important! Read and understand all instructions in this manual before installation or use of your device to avoid injury. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 15: Labeling Of Safety Instructions

    Message. Note Indicates an important note in the Indicates an Important Note in the manual. Manual. Table 11: Signal Words netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 16: Safety Instructions

    Follow guidelines when you CAUTION! handle this equipment. Observe the necessary safety precautions when handling components that are vulnerable to electrostatic discharge. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 17: Safety Instructions Usa

    Follow guidelines when you handle this equipment. Observe the necessary safety precautions when handling components that are vulnerable to electrostatic discharge. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 18: Description And Requirements

    CoDeSys. In one PC a maximum of two slot PLC can be used. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 19: System Requirements

    Note: If the project file is saved and opened again or it is used on another PC, the system requirements need to match. Particularly the DTMs need to be installed on the used PC. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 20: Requirements For Operation

    For communication slave devices for the communication system PROFIBUS-DP are required. Table 13: Requirements for operation of the Slot PLC netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 21: Device Drawings

    Slot for Memory Card MicroSD Memory Card External Power Supply PROFIBUS Interface Battery holder Battery Table 14: Designation in the Device Drawing NPLC-C100-DP netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 22: Netplc C100 | Startup Guide Doc090701Um02En | Revision 2 | English | 2009-10 | Released | Public © Hilscher

    Slot for Memory Card MicroSD Memory Card External Power Supply PROFIBUS Interface Table 15: Designation in the cover of NPLC-C100-DP netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 23: System Overview

    • CoDeSys programming system inclusive bus configuration software • 3S Gateway • netPLC CoDeSys Server and the • Card’s Device Driver (cifX Device Driver). netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 24 • netPLC CoDeSys Server and the • Device Driver (cifX Device Driver). Figure 2: System Overview – Use Case 1 (One PC) netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 25 • netPLC CoDeSys Server and the • Device Driver (cifX Device Driver). Figure 3: System Overview – Use Case 2 (Two PCs with Ethernet Connection) netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 26 The following software components are necessary for PC2 to connect to a visualization software: • netPLC CoDeSys Server and the • Device Driver (cifX Device Driver). netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 27: Installing Software

    The following setups are started one after the other: bus configuration software CoDeSys programming system device driver (cifX Device Driver) netPLC CoDeSys Server netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 28 Figure 6: netPLC auto start – Local Installation The following setups are started one after the other: bus configuration software CoDeSys programming system netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 29 Figure 7: netPLC auto start – Remote Installation The following setups are started one after the other: device driver (cifX Device Driver) netPLC CoDeSys Server netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 30: Plug In Sycon.net Setup

    Select the language for the setup Click on OK. 2. Continue installation Click on Next > to continue the installation. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 31 Select I accept the terms in the license agreement, when you agree to it. Click on Next > to continue the installation. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 32 4. Enter user information Enter the user name Enter the name of the organization Click on Next > to continue the installation. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 33 Click on Next > to continue the installation. 6. Installation Click on Install to do the installation now. The components are installed. This will take several minutes. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 34 Installing Software 34/142 7. Finish installation Click on Finish The software is installed. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 35: Codesys Programming System Setup

    Click on Yes when you accept the license agreement. When you want to print the license agreement then select Print. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 36 Select Browse when you want to change the default destination folder and enter the new destination folder then. Click on Next. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 37 4. Define installation amount Select as minimum CoDeSys V3 CoDeSys Gateway CoDeSys OPC Server 3 CoDeSys Gateway V2.3 Click on Next. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 38 The default program folder is 3S CoDeSys. If you want to use an other program folder then enter it now. Click on Next. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 39 7. Installation is processed The components are installed. This will take several minutes. Manufacturer specific components (Vendor AddOn) are installed. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 40 8. Important information Read the information Select I read the information, when you have read the information. Click on Next. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 41 Installing Software 41/142 9. Finish installation Click on Finish. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 42: Device Driver Setup

    1. Language for the setup Select the language for the setup Click on OK. 2. Continue installation Click on Next > to continue. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 43 Click on Install to start the installation now. The device driver is (pre)installed. 4. Message: Device Driver is prepared Click on OK to confirm netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 44 Installing Software 44/142 5. Finish installation Click on Finish. The installation is completed. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 45: Netplc Codesys Server Setup

    Click on Next > (Weiter >) to continue 2. Installation Click on Install (Installieren) to start the installation now The software is installed. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 46 Click on Finish (Fertigstellen) to finish The software is installed. Note: The netPLC CoDeSys Server starts automatically, when the PC is started. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 47: Installing The Device Driver

    The message Found New Hardware is displayed and the Found new Hardware Wizard is started. 2. Windows Update Select No, not this time Click on Next > to continue netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 48 3. Install software automatically Select Install software automatically Click on Next > to continue. The preinstalled device driver is found and installed then. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 49 Properties > Tab Hardware > button Device Manager. Check, if the display in the Device Manager shows netPLC C100 PCI/PCIe Device netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 50: Installing Usb Driver

    The message Found New Hardware is displayed and the Found new Hardware Wizard is started. 2. Windows update Select No, not this time Click on Next > to continue. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 51 Installing Software 51/142 3. Install software automatically Select Install from a list or specific location Click on Next > to continue. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 52 Click on Browse Select the folder Drivers\USB\Windows .INF from the DVD Click on Next > to continue. The USB driver is installed netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 53 Properties > Tab Hardware > button Device Manager. Check, if the display in the Device Manager shows netPLC (COMx) netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 54: Installing Hardware (Slot Plc)

    PLC is grounded via the endplate and the PC and make sure, that you are discharged when you mount/demount the slot PLC. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 55: Installing Battery

    With delivery a protection foil protects the battery against discharge. Remove protection foil Remove the protection foil to activate the battery buffering. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 56: Installing Slot Plc Nplc C100-Dp

    6. Connect the external 24 V power supply. 7. Connect the PC to the power supply and switch on the PC. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 57: First Project

    7 characters can not be started in the target device. The eights character is used internally and therefore is reserved. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public...
  • Page 58: Preparation

    If the netPLC CoDeSys server is not running, then start it now: Start > All Programs > Hilscher GmbH > netPLC CoDeSys Server. The system tray shows the symbol netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public ©...
  • Page 59: Codesys

    V3.3 SPx Patch x for netPLC or Start CoDeSys by a double click on the desktop icon CoDeSys is started. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 60 First Project 60/142 The CoDeSys GUI appears. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 61: Create Control Program And Bus Configuration

    Create Control Program and Bus Configuration 8.3.1 Create Project 1. Create a new project Select File > New Project The window New Project appears. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 62 The window New Project is being closed and the selection window Standard Project appears 3. Set up information regarding the standard project Select the device entry NPLC-C100-DP (Hilscher GmbH) at Device At PLC_PRG in select the programming mode Structured Text (ST) Click at button OK with the left mouse button.
  • Page 63 Now the device view is activated. 5. Save project Save project using menu entry File > Save Project The project is saved. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 64 Single-click with the left mouse button at the name Application: and change the name to App (a name with less than 7 characters). A security request appears netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 65 7. Rename the application Answer with Yes to the security request The name of the application is changed to App. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 66: Add Profibus-Dp Slave Device By Use Of A Gsd File

    Click on Reload Catalog to update the device catalog The device catalog is reloaded 4. Close options window Click on OK to close the window. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 67: Bus Configuration

    1. Opening the configuration window Open configuration window with double click NPLC_PROFIBUS (NPLC_PROFIBUS). The configuration window NPLC_PROFIBUS with the tab Configurator appears. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 68 CB_AB32-DPS for instance and drag and drop the device icon to the bus line. The slave device appears at the PROFIBUS bus line. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 69 Click on OK to close the windows and to apply the settings. The window closes and the settings are applied. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 70 Select in the navigation area Bus Parameters. 6. Set Baud Rate Set at Baud Rate the Baud Rate, e. g. 1500 for 1, 5 MBit/s netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 71 Click on OK to close the windows and to apply the settings. The window closes and the settings are applied. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 72 10. Connect the PROFIBUS devices with a PROFIBUS cable Connect the Slot SPS with a PROFIBUS cable with the PROFIBUS-DP slave device(s). netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 73: Create Plc Program

    Open the Editor with a double click with the left mouse button at PLC_PRG (PRG). The editor window appears. The following picture shows the Editor without any variables and PLC program. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 74 2. Create a variable Create variable following variables: var1 : BYTE; opc_ib0 : BYTE; opc_ib1 : BYTE; opc_qb0 : BYTE; netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 75 OPC server. 4. Save project Save project using menu entry File > Save Project The project is saved. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 76 1. Create retain variables Create the section VAR RETAIN END_VAR Create a variable inside this section VAR RETAIN uiRemCount : UINT; END_VAR netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 77: Create Symbol Configuration

    Create Symbol Configuration 1. Add Object Select from the context menu on App the entry Add Object. The Object selection list appears. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 78 Click on Open In the project tree the entry Symbol configuration appears. In the editor window the tab Symbol configuration appears. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 79 4. Show available variables Open below Available Items the tree Variables > PLC_PRG. The variables opc_ib0, opc_ib1 and opc_qb0 appear. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 80 Add this variable by a click on “>“ to the Selected Variables. The variables opc_ib0, opc_ib1 and opc_qb0 appear at Selected Variables. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 81: Build Project

    The project has successfully been built. 3. Save project Save project using menu entry File > Save Project The project is saved. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 82: Connect To The Slot Plc

    Open by double clicking with the left mouse button onto Device (NPLC- C100-DP) the tab Communication Settings of the window Device. The window Device with the tab Communication Settings appears. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 83 The window Gateway appears 3. Accept Gateway Click at OK in order to accept setting Gateway-1. The window Gateway is being closed. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 84: Scan Network And Set Active Path

    PLC via the netPLC CoDeSys server as well as via Ethernet. Found devices are displayed below Gateway-1. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 85 Click on Set active path to establish a connection to the device Beside the device NPLC-C100-DP the text active appears. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 86: Download Control Program And Bus Configuration

    (zero voltage secure) in the slot PLC. This is described in section Create Boot Application on page 88. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 87 Downloading … and shows the size of the already downloaded program and the complete size of the program. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 88: Create Boot Application

    If an existing boot application should be removed, then select Online > Reset > Origin. The slot PLC is resetted and the existing boot application is removed. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 89: Start Plc Program

    Check the PROFIBUS-DP Slave that the output data changes. Change the input data of the PROFIBUS-DP Slave device and verify that these appear in the slot PLC. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 90: Disconnect From The Slot Plc

    Online > Log out from 'Appl [Device: PLC Logic]' Ctrl+F8, in order to log out. The connection to the slot PLC is disconnected. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 91: Visualization

    Installed OPC server • Installed 3S OPC server The netPLC CoDeSys server must be started and have access to the Slot PLC. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 92: Opc Configurator

    Select Edit > Append PLC or press the key combination Strg+A. The window Settings for PLC appears The default name is PLC1. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 93 3. Set Interface to GATEWAY3 Set the Interface to GATEWAY3 4. Edit Connection Select in the tree view the entry Connection. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 94 Active Path is set. 7. Close the window Click on OK to close the window The settings are stored temporarily netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 95 Click Save The OPC configuration file is stored 9. End OPC configurator Select File > Exit to end the OPC configurator. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 96: Opc Client

    6. Values are read from the control unit 7. Values can be written to the control unit: opc_qb0 can be written netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 97: Functions

    Categories the entry Functions (Libraries) select under Items the entry CMPSYSFUNCTIONS_NETPLC The system functions for the slot PLC are displayed netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 98: Battery Status - Statusofbattery

    Measured voltage level of the battery in Volts. A battery voltage level above 2,75 V means the battery voltage is sufficient. Table 17: System function StatusOfBattery netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 99: Status External Power Supply - Statusofext24Vdc

    TURE: External 24 V power supply available FALSE: External 24 V power supply not available Table 18: System function StatusOfExt24VDC netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 100: Status Pci Power Supply - Statusofpcipower

    BOOL Output FALSE TRUE: PCI power supply available FALSE: PCI power supply not available Table 19: System function StatusOfPCIPower netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 101: Hardware

    Hardware 101/142 11 Hardware 11.1 Block Diagram Figure 11: NPLC-C100-DP Block Diagram netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 102: Internal And External Power Supply

    PLC will go the automatically into RUN mode unintended. Please move the switch into position STOP to prevent an unintended restart. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 103: Battery

    • buffering of volatile key data. A fully charged battery has a life time of 1 year. Important: Recommendation: Change the battery every 12 month. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 104: Changing The Battery

    4. Pull out the slot PLC from the card slot of your PC. 5. Remove Battery To remove the battery from its battery holder move it sidewards netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 105 8. Fix the slot PLC at the designated drilling hole. 9. Close the PC housing. 10. Reconnect the PC to the mains power and switch it on. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 106: Battery Disposal

    The battery may be monitored from your PLC program using the system function StatusOfBattery. Read on for closer information in the chapter xxx on page xx. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 107: Bus Diagnostic

    “Unknown version of application App on taget. Do you want to perform a download and replace the application?”. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 108 Downloading … and shows the size of the already downloaded program and the complete size of the program. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 109: Device Assignment

    NPLC_PROFIBUS (NPLC PROFIBUS) the tab Device Assignment of the window NPLC_PROFIBUS. The window NPLC_PROFIBUS with the tab Device Assignment appears. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 110 2. Scan for devices Click on Online. Click on Scan to search for devices. All devices having been found are displayed netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 111 Bus Diagnostic 111/142 3. Select device Select (e. g.) cifx0_ch0 netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 112: Connect To The Profibus-Dp Master

    Bus Diagnostic 112/142 13.1.3 Connect to the PROFIBUS-DP Master 1. Open the configuration window Select tab Configurator. The network display appears. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 113 A connection to the master device is established A green display of the text shows that a connection to the master exists. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 114: Debug Bus Configuration

    The debug mode is started. The following figure shows that there is a cyclic PROFIBUS communication between the master and the slave. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 115 Address 2 is shown in yellow, because a diagnostic message for slave with address 2 is available in the master device. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 116 Select from the context menu (right mouse click on the icon for the master) Stop Debug Mode. The debug mode is stopped. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 117: Verify Input And Output Data

    Change the input data on the PROFIBUS-DP slave device. The data is transferred via PROFIBUS to the master. The I/O Monitor shows the input data on offset 0 and 1. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 118 4. Disconnect from master Select from the context menu (right mouse click on the icon for the master) Disconnect. The connection is disconnected. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 119: Troubleshooting

    Note: More information about the device diagnosis and its functions you find in the operating manual of the corresponding fieldbus system. Therefore refer to section Documentations netPLC on page 10. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 120: Led

    Bootloader is waiting for software (yellow) Power supply for the device is missing or hardware defect. Table 21: System LED netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 121: Led Apl

    Communication to at least one Slave is disconnected cyclic (red) Communication to one/all Slaves is disconnected (red) Table 23: LEDs PROFIBUS DP Master netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 122: Error Numbers

    The status of the battery is “bad”. The battery has to be exchanged. 1010 FCT_NOT_SUPPORTED_ERROR This function is not supported. Table 24: Error Numbers CmpSysFunctions_netPLC Functions netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 123: Technical Data

    120 x 90 x 20 mm (130 x 121 x 22 mm over all) Operating Temperatur 0 … 55 °C Table 26: Technical Data NPLC-C100-DP netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 124: Protocols

    DP V1 services class 1 and 2 are not supported DP V2 services are not implemented Table 27: Technical Data PROFIBUS-DP Master Protocol netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 125: Appendix

    The netPLC CoDeSys Server will be installed under Windows that it starts automatically each time the PC is powered. To start the server manually select Start > All Programs > Hilscher GmbH > netPLC CoDeSys Server. In case the netPLC CoDeSys Server Program is started and running you...
  • Page 126: Netplc Codesys Server Window

    (DPM r = receive) via the device driver to the slot PLC. Table 28: netPLC CoDeSys Server Window – Items netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 127: Stopping Netplc Codesys Server

    Stop in the window of the server itself. Answer the confirmation prompt with Yes to quit the netPLC CoDeSys Server. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 128: Example Projects

    Table 30: Example – netPLC System Function The system functions are explained in the chapter Functions – CmpSysFunctions_netPLC on page 97 and following. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 129: Netplc Open Process Control (Opc)

    Write value between 0 to 255 to the item opc_qb0 and opc_qb1 and check if the values read back from opc_ib0 and opc_ib1 are getting equal. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 130: Netplc Real Time Clock

    PLC and how to read the value back Table 32: Example – netPLC Real Time Clock netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public...
  • Page 131: Firmware Update

    Setup with a double click on the cifX Setup symbol The cifx Driver Setup Program is started netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 132 132/142 3. Select CH#0 Select in the Device List tree under Active Devices at cifX (cifX0, cifX1, …) entry CH#0. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 133 Select the firmware file. The file name is NPC1CDPM.nxf for the slot PLC. 5. Provide firmware file for download Click on Open The firmware file is shown below Assigned Module/Firmware Files netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 134 PLC. Switch on the PC and if required switch on the external power supply. The slot PLC does a reset. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 135: Memory Card

    The device then has factory settings. 5. Remove the SD card from the SD card slot netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 136: Profibus Interface

    The reason is that these devices must deliver the power supply for the termination resistors. Otherwise the Master can be connected at any desired position. netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 137 135…165 Ohm Capacity < 30 pF/m Loop resistance 110 Ohm/km Wire gauge 0,64 mm Table 35: Characteristics of PROFIBUS certified Cable netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 138: Mini-B Usb Connector (5 Pin)

    USB_EXT USB Bus Power (+5 V, supplied externally) Data - Data + Not connected Ground Table 36: Pin out, S302 netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 139: List Of Figures

    Figure 15: PROFIBUS Interface (DSub female connector, 9 pin), X400 Abbildung 16: PROFIBUS Network Figure 17: Mini-B USB Connector (5 Pin), S302 netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 140: List Of Tables

    Table 34: PROFIBUS Segment Length in dependence of the Baud rate Table 35: Characteristics of PROFIBUS certified Cable Table 36: Pin out, S302 netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 141: Glossary

    DP and FMS General Station Description, Device description file netX networX on chip, next generation of communication controllers netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...
  • Page 142: Contacts

    Phone: +39 02 25007068 E-Mail: info@hilscher.us E-Mail: info@hilscher.it Support Support Phone: +1 630-505-5301 Phone: +39/02 25007068 E-Mail: us.support@hilscher.com E-Mail: it.support@hilscher.com netPLC C100 | Startup Guide DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public © Hilscher, 2009...

This manual is also suitable for:

Nplc-c100-dp

Table of Contents