Kontron ThinkIO-P Manual Download Page 32

P R E L I M I N A R Y

29867

.06_01.VC.070319/151309

© 2007 Kontron Modular Computers GmbH

ID 29867.06, Rev. 01

Page 28

CoDeSys PLC

PROGRAMMING ASSISTANCE GUIDE

ThinkIO

™ 

- P

2. Click 

New

3. Enter an appropriate name for the connection and then click 

OK

4. Select a device from the 

Device list

, then click 

OK

Summary of Contents for ThinkIO-P

Page 1: ...319 151228 ThinkIO P Premium DIN Rail PC for Fieldbus and IO Systems Manual ID 29867 06 Rev Index 01 19 March 2007 The product described in this manual is in compliance with all applied CE stan dards...

Page 2: ...owing MAILING ADDRESS TELEPHONE AND E MAIL Kontron Modular Computers GmbH 49 0 800 SALESKONTRON Sudetenstra e 7 sales kontron com D 87600 Kaufbeuren Germany For further information about other Kontron...

Page 3: ...nkIO P 3 5 CoDeSys Installation and Settings 4 5 1 Installation of CoDeSys IDE on a Host PC Windows 4 5 2 Installing the CoDeSys Target Support Package TSP 9 6 Working with the CoDeSys IDE 12 6 1 Crea...

Page 4: ...Sys PLC PROGRAMMING ASSISTANCE GUIDE ThinkIO P P R E L I M I N A R Y 29867 06_01 VC 070319 151229 2005 Kontron Modular Computers GmbH ID 29867 03 Rev 01 Page iv This page has been intentionally left b...

Page 5: ...e terms of a permission notice identical to this one Permission is granted to copy and distribute translations of this documentation into another lan guage under the above conditions for modified vers...

Page 6: ...n use 4 Ethernet Network Configuration 4 1 Interfacing The ThinkIO P ports X8 and X9 provide interfacing for an Ethernet network The port X8 is con figured for BootP and the port X9 is configured with...

Page 7: ...in two different networks a logical route between the networks must be established This is accomplished using the DOS line command route on the Windows host PC In the following example 192 168 52 220...

Page 8: ...oDeSys IDE on a Host PC Windows Perform the following procedures to install the CoDeSys IDE on an Windows application devel opment system PROCEDURE START Installation of CoDeSys 1 Insert the DVD which...

Page 9: ...installation destination folder to select the default folder click Next to select a different folder click Browse and select an appropriate folder or create a new folder and then click Next 7 Select...

Page 10: ...ular Computers GmbH ID 29867 06 Rev 01 Page 6 CoDeSys PLC PROGRAMMING ASSISTANCE GUIDE ThinkIO P 8 To accept the proposed program folder click Next 9 Examine the Configuration Overview if satisfactory...

Page 11: ...les from the DVD disk and installs all Target files 10 Click OK to complete the installation of xml4 The Microsoft XML Parser is now installed This is required due to the fact that there may be an old...

Page 12: ...867 06_01 VC 070319 151233 2007 Kontron Modular Computers GmbH ID 29867 06 Rev 01 Page 8 CoDeSys PLC PROGRAMMING ASSISTANCE GUIDE ThinkIO P The installation in the folder Programme or Program Files no...

Page 13: ...lling from the KONTRON distribution DVD all required ThinkIO P targets will be in stalled automatically see files ThinkIO P_ trg in the directory above 5 2 Installing the CoDeSys Target Support Packag...

Page 14: ...ip EC1DPM K Bus plus PROFIBUS DP Slave on EC1 chip EC1DPS K Bus plus CAN open Master on EC1 chip EC1COM K Bus plus CAN open Slave on EC1 chip EC1COS To install the TSP for one of the supported variati...

Page 15: ...of the InstallTarget box the installation directory is displayed Ensure that the path indicated is correct for the CoDeSys installation i e C Programme 3S Software CoDeSys V2 3 Targets KONTRON THINKIO...

Page 16: ...with the CoDeSys IDE The ensuing sections which serve to illustrate how to work with the CoDeSys IDE are based on the following sample system Sample System for CoDeSys Application Development LOCAL HO...

Page 17: ...SSISTANCE GUIDE CoDeSys PLC 6 1 Creating a New Project To create a new project perform the following PROCEDURE START Create new project and select target settings 1 Click the Start button 2 Select Pro...

Page 18: ...G ASSISTANCE GUIDE ThinkIO P 5 Select the Visualization tab 6 Type or select the resolution of the target system display select Target visualization select Web visualization then select OK When design...

Page 19: ...CoDeSys PLC 7 Accept the selections as indicated or revise accordingly then click OK 8 Now select File then Save and enter an appropriate file name and click OK PROCEDURE END A new project has been cr...

Page 20: ...f the CoDeSys main display window there is a box called the resources area at the bottom of which there are four selection tabs The right most tab is the Resources tab The following procedure begins w...

Page 21: ...6_01 VC 070319 151243 Page 17 ThinkIO P PROGRAMMING ASSISTANCE GUIDE CoDeSys PLC 3 Double click PLC Configuration in the resources area 4 Double click PLC Configuration in the work space area to the r...

Page 22: ...hinkIO P 5 Select the input or output module which is to be added to the configuration Select the module to be added from the I O Module Catalogue list Click Insert If more than one module is to be ad...

Page 23: ...Rev 01 2007 Kontron Modular Computers GmbH P R E L I M I N A R Y 29867 06_01 VC 070319 151249 Page 19 ThinkIO P PROGRAMMING ASSISTANCE GUIDE CoDeSys PLC 6 Click OK to add the selected modules to the c...

Page 24: ...KBUS_IN2 and module 750 501 with variable names KBUS_OUT1 KBUS_OUT2 to assign a variable to an input or output of a module first expand the module by click ing the plus sign in front of the module de...

Page 25: ...v 01 2007 Kontron Modular Computers GmbH P R E L I M I N A R Y 29867 06_01 VC 070319 151254 Page 21 ThinkIO P PROGRAMMING ASSISTANCE GUIDE CoDeSys PLC PROCEDURE END Configuring of the K Bus modules is...

Page 26: ...dbus Fieldbus devices must be configured before application programs can access them The CoDeSys IDE programming software is capable of configuring these devices The following procedure demonstrates h...

Page 27: ...E L I M I N A R Y 29867 06_01 VC 070319 151258 Page 23 ThinkIO P PROGRAMMING ASSISTANCE GUIDE CoDeSys PLC 2 To add PROFIBUS slaves in this case Siemens Slaves ET 200B 8DI 8DO Right click THINKIO C FB...

Page 28: ...rs is correct The Station address is automatically generated for the first node This entry should match the node address set on the PROFIBUS slave DIP switches 4 Assign variables to the addresses of t...

Page 29: ...KBUS_OUT1 assign bit 1 of variable x to KBUS output 2 KBUS_OUT2 read KBUS input 1 KBUS_IN1 and assign to variable kbus_input bit 0 read KBUS input 2 KBUS_IN2 and assign to variable kbus_input bit 1 a...

Page 30: ...e bottom left select the third tab from the left named Visualization Use the object organizer s quick menu to call the Add object command Give the visualisation object a Name The first visualization o...

Page 31: ...hinkIO P e g to download a project a gateway server is required to be operating using preselected communication parameters When needed the gateway server will be started automatically if not already r...

Page 32: ...309 2007 Kontron Modular Computers GmbH ID 29867 06 Rev 01 Page 28 CoDeSys PLC PROGRAMMING ASSISTANCE GUIDE ThinkIO P 2 Click New 3 Enter an appropriate name for the connection and then click OK 4 Sel...

Page 33: ...IDE CoDeSys PLC 5 Enter the IP address or the target name in Value for the Address then click OK PROCEDURE END Setting up of the communication parameters is now complete Now the communication paramete...

Page 34: ...CompactFlash card to the directory data in the root directory The boot project files must be renamed to DEFAULT CHK and DEFAULT PRG Then after ensuring that the ThinkIO P is switched off insert the CF...

Reviews: