Kontron ThinkIO-P Скачать руководство пользователя страница 1

P R E L I M I N A R Y

29867

.06_01.VC.070319/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.

PROGRAMMING ASSISTANCE GUIDE

-

CoDeSys PLC

Содержание ThinkIO-P

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: