Home

User Manual - Sütron electronic GmbH

image

Contents

1. 2 3 2 2 Software 2 3 2 3 of this Quick 2 3 2 5 3 1 Assembling the Field Bus Cable 2 5 Codice ecseri 2 5 300 0 00 08 sassa 2 6 3 3 1 2 7 3 3 2 Switching between the Standard and the Development Mode 2 7 4 Installing the Software on the Development Computer 2 9 5 Configuring the Connected Bus 2 11 5 1 Configuring an INTERBUS System Using IBS CMD G4 2 11 5 1 1 Creating a New Project 2 11 5 1 2 Selecting the Controller Board 2 11 5 1 3 Setting the Communication Path 2 12 5 1 4 Displaying the Bus Structure 2 12 5 1 5 Assigning the Process Data 2 13 5 1 6 Parameterization a a 2 14 5 2 Configuring a PROFIBUS System with 2 15 5 2 1 Creating New Projec
2. prm num mg ayuu sr Ieee Ee sn nam 2 2 x 37 a a m zz v FO g r m be e z Usage Descipin 000 Addess H E Libraries H E Data Types B a Logical POUs s1 1B CIF_PB_Diag CIF BUS START Global Variables VAR GLOBAL value incremented by 1 GLOBAL ilnit Variable to start Bus Temp E AR_GLOBAL 2 5202 2 2 1 0 Configuration Eu 521 488 Physical Hardware INPUT OUTPUT VARCONF E S Configuration IPC_33 E Resource 5_ Tasks Hilscher CIF Exp T 20ms CYCL B CifPbDiaan CifUserFbs Main Mair B STOP SYSTE B Proq Stop Global Variables zl 10 Configuration ZABO 0899 T 2010 s e Figure 6 3 group for PROFIBUS and CANopen e Use to close the IO Configuration window e Enter the relevant address for your variable Cycle Count in the Address col umn in this case QWO0 s SuTRON ELECTRONIC GMBH Creating Program MULTIPROG 6 3 Setting up the Resource and Download for the TesiP n Operating Device To setup the TesiP n operating device as a CPU select the Settings menu item under Resource p Physical Hardware Configuration IPC 33 Resource PCOS 33 Tasks Insert sTOP s Delete T l m 22
3. more gt gt Figure 5 27 Device assignment CIF TCP IP driver Confirm with OK A progress bar provides a visualization of the data download Download station I 2 9992992999 990999999 Dats bate testl pb Length of data base 1754 Error 0 0 8 150 Figure 5 28 Progress bar Once this window has closed the master board is ready for use Overview of address data The address data of the modules is combined in groups under MULTIPROG Therefore the inputs and outputs of the modules must also be combined in groups in SyCon The sequence of the groups mentioned above and therefore also the address areas MULTIPROG are defined in the I O configuration as follows 1 0 Configuration xj INPUT QUTPUT VARCONF 140 Group Board 170 Module Bane IN Hilscher CIF 2180 21899 1B520 218523 User defined Input Figure 5 29 configuration in MULTIPROG Select the View Address table menu for an overview of the addressing used for the inline terminals SyCon sutron ELECTRONIC GMBH Configuring the Connected Bus System Address Table Station address 0 Description Master Device Module 1 ILPB BK DP V1 IB IL 24 DI 16 1 IB IL 24008 1 IB IL Al 2 SF 1 IB IL AO 1 5F Sort according to station addresses Sort according to data addresses Address Overviews Fi
4. 4 Communication Parameter 5 Communication Parameter Communication Parameter Add to configured PDOs Configured PDOs PDO name Symbolic Name C0B4D Type 11 Ador I Len 0 Type O Adar D Len Contents Mapping m PDO Characteristics Define new Receive PDO Define new Transmit PDO Delete configured PDO Symbolic Names Figure 5 41 Node configuration Activating the devices e Click the Device type button Select all four selection options in the Device type window that opens next e Confirm with OK Inserting the process data objects You can find a list of RPDO Receive Process Data Object output modules and TPDO Transmit Process Data Object input modules under predefined process data objects PDOs from the EDS file Insert an RPDO as a placeholder for each output module and a TPDO as a place holder for each input module in the bus structure To do this proceed as described below for each individual object RPDO 1 e Inthe Predefined Process Data Objects PDOs from EDS file list double click the RPDO 1 Communication Parameter object which is valid for the first output module IB IL 24 DO 8 e The RPDO 1 object is copied into the Configured PDOs list below Confirm the Node receive PDO characteristics master output process data window that then opens with OK No changes are required in this window
5. Node receive PDO characteristics master output process data r Transmission Mode node shall use a sychronization message to actuate the received PDO receive PDO transmission Triggering Mode dependent node shall use every o received synchronization message to actuate the received PDO receive PDO transmission Triggering Mode dependent receive PDO transmission Tiggering Mode dependent only Resulting CANopen specific transmision type 254 Triggering Mode event driven PDO transmitted when data has changed cyclic transmission every fi 0 node cycle interval inhibit time Figure 5 42 Node receive PDO characteristics The IB IL 24 DO 8 only requires 8 bit However the CANopen objects are always in serted with 64 bits 8 bytes Select the RPDO 1 in the lower list in the Node Configuration window and click the PDO Contents Mapping button to the right s SuTRON ELECTRONIC GMBH Configuring the Connected Bus System Inthe PDO Contents Mapping Object Index 1600 window that appears delete all rows in the lower list Mapped Object dictionary except the first row 1 Digital Output 8 Bit by double clicking the rows to be deleted PDO Contents Mapping Object Index 1600 OK Cancel Mapable Objects from EDS file Objldx Sub dk Parameter Access 2 1 1 Digital Input 8 Bit 2 Digital Input 8 Bit 3 Digital Input 8 Bit 4 Digital Input 8 Bit Digital Input 8
6. All configuration and programming work in connection with the automation system must be performed by trained personnel only e g qualified electricians electrical en gineers The configuration and programming personnel must be familiar with the safety con cepts of automation technology B sutron ELECTRONIC GMBH Introduction 2 Introduction 2 1 Hardware Requirements TesiP n operating device with Windows CE net 4 2 PC for the development environment development computer with a CPU ca pacity of at least 350 MHz minimum requirement for MULTIPROG Bus structure for the sample project Assembled field bus cable Serial programming cable for INTERBUS Mouse and keyboard for the TesiP n operating device optional 2 2 Software Requirements The software listed below is contained in the following software bundles TesiP n SWB KW IB for INTERBUS TesiP n SWB KW PB for PROFIBUS and TesiP n SWB KW CO for CANopen INTERBUS IBS CMD G4 version 4 62 3 or higher IBS CMD G4 update 7 PROFIBUS and CANopen SyCon System Configurator version 2 821 or higher All bus systems MULTIPROG version 3 3 MULTIPROG templates version 1 13 or higher ProVislT version 2 2 build 97 or higher ProConOS OPC Server 2 0 build 33 or higher 122 Please use Microsoft Internet Explorer 5 or higher to install the TesiP n SWB KW IB PB and CO software bundles 2 3 Aim o
7. Vendor Hilscher GmbH Version 2 021 Date Oct 20 2003 Functions 3 Figure 5 53 Driver selection s SuTRON ELECTRONIC GMBH 8 d Configuring the Connected Bus System Select the CIF TCP IP Driver connection and confirm with OK If no connection is possible the system generates a time out In this case proceed as follows If necessary correct the IP address Use the Connect to server button to establish a new connection If all selection boxes and the Connect to server button are grayed out close SyCon and restart the program All recognized master boards are displayed in the Board selection list Communi cation is established with theselected board Device Assignment CIF TCP IP Driver Address Selection IP Address 1925 1B8 10055 46 Connect to Server Cancel Board Selection Name Type Version Date Error Board cocco 01 070 13 03 03 0 Netldent Configuration h Board i Board 2 vs s Board 3 21 pese more gt gt Figure 5 54 Device assignment CIF TCP IP driver Confirm with OK The data download is visualized by a progress bar pyri gt 999 9 9 9 9099909990999999 Data base 0 Length of data base 1980 Error 0 0 22 Figure 5 55 Progress ba
8. e To create a new project select the File New menu 5 1 2 Selecting the Controller Board Select Controller Board x Current Controller Board Type Available Types IBS 57 400 ETH DSC T dir IBS 57 400 ETH 5 erw IBS USC 4 2k IBS VME6H SCIRIMT Firmware version V Automatic recognition Figure 5 1 Selecting the controller board Left click Controller board This is now selected e Press the right mouse button to open the context menu for the Controller board option Select Type from the context menu From the dialog that appears select IBS USC 4 8k S sutron ELECTRONIC GMBH Configuring the Connected Bus System Confirm the dialog with OK The TesiP n operating device is now selected lt The IBS 05 4 8k entry is only available after you have installed the update 7 5 1 3 Setting the Communication Path e Right click Controller board Select Communication path from the context menu Parameterization Memory Preprocessing Con 127 tho Insert with ID cade Insert with Device Description Ins Link with Description Renumber Description Fa Process Data Ctrl D Parameterization b Settings Contral b Communication Path CtrHE IB Function Blocks b Device Registration Address Monitor Figure 5 2 Setting the communication pat
9. User Manual Quick Start for TesiP n Control Panel with ProConOS SoftPLC and ProVislt Part Number 80860 668 Version 1 Date 21 10 2005 Valid for TP057x xx 10xxxxxx TP104x xx 10xxxxxx TP121x xx 10xxxxxx TP151x xx 10xxxxxx Windows CE net 4 2 S SuTRON ELECTRONIC GMBH Version Date Modifications 1 21 10 2005 First Edition This manual including all illustrations contained herein is copyright protected Use of this manual by any third party in departure from the copyright provision is forbidden No part of this manual may be reproduced trans lated or electronically or photographically archived or altered without the express written consent from S tron electronic GmbH Violations shall be cause for damage liability S tron electronic reserves the right to make any changes that contribute to technical improvement s SuTRON ELECTRONIC GMBH Overall Table of Contents Overall Table of Contents 1 n UG C NN 1 1 1 1 0000 1 1 1 1 1 General Symbols snas a orna dan paran andas 1 1 1 1 2 weed 4 1 1 12 NOU CS aaa aa a a alub 1 2 lll al 1 2 1 4 Target Group 1 2 2 1111 81618 ii 2 3 2 1 Hardware Requirements
10. Register in the follovving menu Enter the registration key in the follovving vvindovv You will find the registration key in the envelopeprovided Confirm with OK You receive confirmation that the software has been success fully registered Also confirm this message with Exit the OPC Server by right clicking the OPC Server icon in the task bar and then left clicking Exit You have now installed the necessary software to enable you to work with the Te siP n operating device s SuTRON ELECTRONIC GMBH Configuring the Connected Bus System 5 Configuring the Connected Bus System This chapter explains how to read in and configure your connected bus system Chapter 5 1 describes how to configure an INTERBUS system using IBS CMD G4 Chapter 5 2 describes how to configure a PROFIBUS system using SyCon while Chapter 5 3 describes how to configure a CANopen system using SyCon 5 1 Configuring INTERBUS System Using IBS CMD G4 In this sample project the bus structure comprises the following bus modules TesiP n operating device and Interbus as controller board IBS IL 24 BK T U as bus coupler PxC IB IL 24 DI 16 as digital input module PxC B IL 24 DO 8 as digital output module PxC IB IL AI 2 SF as an analog input module PxC IB IL AO 1 U SF as analog output module 5 1 1 Creating a New Project Open IBS CMD G4 by choosing Start Programs INTERBUS IBS CMD G4 4 62 22
11. 16 Connect to Server m Board Selection Name Type Version Date Error v Board coMCCO 01 070 130303 0 Configuration Board 0 Board 2 0 more gt gt Figure 5 18 Device assignment CIF TCP IP driver Select your TesiP n operating device entry in this case Board 0 e Click OK to establish the connection If all selection boxes and the Connect to server button are grayed out close SyCon and restart the program The TesiP n operating device now reads in the network structure of your connected bus system S sutron ELECTRONIC GMBH Configuring the Connected Bus System Actual Network Constellation 0 Update _ ox d si z IB IL 24 D 16 TEST GSD IB IL 24 D 8 IB IL Al 2 SF IB IL 1 SF ccept Configuration Assign Slave Assign Module Figure 5 19 Actual network constellation All stations highlighted in blue exist several times and you can double click the entry to select and parameterize them separately If the bus coupler is highlighted in blue this means that the configuration contains multiple GSD files Double click the bus coupler and select the most recent GSD file e Click Accept configuration and then on OK 5 2 4 Manually Programming a Bus Structure If a bus structure is only connected to your TesiP n operating device at a later stage you can program it
12. Bit 7 Digital Input 8 Bit 1 Digital Output 8 Bit Object6200Idx1 5 Digital Input 8 Bit Append Object x Figure 5 43 PDO contents mapping object index 1600 You have now selected a digital 8 bit output module IB IL 24 DO 8 for RPDO 1 Confirm with OK RPDO 2 e Inthe Predefined process data objects PDOs from EDS file list double click the RPDO 2 Communication Parameter object which is valid for the second output module IB IL AO 1 U SF The RPDO 2 object is copied into the Config ured PDOs list below e Confirm the Node receive PDO characteristics window that then opens with OK No changes are required in this window Node receive characteristics master output process data m x Transmission Mode node shall use a sychronization message to actuate the received PDO receive PDO transmission Triggering Mode dependent node shall use every fio received synchronization message to actuate the received PDO receive PDO transmission Triggering Mode dependent receive PDO transmission Tiggering Mode dependent only Resulting specific transmision type 254 Triggering Mode event driven PDO transmitted when data has changed cyclic transmission every fic node cycle interval inhibit time Figure 5 44 Node receive PDO characteristics The IB IL AO 1 U SF requires 2 bytes However the CANopen objects are always in serted wit
13. Global Variables of INTERBUS from 2 38 6 2 2 Address assignment for the global variables of PROFIBUS and CANopen from 2 38 6 3 Setting up the Resource and Download for the TesiP n Operating 1000 2 39 7 Setting the ProConOS OPC Resource 2 41 8 Visualization using 51 2 42 8 1 Creating a Text 2 42 8 2 Linking With the OPC Variable 2 42 8 3 Transferring the Visualization to the TesiP n Operating Device 2 43 0 2 46 10 Weare interested in your 2 47 Mio A 1 6 SuTRON ELECTRONIC GMBH Important Notes 1 Important Notes p P P P P P P 1 1 Symbols The symbols in this manual are used to draw your attention on notes and dangers 1 1 1 General Symbols Danger This symbol is used to refer to instructions which if ignored or not carefully followed could result in personal injury Note This symbol indicates application tips or supplementary notes Reference to source of information This symbol refers to detailed sources of information on the current topic 1 1 2 Specific Symbols The following symbols indicate specific dangers which could result in damage to equipment
14. PER SEC Select this variable and confirm with OK This links the text field to the variable The visualization is now complete and you can start the transfer to the TesiP n op erating device 8 3 Transferring the Visualization to the TesiP n Operating Device To transfer the visualization to the TesiP n operating device ProVislT needs the IP address of the TesiP n operating device e Click Extras Options in the upper menu bar s SuTRON ELECTRONIC GMBH Visualization using ProVisIT G Unbenannt 5 1 ProVisIT File Edit view Objects Windows CE Extras D EB 22 Customize potions Figure 8 5 Extras Options menu e n the following dialog change the Windows CE tab e Set the communication path for this sample project TCP IP Enter the IP address of the TesiP n operating device Automatically copy project to Windows CE device when tum to runtime Automatically run project on Windows CE device when turn to runtime Project folder on Windows CE device ProvisiT projects Synchronization Mode Via ActiveSync connection Via TCP IP connection IP address of Windows CE device 143 208 14 12 Disable remote access from another PC CE device Abbrechen Hilfe Figure 8 6 Entering the IP address bemehmen Confirm the dialog with OK For the transfer to take place the visualization software mu
15. bild Subld Parameter Access 2 1E 30 Digital Input 8 Bit Cancel 31 Digital Input 8 Bit 32 Digital Input 8 Bit 2 Digital Input 16 Bit Append Object 3 Digital Input 16 Bit 4 Digital Input 16 Bit 1 Digital Input 16 Bit biect610 ld 1 Delete mapped Object Figure 5 47 PDO contents mapping object index 1A00 You have now selected a digital 16 bit input module IB IL 24 DI 16 for 1 e Confirm with OK TPDO 2 Inthe Predefined Process Ddata Objects PDOs from EDS file list double click the TPDO 2 Communication Parameter object which is valid for the sec ond input module IB IL Al 2 SF The TPDO 2 object is copied into the Config ured PDOs list below Confirm the Node transmit PDO characteristics window that then opens with OK No changes are required in this window Node transmit PDO characteristics master input process data Transmission Mode node shall use a sychronization message as trigger to send the transmit PDO acyclically node has to send the transmit PDO at every fio received synchronization message node shall use a synchronization message as trigger to send the transmit PDO when previously remote requested by the master node shall send the transmit PDO when remote requested transmission event of transmit PDO fully node manufacturer specific transmission event of transmit PDO defined in the device profile of the node Res
16. button The Parameter data window appears s SuTRON ELECTRONIC GMBH Configuring the Connected Bus System e Click the Common button Parameter Data Description Common Parameter Data Cancel Local Bus Run automatically Diagnostics Format Status PDU Byte 0 1 Plug 2 1 4 3 Operate Common 013220032 byte position aa Module Figure 5 24 Parameter data Common Parameterizing the bus coupler e Double click the value in the DI 16 DO16 byte position row e Change the value to Byte 0 1 Plug 2 1 4 3 Double click the value in the DI 32 0032 byte position row e Change the value to Byte 0 1 2 3 Plug 1 2 3 4 These settings swap the sequence of data bytes of the 16 and 32 bit I O terminals Parameterizing the inline terminals The inline terminals do not have to be parameterized for this sample project If you want to parameterize the terminals proceed as follows e Click the Module button in the Parameter data window Select the terminal whose parameters you want to change and confirm with OK Then create the settings for the individual channels in this case IB IL Al 2 SF Parameter Data Description Index Parameter Data Sa Module activation erable User Defined Configuration Data 2 Parte Data 3 Format Channeli 7 5 2 M Configuration Channel2 Default Settings 4 JFiterChannel2 16 old Me
17. installation files are stored under C Temp After you save a window opens e Double click the Setup exe file e Follow the instructions in the installation program and read the notes in the doc umentation for SyCon Only install SyCon 2 821 or higher Do not install the SyCon OPC Server e Choose the language in which you want the software to be installed Enter the license code your name and your company for a single user license You will find the license code in the envelopeprovided Select the bus system PROFIBUS or CANopen Installing MULTIPROG for all bus systems MULTIPROG is a programming system for the PLC e When installing MULTIPROG 3 3 follow the instructions in the installation pro gram and read the notes in the documentation for MULTIPROG e After the installation is complete open MULTIPROG by choosing Start Pro grams KW Software MULTIPROG 3 3 MULT PROG and enter the regis tration key for a single user license in the Register menu You will find the registration key in the envelopeprovided Close MULTIPROG Installing the TesiP n template for MULTIPROG for all bus systems SuTRON ELECTRONIC GMBH Installing the Software the Development Computer The templates for MULTIPROG are required in order to adopt certain basic settings for the TesiP n operating device in MULTIPROG When carrying out the installation follow the instructions in the installation pr
18. installed the software necessary in order to work with the TesiP n operating de vice read in and defined parameters for the bus structure created a MULTIPROG program and transferred it to the TesiP n operating de vice and visualized the current program on the TesiP n operating device i sutron ELECTRONIC GMBH We interested in your opinion 10 We are interested in your opinion We would like to hear your suggestions requests and criticisms in relation to this quick start We will examine any and all suggestions and comments and if possible incorporate them into the documentation Send us your comments and suggestions for improvement to the following address S tron electronic GmbH Marketing c o Tilo Mickisch Kurze Str 29 70794 Filderstadt Germany Phone 49 0 711 77098 21 Fax 49 0 711 77098 921 E mail tmickisch suetron de sutron ni ELECTRONIC GMBH We interested your opinion sutron ELECTRONIC GMBH Index 2 3 2 5 2 9 D Development mode 2 7 E EUELA V 2 6 2 7 Intended use 1 2 INTERBUS 2 3 2 5 2 9 2 11 2 15 2 38 IP configuration 2 7 PROFIBUS 2 3 2 5 2 9 2 15 2 19 S S
19. l IBSPXCG4 CYCLE lincremented every task cycle by mi 05 Extended Diag Variables 0 0 00 5 fies SYS ERROR STATE Output st state of f INTERBUS functi 20000 51 3 Data Types 1 0 Confi svs FLAG 1 0 x 2 4 Logical POUs INPUT OUTPUT El 8 IB START El 8 IB STOP 1 0 Group Board 1 0 Module Rane ff Task Comment 8 8 Eb iB OUT INTERBUS G4 2080 241848 T_20MS Physical Hardware ie INTERBUS G4 241 300 208374 20MS Configuration IPC_33 INTERBUS G4 Z BT 208199 T 20MS 51 8 Resource 05 CE 51 88 Tasks mfi STOP SYSTE 2 4 T 20MS n START_IB 4 gt PROG 1 Global Variables 10 Configuration Add Properties Delete Description Abbrechen bemehmen Figure 6 2 groups for INTERBUS Use OK to close the IO Configuration window e Enter the relevant address for your variable Cycle Count in the Address col umn in this case QW100 6 2 2 Address assignment for the global variables of PROFIBUS and CANopen from SyCon To display the address ranges click Global Variables in the tree structure and then click IO Configuration The tabs INPUT and OUTPUT each contain one group that is relevant for this sample project
20. manually in advance Select the Insert Slave menu Use the S cursor to click the second row This opens a selection menu Under Available slaves select IL PB BK DP V1 DIP8 ON Once you click Add this slave is displayed in the Selected slaves field on the right hand side e Enter the station address of the bus coupler coded using the DIP switches in this case 3 Insert slave Slave Filter Vendor Al Master n COM DPM PKV20 DPM v Slave type Cancel Available slaves Selected slaves Add gt gt IL PB BK DIP6 N Add All gt gt lt lt Remove All lt lt Remove Vendor name Phoenix Contact GmbH amp Co KG Station address Ident number 0x06CC Description Slavet GSD file name PxC_O6CC GSD GSD Revision v2 0 Figure 5 20 Insert slave Confirm with OK Adding inline terminals to the bus coupler e Double click the added slave IL PB DP V1 DIP8 ON in the main window The Slave configuration window appears e Add the terminals in the same sequence in which they are plugged into your bus structure To do this double click the respective entry in the module list As a re sult the stations are gradually included into the slave configuration The final slave configuration appears as follows s SuTRON ELECTRONIC GMBH Configuring the Connected Bus System Slave Configuration General Devi
21. the nternet or from the disk and unpack it into a directory of your choice Select the EDS file from the File Copy EDS menu e Select the path in which you unpacked the EDS file Select the EDS file and click Open Suchen in PhoenixContact t ex E3 Dateiname b eds Dateityp EDS Files eds Abbrechen 2 Figure 5 38 Copying EDS system asks whether you want to import the associated bitmap files e Click Yes e Confirm the message that appears with OK Ifolder EDS files are used error messages may occur although they have no effect Acknowledge these messages by clicking Cancel In this case download the latest version from www download phoenixcontact de e Use the File Save menu to save the project 5 3 4 Inserting a CANopen Node Select the Insert Node menu sutron m ELECTRONIC GMBH Configuring the Connected Bus System Use the N cursor to click the row below the master A selection menu for the CANopen node is opened Under Available devices select IL CAN BK TC Once you click Add it is displayed in the Selected devices field on the right hand side x Node filter m Vendor All Y Cancel Profile All Available devices Selected devices 1 80 05 Add gt gt 0 05 0 05 ECT DEB C S Add All gt gt 30 05 lt lt Remove 05 Profile 401 standard EDS lt lt Re
22. 0 0 Addr O Len PDO 1400 515 QB 0 1 PDO 1401 771 PDO 1800 387 PDO 1801 643 PDO Contents Mapping PDO Characteristics Define new Receive PDO Define new Transmit PDO Delete configured PDO Symbolic Names Figure 5 50 Assigning the addresses The node addresses are now correctly assigned e Click OK to adopt the settings s SuTRON ELECTRONIC GMBH Configuring the Connected Bus System 5 3 6 Parameterizing the Programmed Bus Structure Select the master in the bus structure Select the Settings Bus Parameters menu Set the baud rate for IL CAN BK TC in accordance with DIP switches SW8 to SW10 Figure 5 51 Baud rate switches Set the baud rate in the Bus parameters window to 125 Kbit s DIP 8 IN DIP 9 OFF and DIP 10 OFF e Select Auto clear mode ON x Baudrate 125 kBit s SYNC CDB ID E 28 cycle period 00 Auto clear mode OFF Enable Global Start Node 29 Bit Selection entries Enable 23 Bit Selector 22 U Bit Acceptance Code 00 00 00 Hex Acceptance Mask KEN KEN m Hex Figure 5 52 Bus parameter e Confirm with OK Use the File Save menu to save the project Download Selectthe Online Download menu to transfer the configuration to the param eterization memory of the TesiP n operating device x CIF Device Driver CIF Serial Driver Cancel
23. 24 7 1 8 4 IB IL E iz 811 864 IBILAO1 SF IBILAO1 SF IBILAO1 SF B L AQ 1 SF B ST 24 BAI 2 5F ID 4 4h ID 189 90 BEh 10 125 70 10 125 70 ID 125 70 ID 125 70 ID 127 7 Figure 5 4 Bus structure 5 1 5 Assigning the Process Data The process data in IBS CMD 24 is addressed manually because the addresses in MULTIPROG are combined in groups of BYTE b WORD w and DWORD d Therefore the inputs and outputs of the modules must also be combined in groups in IBS CMD G4 The sequence of the groups mentioned above and therefore also the address areas MULTIPROG are defined in the I O configuration window as follows INPUT OUTPUT User defined Input xi STD_TSK Control panel inputs X3 INTERBUS G4 71 0 41 STD TSK BYTE addresses INTERBUS G4 2 WORD addresses INTERBUS 4 ib DVVORD addresses User defined Input E Status inputs Figure 5 5 configuration in MULTIPROG 11 5 CMD G4 right click Controller board and select Process data from the context menu e Assign the process data in the Assignment column as follows The BYTE modules must have addresses from 0 to 49 WORD modules must have addresses from 100 to 199 The DWORD modules must be addressed from 300 to 379 sutron i ELECTRONIC GMBH Configuring the Connected Bus System Device 124008 2 11 84 08 81411515 HU Process data S
24. C 5 5 223 0 PROC Global Variab Exclude l 10 Configurati Properties b Settings 4 Figure 6 4 Resource setup Enter the IP address of the TesiP n operating device in the Parameters field to allow the development computer to access the CPU COMI Stopbits 1 Cancel CDM2 Ja ts H t M3 5 Data area 4 Parity None Y Simulation 1 Timeout 2000 ms He Simulation 2 Stack check PLC Array boundary check on PLC DLL Force BOOLS for boolean variables Generate bootproject during compile DLL Parameter 1 49 208 14 12 TO2000 PDD OPC All global variables All global variables network variables All network variables Marked variables Marked variables Use reserve AllPOUs C Marked POUs C reserve Figure6 5 Setting the IP address Enter the IP address of the TesiP n operating device between the ip and TO2000 parameters e Confirm with OK e Compile the project using the Code Make menu Setthe PLC switch on the back of the TesiP n operating device to the RUN PROG position e Use the Online Project check menu to send the project to the TesiP n op erating device If you want the program to start automatically activate the Include bootproject func tion The Include OPC data function must be activated e Use the Cold butto
25. P switch to set the station address and the baud rate Switch on the voltage again for the bus coupler s SuTRON ELECTRONIC GMBH Configuring the Connected Bus System 5 3 2 Creating a New Project Open SyCon by choosing Start Programs SyCon System Configurator SyCon e Tocreate new project select the File New menu Select the field bus system i e select CANopen Select fieldbus DeviceNet PROFIBUS anes Figure 5 31 Selecting the field bus system Confirm with OK 5 3 3 Inserting the CANopen master Save the project Go to the first row in your worksheet t File Edit Insert Online Settings Tools Window Help olsa 512 Figure 5 32 Inserting the CANopen master select the Insert Master menu Use the M cursor to click the first row A selection menu for the CANopen master is opened Under Available devices select CIF30 COM Once you click Add this master is displayed in the Selected devices field on the right hand side Replace Master NN Available devi Selected dev Figure 5 33 Insert master Confirm with OK Configuring the CANopen master e Double click the master The following window appears s SuTRON ELECTRONIC GMBH Configuring the Connected Bus System xi Description Master Cancel Device CIF30 COM Settings Master Settings Global Settings Figure 5 34 Master
26. afety notes 1 2 Servicetool 2 7 2 8 Servicetool small 2 7 2 8 Standard mode 2 7 2 8 Startup screehn 2 6 Symbols 6 1 0 E E 1 1 wed M 1 1 T Targel OrouuDiu 1 2 TesiP n2 3 2 4 2 5 2 6 2 11 2 16 2 37 s SuTRON ELECTRONIC GMBH s SuTRON ELECTRONIC GMBH s SuTRON ELECTRONIC GMBH S tron electronic GmbH Kurze StraBe 29 D 70794 Filderstadt Phone 0049 711 77098 0 Fax 0049 711 77098 60 E mail doku suetron de Internet www suetron com SuTRON ELECTRONIC GMBH
27. an Value Module 5 FormatChannel2 BIL 15 Bit 5 Measuring Range Channel2 Vupto10V gt Se Figure 5 25 Parameter data Module Use the same procedure to define the parameters for all additional terminals Download Select the Online Download menu to transfer the configuration to the param eterization memory of the TesiP n operating device xi CIF Device Driver DK CIF Serial Driver Se Cancel Vendor Hilscher GmbH Version V2 021 Date Oct 20 2003 Functions 3 Figure 5 26 Driver select s SuTRON ELECTRONIC GMBH q d Configuring the Connected Bus System Select the connection CIF TCP IP Driver and confirm with OK If no connection is possible a time out is generated In this case proceed as follows If necessary correct the IP address Use the Connect to server button to establish a new connection If all selection boxes and the Connect to server button are grayed out close SyCon and restart the program recognized master boards are displayed in the Board selection list Communi cation is established using theselected board Device Assignment CIF TCP IP Driver Address Selection IP Address 132 168 100 16 Connect to Server Board Selection ame Type Version Date Error v CANopen 0 0 01 070 130303 0 Configuration izi Board 1 0 Board 2 0 Board 3 Pi EE
28. ating device as a master CPU of a PROFIBUS System select the template called Template for TesiP n CE PB CANopen e To operate the TesiP 2n operating device as a master or CPU of a CANopen system select the template called Template for TesiP n CE CO The tree structure of these templates under Logic POEs Main Code already contains a counter and a variable Cycle Count Using Global variables assign a connection point of the bus system to this variable 6 2 Assigning Global Variables to the Connection Points of the Bus System The 1 configuration specifies the areas that MULTIPROG accesses in order to link global program variables with the inputs and outputs of the bus system sutron ELECTRONIC GMBH Creating a Program MULTIPROG 6 2 1 Address Assignment for the Global Variables of INTER BUS from IBS CMD G4 e display the address ranges click Global Variables in the tree structure and then click IO Configuration The tab INPUT and OUTPUT contain three groups that are relevant for this sam ple project oe rur wew MrUycCUL Vue Lum 5 2 anjal hele s 8 sme 5 5 64 32 ov XE a a m o a st Description Addess int Retai 5 39 Libraries Global Variables Bus nit Init v variable for automatic Bus Start Bai
29. bar i sutron ELECTRONIC GMBH Configuring the Connected Bus System File name Path ox TESIPAN SVC cNbscmd project Cancel E gt IBSCMD Network PROJECT Boot project File type Drives svc File SVC c Programme Figure 5 8 Write parameterization 2 Give the SVC file a unique name maximum 8 characters 3 Confirm the Write Parameterization dialog with OK Transferring the SVC file via the FTP server 1 Use Windows Explorer to switch to the directory in which the SVC file was cre ated 2 Start Internet Explorer 3 Enter the IP address of the TesiP n operating device for example ftp 192 168 100 250 in the browser address line and press ENTER You are now logged on to the CompactFlash card of the TesiP n operating device via the FTP server ftp 192 168 100 206 Microsoft Internet Explorer Sele Datei Bearbeiten Ansicht Favoriten Extras 4 2 Suchen gt Ordner Adresse ftp 192 168 xxx xxx v EJ wechseln zu Links m 2 m Kw 20 Kw ProConOS Kw _ProvisIt D SvC_LOADER Appstarter exe Benutzer Anonym Internet Figure 5 9 CompactFlash card contents The SVC directory must only contain one SVC file 4 Copy the newly created SVC file into the SVC directory on this CompactFlash card 5 Now close Internet Explorer again The new bus configuration is only loaded after
30. cation program m User program monitoring Watchdog time 125 ms Parameter to process data interface Addressing mode Handshake of the process data Byte addresses C Bus synchronous device controlled Word addresses Buffered device controlled Storage format word module No consistence uncontrolled Big Endian MSB LSB Buffered host controlled C Little Endian LSB MSB Bus synchronous host controlled Buffered extended host controlled Hardware parameter 2kB dual port memory 8 kB dual port memory 16 kB dual port memory Figure 5 14 DP master settings Controlled release of the communication by the application program means that the bus is only started after a cold or warm boot of the application program occurs The Watchdog time specifies the time after which the watchdog is triggered minimum value 125 ms Byte addresses means that addressing is byte oriented This is also the case in MULTIPROG Buffered host controlled must be set to enable the ProConOS I O driver to pro cess the bus data correctly Under Storage format word module you can define whether bytes are to be transmitted first with the high orlow byte It is essential that this setting is imple mented s SuTRON ELECTRONIC GMBH Configuring the Connected Bus System e Confirm with OK Close the Master c
31. ce IL PB BK DP V1 DIP8 0N Station address 3 Description ael 000 Cancel Activate device in actual configuration Enable watchdog control Parameter Data GSD file BCC GSD length of in output data 175 Byte Length of in output data 10 Byte Settings Max length of input data 176 Byte Length of input data B Byte Assigned master Max length of output data 176 Byte Length of output data 4 Byte Station address 0 Max number of modules 63 Number of modules 4 Masterfl Module 7 outputs In Out ldencifier 4 n cOM DPM PKV200P gt DI 4 DI 8 0 2 Actual slave 1 Word Station address 3 1 U SF 1 Word Slave cL Lid Z 3 11 PB BK DP V1 DIP8 gt 2 U BP HE 2 Word 0 Append Module Remove Module Insert Module Predefined Modules Symbolic Names Final slave configuration IB IL 24 Hodulel IB IL 24 Module2 IB IL AI Module3 IB IL AO Module4 Figure 5 21 Confirm the changes with OK 5 2 5 Parameterizing the Configured Bus Structure The PROFIBUS system automatically parameterizes its stations each time the bus is started This procedure can also be used to define parameters in advance for the inline terminals in our sample project Regardless of whether you automatically read in or manually programmed the bus structure it is displayed in SyCon as follows FaSyCon Z iz File Edit View Insert Onlin
32. cking Cancel In this case download the latest version from www download phoenixcontact de C sutron ELECTRONIC GMBH Configuring the Connected Bus System 5 2 3 Automatically Reading In the PROFIBUS Slaves A bus structure that is connected to your TesiP n operating device can be automat ically read in Using the File Save as menu save the SyCon project you have created under a name of your choice You can stop any project that may be running on the TesiP n operating device by using the PLC switch on the back of the device position STOP Click the master in the SyCon main window Only then can you use the functions in the Online menu in SyCon e Usethe Online Automatic Network Scan menu to read in the bus structure KW_Quick pb File Edit View Insert Online Settings Tools Window Help Start Debug Mode Device Diagnostic FMS Diagnostic Firmware Download Firmware Reset Extended Device Diagnostic Ctrl T Global State Field Live List Automatic Network Scan Get Object dictionary Figure 5 17 Automatic network scan Click Yes to confirm the message that appears Select the TCP IP driver Enter the TesiP n operating device s IP address into the IP address field Click the Connect to server button Device Assignment CIF TCP IP Driver x Address Selection IP Address 132 168 100
33. configuration e Click the Master Settings button and create the following settings CANopen Master Settings Xj Parameter to user interface Startup behavior after system initialisation Automatic release of the communication by the device Cancel Controlled release of the communication by the application program m User proqram monitoring Watchdog time 1000 ms Parameter to process data interface Addressing mode r Handshake of the process data Byte addresses Bus synchronous device controlled Word addresses Buffered device controlled C consistence uncontrolled Storage format word module g Big Endian MSB LSB C Little Endian LSB MSB nu host controlled C Buffered extended host controlled r Hardware parameter 2 kB dualportmemoy 8 dual memon T8 KBidual port memory Figure 5 35 CANopen master settings Controlled release of the communication by the application program means that the bus is only started after a cold or warm boot of the application program occurs The Watchdog time specifies the time after which the watchdog is triggered minimum value 125 ms Byte addresses means that addressing is byte oriented This is also the case in MULTIPROG Buffered host controlled must be set to enable the ProConOS I O driver to p
34. e Settings Tools Window Help pizlal 512 4 ilmi Master0 Station address 0 DP Master CIF30 DPM CIF104 DPM R 27 Slave1 Station address 3 OP Slave IL PB BK DP 71 1 8 Figure 5 22 PROFIBUS bus structure Double click the slave The Slave configuration window appears x General Device IL PB BK DP 1 DIP8 0N Station address 3 Description lel Cancel IV Activate device in actual configuration V Enable watchdog control GSD file PXC 6 650 Parameter Data Max length of in output data 176 Byte Length of in output data 10 Byte 1 Settings lenath of input data 176 Byte Length of input data B Byte Assigned master Max lenath of output data 176 Byte Lenath of output data 4 Byte Station address Max number of modules 63 Number of modules 4 kosae ipes Jowepucalin owe raencatser 2 o7 7 PFv20DP Y DI 4 2 Byte 0 43 0 01 ie 0212 Actual slave 1 U SF 2 U BP 2 U BP ME IB IL 24 Hodulel IB IL 24 2 IB IL Module3 IB IL 4 l Word l Word 2 Word 2 Word 0x82 0x82 2 2 0 40 0 40 0 41 0 41 Station address 3 Slavel 3 IL PB BK DP V1 DIP8 Append Module Remove Module Insert Module Predefined Modules Symbolic Names El Figure 5 23 Slave configuration Click the Parameter Data
35. e boot procedure To return to the servicetool in the standard mode press the middle button key on the front panel of the TesiP n operating device s SuTRON ELECTRONIC GMBH 4 Installing the Software on the Development Computer Installing the Software on the Development Computer D The various programs interactive For this reason please observe the sequence specified here in order to avoid problems Please use Microsoft Internet Explorer 5 or higher to install the TesiP n SWB KW IB PB and CO software bundles Installing IBS CMD G4 only for INTERBUS IBS CMD G4 is a configuration software for INTERBUS e When installing CMD 4 62 follow the instructions in the installation program and read the instructions outlined the documentation for IBS CMD G4 The serial number is affixed to the CD cover Installing the host adaptation for IBS CMD G4 for INTERBUS only The host adaptation is needed for the installation of the TesiP 2n operating device as a controller board in IBS CMD G4 Version 4 62 Follow the instructions in the installation program The first point under Select components is sufficient you can ignore the examples Inthe next menu select the CMD version in which you want to install the host adaptation Installing SyCon only for PROFIBUS and CANopen SyCon is configuration software for PROFIBUS and CANopen Click Installation and then on Install The
36. e registry to prevent this IP address being lost when you restart the system 6 Close the window displaying the network connections by clicking on the X in the upper right hand corner of the screen 7 Click the Save pushbutton in the servicetool to save the IP configuration in the Registry 3 3 2 Switching between the Standard and the Development Mode The development mode enables you to access Windows Explorer and define addi tional settings The development mode also allows you to call up an enhanced ser vicetool S sutron ELECTRONIC GMBH Startup D The standard mode only displays the visualization that you have programmed the Windows taskbar is no longer active The servicetool small is password protected in standard mode The password for the servicetool in standard mode is x in the delivery status You can find information on additional functions in the User manual servicetool on the TesiP n product CD or at www suetron de 1 Click the Operating mode icon in the servicetool The Operating mode dialog opens Panel Mode Development Figure 3 8 Operating mode 2 Click the Standard pushbutton to switch to the standard mode and start the vi sualization The warning stating that the TesiP n operating device will be rebooted is displayed peratinu Mode Figure 3 9 Warning 3 Confirm the warning with Yes The operating device is restarted and displays the delivery visualization after th
37. f this Quick Start This quick start provides users of the applications mentioned above with a simple in troduction to working with the TesiP n operating device and guides them through a simple fully functional sample project 122 For information on questions you may have that fall outside the scope of this quick start or if you want to edit larger projects please refer to the documentation for MULTIPROG SyCon IBS CMD G4 ProVislT etc The examples below show you how to install the software you need in order to work with the TesiP n operating device read in and parameterize the bus structure s SuTRON ELECTRONIC GMBH Introduction create a program and transfer it to the TesiP n operating device and visualize the current program on the TesiP n operating device A simple counter was chosen as an example that can be quickly carried out You can of course represent anything you want from simple door control systems to weather dependent sunblind programs right up to the most complicated position control systems the possibilities are almost endless 122 Knowledge of how to operate PCs and experience with Microsoft Windows operating systems is required For more examples of bus structures programs and visualizations refer to the doc E umentation for IBS CMD G4 SyCon MULTIPROG and ProVislT sutron ELECTRONIC GMBH 3 Startup 3 1 Assembling the Field Bus Cable e Assemble the field bus cable f
38. gure 5 30 Address table The addresses for the IB IL 24 DI 16 start from input byte 0 and have a length of 2 bytes The addresses for the IB IL 24 DO 8 start from output byte 0 and have a length of 1 byte The addresses for the IB IL Al 2 SF start from input byte 2 and have a length of 2 bytes The addresses for the IB IL AO 1 SF start from output byte 1 and have a length of 2 bytes You have now read in and configured the PROFIBUS bus structure Select the File Exit menu to exit the SyCon System Configurator software 5 3 Configuring a CANopen System with SyCon In this sample project the bus structure comprises the following bus modules TesiP n operating device and CANopen as a controller board PxC IL CAN BK TC as a bus coupler PxC B IL 24 DI 16 as a digital input module PxC B IL 24 DO 8 as a digital output module PxC IB IL AI 2 SF as analog input module PxC B IL AQ 1 U SF as an analog output module 5 3 1 Reading in the Bus Structure To enable operation the CANopen bus coupler must read in the bus structure before parameterization takes place Proceed as follovvs Set D P switches 1 to 7 of the station address to 0 OFF Switch on voltage for the bus coupler with all required modules Once the RUN LED on the bus coupler is continuously lit green the 1 O configuration is stored in the station s Flash memory Switch off the voltage for the bus coupler Use the DI
39. h The Communication path settings dialog opens Communication between the development computer and the INTERBUS card in the TesiP n operating device takes place using the 5232 interface Inthe Communication path settings menu use the Settings button to set the serial interface on your PC and confirm your entries with OK Communication Path Settings 1 Standard Type of Port Communication Path Serial Port PC Controller Boards sl S j m m Ethernet Station IP Aiddress 5 Standard f Manual File C Custom Settings we Figure 5 3 Communication path settings 5 1 4 Displaying the Bus Structure e Right click Configuration frame s SuTRON ELECTRONIC GMBH Configuring the Connected Bus System Select Read in from memory from the context menu e Read in the bus structure e Right click Controller board Select Link with description from the context menu Select the corresponding modules in sequence from the list starting with bus coupler IBS IL 24 BK T U and confirm with OK in each case The bus structure is now displayed as follows in this case as an example Project RECIPE Controller Board Parameterization Memory Preprocessing Configuration Frame Ba Phoenix Contact Phoenix Contact Phoenix Contact Phoenix Contact Phoenix Contact Phoenix Contact Phoenix Contact Phoenix Contact IBS IL 24 BK DSUB IB IL 24 DO 8
40. h 64 bits 8 bytes Select the RPDO 2 in the lower list in the Node Configuration window and click the PDO Contents Mapping button to the right Inthe PDO Contents Mapping Object Index 1601 window that appears delete all rows in the lower list Mapped Object dictionary except the first row 1 Analog 2 Byte Output by double clicking on the rows to be deleted s SuTRON ELECTRONIC GMBH Configuring the Connected Bus System PDO Contents Mapping Object Index 1601 Mapable Objects from EDS file Subld Parameter Access 1 Digital Input 8 Bit 2 Digital Input 8 Bit 3 Digital Input 8 Bit 4 Digital Input 8 Bit 5 Digital Input 8 Bit Digital Input 8 Bit 7 Digital Input 8 Bit 1 Analog 2 Byte Output biect54111d 1 Delete mapped Object Figure 5 45 PDO contents mapping object index 1601 You have now selected an analog 2 bit output module IB IL AO 1 U SF for RPDO 2 e Confirm with OK TPDO 1 e Inthe Predefined process data objects PDOs from EDS file list double click the TPDO 1 Communication Parameter object which is valid for the first input module IB IL 24 DI 16 The TPDO 1 object is copied into the Configured PDOs list below e Confirm the Node transmit PDO charcteristics window that then opens with OK No changes are required in this window Node transmit PDO characteristics master input process data x Transmission node
41. ignal paths 441 ono Name vo Lengt Byte Bt Location ByteBi Assignment 11 8 0 0 m Bz 12 1 8 Digital 8 1014 511 13 A016 Analog 0 16 2 41 1 16 Analog 0 16 4 16 16 6 16 Analog 16 7 132 Analog 32 O 1512 DO 32 Digital 32 1010 10 17 Analog 1 16 0 m 10 17 2 Analog 16 2 0 m 41 Control Steuerwort Digital 0 16 0 0 a 4 J ce Figure 5 6 Module addresses in IBS CMD G4 Confirm with OK 5 1 6 Parameterization Right click Controller board and select Parameterization Edit from the con text menu to define the parameters for the bus structure Select Startup without preprocessing in the upper part of the window by enter ing across in the Boot column Parameterizations Ex Disable process data preprocessing EX Confirm Diagnosis E Delay Startup Start Parameterization 6 Load Configuration Cancel Help Standard Action Library xl xi x x xi 3 Figure 5 7 Edit parameterization Edit Parameterization Deactivate the Start Data Transmission entry the Action sequence Active column section e Confirm the dialog with OK Creating the SVC file 1 To create a configuration file select Configuration Parameterization Memo ry Write ASCII File INTERBUS Data SVC in the upper menu
42. ing device and to the develop ment computer e Connect the 24V DC power supply to the pin power supply plug Connecting the power supply Figure 3 4 Pin assignment for power supply 3 3 Startup Procedure 1 Set the PLC switch on the back of the TesiP n operating device to the Run position 2 To start the TesiP n operating device switch on the power supply The TesiP n operating device starts with the startup screen a 4 TG0 1012 441000 10010010107 051072 00 000 100 DID1IDIDOTO10D101010010130107103D9109301001010110101D0031D00 ui Figure 3 5 Startup screen 3 Click the Start pushbutton The EULA dialog opens s SuTRON ELECTRONIC GMBH Startup The software purchased with this unit may be installed and operated on this unit only For licensing details please refer to the license agreement provided with the software Figure 3 6 EULA 4 Activate the Accept pushbutton to confirm the EULA and to close the EULA di alog The servicetool small opens Servicetool H Operating Date Time System Password M Exit Figure 3 7 Servicetool small 3 3 1 IP Configuration 1 Double click the Network icon in the servicetool 2 Double click the LAN90001 icon in the open window 3 Inthe dialog that now opens create a fixed IP address conforming to the Win dows standard 4 Click the OK pushbutton in the upper right hand corner of the dialog 5 You must now save th
43. l 2 SF start from input byte Addr 2 and have a length of 1 Len 4 bytes You have now read in and configured the CANopen bus structure Select File Exit to exit the SyCon System Configurator software i sutron ELECTRONIC GMBH Creating Program MULTIPROG 6 Creating a Program in MULTIPROG This chapter explains how to create a program in MULTIPROG transfer it to the Te siP n operating device and start it there 6 1 Selecting a Suitable Template for the TesiP n Operating Device Open MULTIPROG by choosing Start Programs KW Software MULTI PROG 3 3 MULTIPROG Select the File New project menu New Project X Template far Template far Template far 05 005 05 05 Cancel TJ 8 Template for Template for Template for 5 5 05 Template For Template For Template For 05 05 TesiPan Template For Template for Template for TesiPan TesiPan CE CO TesiPan LE IB Figure 6 1 Selecting a template After you install the TesiP 2n templates new project templates are available in MULTIPROG INTERBUS To operate the TesiP n operating device as a master or CPU of an INTERBUS System select the template called Template for TesiP n CE IB PROFIBUS e To operate the TesiP n oper
44. move All Vendor name Phoenix Contact Node ID B Product number 001000001 Description Nodef Product version entry Product revision entry EDS file name ILCAN_F EDS EDS Revision 5 Figure 5 39 Insert node Inthe Node ID field enter the address that was set using the DIP switches e Confirm with OK The bus structure now appears as follows File Edit View Insert Online Settings Window Help nela gt pataj Master Node ID 1 Master CIF30 COM Node1 Node ID 3 Node IL CAN BK TC Figure 5 40 Bus structure 5 3 5 Configuring the CANopen Node e Double click the node that you have just inserted The Node Configuration window appears S sutron ELECTRONIC GMBH Configuring the Connected Bus System Node Configuration IL CAN BK TC Node ID address 55 q Description N odel Guard time msec 200 Cancel File name ILCAN_F EDS Life time factor 0 Node BootUp v tivat i tual fi ti Activate node in actual configuration Emergency COB ID DPC Dbiects Automatic COB ID allocation in accordance with Profile 301 Nodeguard COB ID I 795 Object Device Profile 401 Predefined Process Data Objects PDOs from EDS Actual node RPDO 1 Communication Parameter L RPDO 2 Communication Parameter PDO mapping method RPDO 3 Communication Parameter 05301 VA
45. n to start the program s SuTRON ELECTRONIC GMBH Creating a Program MULTIPROG The program is now executed on the PLC ofthe TesiP n operating device The SYS LED on the TesiP n operating device lights up The output LEDs of the inline DO 8 terminal blink in time with the counter Figure6 6 Output LEDs of the inline DO 8 terminal n sutron ELECTRONIC GMBH Setting the ProConOS OPC Resource 7 Setting the ProConOS OPC Resource This chapter describes how to configure the OPC Server to transmit data between the PLC and the visualization The OPC resource enables ProVislT to read and change the program variables e Open the OPC Resource Editor by choosing Start Programs KW Soft ware ProConOS OPC Server 2 0 desktop OPC Resource Editor Use the Add Resource button to create a new resource Ihe name of the re source must be identical to the name of the resource of the OPC Server on the TesiP n operating device in this case TesiP n 05 OPC Server 2 0 Resource Editor x Enter the name of the new resource TesiPan Figure 7 1 OPC Resource Editor Set TCP IP as the port The port is needed to allow the runtime version of ProVisIT to access the OPC data This runtime version is installed on the Te siP n operating device e Set the TesiP n operating device s IP address in the Parameter field 9 5 OPC Server 2 0 Resource Editor 5 Resource es
46. o gram Any old templates will be removed by the new setup Installing ProVisIT for all bus systems ProVislT is a visualization software Make sure that you install the correct version of ProVislT You must install at least Version 2 2 as of Build 97 because the connection to the TesiP n operat ing device using TCP IP is only possible as of this version When carrying out the installation follow the instructions in the installation pro gram and read the notes in the documentation for ProVislT After the installation is complete open ProVislT by choosing Start Programs KW Software ProVisIT and enter the registration key in the Register menu You will find the registration key in the envelopeprovided Close ProVislT Installing the ProConOS OPC Server for all bus systems Make sure that the OPC Server is the last component to be installed as other wise errors may occur during communication with other programs Follow the instructions in the installation program and read the notes in the doc umentation for the ProConOS OPC Server After the installation is complete open the OPC Server by choosing Start Pro grams KW Software ProConOS OPC Server 2 0 Desktop ProConOS OPC Server 2 0 Desktop Confirm the message regarding the demo version vvith Open the context menu by right clicking the green OPC Server icon in the task bar at the bottom right hand side of the screen Click
47. onfiguration window with OK Importing the GSD file Before you can include the IL PB BK DP V1 bus coupler into the project you must import a suitable GSD file Always use the latest GSD file You can download it at www download phoenixcon tact com The GSD file is also provided on a disk included in the delivery of the PROFIBUS DP V1 bus coupler This sample project uses the GSD file for which the DIP switch 8 is set to ON This GSD file allows you to define parameter settings for function modules in advance Set a valid PROFIBUS address for DIP switches 1 to 7 of IL PB BK DP V1 in this case Station address 3 0468 2 7064 001 Figure 5 15 Setting the switches e Download the GSD file from the Internet or from the disk and unpack it into a di rectory of your choice Select the GSD file from the File Copy GSD menu Select the path in which you unpacked the GSD file Select the GSD file and click Open Suchen in CO PhoenxContact o 06CC gsd Dateiname PXC 06CC gsd Dateityp GSD ile gsd Abbrechen 2 Figure 5 16 GSD e Confirm the insertion of the graphics files with Yes and the note regarding com bination with OK lt Ifolder GSD files are used error messages may occur although they have no effect Acknowledge these messages by cli
48. or personal injury or even up to the death of the operator Danger Electric Shock Danger Corrosive Danger Toxic Danger Explosive Danger Fire Danger Infrared Light Danger Electrostatic Charge sutron ELECTRONIC GMBH Important Notes 1 2 Safety Notes Read this manual carefully before using the operating device Keep this manual in a place where it is always accessible to all users Proper transportation handling and storage placement and installation of this product are prerequisites for its subsequent flawless and safe operation This user manual contains the most important information for the safe operation of the device The user manual in particular the safety notes must be observed by all person nel working with the device Observe the accident prevention rules and regulations that apply to the operating site Installation and operation must only be carried out by qualified and trained per sonnel 1 3 Intended Use The device is designed for use in the industry The device is state of the art and has been built to the latest standard safety re quirements However dangerous situations or damage to the machine itself or other property can arise from the use of this device The device fulfills the requirements of the EMC directives and harmonized Euro pean standards Any modifications to the system can influence the EMC behav ior 1 4 Target Group
49. or the bus system being used INTERBUS INTERBUS Diese Br cke nur gesteckt werden wenn ein weiteres Modul folgt 9 polige 9 poliger D SUB Buchse D SUB Stecker Figure 3 1 Assembling the INTERBUS field bus cable PROFIBUS PROFIBUS PROFIBUS Feldbuskabel 3 RxD TxD P 5 DGND e ve L tseite 8 RxD TxD N 9 nc 9 polige 9 poliger 9 poliger 9 polige D SUB Buchse D SUB Stecker D SUB Stecker D SUB Buchse Figure 3 2 Assembling the PROFIBUS field bus cable Startup Termination resistors must be installed on the side of the TesiP n operating device and on the last station of the bus system Observe the associated PROFIBUS spec ifications CANopen CANopen CANopen Feldbuskabel Feldbuskabel m weit o LI schim 1 F le 09 Blau E CAN SHLD 5 schwarz a optional 5 O END 6 Reserviert 8 9 poliger 10 poliger Twin CAN_V D SUB Stecker COMBICON Steckverbinder optional 9 polige D SUB Buchse Figure 3 3 Assembling the CANopen field bus cable 3 2 Connection Insert the CompactFlash card provided into the slot in the TesiP n operating de vice s SuTRON ELECTRONIC GMBH 2 5 Startup Use the field bus cable to connect the TesiP n operating device to the bus cou pler Connect the network cable to the TesiP n operat
50. r Once it has reached the right hand side the master board is ready for use Start parameterization using the Online Start Communication menu Overview of address data The address data of the modules is combined in groups under MULTIPROG Therefore the inputs and outputs of the modules must also be combined in groups in SyCon The sequence of the groups mentioned above and therefore also the address areas in MULTIPROG are defined in the I O configuration as follows INPUT OUTPUT VARCONF User defined Input 218520 18523 Figure 5 56 I O configuration in MULTIPROG Select the View Address table menu for an overview of the addressing used for the inline terminals in SyCon 2 35 s SuTRON ELECTRONIC GMBH Configuring the Connected Bus System COB ID Len ion 515 2 Communication 771 TPDO 1 Communication 387 IB 2 Communication 643 IB D IL CAN BK TC Sort according to Node ID Sort according to data addresses Figure 5 57 Address table The output byte addresses for RPDO 1 IB IL 24 DO 8 start from output byte O Addr 0 and have a length of O Len 1 byte output byte addresses for RPDO 2 IB IL AO 1 U SF start from output byte O Addr 1 and have a length of O Len 2 bytes The input byte addresses for 1 IB IL 24 DI 16 start from input byte 1 Addr 0 and have a length of 1 Len 2 bytes The input byte addresses for TPDO 2 IB IL A
51. r Add Resource Alignment Lite Endan vl Delete Resource Baud 18200 m 5 Stopbits sz D atabits Jj Simulation 1 Parity None 21 Simulation 2 Timeout m fe T PAP Parameter 192 158 100 250 Figure 7 2 Setting the parameters e Transfer your settings by selecting the Save button Close the OPC Resource Editor by clicking on the X in the upper right hand cor ner of the screen You have now configured the OPC Server for the transmission of data between the PLC and visualization sutron a ELECTRONIC GMBH Visualization using ProVisIT 8 Visualization using ProVisIT This chapter describes how to visualize the current project on the TesiP n operating device e Open ProVisIT by choosing Start Programs KW Software ProVisIT e Create a new project and save it under a name of your choice 8 1 Creating a Text Field The counter variable is subsequently displayed in the text field on the screen of the TesiP n operating device nthe menu bar on the left hand edge of the screen click the Text element in the drawing area and draw a text field on the work area Figure 8 1 Creating a text field 8 2 Linking With the OPC Variable e Right click the text field This opens a context menu Click Dynamics in this menu and select Text Bel Text1 Cut Copy Paste Delete Size Order hk Grouping y Rotation Proper
52. ro cess the bus data correctly Under Storage format word module you can define whether bytes are to be transmitted first with the high orlow byte It is essential that this setting is imple mented e Confirm with OK e Click the Global Settings button in the Master configuration window and de activate the Enabled option that is the addressing of process data is not auto matically carried out Global Settings 1 Process Data Auto Addressing Enabled Cancel COB D Allocation during PDO insertion Automatic Allocation in accordance with Profile 301 C Manual Allocation in range 0 2047 Figure 5 36 Global settings e Confirm with OK e Close the Master configuration window with OK sutron ELECTRONIC GMBH 8 d Configuring the Connected Bus System Importing the EDS file Before you can include the IL CAN BK TC bus coupler into the project you must im port a suitable EDS file Always use the latest EDS file You can download it at www download phoenixcon tact de The EDS file is also provided on a disk included in the delivery of the bus coupler Set a valid CANopen address for DIP switches 1 to 7 of IL CAN BK TC in this case Station address 3 7064A009 Figure 5 37 Setting the DIP switches e Download the EDS file from
53. shall use a sychronization message as trigger to send the transmit PDO acyclically node has to send the transmit PDO at every fi received synchronization message node shall use a synchronization message as trigger to send the transmit PDO when previously remote requested by the master node shall send the transmit PDO when remote requested transmission event of transmit PDO fully node manufacturer specific transmission event of transmit PDO defined in the device profile of the node Resulting specific transmision type 255 m Triggering Mode no remote request transmision of transmit PDO fully node dependent remote request at every fi 0 node cycle interval inhibit time Figure 5 46 Node transmit PDO charcteristics The IB IL 24 DI 16 only requires 16 bits However the CANopen objects are always inserted with 64 bits 8 bytes Select the 1 in the lower list in the Node Configuration window and click the PDO Contents Mapping button to the right e Inthe PDO Contents Mapping Object Index 1A00 window that appears delete all rows in the lower list Mapped Object dictionary by double clicking the rows to be deleted e Double click the 1 Digital Input 16 Bit entry in the upper list Mapable Objects from EDS file entry for IB IL 24 DI 16 S sutron ELECTRONIC GMBH Configuring the Connected Bus System 2 32 Mapable Objects from EDS file
54. st already be running on the TesiP n operating device Stop any project that may be running on the TesiP 2n operating device by se lecting the Windows CE Stop project menu in ProVislT on the development computer 4 Unbenannt 5creen1 Pro isIT File Edit View Objects Windows CE Extras pP ES Copy Project m Run Project 1 Stop Project Cj Figure 8 7 Stopping the current project Copy the sample project to the TesiP n operating device by selecting the Win dows CE Copy project menu 4 Unbenannt Screen1 Pro isIT File Edit view Objects Windows CE Extras ins x he Run Project r Stop Project Figure 8 6 Copying the sample profect SuTRON ELECTRONIC GMBH Visualization using ProVisIT Start the sample project on the TesiP n operating device by selecting the Win dows CE Run project menu 44 Unbenannt screen11 Pro isIT File Edit View Objects Windows CE Extras 7 imi g Project nm Project if Stop Project Figure 8 9 Starting the sample project The visualization of the counter programmed in MULTIPROG is now running on the TesiP n operating device You have now visualized the current project on the TesiP n operating device S sutron 9 ELECTRONIC GMBH Summary 9 Summary On the basis of the sample project used in this quick start you have now
55. t 2 16 5 2 2 Inserting the PROFIBUS Master 2 16 5 2 3 Automatically Reading In the PROFIBUS Slaves 2 19 5 2 4 Manually Programming a Bus Structure 2 20 0 2 0 Parameterizing the Configured Bus Structure 2 21 5 3 Configuring a CANopen System with 2 24 5 3 1 Reading in the Bus Structure 2 24 5 3 2 Creating a New Project 2 25 5 3 3 Inserting the CANopen master 2 25 s SuTRON ELECTRONIC GMBH Overall Table of Contents 5 3 4 Inserting a CANopen Node 2 27 5935 Configuring the CANopen Node 2 28 5 3 6 Parameterizing the Programmed Bus Structure 2 34 6 Creating a Program in MULTIPROQ 2 37 6 1 Selecting a Suitable Template for the TesiP n Operating Device 2 37 6 2 Assigning Global Variables to the Connection Points of the Bus s VS PI 2 37 6 2 1 Address Assignment for the
56. te 0 and is 1 byte long that is RPDO 2 can only start from byte 1 e Inthe Node Configuration window click the O Addr column of RPDO 2 in the lower list and enter 1 in place of the 0 The RPDO 2 now has the correct address The TPDO 1 object starts from input byte O and is 2 bytes long that is TPDO 2 can only start from byte 2 e Inthe Node Configuration window click the 1 Addr column of 2 in the lower list and enter 2 in place of the O The TPDO 2 now has the correct address Node Configuration IL CAN BK TC Node ID address Description Node1 Guard time msec 200 Cancel File name ILCAN_F EDS Life time factor 0 Node BootUp Activate node in actual configuration Emergency COB ID 131 Automatic COB ID allocation in accordance with Profile 301 Nodeguard COB ID 795 Device Profile 401 Device type Analog Output Analog Input Digital Output Digital Input Predefined Process Data Objects PDOs from EDS file PDOmame Actual node OPC Objects Object Configuration 3 7IL CAN RPDO 4 Communication Parameter 1 Communication Parameter RPDO 2 Communication Parameter PDO mapping method RPDO 3 Communication Parameter 05301 v4 Y 5 Communication Parameter RPDO 6 Communication Parameter Add to configured PDOs PDO name Symbolic 0 Type Addr l Len
57. ties Color MM s G Visibility Text q Disable Figure8 2 Dynamics Text context menu Double click the text field to go to the object properties Switch to the Text tab e Click the button with 3 dots to the right beside the Item row s SuTRON ELECTRONIC GMBH Visualization using ProVisIT Object Properties General Static Text Line Fil Fort Tex tem Representation No Conversion Figure 8 3 Text field properties The OPC Server s variable browser opens e Open the workspace and then the PCOS OPC INPROC 20 folder 20 stands for your OPC Server version 2 0 D xi OPC Global Controls Formulas Properties Arbeitsplatz EI PCOS OPC 20 i TestResource By PCOS OPC INPROC 20 mgl TestRespurce Netzwerkumgebung Use absolute path for variable Cancel Figure 8 4 Variable browser The OPC Server is now also started and under the PCOS OPC INPROC 20 folder you find your TesiP n resource again that you created in the chapter entitled Set ting up the resource and download for the TesiP n operating device This resource contains all variables that have the OPC status for more detailed ex planations of variables with the OPC status refer to the user manual or the online help for MULTIPROG The relevant variable for this sample project is called Cycle_Count or TICKS
58. to click the first row A selection menu for the PROFIBUS mas ter is opened e Under Available devices select CIF30 DPM CIF104 DPM R Once you click Add this master is displayed in the Selected devices field on the right hand side s SuTRON ELECTRONIC GMBH Configuring the Connected Bus System Insert Master Available masters Selected masters OK 00 CIF30 DPM CIFT04 DPM CIF104 DP AB Cancel lt lt Remove All lt lt Remove CIFPS1 DPM Chac Vendor name Hilscher GmbH Station address 0 Ident number 057505 Description MasteO 7 GSD file name 7505 650 Figure 5 12 Insert master The station address of the master is always 0 e Confirm with OK Configuring the PROFIBUS master e Double click the master The following window appears Master Configuration x diga Description Mastert Cancel Station address Device CIF30 DPM CIF104 DPM DP Suppart DP Master Settings Auto addressing FMS Support FMS Settings GAL 0 Lm Actual Master Figure 5 13 Master configuration Click the DP master settings button and specify the following settings DP Master Settings x Parameter to user interface Startup behaviour after system initialisation Automatic release of the communication by the device Cancel Controlled release of the communication by the appli
59. ulting CANopen specific transmision type 255 Triggering Mode no remote request transmision of transmit PDO fully node dependent remote request at every fi node cycle interval inhibit time Figure 5 48 Node transmit PDO characteristics The IB IL Al 2 SF only requires 32 bits However the CANopen objects are always inserted with 64 bits 8 bytes e Select the 2 in the lower list in the Node configuration window and click the PDO Contents Mapping button to the right e Inthe PDO Contents Mapping Object Index 1 01 window that appears delete all rows except for the last two in the lower list Mapped Object dictionary by double clicking the rows to be deleted s SuTRON ELECTRONIC GMBH Configuring the Connected Bus System Dbilda Subld Parameter Access 1 Digital Input 8 Bit 2 Digital Input 8 Bit 3 Digital Input 8 Bit 4 Digital Input 8 Bit 5 Digital Input 8 Bit 6 Digital Input 8 Bit 7 Digital Input 8 Bit Cancel Append Object 1 Analog 2 Byte Input 2 Analog 2 Byte Input Object6401Idx1 Object6401ldx2 Delete mapped Object Figure 5 49 contents mapping object index 1 01 You have now selected an analog 32 bit input module IB IL Al 2 SF for TPDO 2 e Confirm with OK Assigning the addresses to the process data objects After inserting the PDOs assign the addresses to them The RPDO 1 object starts from output by
60. you restart the system You have now read in the INTERBUS bus structure created the SVC file and trans ferred it to the TesiP n operating device You have now successfully configured the bus structure 5 2 Configuring a PROFIBUS System with SyCon In this sample project the bus structure comprises the following bus modules 2 15 s SuTRON ELECTRONIC GMBH Configuring the Connected Bus System TesiP n operating device and PROFIBUS as a controller board PxC IL PB BK DP V1 as a bus coupler PxC IB IL 24 DI 16 as a digital input modulePxC IB IL 24 DO 8 as a digital output module PxC IB IL AI 2 SF as an analog input module PxC IB IL AO 1 U SF as an analog output module 5 2 1 Creating a New Project Open SyCon by choosing Start Programs SyCon System Configurator SyCon e Tocreate a new project select the File New menu Select the field bus system i e select PROFIBUS Select fieldbus X AS Interface Controll et DeviceNet Ethernet Protocol nterEus Figure 5 10 Select fieldbus Confirm with OK 5 2 2 Inserting the PROFIBUS Master Save the project Go to the first row of your worksheet SyCon EXE Unnamed1 R x z File Edit View Insert Online Settings Tools Window Help olsa 5 2 A sit ealo Figure 5 11 Inserting the PROFIBUS master Select the Insert Master menu Use the M cursor

Download Pdf Manuals

image

Related Search

Related Contents

Crosscall Shark V2 2.2" 115g Red  Istruzioni per l`uso    PRESTIGE 450  VIEWTEQ CORP. 09` CATALOG (SPANISH)    Netzwerk-Vorverstärker Der Letzte ist der Beste - E  V7 Laser Toner for select HP and CANON printer - replaces 716 BK  ウォータリングタイマー取扱説明書 ウォータリングタイマー取扱説明書  APC AR8190BLK rack accessory  

Copyright © All rights reserved.
Failed to retrieve file