background image

First Project 

67/142 

netPLC C100 | Startup Guide  
DOC090701UM02EN | Revision 2 | English | 2009-10 | Released | Public  

© Hilscher, 2009 

8.3.3 

Bus Configuration  

1.  Opening the configuration window 

¾

  Open the configuration window with a double click at

NPLC_PROFIBUS (NPLC_PROFIBUS)

.  

°

The configuration window 

NPLC_PROFIBUS

 with the tab 

Configurator

appears. 

 

 

 

Summary of Contents for 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: ...ons 13 1 3 6 Registered Trademarks 13 1 4 Licenses 13 2 SAFETY 14 2 1 Safety Instructions 14 2 2 Intended Use 14 2 3 Personnel Qualification 14 2 4 Commitment to read and understand the Manual 14 2 5...

Page 3: ...g Slot PLC NPLC C100 DP 56 8 FIRST PROJECT 57 8 1 Overview 57 8 2 Preparation 58 8 2 1 netPLC CoDeSys Server 58 8 2 2 CoDeSys 59 8 3 Create Control Program and Bus Configuration 61 8 3 1 Create Projec...

Page 4: ...6 12 3 Check the Battery Status with CoDeSys 106 13 BUS DIAGNOSTIC 107 13 1 Start up the Bus and Test 107 13 1 1 Login and Download 107 13 1 2 Device Assignment 109 13 1 3 Connect to the PROFIBUS DP M...

Page 5: ...C PROFIBUS Simple IO 128 18 2 2 netPLC System Functions 128 18 2 3 netPLC Open Process Control OPC 129 18 2 4 netPLC Real Time Clock 130 18 3 Firmware Update 131 18 4 Memory Card 135 18 5 PROFIBUS Int...

Page 6: ...r Manual This user manual is the startup guide for the use of the PLC programming software CoDeSys in odrer to program a slot PLC card named NPLC C100 DP for a PC with an example program This user man...

Page 7: ...elong together Hardware Hardware Revision NPLC C100 DP 3 4 Table 2 Reference on Hardware Firmware Firmware File Fieldbus System Firmware Version NPC1CDPM nxf PROFIBUS DP Master 3 3 1 20 Table 3 Refere...

Page 8: ...Public Hilscher 2009 1 1 3 Conventions in this Manual Operation instructions a result of an operation step or notes are marked as follows Operation Instructions instruction Or 1 instruction 2 instruct...

Page 9: ...re of the DVD All manuals on this DVD are delivered in the Adobe Acrobat Reader format PDF Directory Name Description Adobe Flash Player Adobe Flash Player installation program Documentation Documenta...

Page 10: ...delivered in the Adobe Acrobat Reader format PDF Manual Contents Document name User Manual Slot PLC C100 Startup Guide including installation operation and hardware description netPLC C100 Startup Gui...

Page 11: ...cumentation were created for the use of the products by qualified experts however errors cannot be ruled out For this reason no guarantee can be made and neither juristic responsibility for erroneous...

Page 12: ...export or import the product 1 3 4 Warranty Although the hardware and software was developed with utmost care and tested intensively Hilscher Gesellschaft f r Systemautomation mbH does not guarantee i...

Page 13: ...ted to comply with the regulations at your personal responsibility We wish to inform you that you may require permission from state authorities to export re export or import the product 1 3 6 Register...

Page 14: ...ed 2 2 Intended Use The slot PLC described in this user manual is a PC card with PLC functionality and fieldbus communication Depending from the loaded firmware the fieldbus systems listed in the foll...

Page 15: ...f Warning or Principle Signal Word Meaning Meaning ANSI DANGER Indicates a direct hazard with high risk which will have as consequence death or grievous bodily harm if it isn t avoided Indicates a Haz...

Page 16: ...abinet and install or remove the slot PLC only after disconnecting power 2 7 Property Damage Messages This manual contains instructions which must must be red understod and observed to avoid damage to...

Page 17: ...n the PC cabinet and install or remove the XXX card only after disconnecting power 2 9 Property Damage Messages USA This manual contains instructions which must must be red understod and observed to a...

Page 18: ...tionality and fieldbus communication Depending from the loaded firmware the fieldbus systems listed in the following table can be realized using the respective slot PLC Slot PLC Fieldbus System NPLC C...

Page 19: ...68 pixel or higher Keyboard and Mouse 3 2 2 System Requirements CoDeSys System requirements for the programming system CoDeSys with configuration software SYCON net The configuration software SYCON ne...

Page 20: ...e netPLC CoDeSys Server has to be installed and must run if communicating via PCI with the slot PLC Firmware The firmware NPC1CDPM NXF has to be loaded into the slot PLC License Licenses are required...

Page 21: ...ce Drawing NPLC C100 DP Figure 1 Device Drawing NPLC C100 DP Number Designation 1 LED SYS 2 LED APL 3 LED COM0 4 LED COM1 5 RUN STOP Switch 6 DIAG USB Diagnostic Interface 7 Slot for Memory Card 8 Mic...

Page 22: ...009 10 Released Public Hilscher 2009 4 1 1 Cover NPLC C100 DP Designation LED SYS LED APL LED COM0 LED COM1 RUN STOP Switch DIAG USB Diagnostic Interface Slot for Memory Card MicroSD Memory Card Exter...

Page 23: ...same PC or on two separate PCs The following system overview shows beside the CoDeSys programming system and the slot PLC additional components how these communicate together and which component needs...

Page 24: ...The CoDeSys programming system and the slot PLC are installed on the same PC as use case 1 The following software components are necessary on this PC CoDeSys programming system inclusive bus configur...

Page 25: ...is installed in PC2 as use case 2 Both PC are connected via Ethernet local network The following software components are necessary for PC1 CoDeSys programming system inclusive bus configuration softwa...

Page 26: ...The USB port of PC1 is connected via an USB cable to the USB port of the Slot PLC The following software components are necessary for PC1 CoDeSys programming system inclusive bus configuration softwar...

Page 27: ...D into your local DVD ROM drive 2 Select CoDeSys V3 of the auto start menu Note Administrator privileges are required on Windows XP systems for installation 3 Select installation amount Three selectio...

Page 28: ...tem only when you want to install the programming system on one PC and the slot PLC in an other PC The programming system can communicate via Ethernet with the PC with the slot PLC or via USB with the...

Page 29: ...scher 2009 Select Remote Install PC card driver and server only when you want to install the slot PLC device driver and server This is the PC with the slot PLC Figure 7 netPLC auto start Remote Instal...

Page 30: ...Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 6 1 Plug In SYCON net Setup 1 Language for the setup Select the language for the setup Click on OK 2 Continue installati...

Page 31: ...C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 3 Accept license agreement Select I accept the terms in the license agreement when you agree to it Click on...

Page 32: ...42 netPLC C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 4 Enter user information Enter the user name Enter the name of the organization Click on Next to c...

Page 33: ...sh 2009 10 Released Public Hilscher 2009 5 Select setup type Select Complete when you want to install the complete software Click on Next to continue the installation 6 Installation Click on Install t...

Page 34: ...Installing Software 34 142 netPLC C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 7 Finish installation Click on Finish The software is installed...

Page 35: ...English 2009 10 Released Public Hilscher 2009 6 2 CoDeSys Programming System Setup 1 Accept installation Click on Next to start the installation 2 License agreement Click on Yes when you accept the l...

Page 36: ...Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 3 Define destination folder Select Browse when you want to change the default destination folder and enter the ne...

Page 37: ...etPLC C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 4 Define installation amount Select as minimum CoDeSys V3 CoDeSys Gateway CoDeSys OPC Server 3 CoDeSys...

Page 38: ...C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 5 Define Program Folder The default program folder is 3S CoDeSys If you want to use an other program folder...

Page 39: ...ide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 6 Summary Click on Next 7 Installation is processed The components are installed This will take several minutes Manufacture...

Page 40: ...2 netPLC C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 8 Important information Read the information Select I read the information when you have read the i...

Page 41: ...Installing Software 41 142 netPLC C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 9 Finish installation Click on Finish...

Page 42: ...100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 6 3 Device Driver Setup 1 Language for the setup Select the language for the setup Click on OK 2 Continue ins...

Page 43: ...artup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 3 Installation Click on Install to start the installation now The device driver is pre installed 4 Message Device D...

Page 44: ...Installing Software 44 142 netPLC C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 5 Finish installation Click on Finish The installation is completed...

Page 45: ...0701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 6 4 netPLC CoDeSys Server Setup 1 Continue installation Click on Next Weiter to continue 2 Installation Click on Install Installiere...

Page 46: ...up Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 3 Finish installation Click on Finish Fertigstellen to finish The software is installed Note The netPLC CoDeSys Server...

Page 47: ...d in section Installing Slot PLC NPLC C100 DP on page 56 then the Windows Hardware Detection asks for a driver with the next start of the PC 1 Switch on the PC After installing the slot PLC switch on...

Page 48: ...artup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 3 Install software automatically Select Install software automatically Click on Next to continue The preinstalled d...

Page 49: ...installation Click on Finish The installation is completed 5 Check in the Device Manager if the driver for the slot PLC is installed properly Open the Device Manager Desktop symbol My Computer right m...

Page 50: ...is connected via USB to your PC then the Windows Hardware detection asks for a driver 1 Connect a USB cable Connect a USB cable your PC with the USB port of the slot PLC Windows XP detects the slot P...

Page 51: ...are 51 142 netPLC C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 3 Install software automatically Select Install from a list or specific location Click on...

Page 52: ...ert the netPLC C100 DVD into your local DVD ROM drive Insert the netPLC C100 DVD into your local DVD ROM drive Select Search for the best driver in these locations Select Include this location in the...

Page 53: ...Finish installation Click on Finish The Installation is completed 6 Check in the Device Manager if the driver for the slot PLC is installed properly Open the Device Manager Desktop symbol My Computer...

Page 54: ...prevent damage to the PC and the slot PLC make sure that the slot PLC is grounded via the endplate and the PC and make sure that you are discharged when you mount demount the slot PLC 7 1 1 Safety Adv...

Page 55: ...Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 7 2 Installing Battery With delivery a protection foil protects the battery against discharge Remove protection foil Remo...

Page 56: ...g Slot PLC NPLC C100 DP For installation of the slot PLC handle as follows 1 Disconnect the power plug of the PC 2 Open the cabinet of the PC 3 Plug in the slot PLC on a free PCI slot 4 Fix the slot P...

Page 57: ...e device and a PROFIBUS cable are needed If the project is loaded via USB into the slot PLC then a USB cable with type A to type mini B is needed An important note in advance Important The name of the...

Page 58: ...the installation from DVD Note Make sure that the server runs if no USB is used Note The netPLC CoDeSys server program must always be started before CoDeSys is started 1 Check if netPLC CoDeSys server...

Page 59: ...sh 2009 10 Released Public Hilscher 2009 8 2 2 CoDeSys Note Start CoDeSys always with the profile for netPLC 1 Start CoDeSys Select Start All Programs 3S CoDeSys CoDeSys CoDeSys V3 3 SPx Patch x for n...

Page 60: ...First Project 60 142 netPLC C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 The CoDeSys GUI appears...

Page 61: ...tartup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 8 3 Create Control Program and Bus Configuration 8 3 1 Create Project 1 Create a new project Select File New Proje...

Page 62: ...roject in the field Name Select a folder for storage of project data in the field Location such as C Projekt Click at button OK with the left mouse button The window New Project is being closed and th...

Page 63: ...being closed and the project tree appears 4 Switch to the device view Check that the view is switched to If the view has been switched to POUs then click onto the tab using the left mouse button in o...

Page 64: ...rs as maximum The target device supports the MS DOS file format 8 3 and no long file names Application names with more than 7 characters can not be executed in the target device The eights character i...

Page 65: ...5 142 netPLC C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 7 Rename the application Answer with Yes to the security request The name of the application is...

Page 66: ...ant to add PROFIBUS DP slave devices to your device catalog then copy the GSD file s of your slave device s into this folder E Documents and Settings All Users Application Data SYCONnet PROFIBUS GSD 2...

Page 67: ...ision 2 English 2009 10 Released Public Hilscher 2009 8 3 3 Bus Configuration 1 Opening the configuration window Open the configuration window with a double click at NPLC_PROFIBUS NPLC_PROFIBUS The co...

Page 68: ...English 2009 10 Released Public Hilscher 2009 2 Insert PROFIBUS DP Slave Device Select from the Device Catalog a PROFIBUS DP Slave Device such as the CB_AB32 DPS for instance and drag and drop the dev...

Page 69: ...gation area The slave device used in this example already has selected modules at Configured Modules If you use an other slave then insert modules from Available Modules to Configured Modules by using...

Page 70: ...09 10 Released Public Hilscher 2009 5 Open the window for Master configuration Open by a double click on the icon for the Master the configuration window for the master Select in the navigation area B...

Page 71: ...P slave s Select in the navigation area Station Table Set in the column Station Address the address of the PROFIBUS DP slave device The Master uses this address as slave identification to communicate...

Page 72: ...ta within the Fieldbus I O image Open the variable tree The configuration window NPLC_PROFIBUS containing the tab Fieldbus I O Image appears The column Address shows the occupation of the I O image Th...

Page 73: ...09 10 Released Public Hilscher 2009 8 3 4 Create PLC Program 1 Open Editor for function module PLC_PRG Open the Editor with a double click with the left mouse button at PLC_PRG PRG The editor window a...

Page 74: ...t 74 142 netPLC C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 2 Create a variable Create variable following variables var1 BYTE opc_ib0 BYTE opc_ib1 BYTE...

Page 75: ...of variable var1 is written to the output byte QB1 opc_ib0 IB0 und opc_ib1 IB1 Input bytes IB0 and IB1 are copied to the variables opc_ib0 and opc_ib1 This is the preparation that the OPC server can...

Page 76: ...uide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 To create retain variables 1 Create retain variables Create the section VAR RETAIN END_VAR Create a variable inside this s...

Page 77: ...100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 8 3 5 Create Symbol Configuration 1 Add Object Select from the context menu on App the entry Add Object The O...

Page 78: ...nglish 2009 10 Released Public Hilscher 2009 2 Add object symbol configuration Select from the window Add Object the entry Symbol Configuration Click on Open In the project tree the entry Symbol confi...

Page 79: ...ish 2009 10 Released Public Hilscher 2009 3 Refresh available variables Click at Available Variables on Refresh The Available Variables are updated 4 Show available variables Open below Available Item...

Page 80: ...es the variable opc_ib0 Add this variable by a click on to the Selected Variables Mark in the tree below Available Variables the variable opc_ib1 Add this variable by a click on to the Selected Variab...

Page 81: ...roject Select Build Build App Device PLC Logic F11 in order to build the project The project is being built 2 Check the message window Check that the message Compile complete 0 errors 0 warnings appea...

Page 82: ...ublic Hilscher 2009 8 4 Connect to the Slot PLC 8 4 1 Define Gateway 1 Open the window Communication Settings Open by double clicking with the left mouse button onto Device NPLC C100 DP the tab Commun...

Page 83: ...leased Public Hilscher 2009 If no gateway appears the do step 2 and 3 If a gateway already shows up then skip step 2 and 3 2 Add Gateway Click at button Add Gateway The window Gateway appears 3 Accept...

Page 84: ...at the server runs if no USB is used Note If you use a USB connection then check now that the USB cable is connected 1 Scan the network Click on Scan Network to search for NPLC C100 devices Devices ar...

Page 85: ...2EN Revision 2 English 2009 10 Released Public Hilscher 2009 2 Set active path Click below Gateway 1 on the device NPLC C100 DP to mark it Click on Set active path to establish a connection to the dev...

Page 86: ...e Do you want to create it and proceed with download If the projects are different then the message Unknown version of application App on taget Do you want to perform a download and replace the applic...

Page 87: ...not exist on device Do you want to create it and proceed with download with Yes The application is downloaded into the slot PLC With the start of the download the slot PLC goes into the stop mode The...

Page 88: ...the bus configuration permanently zero voltage secure in the slot PLC 1 Create boot application Select Online Create Boot Application for App Device PLC Logic The boot application is created and down...

Page 89: ...start the PLC program Important Check that the switch on the slot PLC for the position RUN If the switch is in position STOP the switch it to run The slot PLC goes in state RUN The PLC program increme...

Page 90: ...e DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 8 6 Disconnect from the Slot PLC 1 Logging out Select Online Log out from Appl Device PLC Logic Ctrl F8 in order to log out T...

Page 91: ...he following sections describe the configuration steps to connect a visualization software via OPC to the slot PLC Requirements Operational slot PLC existing of installed hardware installed device dri...

Page 92: ...9 9 1 OPC Configurator 1 Start OPC configurator Start the OPC Configurator Start All Programs 3S CoDeSys CoDeSys OPC Server 3 OPC Configurator The window of the OPC Configurator appears 2 Append PLC S...

Page 93: ...netPLC C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 3 Set Interface to GATEWAY3 Set the Interface to GATEWAY3 4 Edit Connection Select in the tree view...

Page 94: ...dows to enter the address appears 6 Enter CoDeSys PLC address Use 1217 for Port Enter for CoDeSys PLC address the address the 3S Gateway has access to the slot PLC e g 0134 Important Use the address s...

Page 95: ...2 English 2009 10 Released Public Hilscher 2009 8 Save configuration Select File Save As Enter the file name OPCServer ini and overwrite the existing file Click Save The OPC configuration file is sto...

Page 96: ...se this very depends on the used visualization software 1 Start the OPC client software 2 Establish a connection to the OPC server The OPC server starts automatically 3 The variables can be browsed 4...

Page 97: ...hecks if the slot PLC is supplied externally by an additional power supply StatusOfPCIPower Checks if the slot PLC is supplied with the PCI power Table 16 System functions CmpSysFunctions_netPLC To in...

Page 98: ...xDone BOOL Output FALSE TRUE System function ready FALSE This function will be called in the next PLC cycle again xBusy BOOL Output FALSE TRUE System function in process FALSE System function not in p...

Page 99: ...RUE System function ready FALSE This function will be called in the next PLC cycle again xBusy BOOL Output FALSE TRUE System function in process FALSE System function not in process xError BOOL Output...

Page 100: ...System function ready FALSE This function will be called in the next PLC cycle again xBusy BOOL Output FALSE TRUE System function in process FALSE System function not in process xError BOOL Output FA...

Page 101: ...Hardware 101 142 netPLC C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 11 Hardware 11 1 Block Diagram Figure 11 NPLC C100 DP Block Diagram...

Page 102: ...aviour The PowerOn Reset will be served from both power sources internal und external 11 4 RUN STOP Switch The PLC program s operating condition in the slot PLC can be changed using the physical switc...

Page 103: ...ype CR2032 Using the Battery is optional The PLC program is saved in the Flash memory when a boot application has been created and needs no battery buffering The battery is used for buffering the time...

Page 104: ...0 Released Public Hilscher 2009 12 1 Changing the Battery 1 Pull off the power plug of your PC 2 Open the housing of your PC 3 Unmount the slot PLC 4 Pull out the slot PLC from the card slot of your P...

