Home

UM QS EN ILC 150 STARTERKIT Order No.

image

Contents

1. Main window Status bar Figure 4 1 User interface 7533_en_02 PHOENIX CONTACT 4 1 ILC 150 Starter Kit 4 2 PHOENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 4 3 Toolbars The program contains several toolbars with different icons which enable frequently used operations to be executed quickly Alternatively these operating steps can be called via menu items or predefined shortcuts By default all the toolbars are shown To display or hide a specific toolbar use the Extras Options dialog box When the mouse pointer is placed over an icon without clicking on it a tool tip appears The tool tip displays the name of the current icon In addition a short function description appears in the status bar If tool tips are not displayed this feature can be activated in the Extras Options Toolbars dialog box Icons for Selecting the Workspace The workspace can be changed via the icons in the toolbar Activate IEC programming workspace Activate bus configuration workspace Activate process data assignment workspace Activate project comparison workspace Which windows will actually be displayed depends on which windows have been toggled on The last setting for each workspace is saved when the program is closed and restored when it is started again Frequently Used Icons for Compiling and Debugging Online modifications Make compile project corresponds to Build Make in the men
2. 5 2 Creating a New Project In the following sections the Function Block Diagram FBD language is used to develop an example project Please note that this example project is stored on the ILC 150 ETH by default upon delivery of the ILC 150 Starter Kit this example project is available as QuickStart_ILC150 zwt file on the starter kit CD Read the additional descriptions in Section Example Project QuickStart ILC150 on page 5 16 if you wantto use the example project from the CD directly in PC WorX want to upload the example project from the ILC 150 ETH to the PC in PC Worx If you want to test the following steps yourself please use the same identifiers and names as used in this user manual in order to obtain the best possible result e Select the New Project command from the File menu to create a new project using a template The tree structure and the selection of the control system are now prepared e Select the ILC 150 ETH Rev gt 01 2 00 control system and confirm your selection with OK Mew Project x CP310ETH CPHOETH CP310ETH CP3I2ETH a Rew gt OO Aew gt 007 Rew gt 00 Bev gt UD Cancel CF312ETH CFP312ETH FC 200 PCI FL 350 PCI Rew gt OO Rev gt DO Rew gt 1 ETH Re gt mo gt 2 gt jt T FL 350 PCI FC 350 PEI ILC 150 ETH ETHRev ETH Rew Rew gt 01r Aie gt Ao 4 2 1 gt
3. ILC 200 IB ILC 200 UNI ILC 330ETH ILE 330 ETH Rew gt 1 Rev gt 01 Rev gt 017 Rev Ul I RE LI E u 2 I RE Figure 5 2 Project templates e Select the File Save Project As Zip Project As command 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Example Project e Enter a project name here QuickStart ILC150 and save the project Save Zip project as x Save in Io Projects 8 Ek EJ EXAMPLE EEX AMPLE mwt File name QuickStart ILC150 mwt Save as type Project Files mut Cancel v 5 r T Figure 5 3 Save Zip project as window 7533_en_02 PHOENIX CONTACT 5 3 ILC 150 Starter Kit online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 5 3 Adapting the Project Information e Switch to the bus configuration workspace After creating a new project the project information is displayed in the bus configuration workspace e Adapt the project information to your project Bus Structure EFS Device Details QuickStart ILC150 QuickStart ILC150 Project ILC 150 ETH 192 168 0 2 Resource Pmjename ae 00000000 R STD RES ILCISD 2 Project nam Quickstart ILC150 Zi INTERBUS D 0 D creator o En Unconnected Bi Computer name at project creation DEMNM Di MULTIPROS version at project creation 4641403 Di PC WORX version at pro
4. Program Function Function Block FOL group Expand All o STD TS5K DEFAULT D Main Main any 5 Global Variables IL Configuration 7 smurta Figure 5 27 Context menu Insert Function Block e Inthe Insert dialog box enter the name Analog In Out for the function block to be created e Under Type select Function Block and under Language select FBD Insert Analog_In_Out Cancel Type Language IL Help SI SPE FBD Lb FFLD MSFC t Program t Function f Function Block Use Reserve o tit EINEN 888 aT ed PLC type Processor type lt independent gt lt independent gt Figure 5 28 Insert dialog box creating a function block e Confirm your entries with OK 5 24 PHOENIX CONTACT 7533 en 02 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Example Project e Switch to the Project Tree Window in the Analog In Out worksheet e Create the programming for this POU e When defining the Analog In and AnalogOut variables please note that VAR INPUT must be selected under Usage for Analog In and VAR OUTPUT must be selected for AnalogOut e Once the programming has been created compile your project e Click on the Make icon in the toolbar e The Analog In Out function block can be selected in the Edit Wizard Group all FUs and FB d ABS T
5. THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Once the controller has read the connected INTERBUS system the INTERBUS devices must be imported into the project e Select the controller in the Connected Bus window e Open the context menu and select the Import to Project With Device Description command Connected Bus Selected Control System ILC 150 ETH 132 158 0 2 1 125 7 Import En Project 2 127 d Applv Device segment Update view w Display Kev Figure 5 14 Importing devices into the project The Select Device window lists the modules whose device description corresponds to that of the connected devices Information ta the searched device suitable entry for the following component could nat be found Please select a device which matches the searched one Mame Analog local bus device with Output Ident Code h25 Process Data Length E Ident Code Frocess Data Length IB IL AQ 1 5F 125 16 IB IL AD 1 U 5F 125 16 Localbus device 83 91 599 102 01 2 45812 15 24 324 Automatically apply to further devices of this type Cancel Figure 5 15 Select Device window e Select the device that is actually connected in the INTERBUS system and repeat this step until all the devices are linked to their device description 7533_en_02 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Example Project Bus Structure X QuickStart _ILC150 Bl I
6. e Adjust these settings if required such that the ILC 150 ETH can be addressed in your network under the preset address If your network does not permit using the preset IP address BootP is available on the ILC 150 ETH of the ILC 150 Starter Kit by default in order to configure the IP address of the ILC 150 ETH for your network In an Ethernet network BootP is used to assign an IP address to a BootP client using a BootP server In this example default upon delivery of the ILC 150 Starter Kit the ILC 150 ETH BootP client sends a Boot Request to the network in the form of a broadcast call A unique identification is the MAC address of the sender which is transmitted together with the Boot Request If the BootP server was activated in PC WorX PC WorX responds with a Boot Reply Using this Boot Reply PC WorX informs the ILC 150 ETH about its IP address and subnet mask Please ensure that the BootP server knows the MAC address sent by the BootP client an IP address and subnet mask have been specified for the MAC address in PC Worx PC WorX acknowledges successful transmission of the IP data to the ILC 150 ETH by means of a corresponding message When creating the project the IP settings are made for the controller e Adjust these settings if required If you modify any project information which would affect the IP settings of the controller a warning message appears However the settings are not modified automatically Whe
7. KG DE Datei Bearbeiten Ansicht Favoriten Extras Q zw ck Q ix a A Suchen 57 Favoriten amp a te jw a m http 192 168 0 2 v EJ wechseinzu Links Adresse INSPIRING INNOVATIONS STARTERKIT ILC 150 ETH Applet IMasterPhoenix5_00_00 started Figure A 3 Visualization Start Page 7533 en 02 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Starting the Visualization A QuickStart_ILC150 Microsoft Internet Explorer provided by Phoenix Contact GmbH amp Co KG File Edit View Favorites Tools Help ay Q ak T i ix a Search Sf Favorites amp B i jw rel Address http 192 168 0 2 vo us Bao CD GP O Oma INSPIRING INNOVATIONS ILC 150 ETH lA 141 21 2141 1121 u 21 Test outputs amp Applet IMasterPhoenix5 O0 00 started Internet Figure A 4 Representation of the controller LEDs 2i QuickStart ILC150 Microsoft Internet Explorer provided by Phoenix Contact GmbH amp Co KG File Edit View Favorites Tools Help au Qe v gt ix a gt Search Sf Favorites amp B pv M rel Address 4 http f192 168 0 2 o ins D ug o OD GP O Oma INSPIRING INNOVATIONS SWITCH BOX amp Applet IMasterPhoenix5 O0 00 started Internet Figure A 5 Representation of the switch LEDs PHOENIX CONTACT A 3 ILC 150 Starter Kit A 4 PHOENIX CONTACT onlinecom
8. 2 Sending a Project When sending the project to the control system the desired INTERBUS configuration is transmitted and activated e Open the project control dialog box If only the Close button is enabled in the project control dialog box that opens there is no valid connection to the ILC 150 ETH In this case check the communication path kok State On Bea wam aw NN Lemes f Mpls Downoad Mara Infa Close Figure 4 9 Project control dialog box Before sending the project to the controller the download options can be set e Click on More PHOENIX CONTACT 4 9 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit Download options The Download Options dialog box opens Download Options Options W Permanent as Bootproject Bootproject Download Activate Delete Close Help Figure 4 10 Download Options dialog box In the dialog box in Figure 4 10 the following download options can be selected for the project which is to be transmitted to the controller In addition the boot project of the current project can be sent separately or activated deleted on the controller The settings selected in this dialog box are used for all transmissions to this specific controller ILC 150 ETH in the example Options area Permanent as Bootproject This option can be deactivated to exclude the boot project when sending to the co
9. CONTACT 5 17 7533 en 02 ILC 150 Starter Kit Chasing light Analog value Visualization 5 18 PHOENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 5 8 Programming an Example Program Including Defining Variables 5 8 1 Program Description A chasing light and the conversion of an analog input value into an analog output value are programmed in the example program for the starter kit Outputs 1 to 4 of the controller are controlled in succession The speed of control varies depending on the position of switches 0 1 and 2 of the switch module This is indicated by LEDs Q1 to Q4 In addition the switch positions of switches 0 to 7 of the switch module are indicated using LEDs 11 to l8 of inputs 1 to 8 of the controller An adjustable voltage is supplied at the voltage input for channel 1 of the Inline input terminal This voltage which is converted internally is output at the analog output of the Inline output terminal The bar graph display is used to visualize the output voltage value The entire program is implemented in the Main FlashLight and Analog In Out POUs The ONBOARD INPUT BIT10 and ONBOARD INPUT BIT7 variables system variables map the status of the inputs to which the toggle switches are connected The Input Analog variable user variable maps the status of the analog input to which the adjustable voltage is supplied The time for controlling the chasing light speed is set within the Main
10. POU according to the ONBOARD INPUT BITO to ONBOARD INPUT BIT2 input variables In addition the FlashLight and Analog In Out user defined function blocks are called The ONBOARD OUTPUT BITO to ONBOARD OUTPUT BIT3 output variables are controlled within the FlashLight POU The analog input variable Input Analog variable is converted into the analog output variable Output Analog variable within the Analog In Out POU The basic steps for creating this program are described below Outputs 1 to 4 of the controller are all set to TRUE simultaneously from the visualization This function is then active once the visualization has been started in your browser and a corresponding button has been clicked If the button is not clicked the outputs continue to be controlled by the chasing light The TestOutputs variable creates the link with the visualization Depending on the variable status which is set by the visualization via buttons outputs 1 to 4 of the controller are set 7533 en 02 5 8 2 Programming For programming proceed as follows e Switch to the IEC programming workspace interface onlinecomponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Example Project e Double click on Main in the Project Tree Window to activate the IEC programming e Inthe Main worksheet click on the empty position where you would like to insert the function block Project Tree Window Project D Program Fi
11. Reloading the Visualization e Load the project on the controller via the Project Download project menu item FIP Download Connect Server 132 158 0 2 Connect NO CONNECTION coca Figure A 7 WebVisit FTP download to the controller e Inthe Connect area set the IP address of the controller under Server 192 168 0 2 in the example e Click on Connect FIP Download Connect Server 132 158 0 2 i Anonymous login Connect CONNECTED Download Remote Directory flash Make Change Dir Up Dir Exit Cancel Figure A 8 Loading the WebVisit project on the controller e Click on Download Project once the connection to the controller has been established display CONNECTED e The progress bar shows the transmission status e Confirm the message that appears once transmission is complete with OK 7533 en 02 PHOENIX CONTACT A 5 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit Phoenix WebVisit FTP download made Far project Files MsgBox teg IMasterPhoenix5_00_00 jar QuickStark ILCIS50 ikq QuickSEark ILC150 Ecr entry html ILC150 GIF main teg ILC150 teq switch beg switch GIF PxCLoga GIF bersicht GIF Figure A 9 Download completed The visualization project has been transmitted to the controller The visualization can now be displayed again via your browser see Starting the Visualization on page A 2 A 6 PHOENIX CONTAC
12. automatically and is integrated in PC Worx It can be called from PC WorX via the View Diag menu However Diag can be started separately via Start Programs Phoenix Contact AUTOMATIONWORX Software Suite Diag 2 xx An online connection to the controller is required in order to use Diag For the following description the IB IL Al 2 SF ME Inline terminal has been removed from the starter kit bus configuration in order to prompt an error e Start Diag via View Diag Communication Path r c 150 ETH 192 168 0 2 View Settings User Name Password Communication Path Registry Assignment File Custom C DCP PC WORX View Device Representation Device Type INTERBUS Devices Display DeviceNumber a m Refresh f anual Status Messages Message Time Offline 22 05 2007 16 29 18 Hep on Status Message Version Project Mame Offline Figure 6 1 Diag start screen The ILC 150 ETH 192 168 0 2 Inline Controller is set under Communication Path A connection can be established with this device Click on Connect to activate the communication path At the top of the section under View select which general information is to be represented View Settings INTERBUS Diagnostic PHOENIX CONTACT 6 1 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit View Settings e At the bottom of the section under View s
13. connected to an Inline Controller can be read once the communication path has been established to the Inline Controller 35 In the example structure see Figure 2 1 on page 2 1 two INTERBUS modules are connected to the ILC 150 ETH Procedure e Select the Connected Bus command from the View menu to read the connected INTERBUS system View Project Build Online Extras B Project Tree Window UMSCHALT F8 E Message Window STRG F2 X Edit Wizard UMSCHALT F2 ag Cross References Window ALT F2 Watch Window ALT F10 Logic Analyzer ALT F11 ER Project Comparison Result Window v Status Bar v Bus Structure v Device Details v Device Catalog Module Catalog Process Data Assignment Diag EXCEL Link LC Display Ethernet Topology INTERBUS Topology IEC Programming Bus Configuration Process Data Project Comparison 5 Automatic Location OnJOff Figure 5 12 View Connected Bus command e Select the controller in the Connected Bus window Connected Bus Config PC WorX The following colors and characters indicate the result for the a T commaricoan nf the nhwsirallr DE k Selected Control System Offline r Offline ILC 150 ETH 192 168 0 21 Offline Figure 5 13 Selecting the ILC 150 ETH This activates the online operating state and the controller reads the connected INTERBUS configuration 7533_en_02 PHOENIX CONTACT 5 13 ILC 150 Starter Kit 5 14 PHOENIX CONTACT
14. input parameter of the function block to assign the time 350ms time value e Set the scope of validity to Local e Enter Time 350ms under Name e Confirm your entries with OK Variable Properties Mame Scope Timett350ms d Local Global Data Type Local Variable Groups TIME EJ Default Help Usage Global Variable Groups RETAIN Physical Hardware sg STD CHF gj STD RES j E System Variables 10 address E User Variables n Main Cancel Initial value Description OPE Show all variables of worksheet Figure 5 25 Variable Properties e Repeat this procedure for all variables in the example for the output of the SEL TIME function block ONBOARD INPUT BITO ActTimeFlashLight ActTimeFlashLight times s50ms Figure 5 26 Input selection block The complete program can be found in Section 5 8 8 Complete Example Program from page 5 26 PHOENIX CONTACT 5 23 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit 5 8 7 User Defined Function Blocks In order to create the Analog In Out and FlashLight user defined function blocks proceed as follows e Inthe Project Tree Window open the context menu for Logical POUs e Select the Insert Function Block menu item Project Tree Window Project D Program FilessPhaenis Contact sSc C Libraries J E Data Types z sus flag types Ex Logical POU Insert
15. nennen 5 28 5 12 Operation and Debug Mode uss 242us00nennnnennnennnnnnnnenne mener nnns 5 29 6 Additional Functions of PC WorX sssessssssessssessseeseeeh nennen nnns nnhisnnn nnne nnne sse sns a n nnn a ns 6 1 6 1 Diagnostics WIN DIAG Russen einen 6 1 A Appendix Visualization With WebVisit 02202200220220sssennnennnnnnnnnnnnennennnn nenne nennen A 1 A 1 ET MERERI Ec M A 1 A2 Starting the Visualization uus 444000Bnennene nennen nnnennnnn nennen nnnnnne nennen A 2 A 3 Reloading the Visualization ccccccseeeeeseeeeeeeeeeeeeeeeeaeeeeeaeeeeseeeeesseeeesseeeenes A 4 li PHOENIX CONTACT 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS General 1 General 1 1 Introduction The ILC 150 Starter Kit is a combination of hardware and software It contains all the components you need in order to create and start up a basic ILC 150 ETH system 1 2 Information About This Document Using an example project this document helps you to install and parameterize a bus configuration and to program the application program according to IEC 61131 It is assumed the user has knowledge and experience in the operation of PCs and Windows operating systems and knowledge in IEC 61131 For more detailed information about the hardware components please refer to the documentation for the components The documentation i
16. test the communication path using the IP address assigned above PC WorX indicates whether changing the IP address has been successful or not see Section 5 4 1 Please note that BootP is deactivated on the ILC 150 ETH when assigning the controller an IP address as described above After successfully assigning the IP address BootP can be activated on the ILC 150 ETH as described in the following e Mark the Usage of a BootP Server option on the Extended Settings tab e Confirm the settings by clicking Send e Confirm the Settings Communication Path dialog box with OK IP address 192 168 0 22 is selected in the example In the status window Offline in Figure 5 8 PC WorX displays the above messages one after the other again provided that BootP has been activated successfully on the ILC 150 ETH For reading the existing INTERBUS structure please continue reading Section Reading INTERBUS on page 5 13 PHOENIX CONTACT 5 9 ILC 150 Starter Kit 5 10 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 5 4 3 Changing the IP Address Using BootP The Controller Can not be Addressed Using the Preset IP Address Use the following way for address assignment via BootP if the ILC 150 ETH cannot be addressed in your network using the preset IP address 192 168 0 2 subnet mask 255 255 255 0 the IP address of the controller is unkown the preset IP address is not to
17. the compiler is currently executing In addition errors warnings and additional information about the process are logged here Once the compiling process has been completed successfully i e no errors have been reported the modified project can be sent to the controller 4 12 PHOENIX CONTACT 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Example Project 5 Example Project In addition to the example project described in the following section other example projects are in preparation In future they can be downloaded from the Internet at www download phoenixcontact com using the Order No of the ILC 150 Starter Kit 2988955 In this section it is assumed that the following steps have already been completed The hardware is installed see Installed Hardware and Startup on page 2 1 The software is installed see Installing and Enabling the PC WorX Software on page 3 1 5 1 Overview Start Read Create new project INTERBUS Specify project informationen Create programm Check modify IP settings torecniraller Assign process data Compile and send project and perform cold restart Assign IP address for controller BootP Server Operation debug end 7533C004 Figure 5 1 Sequence for creating a project 7533_en_02 PHOENIX CONTACT 5 1 ILC 150 Starter Kit 5 2 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS
18. the variables worksheet Global Variables When compiling the project a file called pdd csv is generated which is used by WebVisit for the visualization PHOENIX CONTACT A 1 ILC 150 Starter Kit PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS In WebVisit enter the PC WorX project used recommended or the corresponding pdd csv file For standard installation The project is located in directory C Program Files Phoenix Contact Software Suite Projects And The corresponding pdd csv file is located in directory C Program Files Phoenix ContactiSoftware Suite Projects xxx C STD_CNF R STD_RES xxx project name in the example QuickStart_ILC150 For information about using WebVisit please refer to the corresponding documentation A2 Starting the Visualization Please note that the visualization is started only with the following setting in the Windows 9 control panel e Start the Java control panel from the Windows control panel e Select in the temporary files settings that temporary files are not stored By default upon delivery a WebVisit example project is stored on the starter kit controller This visualization can be viewed by entering the IP address of the controller in the address window of your Java compatible browser in the example http 192 168 0 2 Zi QuickStart_ILC150 Microsoft Internet Explorer provided by Phoenix Contact GmbH amp Co
19. various settings User Variable System Variable e To set the scope of validity Default System Variables open all folders under Global Variable Groups and select the following in the STD_RES folder e At the top of the section select Local Global the scope as e Inthe Variable Properties e Enter the desired Select the window enter or select the name corresponding name for the corresponding variable input parameter under Name 5 20 PHOENIX CONTACT 7533_en_02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Example Project 5 8 5 Defining User Variables Assigning the Default Chasing Light Speed Click on the desired position in the worksheet to set a cursor In the context menu for the cursor select the Variable menu item In the Variable Properties dialog box enter the variable name ActTimeFlashLight In the Description field enter the descriptive text Time flashlight Select TIME as the data type VAR must be set under Usage Set the scope of validity as Local for a user variable Under Global Variable Groups select Default in the STD RES folder Variable Properties ActTimeFlashLight Data Type TIME Usage VAR RETAIN Initial value 0 address Description Scope Local t Global Local Variable Groups Ey Default Global Variable Groups Physical Hardware 2 9 STO_CNF 2 9
20. 68 0 2 33 STD CNF eCLR m Resource STD RES ILC150_2 User Variables pe oe un System Yariables i ST TEK DEEST 1 IBIL AO I1 LI SF D 1 T Mem i Aai 2 IB IL AI 2 5F ME 0 2 EA LInconnecked Symbol yariable Dat Process Data Item Process Data Item Data Type Byte Bit A 5 F Port WORD 2 IBIL ALZISF MEO 2 Y AI1 voltage 1IBILAOI L SFO 1 voltageoutpuED V 10 Q WORD n n E 1 1 bs Be SR eee eee 1IBILAO1 JSFO 1 40 16 q WORD n n BOOL lt i iw lt av Figure 5 33 Assignment of process data item 1 1 of the Output Analog variable e Repeat this procedure for all inputs to be evaluated and for all outputs to be controlled System variables e g ONBOARD INPUT BIT10 are not displayed in this process 33 data view 5 11 Compiling and Sending a Project Including Program and Performing a Cold Restart Now the project has been completed In order to start up the project compile it send it to the control system and perform a cold restart e Proceed as described in Compiling and Sending a Project and Performing a Cold Restart on page 4 9 The project has been successfully started 5 28 PHOENIX CONTACT 7533_en_02 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Example Project 5 12 Operation and Debug Mode The toggle switch can now be pressed and the response at the output checked The method of operation of the program can be monitored in PC WorX by switc
21. ARI ONBOARD_INPUT ONBOARD_INPUT_BITO ONBOARD_INPUT_BIT1 ONBOARD_INPUT_BIT2 ONBOARD_INPUT_BITS zm ONBOARD_INPUT_BIT4 EH e Local Variable Groups a Defaut Global Variable Groups ONBOARD_INPLIT_BITS gt A ONBOARD_INPUT_BITE User Variables ONBOARD_INPUT_BIT O Main ONBOARD OUTPUT BITO ONBOARD OUTPUT BITI ONBOARD OUTPUT BIT2 ONBOARD OUTPUT BIT3 ONBOARD OUTPUT OVERLOAD D PLCDEBUG BPSET PLEDEBUG_FORCE Show all variables of worksheet Figure 5 23 Variable Properties system variables UK Cancel Help Now define all the other variables All system variables are applied as VAR_EXTERNAL and belong to the BOOL data type e Double click on the second input parameter of the function block to assign the ActTimeFlashLight variable e Set the scope of validity to Local e Select the ActTimeFlashLight variable e Confirm your entries with OK Scope Local t Global PHOENIX CONTACT ActT imeFlashLight TIME Usage var I RETAIN Initial value D address m Description Figure 5 24 Local Variable Groups EJ Default Global Variable Groups Physical Hardware sg STD CHF STD RES H System Variables J User Variables n Main Shaw all variables af worksheet Variable Properties D Cancel Help 7533_en_02 7533 en 02 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Example Project e Double click on the third
22. C WorX File Edit View Project Build Online Extras mg jas xee sc ee m xsaim sm ad 22 2 gg E mare a H ELE g DRAE Hiro entm m pe i85 name ok lax e m rane I 6 DJ Device Details Bus Structure Device Catalog Build A Errors A Warnings A Infos A PLC Errors A Print A Multi User A Bus Configurator For Help press F1 Figure 4 3 Bus configuration workspace Process Data Assignment Workspace U PC WorX File Edit View Project Build Online Extras nsalas Belscjae mer Be58 url ecas emmay aH Em 2 h jette ue m ce IE on E E der so HE TT d be em n meu essage Window PLC Errors A Print A Multi User A Bus Configurator Build A Errors A Warnings A Infos For Help press F1 Figure 4 4 Process data assignment workspace 4 4 PHOENIX CONTACT 7533 en 02 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Helpful Information About PC WorX Project Comparison Workspace at PC WorX File Edit View Project Build Online Extras TY BE PX FH x Project Part Source Type Change Type Description Source Value Reference Value Properties Worksheets Build Errors Warnings A Infos PLC Errors A Print A Multi User Bus Configurator For Help press F1 Figure 4 5 Project comparison workspace Toggling windows on off Each window can be toggled on off via the View menu by selecting the corresponding menu i
23. KIT provided with the starter kit PHOENIX Order No 2985330 HWIFW 00 100 IB IL AI 2 SF ME IB IL AO 1 U SF PAC CLIPFIX 35 5 CLIPFIX 35 5 STEP PS 100 240AC 24DC 1 5 STS 2 5 QUATTRO BU D STS 2 5 STS 2 5 QUATTRO 7533B001 Figure 2 1 ILC 150 Starter Kit Installed components 7533_en_02 PHOENIX CONTACT 2 1 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit 2 1 2 Wiring of the Inputs For the example program in this documentation the following inputs and outputs are connected Table 2 1 Inputs and outputs used in the example Device mw Owps Sia Vw ILC 150 ETH Input I1 Connector 3 terminal point 1 1 ONBOARD INPUT BITO Input I2 Connector 3 terminal point 2 1 ONBOARD INPUT BIT1 Input I3 Connector 3 terminal point 1 4 ONBOARD INPUT BIT2 Input 14 Connector 3 terminal point 2 4 ONBOARD INPUT BIT3 Input I5 Connector 4 terminal point 3 1 ONBOARD INPUT BIT4 Input I6 Connector 4 terminal point 4 1 ONBOARD INPUT BIT5 Input I7 Connector 4 terminal point 3 4 ONBOARD INPUT BIT6 Input 18 Connector 4 terminal point 4 4 ONBOARD INPUT BIT7 IB IL AO 1 U SF PAC Output O1 Connector 5 terminal point 1 1 Output Analog IB IL AI 2 SF ME Input I9 Connector 6 terminal point 1 1 Input Analog ILC 150 ETH OEE CONTACT ILC 150 E
24. L ccccceeeceeceeeeeeeeeeeeeeeeseeeeeesaeeeeeeseaeeeeeegs 1 1 1 3 Contents of the ILC 150 Starter Kit ce ceccccesseeeeeseeeeeeeeeeeeeeeesaeeeeeeseaaeeees 1 1 1 4 Components of the ILC 150 Starter Kit 022220002220002enenennnnnennennen ernennen 1 2 1 9 System Requirements ccccccccesseecceeeeeeeccesseeecsueuceesceeeeesseeseesssaaesesssaneeseseas 1 3 1 5 1 Supported Operating Systems ssseseeeeeene 1 3 1 5 2 Hardware Requirements sesesssssssssssseeeeeeen eene nennen 1 3 145 9 Programming Software cccecceccsssecececeeeecceseeecseeeeeesauaesensseaeeees 1 3 1 5 4 Required Firmware Version ccccccccseccesecceeeeeseeeeseeseeeseneeseseseeeess 1 3 2 Installed Hardware and Startup us22esn0eoneennononneunnen nun nennen nenn Nene 2 1 2 1 Installed Hardware GDh MOM nenennennnnnnnnnnnnnnannnnnnnn 2 1 2 1 1 Structure of the Starter Kit odassersssessssnsnnennnnnnnnnnnnnnennnnnnnnnen nenn 2 1 2 1 2 Wiring of the Inputs cuessenesseeennesnenennennnnnnnennnnnnnnennnnnnnnnnnnennnnnnenn 2 2 2 1 3 Establishing the Ethernet Connection ccccccccceeeeeeeeeeeeeeeeeeesaeees 2 3 2 2 Starting up the ILC 150 Starter Kit cc ceccccceseeeeeeseeeeeeeeseeeeeesaeeeeeeseeeeeenens 2 4 2 2 1 Connecting the Supply Voltage essesseeeeee 2 4 2 2 2 Setting up the PC s N
25. LC 150 ETH 192 168 0 2 KR Resource R STD_RES ILC150 2 yy INTERBUS 0 0 1 IBILAO 1 U SFO 1 2 IB IL AI 2 SF ME 0 2 a Unconnected Figure 5 16 Complete bus configuration for the example project e Disconnect the link by selecting Offline as Selected Control System in the Connected Bus window Connected Bus Selected Control System ILC 150 ETH 132 158 0 2 Offline ILC 150 ETH 132 158 0 2 A 17 3 The following colors and characters indicate the result for the cormmaricon nf the nbi all DE k Figure 5 17 Connected Bus window Selected Control System Offline 5 6 Compiling and Sending a Project and Performing a Cold Restart After Reading the Bus Topology Now the project contains the full bus configuration At this point you can compile your project in order to detect any errors that may have occurred In order to start up the project compile it send it to the control system and perform a cold restart Proceed as described in Compiling and Sending a Project and Performing a Cold Restart on page 4 9 The ILC 150 ETH Inline Controller and the connected Inline terminals are now started up The D LEDs on the Inline terminals are permanently on INTERBUS is running 7533 en 02 PHOENIX CONTACT 5 15 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit 5 7 Example Project QuickStart ILC150 Please note that the example pro
26. POU is displayed by opening the program worksheet in Figure 5 35 under Main in the Project Tree Window or under Main Main on the tab in the worksheet Project Tree Windows Logical POUs GE FlashLight cla Analog_In_Out m Main i MainT Main 5 Main E Physical Hardware STD CNF eCLR 5 44 STD RES ILC150 2 Se Tasks O STD_TSK DEFAULT 5 Global Variables IL Configuration Figure 5 35 5 30 PHOENIX CONTACT Main Main Select time for flashlight kime 500ms ActTimerlashlight 0 100 _ ONBOARD INPUT_BITO i 1 1 100 ActTimerFlashLight 1 100 time 350ms ONBOARD TNPUT BITU 1 ONBOARD TNPUT BIT1 1 AckTimeFlashLighk 0 100 kime 100m ONBOARD INPLIT BITO ONBOARD INPLIT BIT1 ActTimeFlashLight 0 100 ONBOARD INPUT _BIT2Z time 50ms Start flashlight with selected time l l l FlashLight _1 ActTimeFlashLight j 0 100 i Read analog value 0 1 oV scaling and write to output 0 1 owh Analog In Out 1 Output Analag 16 909C Input Analog 16442F7 Variables in debug mode Program variables 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Example Project The status of all global variables is displayed under Global Variables in the Project Tree Window Project Tree Window BE 2 9 Project D Program Files Phoenis Contact S J Name Onli
27. STD RES System Variables J User Variables n Main EJ Default Cancel Help i flashlight Poo OPC Show all variables of worksheet Figure 5 22 Variable Properties user variables Setting the scope of validity is only necessary when defining a variable for the first time All other variables are also entered in the Default group 5 8 6 Defining System Variables Selection Block for Inputs e Select the SEL TIME function block by double clicking on it in the Edit Wizard window The function block is inserted in the worksheet According to Table 2 1 Inputs and outputs used in the example on page 2 2 input 1 of the ILC 150 ETH is to be evaluated for the first input signal The onboard inputs and outputs of the ILC 150 ETH are mapped to system variables e Double click on the first input parameter of the function block to specify variable properties e Open all folders under Global Variable Groups and select System Variables in the STD RES folder e At the top of the section select Global as the scope 7533 en 02 PHOENIX CONTACT 5 21 ILC 150 Starter Kit THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS e Select the corresponding variable under Name For input 11 of the ILC 150 ETH the corresponding variable is ONBOARD INPUT BITO e Confirm your entries with OK Variable Properties Scope t Local f Global MASTER Dl G STATUS REG USEF MASTER DlA G STATUIS REG W
28. Supply Voltage e Connect the mains cable to the supply voltage 230 V AC e Switch on the supply voltage 2 2 2 Setting up the PC s Network Adapter for the Connection to the ILC 150 ETH Please note that by default upon delivery of the ILC 150 Starter Kit IP address 35 192 168 0 2 and subnet mask 255 255 255 0 are preset on the ILC 150 ETH e Check the settings of your network adapter in the Windows Control Panel e Adjust the settings if necessary in order for the ILC 150 ETH to be accessible in your network under the preset address If you are not able to use the preset IP address of the controller in your network please read the additional information on adjusting the IP address in Section Checking Modifying the IP Settings for the Controller BootP on page 5 5 Make sure that the PC WorX software is installed and started in order to modify the IP address For information on PC WorX installation please refer to Section 3 Installing and Enabling the PC WorX Software from page 3 1 For information on PC WorX operation please refer to Section 4 Helpful Information About PC WorX from page 4 1 2 2 3 PC WorX Example Project Please note that by default upon delivery of the ILC 150 Starter Kit a PC WorX 35 example project is stored on the controller of the starter kit After connecting the voltage to the starter kit you can control the controller inputs outputs by pressing the switches on the switch module indi
29. T 7533_en_02
30. TAS vr ONBOARD INPUT 1630003 VS VAR GL Lokale Eing nge ONBOARD INPUT _BITO TRUE BOL VAR_GL Lokaler Eingang I1 ONBOARD _INPLUT_BIT1 TRUE BOL VAR_GL Lokaler Eingang INz ONBOARD INPUT BIT2 FALSE BOL VAR_GL Lokaler Eingang IMs ONBOARD INPUT BIT3 FALSE BOL VAR GL Lokaler Eingang IM4 ONBOARD IMPLIT BIT4 FALSE BOL VAR GL Lokaler Eingang IMS ONBOARD INPUT BITS FALSE BOL VAR GL Lokaler Eingang IME ONBOARD INPUT BITE FALSE BOL VAR GL Lokaler Eingang IM ONBOARD INPUT_BIT FALSE BOL VAR GL Lokaler Eingang IMS ONBOARD OUTPUT _BITO FALSE BOL VAR GL Lokaler Ausgang OUT1 ONBOARD OUTPUT _BIT4 FALSE BOL VAR GL Lokaler Ausgang OUT2 ONBOARD OUTPUT _BIT2 FALSE BOL VAR GL Lokaler Ausgang OUTS ONBOARD OUTPUT _BITS TRUE BOL VAR_GL Lokaler Ausgang OUT4 lore On TTC I wae TDI IE wma np S hieran Le eas eo at Amer Geese alee Variables in debug mode Global variables Switch to the window that provides the best display of the required information PHOENIX CONTACT 5 31 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit 5 32 PHOENIX CONTACT 7533_en_02 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Additional Functions of PC WorX 6 Additional Functions of PC WorX 7533 en 02 6 1 Diagnostics With Diagt Diag is a diagnostics tool for the seamless diagnostics of INTERBUS When installing PC Worx Diag is installed
31. TH Order No 2985330 HWIFW 00 100 J E e u am u RN mes man lol imi ojoo E P DA E u a CJ I OW JD Cd Ol ala OJIe 9 24V SW OV OV OVERLOAD PROTECTION AC 100 240V DE ea 7 e Eu a v c Q DDO PEE pararet i D T1 dl ld 7533D003 Figure 2 2 ILC 150 Starter Kit Example wiring for the inputs and outputs and the supply lines 2 2 PHOENIX CONTACT 7533 en 02 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Installed Hardware and Startup 2 1 3 Establishing the Ethernet Connection e Connect the Ethernet cable ILC 150 ETH Order No 2985330 HWIFW 00 100 C Ad IB IL AI 2 SF ME IB IL AO 1 U SF PAC a u 222 0 2 nae 2 x a a amp gra pl ae f AV pape zs STEP PS 100 240AC 24DC 1 5 DERHEN IX CONTACT OVERLOAD PROTECTION 7533C002 Figure 2 3 ILC 150 Starter Kit Example for Ethernet cabling 7533 en 02 PHOENIX CONTACT 2 3 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit 2 2 Starting up the ILC 150 Starter Kit 2 2 1 Connecting the
32. This element cannot be deleted or replaced 4 5 2 Display in the Bus Structure Window The display in the Bus Structure window can be adapted to your requirements e Switch to the bus configuration workspace e Inthe context menu open a device via the Edit Device Representation menu item Renumber devices Copy Device Chr Cut Ckrl X Blind out Device Ckrl ShiFt D Deactivate Bus Delete Delete Edit Device Representation Ctrl E Print Bus Refresh View FS Figure 4 6 Edit Device Representation menu item PHOENIX CONTACT 4 7 7533_en_02 ILC 150 Starter Kit THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS e Select the criteria that you would like to see in the display Device Representation Display Order of Characteristics Available Separator 3 DNS PR FIMET Device Name Station name Module equipment id Separator 2 Device name Order number Separator 1 Figure 4 7 Device representations IP Address Designation Le Cancel E Examples for different device representations QuickStart ILC150 fILC 150 ETH 192 168 0 2 Fe Resource R STD RES ILCi50 2 INTERBUS O 0 8B 2 IBIL Al 2 SF MEO 2 ES LInconnecked Designation and IP address QuickStart_ILC150 EB Ic 150 ETH 192 158 0 2 2285330 Fe Resource R sTD RES ILciso 2 INTERBUS O 0 u 2 1 2 IB IL Al 2 SF MEO 2 ES Unconnected Designation IP address separator and orde
33. ading the existing INTERBUS structure please continue reading Section Reading INTERBUS on page 5 13 7533 en 02 PHOENIX CONTACT 5 11 ILC 150 Starter Kit The ILC 150 ETH can be addressed in the network The ILC 150 ETH cannot A be addressed in the network 5 12 PHOENIX CONTACT onlinecomponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 5 4 4 BootP is Deactivated on the ILC 150 ETH e Establish an Ethernet connection between your PC and the controller There are two possibilities to activate BootP Activate BootP on the Extended Settings tab as described in Section 5 4 2 in Paragraph Activating BootP on page 5 9 Please note that all the data stored on the controller will be lost when resetting the controller voltage as described in the following How to save the data on the controller again can be found in sections 4 62 Sending a Project PC WorX project on page 4 9 AdJ3 Reloading the Visualization WebVisit project on page A 4 Activate BootP by resetting the controller voltage e Press the reset button and switch the supply voltage off and on again After that you can assign an IP address to the ILC 150 ETH as described in Paragraph Changing the IP Address Using BootP The Controller Cannot be Addressed Using the Preset IP Address on page 5 10 7533 en 02 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Example Project 9 9 Reading INTERBUS An INTERBUS system that is
34. be used on the ILC 150 ETH the ILC 150 ETH has not been assigned an IP address so far Please note that BootP must be activated on the ILC 150 ETH in order to perform the following steps How to activate BootP on the ILC 150 ETH if the controller cannot be addressed using the preset IP address can be found in Section BootP is Deactivated on the ILC 150 ETH on page 5 12 To assign the controller an IP address proceed as follows After assigning the IP parameters PC WorX automatically creates a link via TCP IP as a communication path to the ILC 150 ETH e Establish an Ethernet connection between your PC and the controller e Inthe menu bar select the Extras BootP SNMP TFTP Configuration menu File Edit View Project Build Online Extras Pagelayout Editor Create OPC Visualization File Reset 04 4ddresses PROFINET Configuration BootP SMMP TFTP Confiquratian Shortcuts Options Figure 5 9 Extras BootP SNMP TFTP Configuration e Activate the BootP Server active checkbox e Switch to the bus configuration workspace e Select the ILC 150 ETH node e Select the IP Settings tab in the Device Details window e Enter the MAC address of the controller It can be found on a sticker or directly imprinted on the device The MAC address starts with 00 A0 45 7533 en 02 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Example Project Bus Structure Device Details QuickS
35. cated by the input output LEDs as well as modify the bar graph indicator by turning the potentiometer For further information on the PC WorX example project please refer to Section Example Project QuickStart ILC 150 on page 5 16 2 4 PHOENIX CONTACT 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Installed Hardware and Startup 2 2 4 Starting the Visualization Application Please note that by default upon delivery of the ILC 150 Starter Kit a WebVisit example project is stored on the controller of the starter kit the visualization application is only started if the following settings have been made in the Windows Control Panel e Start the Windows Control Panel e Start the Java control panel version 1 6 x e Set the settings for the temporary files such that temporary files are not stored on the computer Display the visualization application by entering the controller IP address in the address window of your Java compatible browser e Enter the controller address in the address window of your browser on the ILC 150 ETH of the starter kit http 192 168 0 2 by default e Confirm with Enter If all the settings have been made properly your browser will display the homepage of the visualization application after a short loading time On this page software switches can be used to call additional pages of the visualization application The additional pages provi
36. ce Name Settings Communication Path x Ethernet 132 158 0 2 v Cancel Activate Network Settings Reset Control System FTP Open FTP Folder on Device Offline IP Settings EJ Extended Settings zl CPL 4 Figure 5 8 Extended Settings Sending the IP address 192 168 0 22 5 8 PHOENIX CONTACT 7533_en_02 I Activating BootP 7533_en_02 onlinecomponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Example Project In the status window Offline in Figure 5 8 PC WorX displays the following messages one after the other provided that the IP address was transmitted successfully Establishing connection Online Service executed successfully Offline To complete IP address assignment the controller has to be reset in order to activate the new network settings e Inthe Activate Network Settings area click on Reset Control System see Figure 5 8 e Confirm the question to really reset the control system with Yes e Confirm the Settings Communication Path dialog box with OK IP address 192 168 0 2 is selected in the example In the status window Offline in Figure 5 8 PC WorX displays the above messages one after the other again provided that the controller was reset successfully On the Communication tab you can check whether the controller has been successfully assigned the above IP address e Change to the Communication tab e Click on Test to
37. cepts no liability for erroneous handling or damage to products from Phoenix Contact or third party products resulting from disregard of information contained in this manual Explanation of Symbols Used The attention symbol refers to an operating procedure which if not carefully followed could result in damage to hardware and software or personal injury The note symbol informs you of conditions that must be strictly observed to achieve error free operation It also gives you tips and advice on the efficient use of hardware and on software optimization to save you extra work The text symbol refers to detailed sources of information manuals data sheets literature etc on the subject matter product etc This text also provides helpful information for the ap orientation in the manual We Are Interested in Your Opinion We are constantly striving to improve the quality of our manuals Should you have any suggestions or recommendations for improvement of the contents and layout of our manuals please send us your comments PHOENIX CONTACT GmbH amp Co KG Documentation Services 32823 Blomberg Germany Phone 49 52 35 300 Fax 49 52 35 34 20 21 E mail tecdoc phoenixcontact com PHOENIX CONTACT 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starterkit General Terms and Conditions of Use for Technical Documentation Phoenix Contact GmbH amp Co KG reserves the rig
38. ch to the Solution tab Here information is provided about how to remove the error Communication Path 150 ETH 19 Vie INTERBUS Diagnostic Solution Device Diagnostic History Bus Architecture Bus Info Action Optical Diagnostic Statistic SpecialTen Settings Current Error v Documentation Additional Error Info 0002 Feedback Error Location 0 2 Message Time 22 05 2007 16 37 47 Cause Additional Information Remedy 1 Check the cables connectors and INTERBUS connections for interruptions Interruption of the data return path of the incoming bus interface IN of the specified device For Loop devices Transmission path From the last device to the BK module Project Name QuickStart ILC150 mwt polio BE Figure 6 5 INTERBUS Diagnostic Solution e Remove the error here insert Inline terminal again If the bus is not restarted automatically the Action tab can be used for example to acknowledge errors reset the controller and start the bus PHOENIX CONTACT 6 3 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit 6 4 PHOENIX CONTACT 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Appendix Visualization With WebVisit A Appendix Visualization With WebVisit EJ Variables in PC WorX 7533_en_02 A1 General The WebVisit software is used to visualize the
39. de animated LED representations which can be activated deactivated by pressing the switches of the switch module For further information on the WebVisit example project please refer to Section Appendix Visualization With WebVisit on page A 1 2 3 Additional Steps The following sections of this quick start guide contain information for programming the PC WorX example project stored on the controller of the starter kit by default yourself The appendix provides additional information on the visualization example project which was stored on the controller of the starter kit by default PHOENIX CONTACT 2 5 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit 2 6 PHOENIX CONTACT 7533 en 02 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Installing and Enabling the PC WorX Software 3 Installing and Enabling the PC WorX Software 3 1 Installing Software 3 1 1 Prior to Installation Prior to installation close all open Windows applications This PC WorX version can be installed parallel to an existing earlier version Make sure that you install the PC WorX software from the AX SW SUITE DEMO CD first Then install Service Pack 2 for the PC WorX software from the CD ILC150 Starterkit CD 3 1 2 Starting the PC WorX Installation Program Usually the installation program starts automatically a few seconds after you place the CD ROM in the CD drive e If this is
40. e green FR LED is on PHOENIX CONTACT 4 11 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit 4 6 4 Compiling Additional Information There are two options for compiling 1 Build Make 2 Build Rebuild Project Rebuild Project Use this command to compile an entire project for the first time or after modifying a user library Rebuild Project compiles and links all worksheets Errors and warnings that are discovered by the compiler are logged in the message window After the syntax has been checked successfully the system automatically generates the IEC code and the special PLC code Finally the project can be sent to the controller The Rebuild Project command should only be used if errors occurred when compiling with Make or your project was unpacked without frontend Make The Make command is the standard mode for compiling Use this command after editing and completing your project When the Make menu item is executed all modified worksheets are compiled linked and the modified PLC code is generated This command can be executed from the menu bar via Build Make with the Make icon in the toolbar or using the shortcut F9 Modified worksheets in the project tree are identified by an asterisk that appears after the worksheet name Both After the compiler has been started the message window appears automatically if it was closed before This window indicates the steps
41. ect Unzip Project e Select the QuickStart ILC150 zwt file from the path under which you saved the file e Confirm the prompt asking whether the project should be extracted to the directory containing the zwt file with Yes if the file is to be extracted to this directory Or select a different directory PC WorX extracts the file automatically e f PC WorX prompts you to overwrite layouts e g page layouts etc or bitmaps confirm this prompt with No to all After PC WorX has extracted the project it is available for viewing editing You can for ex ample now change to the debug mode in order to view the variable states while pressing the switches of the switch module and or changing the position of the potentiometer see Section Operation and Debug Mode on page 5 29 Uploading the Example Project From the ILC 150 ETH To upload the project from the ILC 150 ETH you must be able to address the controller in your network from PC WorX using an Ethernet connection e Proceed as described in Section Creating a New Project on page 5 2 5 16 PHOENIX CONTACT 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Example Project Because of PC WorX assigning an address area from 192 168 0 2 to 192 168 0 254 when creating a new project it is possible to address the ILC 150 ETH using the IP address preset in the ILC 150 Starter Kit by default provided that this is permitted in your network envir
42. ed Hard disk space 500 MB free CD ROM drive Yes Interfaces 1 x Ethernet Monitor SVGA resolution of 800 x 600 pixels minimum 1024 x 768 recommended Operating devices Keyboard mouse Web browser Java Standard Edition SE 6 or higher with at least 35 Java Runtime Environment JRE 6 version 1 6 x or higher 1 5 3 Programming Software Table 1 3 Required programming software Software Software Version PC WorX gt 5 10 SP 2 1 5 4 Required Firmware Version Table 1 4 Required firmware version Device Firmware Version ILC 150 ETH gt 2 00 If the firmware version on your device is earlier than that specified in Table 1 4 please 33 update your firmware The latest firmware version can be downloaded at www download phoenixcontact com 7533 en 02 PHOENIX CONTACT 1 3 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit 1 4 PHOENIX CONTACT 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Installed Hardware and Startup 2 Installed Hardware and Startup 2 1 Installed Hardware 2 1 1 Structure of the Starter Kit The structure of the starter kit is illustrated in Figure 2 1 e The complete starter kit is supplied fully pre assembled and wired on a board The starter kit can be used as soon as the mains cable is connected to the 230 V AC supply voltage Additional documentation for the starter kit components is included on the CD ILC 150 STARTER
43. elect which information is to be represented for the devices View Device Representation Device Type INTERBUS Devices m Display Device Number m Refresh mene e m Figure 6 2 Example for Device Representation view View INTERBUS Various information can be called via the different tabs Diagnostic Communication Path 150 018 119 view INTERBUS Diagnostic Solution Device Diagnostic History Bus Architecture Bus Info Action Optical Diagnostic Statistic SpecialTen Settings E ILC t50 ETH o i o2 Communication Path IBETHIP 192 168 0 2 30 30 N1 M IP Address 192 168 0 2 Control System State SYS FAIL not set Project Name QuickStart ILC150 mwt W I Figure 6 3 INTERBUS Diagnostic Bus Architecture no error An error is simulated the IB IL Al 2 SF ME Inline terminal is disconnected Communication Path 150 ETH 19 View INTERBUS Diagnostic Solution Device Diagnostic History Bus Architecture Bus Info Action Optical Diagnostic Statistic SpecialTen Settings B 1c 150 ETH 0 1 0 2 Communication Path IBETHIP 192 168 0 2 30 30 N1_M IP Address 192 168 0 2 Control System State SYS FAIL not set Project Name QuickStart_ILC150 mwt pol M Figure 6 4 INTERBUS Diagnostic Bus Architecture error 6 2 PHOENIX CONTACT 7533 en 02 7533 en 02 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Additional Functions of PC WorX e Swit
44. elected time FlashLight_1 ActTimeFlashLight Read analog value 0 10V scaling and write to output 0 10V Analog In Out 1 Output Analog Input Analog Figure 5 30 Main POU FBD 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Example Project FlashLight POU Chasing Light i Start flashlight vith selected time 2 B TON 1 IN start PT TimeFlashLight 4 start true start timer 5 6 If TON 1 Q then timer lapsed 7 start false 8 ONBOARD OUTPUT BITO false delete outputs 9 ONBOARD_OUTPUT_BIT1 false 10 ONBOARD OUTPUT BIT2 false 11 ONBOARD OUTPUT BIT3 false 12 13 case control of set outputs 14 0 ONBOARD OUTPUT BITO true LS control 1 16 1 ONBOARD OUTPUT BIT1 true 17 control 2 i8 2 ONBOARD OUTPUT BIT3 true 19 control 3 20 3 ONBOARD OUTPUT BITZ2 true 21 control 0 22 end case 23 end if 24 25 26 only for test outputs via WebVisit 27 If TestOutputs then za ONBOARD OUTPUT BITO true 29 ONBOARD_OUTPUT_BIT1 true 30 ONBOARD OUTPUT BIT2 true Sr ONBOARD OUTPUT BIT3 true 32 end if Figure 5 31 FlashLight POU ST Analog In Out POU Analog Value Conversion Mask out bits of no significance 0 2 30000 DEZ gt 10 V Divide by 30000 for scaling down to one Bit Analog In WORD 16ZFFFS 65535 DEZ gt 10 V Multiply b
45. etwork Adapter for the Connection to the ILC 150 ETH uesssensnsssensnnnnenennnnnnnnnnnnennnnnnnnnnennnnnnnnnnennnnnn 2 4 2 2 3 PC WorX Example Project ccccccseeeceeeeeeeeeeeeaeeeeeeseeeeeesaeeeeeeesaeees 2 4 2 2 4 Starting the Visualization Application eeesseseeesesss 2 5 2 3 Nerei NP To ac en ae a ee 2 5 3 Installing and Enabling the PC WorX Software usssussssusnsnenennnnnenennnnnnnnnnnonnnnnnnenennennnenn 3 1 3 1 Installing Software eeessssseseeeeeeeeee nennen nnne nnne nnns 3 1 3 1 1 Prior to Instalatioi F 3 1 3 1 2 Starting the PC WorX Installation Program ssssssssse 3 1 3 1 3 Installing Service Pack 2 uuusssssssnnennenenennnnnnnnnnnennnnnnnennnennnennnnnen 3 1 3 1 4 winner queue 3 2 3 2 Enabling the PC WorX Basic License sesesssseeeeeeeeennnee 3 2 4 Helpful Information About PC WorX 2usssusssusssusnnennnesnnennnennnennnnnnnnnnnn nenn nenn nenn nnne nnne nnne nnns 4 1 4 1 TNS TG eet X 4 1 4 2 PC WorX User Inter te e en en nA ERA ESATA RE E Aii 4 1 4 3 TOOS nee E 4 2 4 4 l a felle DCS REED EN 4 3 4 5 Bus Structure Window esses nnne nnne nnne nnn nnns 4 6 4 5 1 Icons in the Bus Structure Window seseeeeeeeenrennr 4 6 4 5 2 Display in the Bus Structure Window uus
46. f this manual by any third party is forbidden Reproduction translation and public disclosure as well as electronic and photographic archiving or alteration requires the express written con sent of Phoenix Contact Violators are liable for damages Phoenix Contact reserves all rights in the case of patent award or listing of a registered design Phoenix Contact reserves all rights in the event of a patent being granted in as far as this concerns software of Phoenix Contact that meets the criteria of technicity or has technical relevance Third party products are always named without reference to patent rights The existence of such rights shall not be excluded Windows 3 x Windows 95 Windows 98 Windows NT Windows 2000 and Windows XP are trademarks of the Microsoft Corporation All other product names used are trademarks of the respective organizations Internet Up to date information on Phoenix Contact products can be found on the Internet at www phoenixcontact com Make sure you always use the latest documentation It can be downloaded at www download phoenixcontact com A conversion table is available on the Internet at www download phoenixcontact com general 7000 en 0O00 pdf 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Table of Contents l General 9 1 1 1 1 IM OAUCHON NR OU Cre Tre Tn ere aren ree 1 1 1 2 Information About This DOCUMEN
47. ge 3 2 If you wish to switch from the basic license to the full version you will need a corresponding license key in order to enable this version Please contact your nearest Phoenix Contact representative 3 2 Enabling the PC WorX Basic License After starting PC WorX proceed as follows to enable your PC WorX basic license e Select the Register command from the menu e Enter your registration code The registration code for this starter kit version of PC Worx is 19E80 19A75 E3B30 C895B 8D8CF 04541 B5E e Confirm your entry with OK Registration will come into effect when PC WorX is started again PHOENIX CONTACT 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Helpful Information About PC WorX 4 Helpful Information About PC WorX 4 1 Online Help More detailed information about the individual functions of PC WorX can be found in the online help for the program The entire help function can be called via Help in the menu bar Help for specific functions can be called via F1 4 2 PC WorX User Interface The user interface consists of the following main components menu bar toolbars main window and status bar The contents of the main window depend on the workspace PC WorX Menu bar ile Edit View Project Build Online Extras Toolbars amp amp 8m ecjeeimmxaemmS Swoessesx emmmx Ja Der ERE E m Ben bz je E mug He lie SHE deo 4H Gr DA Hr GH oe
48. global variables of the Inline Controller used under PC WorX WebVisit is a software tool used to generate web pages The software runtime component is a web server which is stored on the controller The variable values are actually visualized via a Java compatible standard browser Please note that for visualization purposes you will require a web browser with Java Standard Edition SE 6 or later with at least Java Runtime Environment JRE 6 version 1 6 x or later To visualize variables from your PC WorX project in WebVisit activate the PDD checkbox in PC WorX Inthe Variable Properties window Figure A 1 Inthe variables worksheet Figure A 2 Variable Properties Mame TestOutputs Usage V H EXTERMAL RETAIN Data Type BOOL Initial value 0 address Description Figure A 1 Scope Local t Global Local Variable Groups Default Global Variable Groups Physical Hardware 7 9 AFC_KONF 2 8 Konfiguration 3 Ressource Default E System Variables oj Test Show all variables of worksheet Defining variables for WebVisit Mame E EI User Variables E O System Variables PLCMODE ON PLCMODE LOADING PLCMODE RUN Figure A 2 Address Init Retain PDD DPE TB Device Signal SD r IFIFIF Tk28 A 41 Spann CH C 1BlL A0 11 Spannu C 36M 2016 0 C ABER Sex 2016 0 E mM Sx 1 7 0 N PIDE Activating PDD in
49. hing to debug mode e e Activate debug mode e Switch to the IEC programming workspace The status of all global variables in the program is displayed under MainV in the Project Tree Window Project Tree Window BE 2 23 Project D Program Files Phoenix Contact Si Name Online value Type Usage Description I Libraries __ E Default Data Types OoNMBOARD INPLIT BITO TRLIE BOL WAR_EATER Local input IM1 sys flag types ONMBOARD INPLIT BIT1 TRLIE BOL VAR_LEXTER Local input IM2 Sy Logical POs Input Analog 16 42F5 WORD VAR EXTER Analog value input FlashLight __ Output_Analog 16 3097 WORD VAR EXTER Analog value output Analog_In_Out __ Analog_In_Out_1 Analog In Out VAR Function block amp naloa In Qut m Main JAetTimeFlashLight 0 100 TIME VAR Time flashlight i MainT ONMBOARD INPLIT BIT2 FALSE BOL VAR_LEXTER Local input IM3 E FlashLight 1 FlashLight VAR Function black Flashlight Ei Main 2 3 Physical Hardware 2 3 STD ENF CLR Sa STD RES ILC150 2 p Tasks o STD_T5K DEFAULT 5 Global Variables IL Configuration 4 s gt Jp Maintain haint Main Figure 5 34 Variables in debug mode Global variables The following states are illustrated in Figure 5 34 ONBOARD INPUT BITO TRUE Switch 0 ON ONBOARD INPUT BIT TRUE Switch 1 ON 7533 en 02 PHOENIX CONTACT 5 29 ILC 150 Starter Kit THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS The program status of a
50. ht to alter correct and or improve the technical documentation and the products described in the technical documentation at its own discretion and without giving prior notice insofar as this is reasonable for the user The same applies to any technical changes that serve the purpose of technical progress The receipt of technical documentation in particular data sheets installation instructions manuals etc does not constitute any further duty on the part of Phoenix Contact GmbH amp Co KG to furnish information on alterations to products and or technical documentation Any other agreement shall only apply if expressly confirmed in writing by Phoenix Contact GmbH amp Co KG Please note that the supplied documentation is product specific documentation only and that you are responsible for checking the suitability and intended use of the products in your specific application in particular with regard to observing the applicable standards and regulations Although Phoenix Contact GmbH amp Co KG makes every effort to ensure that the informa tion content is accurate up to date and state of the art technical inaccuracies and or printing errors in the information cannot be ruled out Phoenix Contact GmbH amp Co KG does not offer any guarantees as to the reliability accuracy or completeness of the infor mation All information made available in the technical data is supplied without any accompanying guarantee whether expressly ment
51. igure 5 7 Communication path tested successfully For reading the existing INTERBUS structure please continue reading Section Reading INTERBUS on page 5 13 PHOENIX CONTACT 5 7 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit 5 4 2 Changing the IP Address Without Using BootP The Controller can be Addressed Using the Preset IP Address If communication with the ILC 150 ETH is possible in your network using the preset IP address see Testing the communication path in Section Using the Preset IP Address on page 5 7 but the controller is to be assigned a different IP address proceed as follows e Establish an Ethernet connection between your PC and the controller if it has not yet been established e Change to the Extended Settings tab Select the Manual definition of the TCP IP settings option in the Network Settings area e Enter the desired IP address and subnet mask here IP Address 192 168 0 22 Subnet Mask 255 255 255 0 e Click on Send to transfer the data to the controller e Confirm the Settings Communication Path dialog box with OK IP address 192 168 0 2 is selected in the example Device Details E l x ILC 150 ETH 192 168 0 2 Extended Settings Network Settings Manual definition of the TCP IP settings IP Address 1822 168 0 22 l Subnet Mask Zoo 255 255 Gateway Address f Usage of a BootP Server DMS PROFIMET Devi
52. ing the wizard the control system resource is inserted below this icon gs INTERBLIS INTERBUS master Below this icon insert the INTERBUS devices that are directly connected to the device that this icon refers to local bus and remote bus 4 5 1 2 Validity of Actions When editing the bus configuration with the mouse the mouse pointer indicates the validity of your actions Table 4 2 Icons when editing the bus configuration Insert at the same level The device can only be inserted in moved to the same level as existing devices Insert in the lower level The device can only be inserted in moved to a lower level than existing devices Replace The device under the mouse pointer can be replaced by holding down the lt Ctrl gt key and placing the mouse pointer on the existing device Not permitted This icon indicates a mouse pointer position for which actions are not permitted 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Helpful Information About PC WorX 4 5 1 3 Display of Status Information In the Bus Structure window some icons which superimpose other graphics are used to display important status information Table 4 3 Icons for displaying status information eo The device is hidden or the bus is deactivated e Errors have occurred for the device A Warnings have occurred for the device The pin indicates a module that is a fixed component of a device
53. ioned implied or tacitly assumed This information does not include any guarantees regarding quality does not describe any fair marketable quality and does not make any claims as to quality guarantees or guarantees regarding the suitability for a special purpose Phoenix Contact GmbH amp Co KG accepts no liability or responsibility for errors or omis sions in the content of the technical documentation in particular data sheets installation instructions manuals etc The aforementioned limitations of liability and exemptions from liability do not apply in so far as liability must be assumed e g according to product liability law in cases of premed itation gross negligence on account of loss of life physical injury or damage to health or on account of the violation of important contractual obligations Claims for damages for the violation of important contractual obligations are however limited to contract typical pre dictable damages provided there is no premeditation or gross negligence or that liability is assumed on account of loss of life physical injury or damage to health This ruling does not imply a change in the burden of proof to the detriment of the user 7533 en 02 PHOENIX CONTACT ILC 150 Starterkit PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Statement of Legal Authority This manual including all illustrations contained herein is copyright protected Use o
54. ject creation PC Work5 00 265P2 _ creationdate i 0 o0 D lastedtor M U 7 S Di Computer name at last project backup oo Di MULTIPROS version at last project backup 47484 OO O S ice C Device Catalog Dl PE wore version at last project backup PC Wore 5 10 22 SP 1 24 C Phoenix Contact Di Date of last project backup DL Universal 3 Domain Postfix UU Template for DNS PROFINET Device Name genee 00 First IP Address 152 168 0 2 D D Last 1P Address tte Me D Dl Subnetmask 255 255 255 0 Default Gateway Use DHCP Em Project Figure 5 4 Project information after creating a new project First and Last IP Address During project creation PC WorX automatically assigns an IP address area for a local Subnetmask network area from 192 168 0 2 to 192 168 0 254 If you would like to use another address area e g a global network adapt the start and end address on the project node here Quickstart_ILC150 to your application If the IP parameters are modified in the project settings the IP addresses of the controller may have to be modified manually see Checking Modifying the IP Settings for the Controller BootP on page 5 5 35 If you are using the addresses of a local network in your project also assign a corresponding address e g 192 168 0 225 to the PC on which PC WorX is installed Otherwise the devices in the local network cannot be accessed F
55. ject described in the following sections is stored on the 33 ILC 150 ETH of the ILC 150 Starter Kit by default In addition the example project is available in the packed format file QuickStart ILC150 zwt on the CD for the ILC 150 Starter Kit Developing the project When developing the project yourself please read the following sections first They provide yourself a description for creating the program which is stored on the ILC 150 ETH of the ILC 150 Starter Kit by default Please observe that the program code of the FlashLight POE see Section FlashLight POU Chasing Light on page 5 27 has to be implemen ted in your program completely This part of the program has been programmed in Struc tured Text ST The other parts of the program have been programmed in Function Block Diagram FBD Viewing the example pro If you wish to look at the example project without developing it yourself you may ject in PC WorX oad the QuickStart ILC150 zwt file from the CD for the ILC 150 Starter Kit upload the project from the ILC 150 ETH to your PC Loading the Example Project From the CD e Save the QuickStart ILC150 zwt file on your PC e g under the default path for PC WorX C Program Files Phoenix Contact Software Suite Projects 35 If there already is a QuickStart ILC150 project on your PC rename the project from the CD e g QuickStart ILC150 CD zwt e Select the File menu item and then Open Proj
56. les Phoenix Contacti Sof EJ Libraries C3 Data Types 20 flag types C3 Logical POs Ei Main Physical Hardware 2 5 STD ENF CLR 2 3 STD RES ILC150 2 Gp Tasks o STD TSK DEFAULT 1 Main Main Main 5 Global Variables IL Configuration Main Main Figure 5 20 IEC programming workspace 5 8 3 Entering a Comment Title of the POU e Click on the desired position in the worksheet to set a cursor e Click on the Insert Comment icon in the toolbar le Edit Wizard HE Group all FUs and FBs gt Mame Jd ABS AcOS ADD JrADDTT E ADDR TO ID Jd AND JE ASIN ASL Jd ASR T ATAN B BED TO DINT dB BCD TO INT Jd B BED TO SINT BCD TO DINT BOOL TO BYTE BOOL TO DINT m ME ae E e Inthe Comment dialog box that opens enter the desired comment for the Main POU Comment Select time for flashlight gt Cancel Help Font gt gt Add frame Figure 5 21 Comment dialog box 7533_en_02 PHOENIX CONTACT 5 19 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit 5 8 4 Defining Variables The onboard inputs and outputs of the ILC 150 ETH are mapped to system variables The variables for specifying the chasing light speed are defined as user variables When specifying the input and output variables please observe the different procedures for system variables and user variables The following table shows the
57. mponents of the ILC 150 Starter Kit Table 1 1 Components of the ILC 150 Starter Kit Description Type Order No Number Software PC WorX programming software AX SW SUITE DEMO CD 2985660 1 See Phoenix Contact AUTOMATION catalog Hardware Modules Inline Controller ILC 150 ETH 2985330 1 Inline terminal with one analog output IB IL AO 1 U SF PAC 2861399 1 Inline terminal with two analog inputs IB IL AI 2 SF ME 2863944 1 Hardware accessories part of the starter kit Ethernet patch cable crossover 2 m FL CAT5 FLEX CONF 2744843 1 Power supply unit STEP PS 100 240AC 24DC 1 5 2938947 1 Switch module UM 45 IB DI SIM8 2962997 1 Standard end clamp gray CLIPFIX 35 5 3022276 4 Spring cage modular terminal block STS 2 5 QUATTRO 3031746 1 multi position gray Spring cage modular terminal block STS 2 5 QUATTRO BU 3036288 1 multi position blue Cover for modular terminal block gray D STS 2 5 3031762 2 Documentation User manual UM QS EN ILC 150 STARTERKIT 2910295 1 Package slip software registration PACKB SOFTWARE REG 9013743 1 CD CD ILC 150 STARTERKIT 9036973 1 2 _ PHOENIX CONTACT 7533 en 02 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS General 1 5 System Requirements 1 5 1 Supported Operating Systems Windows 2000 SP3 Windows XP SP2 recommended 1 5 2 Hardware Requirements Table 1 2 Hardware requirements Hardware Requirements for PC WorX CPU Pentium Ill 800 1 GHz recommended Main memory 128 MB minimum 256 MB recommend
58. n creating a new project the standard settings can be found under IP Settings see Figure 5 5 on page 5 6 e Mark the controller node in the bus configuration workspace e In the Device Details window change to the IP Settings tab e Check the IP settings and modify if necessary Make sure that the IP address of the controller is within the IP address area of the project PHOENIX CONTACT 5 5 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit Bus Structure Device Details QuickStart ILC15n ILC 150 ETH 192 188 0 2 MP Settings B ILC 150 ETH 192 168 0 2 KR Resource f INTERBUS 0 0 HD Designaten ACIEM 33 unconnected CD Functional description Tine Controler for Ethernet Networks With BD HD Dewehmy i Axe HD order number zn Dfe 7 777 OOOO CI eg Cris HB become SSS S FD WdMetmpmesD S S mn DNSIPROFINET Device Name nm i O D Macaddess o ooo D 1P address ea D Subnetmask 2952592590 o D Defaut Gateway EE S S O ER TP Settings EJ Extended Settings aj Communication Bg CPU Service Editor 3 Bus inter 4 Figure 5 5 IP settings The IP address that is assigned here for the controller is also implemented as the 35 IP address for the communication path via TCP IP Using modifying the IP The following sections inform you about how to proceed in order to establish set
59. ne value Type Usage Description w I Libraries E User Variables 3 Data Types Input Analog 15242F7 WO VAR GL sys flag types Output Analog 16 909C WO WARLSL Logical POUs __ TestOutputs FALSE BOOL VAR GL FlashLight Analog In Dut a Main i MainT Maint z Main 2 3 Physical Hardware 2 3 STD ECNF CLR STD RES ILC150 2 p Tasks Oo STD TSK DEFAULT 5 Global Variables IL Configuration Figure 5 36 7533 en 02 dp Main Main Global_Yaria o System Variables E PLCMODE Ol FALSE BOL VAR GL SPS Status EIN o PLOMODE_LOADING FALSE BOL VAR GL SPS Status LADEN 2 PLCMODE RFLIMN TRLIE BOL VAR GL SPS Status BETRIEB 2 PLCMODE STOP FALSE BOL VAR GL SPS Status STOP 2 PLCMODE HA amp LT FALSE BOL VAR GL SPS Status HALT o PLCDEBLKG BPSET FALSE BOL VAR GL Breakpoint gesetzt z PLODEBUG FORCE FALSE BOL VAR GL Variable n geforced E PLODEBUG _POVVERFLOYY FALSE BOL VAR GL Adre sstatus eingeschaltet E E PLC TICKS PER SEC 1000 DIT VAR GL Systemticks pro Sekunde E3 PLC SYvsz TICK CMT 5940503 DIT VAR GL Anzahl der Systemticks 7 PLC TA amp SKkK AwAILABLE 8 INT VAR GL Anzahl der verf gbaren SPS Tasks 23 PLE_SYSTASKAYALABLE INT VAR GL Anzahl der verf gbaren Systemtasks 23 PLC M amp x ERRORZ 1000 DIT VAR GL BE PLC ERRORS DIT VAR GL PLO_TASK DFFIMFEn 1 IMT VAR GL Anzahl der verwendeten Tasks A ge VAR GL Task 1 Information PLC TASK 2
60. not the case start the SETUP EXE file from the Drive Setup directory on the CD ROM This file calls the installation wizard which guides you through the installation process e Follow the instructions in the installation program The installation program will generate all the directories necessary for operation and will copy the files according to your selection in the installation program e Following successful installation restart your PC to activate the changes to the configuration files To do this click on Finish at the end of the installation process 3 1 3 Installing Service Pack 2 Once you have installed PC WorX start the installation of Service Pack 2 for PC WorX e Start the installation of Service Pack 2 by clicking on Install under PC WorX Service Pack 2 in the user interface of the CD ILC 150 Starterkit CD e Follow the instructions in the installation program 7533 en 02 PHOENIX CONTACT 3 1 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit 3 2 3 1 4 Starting PC WorX e For installation using the default settings start PC WorX via Start Programs Phoenix Contact AUTOMATIONWORX Software Suite 2007 1 30 PC WorX 5 xx When started for the first time PC WorX runs in demo mode with limited resources To enable PC WorX as a basic license for the example project in this starter kit proceed as described in Enabling the PC WorX Basic License on pa
61. ntroller Include Sources This option enables additional options that can be used to select sources which are included when sending a project Include User Libraries All included user libraries are included in the packed program source Include Page Layouts All page layouts that are used are included in the packed program source Include Backend Code All project source data including the compilation is included in the packed program source 4 10 PHOENIX CONTACT 7533 en 02 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Helpful Information About PC WorX Bootproject area Download button The boot project is sent separately to the controller without the complete project Activate button The boot project saved on the controller is activated Following activation the boot project can be executed Delete button The boot project saved on the controller is deleted e Close the Download Options dialog box once you have made the necessary settings for your project e In the project control dialog box click on Download The project is now in the main memory of the controller 4 6 3 Performing a Cold Restart In order to activate the project it is necessary to perform a cold restart e Todo so click on Cold in the project control dialog box Figure 4 11 Project control dialog box The ILC 150 ETH has been started up successfully if th
62. online components THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS AUTOMATIONWORX User Manual UM QS EN ILC 150 STARTERKIT Order No 2910295 Installing and Starting Up the ILC 150 Starter Kit DO GD OO GD GD OGD OO 05 Jcomaa GD INSPIRING INNOVATIONS THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS AUTOMATIONWORX User Manual Installing and Starting Up the ILC 150 Starterkit 09 2007 Designation UM QS EN ILC 150 STARTERKIT Revision 02 Order No 2910295 This user manual is valid for Designation Order No ILC 150 Starterkit 2988955 7533 en 02 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starterkit Please Observe the Following Notes In order to ensure the safe use of the product described we recommend that you read this manual carefully The following notes provide information on how to use this manual User Group of This Manual The use of products described in this manual is oriented exclusively to qualified electricians or persons instructed by them who are familiar with applicable standards and other regulations regarding electrical engineering and in particular the relevant safety concepts qualified application programmers and software engineers who are familiar with the safety concepts of automation technology applicable standards and other regulations Phoenix Contact ac
63. onment If the preset IP address of the ILC 150 ETH cannot be used in your network please pro ceed as described in Section Checking Modifying the IP Settings for the Controller BootP on page 5 5 in order to change the IP address If the controller can be addressed in your network from PC WorX using an Ethernet con nection please perform the following steps in PC WorX e Call the project control dialog box TD_RES lof x State Running un Stop Download More Close dd didi Figure 5 18 Project control dialog box Uploading a project from the controller e Click on Upload Figure 5 19 Uploading the project source e Click on Project Source e Extract the QuickStart ILC150 mwt uploaded by the controller on your PC e g un der the standard path for PC WorX C Program Files Phoenix Contact Software Suite Projects If there already is a project called QuickStart_ILC150 on your computer rename the pro ject from the CD e g QuickStart_ILC150_CD zwt e If PC WorX now prompts to overwrite layouts e g page layout or bitmaps confirm with No to all After PC WorX has extracted the project it is available for viewing editing You can for ex ample now change to the debug mode in order to view the variable states while pressing the switches of the switch module and or changing the position of the potentiometer see Section Operation and Debug Mode on page 5 29 PHOENIX
64. or information about the IP addresses to be used within your system please contact your system administrator If the start address of the new address area to be entered is higher than the previous end address please modify the end address first If you manually assign IP parameters that are outside the defined area they will not be accepted 5 4 PHOENIX CONTACT 7533 en 02 I PC network adapter Bootstrap Protocol BootP Checking the IP settings 7533_en_02 EJ onlinecomponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Example Project 5 4 Checking Modifying the IP Settings for the Controller BootP Please note that by default upon delivery of the ILC 150 Starter Kit P address 192 168 0 2 and subnet mask 255 255 255 0 BootP see note below are preset on the ILC 150 ETH Initial setting of the IP address of the controller can be performed using a BootP server or manually using the serial interface During later operation the IP address can be modified using the serial connection or Ethernet and the PC WorX software To connect the controller to a PC via the serial interface the PRG CAB MINI DIN connecting cable RS 232 cable Order No 2730611 is available as an additional accessory If your network permits using the preset IP address the network adapter of your PC must be configured accordingly e Check the settings of your network adapter in the Windows Control Panel
65. ponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS A3 Reloading the Visualization If you want to reload the visualization project on the controller proceed as follows This method can also be used to load a modified WebVisit project on the controller Save the packed WebVisit project web server project from the CD ILC 150 Starterkit onto your hard disk file QuickStart ILC150 exe Extract the file to the project directory of your WebVisit installation standard installation path C Program FilesWebvVisit Projects Start WebVisit Open the project QuickStart ILC150 prj file in WebVisit via the File Open project menu item Look in ef QuickStart_ILC150 prj File name Quick Start_ILC1 50 prj Files of type Phaenix w ebVisit project files pri Cancel Open as read only Figure A 6 Opening the WebVisit project If when opening the WebVisit project an error message is displayed indicating that WebvVisit cannot open the pdd csv file proceed as follows Confirm the error message with OK Open the Project Teq Configurations dialog box via the Project Project configurations menu item Confirm any further error messages with OK In the dialog box set the path under which you have saved the PC WorX example project for the QuickStart ILC150 mwt starter kit on your PC Confirm your entries with OK 7533 en 02 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS
66. r number Figure 4 8 Examples for different device representations The selected representation only affects the representation of a specific device group Groups include for example Control systems PROFINET IO devices INTERBUS devices For example the setting for the Inline Controller does not have any influence on the representation of the Inline modules see Figure 4 8 4 8 PHOENIX CONTACT 7533_en_02 gt Project control dialog box 7533_en_02 onlinecomponents com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Helpful Information About PC WorX 4 6 Compiling and Sending a Project and Performing a Cold Restart 4 6 1 Compiling a Project e When compiling a project for the first time select the Rebuild Project command from the Build menu For further compiling processes you can also use the Make command see also Compiling Additional Information on page 4 12 e f errors occur when compiling remove the errors and repeat the compiling process until it is completed successfully Error messages must be removed Warning messages do not have to be removed If you are compiling the project but have not yet programmed anything you will receive the Empty worksheet warning message This warning message does not affect the next step and can be ignored The results of the compiling process are displayed in the message window together with details of the number of errors and warnings 4 6
67. s also included on the CD supplied with the ILC 150 Starter Kit Moreover the documentation can be downloaded at www download phoenixcontact com More detailed information about the individual functions of PC WorX can be found in the online help for the program The entire help function can be called via Help in the menu bar Help for specific functions can be called via F1 This manual describes the quickest way to start up Since the INTERBUS devices are read a complete physical bus configuration is required No functions or commands that require communication with the control system can be executed without physical bus configuration However complete parameterization is possible in the offline state The application program can also be created and compiled Should you wish to proceed in this way please refer to the Quick Start Guide for PC WorX 1 3 Contents of the ILC 150 Starter Kit The ILC 150 Starter Kit contains the ILC 150 ETH including an analog input module and an analog output module assembled on a board The starter kit hardware is completely assembled The structure is supplied by an assembled power supply unit To operate the structure simply connect the mains cable of the power supply unit to the supply voltage 230 V AC socket and connect the ILC 150 ETH to your PC via the Ethernet cable provided 7533 en 02 PHOENIX CONTACT 1 1 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit 1 4 Co
68. sseceeccecssseeeecesscssseeeeessesseees 5 13 5 6 Compiling and Sending a Project and Performing a Cold Restart After Reading the Bus Topology cccccsssceccseesececceseceeseuseeeecsueesesseaaeeees 5 15 5 7 Example Project QuickStart _ILC150 oo cccceceeeceseeeeeeeeeeeeseeeeeseeeeeees 5 16 5 8 Programming an Example Program Including Defining Variables 5 18 5 8 1 Program Description 222002002000000n000n0n0 eene nennen nne ann nn nnn nnn nnns 5 18 5 8 2 mus dn Uae Um 5 19 5 8 3 Entering a Comment Title of the POU eenneenenneeenenen 5 19 5 8 4 Defining Variables uu022244u0snnnennenenneennnnnnnnnnnnnnennnnnn nennen nnnnnn 5 20 5 8 5 Defining User Variables Assigning the Default Chasing Light Speed sseesssessssssseeeeenneen nennen 5 21 5 8 6 Defining System Variables Selection Block for Inputs 5 21 5 8 7 User Defined Function Blocks eeeeesseeeeeeeeeeeneee 5 24 5 8 8 Complete Example Program cccccceccceeseceeseeeeeeaeeeseaeeeesaeeesausees 5 26 9 9 Compiling After Creating the Program ccccccssseeeeecaeeeeeeeseeeeeeesaeeeeeesaaaees 5 27 5 10 Assigning Process Data oos r RE Erevk dos ualene hpech LeXx ed buda FEY Eg rb pexida EVE gU 5 28 5 11 Compiling and Sending a Project Including Program and Performing a Cold Restart uus 0244000Bnennnnnnnnnnn nennen nnennne
69. ssssneesnensnennnnennnennnnnnne nen 4 7 4 6 Compiling and Sending a Project and Performing a Cold Restart 4 9 4 6 1 CompINga Projett unse ea 4 9 7533_en_02 PHOENIX CONTACT i online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit 4 6 2 Sending a Projebl cues innen tua iced aee iban ases possc cie tesa Ce ee 4 9 4 6 3 Performing a Cold Restart cccccccsseeeeeeseeeeeeeeeeeeeeseaeeeeeeeeeeeeeeeas 4 11 4 6 4 Compiling Additional Information ccccccecseseeeeeeeeeeeeeaeeeeeeeeaees 4 12 9 Example Projeti een E ee een een een o 1 5 1 enu p 5 1 92 Creating a New Project cccccccccssceeeceesececcueseceseesseeeseueeeeesseeeeeeseseeessaaeeess 5 2 5 3 Adapting the Project Information 440000400400Rnnnnnnenennnnennnennen nennen 5 4 5 4 Checking Modifying the IP Settings for the Controller BootP 5 5 5 4 1 Using the Preset IP Address sese 5 7 5 4 2 Changing the IP Address Without Using BootP The Controller can be Addressed Using the Preset IP Address 5 8 5 4 3 Changing the IP Address Using BootP The Controller Cannot be Addressed Using the Preset IP Address 5 10 5 4 4 BootP is Deactivated on the ILC 150 ETH ssesssssss 5 12 5 5 Reading INTERBUS 99 hs ccccccccccs
70. tart _ILC150 ILC 150 ETH 192 168 0 2 IP Settings BH ILC 150 ETH 192 168 0 2 F Resource R STD RES ILCISO 2 B vendor Phenix Contact 0 f INTERBUS 0 0 Di Designation I mise Cd E Unconnected Di Functional description Inline Controller For Ethernet Networks With 8 Dig beiet mc OO Bi device family O Di onmemmber OO B 24 A mgon y 3 Station Name I O B Te d y h Universal Module Equipment DI Di bwsiPRoFINETDevice Mame nee ERE HS D IP Address 192 168 0 2 Subnetmask 755 255 255 0 Default Gateway EN IP Settings Communication d CPU Service Editor 4 Bus inter 4 t Figure 5 10 Entering the MAC address e Reset the controller To do this switch the supply voltage off and on again The controller is assigned the IP address that is specified for the controller in the project The following message is displayed in the message window on the Bus Configurator tab Configured device ILCISOETHl queries for its IP parameters via BootP The device ILCISOETHl received its IP parameters IP Address 192 168 0 2 5ubnet Mask 255 255 255 0 Default Gateway via BootP mi m T iri BZ hi Build A Errors A Warnings A Infos A PLC Errors A Print A Multi User A Bus Configurator Figure 5 11 Message window following BootP The IP address is now permanently stored on the controller Flash memory For re
71. tem Docking undocking For each window you can specify whether it is to be docked in the other windows or not windows There are various options for docking undocking windows 1 Permanent docking undocking In the title bar or the gray frame of the relevant window right click with the mouse and activate deactivate the Allow Docking menu item Move an undocked window to the position where it is to be inserted in the desktop 2 Temporary undocking Double click on the gray window frame or the title bar of the window The window is then displayed as a normal window Its size can be modified and it can be moved to any position on the screen In order to re dock the window i e to reinsert it in the desktop double click on the title bar 7533 en 02 PHOENIX CONTACT 4 5 ILC 150 Starter Kit 4 6 PHOENIX CONTACT THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 4 5 Bus Structure Window The Bus Structure window is used to display and edit the bus topology 4 5 1 Icons in the Bus Structure Window 4 5 1 1 Logical Device Functions The individual device functions are identified in the Bus Structure window with logical icons The logical icons in the example bus configuration have the following meaning Table 4 1 Icons for logical device functions examples R Resource Control system resource When creating the project using a template the control system resource is inserted below this icon When creating the project us
72. tings communication to the ILC 150 ETH in your network if you wish to use the preset IP address see Section 5 4 1 you do not wish to use the preset IP address although the controller can be addressed using this IP address see Section 5 4 2 you cannot address the ILC 150 ETH in the network using the preset IP address see Section 5 4 3 A BootP is not activated on the ILC 150 ETH see Section 5 4 4 5 6 PHOENIX CONTACT 7533_en_02 7533 en 02 THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Example Project 5 4 1 Using the Preset IP Address e Establish an Ethernet connection between the PC and the controller e Test the communication path set For this purpose change to the Communication tab see Figure 5 6 e Click on Test Device Details x ILC 150 ETH 192 168 0 2 Communication Interface Type 9 ILC 150 ETH Connection Name 4 Communication Path Manual Input z pal 3 Ethernet IP Address Bi Station Name 12 18 0 2 z Subnet Mask 255 255 255 0 Gateway Address Resource STD_RES Test Help amp IP Settings EJ Extended Settings 49 Communication 9 CPU Service Editor 4 Bus interfe Figure 5 6 Testing the communication path PC WorX indicates successful testing of the communication path by means of the following message EE IP Settings EJ Extended Settings Communication B CPU Service Editor Sf Bus interfe 4 Help F
73. u bar Switch debug mode on off Display project control dialog box 7533 en 02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS Helpful Information About PC WorX 4 4 Workspaces PC WorX is divided into four workspaces EC programming Bus configuration Process data assignment Project comparison The View menu or the corresponding icon in the toolbar can be used to switch between the workspaces Following initial installation the IEC programming workspace is the default setting Figure 4 2 to Figure 4 4 show the default workspaces The windows that you wish to display can be defined at any time for each workspace IEC Programming Workspace PC WorX Ele Edit View Project Build Online Extras Ds um u amp e ecjeaj mimpisemmmS a j 9ssx emex jeJ rms Im in amp 8 2 Ie o 4 Su xn V 4 je m Ben je E ssa8 IG Be dep 4K 4e TH Du HEH ra Jer RE BF Project Tree Window Name Description 3i Firmware FB E Firmware functions On Keyword F Library FB Library function EC Network Templates SE User FB TEE User function Smee Build A Errors A Warnings A Infos A PLC Errors A Print A Multi User A Bus Configurator Figure 4 2 IEC programming workspace PHOENIX CONTACT 4 3 7533_en_02 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit Bus Configuration Workspace w P
74. une ACOS Are Cc F ADD Additic Jr ADD TT TIME Ji AND Bitwist Ji ASIN Arc Si e eirca gt Figure 5 29 Edit Wizard Analog In Out function block e Switch to the Main worksheet and insert the user defined function blocks at the cursor according to the instructions described above The FlashLight function block is programmed in ST structured text The individual sections of this POU are commented on in the FlashLight worksheet For additional notes about ST please refer to the online help for the PC WorX software PHOENIX CONTACT 5 25 ILC 150 Starter Kit 5 26 PHOENIX CONTACT online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS 5 8 8 Complete Example Program In order to create the complete example program proceed as described above For additional information about the PC WorX software please refer to the online help or the UM QS EN PC WORX Quick Start Guide for the software Main POU Requesting Switches 0 1 and 2 and Calling the User Defined Function Blocks Select time for flashlight time 500ms ActTimeFlashLight ONBOARD_INPUT_BITO ActTimeFlashLight _ ActTimeFlashLight time 350ms ONBOARD INPUT BITO ActTimeFlashLight ONBOARD_INPUT_BIT1 ActTimeFlashLight time 100ms ONBOARD_INPUT_BITO ActTimeFlashLight ONBOARD_INPUT_BITI ActTimeFlashLight ONBOARD_INPUT_BIT2 time 50ms Start flashlight with s
75. y 65535 for scaling up to ful range Figure 5 32 Analog In Out POU FBD 5 9 Compiling After Creating the Program At this point you can compile your project in order to detect any errors that may have occurred e Select the Build Make command 7533 en 02 PHOENIX CONTACT 5 27 online components com THE ONLINE DISTRIBUTOR OF ELECTRONIC COMPONENTS ILC 150 Starter Kit 5 10 Assigning Process Data Process data and control variables are assigned in the process data assignment eB workspace Link the process data of all devices to variables e Make sure you are in the process data assignment workspace e Select the control system in the top right window The standard configuration is then displayed in the top left window Symbols Variables e In the top left window Symbols Variables select the STD RES ILC150 2 resource e In the top right window select the device for which you would like to link the process data to variables here IB IL AO 1 U SF e Select the process data item to be linked here 1 1 e The Input Analog and Output Analog variables are defined when the program is created Using drag amp drop link the selected variable to one of the variables displayed on the left hand side here Output Analog In the bottom left window the assignment between variables and process data is displayed Process Data Assignment Symbole arables QuickStart ILC150 ILC 150 ETH 192 1

Download Pdf Manuals

image

Related Search

Related Contents

GE DCCD330EGWC User's Manual  ProfiScale PRECISE Pied à coulisse digital Mode d`emploi  Ape クロストップギヤセット 取扱説明書  high power ceiling mount wireless 300n poe access point  Employee User Guide - Government of Newfoundland and Labrador  Betriebsanleitung  L`evidence-based practice à portée des orthophonistes  15617-Flopam SNF  C-01U 取扱説明書ダウンロード  

Copyright © All rights reserved.
Failed to retrieve file