Page 105: ...attention to the polarity of the Battery In the picture below the positive pole is on top To insert the Battery shift it under control of the correct polarity into the battery holder 7 Plug in the sl...

Page 106: ...igin Products containing batteries are marked with a crossed wheelie bin symbol Figure 12 Labeling Batteries Beneath the symbol you will find also a chemical symbol added for a particular metal if the...

Page 107: ...Login and Download 1 Login to the slot PLC Select Online Login to App Device PLC Logic The software verifies if the project in the slot PLC is the same as the project on the PC If no PLC program is in...

Page 108: ...s not exist on device Do you want to create it and proceed with download with Yes The application is downloaded into the slot PLC With the start of the download the slot PLC goes into the stop mode Th...

Page 109: ...0 Released Public Hilscher 2009 13 1 2 Device Assignment 1 Open window Device Assignment Open by double clicking with the left mouse button onto NPLC_PROFIBUS NPLC PROFIBUS the tab Device Assignment o...

Page 110: ...142 netPLC C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 2 Scan for devices Click on Online Click on Scan to search for devices All devices having been f...

Page 111: ...Bus Diagnostic 111 142 netPLC C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 3 Select device Select e g cifx0_ch0...

Page 112: ...netPLC C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 13 1 3 Connect to the PROFIBUS DP Master 1 Open the configuration window Select tab Configurator The...

Page 113: ...sh 2009 10 Released Public Hilscher 2009 2 Connect to the PROFIBUS DP Master Select from the context menu right mouse click on the icon for the master Connect A connection to the master device is esta...

Page 114: ...e that the PROFIBUS DP slave device is operational and connected with a PROFIBUS cable with the PROFIBUS DP Master device 1 Start debugger Select from the context menu right mouse click on the icon fo...

Page 115: ...Hilscher 2009 2 Open station diagnostic Open with a double click on the icon of the Master the diagnostic window Select in the navigation area Station Diagnosis The station diagnosis appears Address 2...

Page 116: ...agnostic Click on reset to reset stored diagnostic messages in the Master device Address 2 is shown in yellow because no diagnostic message for slave with address 2 is available in the master device 4...

Page 117: ...e input and output data with the I O Monitor Select in the navigation area I O Monitor 2 Verify the input data with the I O Monitor The input data for the uses slave device in the example is on offset...

Page 118: ...output data for the uses slave device in the example is on offset 0 and 1 Enter in the window in the area for the output data on offset 0 and 1 data Click on Update to transfer the output data The da...

Page 119: ...of the used cable is correct Configuration Check the configuration in the Master and the Slave device The configuration has to match Diagnostic using the System Configurator SYCON net With the menu O...

Page 120: ...n status COM 1 Communication Status red green not used Table 20 LED Naming in the Device Drawing and LED Meaning and Naming by Protocol 15 1 LED SYS The following table describes the meaning of the sy...

Page 121: ...2 LED APL CoDeSys 15 3 LED PROFIBUS DP Master The subsequent table describes the meaning of the LEDs for the fieldbus device when the firmware of the PROFIBUS DP Master protocol is loaded to the devic...

Page 122: ...etPLC Functions The error numbers have data type INT Error Number Name Description 0 NO_ERROR No error occurred 1000 INTERNAL_ERROR Unexpected internal error is occurred 1001 BATTERY_BAD_ERROR The sta...

Page 123: ...yte SDRAM 128 KByte SRAM Battery buffering 4 MByte serial Flash LED SYS APL COM0 COM1 Operating Elements RUN STOP switch Battery Type CR 2032 Memory Card microSD Configuration Software DP Master CoDeS...

Page 124: ...ytes Maximum number of cyclic input data 244 bytes slave Maximum number of cyclic output data 244 bytes slave Configuration data max 244 bytes per slave Parameterization data per slave 7 bytes slave s...

Page 125: ...ith the slot PLC via PCI The 3S gateway may be installed on the same PC the slot PLC is installed or on a remote machine connected via the local Ethernet network 18 1 1 Starting netPLC CoDeSys Server...

Page 126: ...Sys Server is using to send and receive data packets from and to the 3S Gateway UDP s r p Counter for transmitted packets UDP s send as well as for received packets UDP r receive via the connection to...

Page 127: ...9 18 1 3 Stopping netPLC CoDeSys Server To quit operation of the netPLC CoDeSys Servers click on the system tray icon with the right mouse button From the context menu select Stop or press the button...

Page 128: ...IBUS Simple IO project Folder Examples netPLC PROFIBUS Simple IO Short description The project consist of a slot PLC card as PROFIBUS DP Master and a PROFIBUS DP slave device CBAB32 DPS The PROFIBUS D...

Page 129: ...and opc_ib1 Table 31 Example netPLC Open Process Control To use the project do the following Use the CoDeSys menu item File Open Project to open the project Set the active path to the slot PLC in the...

Page 130: ...Time Clock project Folder Examples netPLC Real Time Clock Short description The project consists of a slot PLC NPLC C100 DP to demonstrate the use real time clock PLC program The PLC program show how...

Page 131: ...s section describes how the firmware of the slot PLC is updated 1 Exit programs Exit all programs that access to the slot PLC 2 Open from the control panel the cifX Setup Program Open the Control Pane...

Page 132: ...ix 132 142 netPLC C100 Startup Guide DOC090701UM02EN Revision 2 English 2009 10 Released Public Hilscher 2009 3 Select CH 0 Select in the Device List tree under Active Devices at cifX cifX0 cifX1 entr...

Page 133: ...rmware file Open in the area Assigned Module Firmware Files with a mouse click on the button Add the windows for the firmware file selection Select the firmware file The file name is NPC1CDPM nxf for...

Page 134: ...Yes to start the firmware download The firmware file is loaded into the slot PLC 7 Reset of the slot PLC The slot PLC requires a reset Therefore shut down and power down the PC If the external power s...

Page 135: ...Settings SD Image including the file STARTUP INI and the directory BACKUP and all subdirectories onto an empty micro SD card to the card s root directory Procedure 1 Have the SD card ready with the c...

Page 136: ...ailable at both ends of the cable If special PROFIBUS connectors are being used these resistors are often found inside the connector and must be switched on For baud rates above 1 5 MBaud use only spe...

Page 137: ...rk The maximum length of a bus segment depends on the baud rate used Only PROFIBUS certified cable preferably the cable type A should be used Baud rate in kBit s Max distance 9 6 1 200 m 19 2 1 200 m...

Page 138: ...on 2 English 2009 10 Released Public Hilscher 2009 18 6 Mini B USB Connector 5 Pin Figure 17 Mini B USB Connector 5 Pin S302 Pin Name Description 1 USB_EXT USB Bus Power 5 V supplied externally 2 D Da...

Page 139: ...to start Full Installation 27 Figure 6 netPLC auto start Local Installation 28 Figure 7 netPLC auto start Remote Installation 29 Figure 8 System function StatusOfBattery 98 Figure 9 System function St...

Page 140: ...functions CmpSysFunctions_netPLC 97 Table 17 System function StatusOfBattery 98 Table 18 System function StatusOfExt24VDC 99 Table 19 System function StatusOfPCIPower 100 Table 20 LED Naming in the D...

Page 141: ...Public Hilscher 2009 18 9 Glossary DP Decentral Periphery DPM Dual Port Memory FDL Fieldbus Data Link defines the PROFIBUS communication on layer 2 identical for DP and FMS GSD General Station Descrip...

Page 142: ...her fr Support Phone 33 0 4 72 37 98 40 E Mail fr support hilscher com India Hilscher India Pvt Ltd New Delhi 110 025 Phone 91 11 40515640 E Mail info hilscher in Italy Hilscher Italia srl 20090 Vimod...

Reviews: