background image

 

 

 

 

 

80

28

28

1

4 /

 00

  

 11

 / 

20

19

 

System Manual 

 

Starter kit for ecomatController   

 

EC2121 

 

CODESYS Version 3.5 or higher 

 

English 

Summary of Contents for EC2121

Page 1: ...80282814 00 11 2019 System Manual Starter kit for ecomatController EC2121 CODESYS Version 3 5 or higher English...

Page 2: ...12 3 Installation 15 3 1 Prepare installation 15 3 2 Carry out installation 17 3 2 1 Install the programming software CODESYS 3 5 17 3 3 Start CODESYS 3 5 19 3 4 Install packages 20 3 4 1 Start the pa...

Page 3: ...Starter kit for ecomatController EC2121 3 6 Annex 39 6 1 The I O simulator box 39 6 1 1 Inputs 39 6 1 2 Outputs 40 6 1 3 Communication reset 40 7 Index 41...

Page 4: ...n e V Germany www can cia org CODESYS is the property of the 3S Smart Software Solutions GmbH Germany www codesys com DeviceNet is the property of the ODVA Open DeviceNet Vendor Association USA www od...

Page 5: ...on of pushbuttons buttons or indications 1 3 Purpose of the document 57252 These instructions describe how to prepare and program a controller of the device family for mobile applications ecomatmobile...

Page 6: ...g modules Document Content Description Data sheet EC2121 Technical data of the starter kit Data sheet CR711S Technical data of the controller System manual starter kit for ecomatController Step by ste...

Page 7: ...l when programming the safety PLC CODESYS installation and first steps Remarks about the installation of the programming system CODESYS First steps for handling the CODESYS programming system After th...

Page 8: ...Connect the voltage supply via an external voltage source 24 V DC not supplied Connect the voltage source to both 4 mm lab sockets on the prewired connection cable plus pole red minus pole black The L...

Page 9: ...the supplied network cable Ethernet cable to the interface ETH0 of the controller the Ethernet interface of the PC The controller and PC are connected to the network cable 2 3 2 Check and set the netw...

Page 10: ...ght click Properties Figure below Click the Properties button Select the menu item Use the following IP address Check the IP address on 192 168 82 xxx and set if necessary The following addresses are...

Page 11: ...47 Subnet mask 255 255 255 0 Gateway IP address 192 168 82 21 2 3 3 Test connection between the controller and PC 57263 The connection can be tested with the UpdateTool NOTE If the instructions on the...

Page 12: ...g with Enter The ping replies are displayed When the ping replies are displayed as shown in the figure the connection is OK Return to the menu with Enter From the menu the next step can be taken Check...

Page 13: ...e update menu figure appear in the window The figure shows that OS version 2 9 0 2 is on the controller Now an update to version 3 0 0 3 is to be made NOTE If the instructions on the screen are not co...

Page 14: ...kit for ecomatController EC2121 14 The update process starts During the update process various messages appear to conclude the following success message is displayed Exit the UpdateTool with Enter and...

Page 15: ...roller can also be used for applications with functional safety it is necessary for legal reasons that you download the controller specific packages directly from ifm s website In this way you are reg...

Page 16: ...Starter kit for ecomatController EC2121 16 Open tab Downloads click Target and documentation package under Software Download Login page for my ifm appears Log in to my ifm...

Page 17: ...g software CODESYS 3 5 57269 Administrator rights are required for the installation on the PC On the supplied USB flash drive you find the 32 bit version of CODESYS since its use is compulsory To inst...

Page 18: ...n path in C Program Files x86 3S CODESYS V3 5 SP11 and confirm with OK Activate the Next button to continue the installation The installation wizard will guide you through the installation It is recom...

Page 19: ...rights are required to install the packages on the PC After the first program start the packages belonging to the controller have to be installed Start CODESYS as admin with desktop symbol CODESYS V3...

Page 20: ...ow shows installed packages 3 4 2 Install packages with the package manager Install packages Click Install The file explorer appears Select the file ifm_R360 3_Vn n n n package from the directory x if...

Page 21: ...te the installation of the packages CODESYS has to be restarted Exit CODESYS Restart CODESYS by double clicking on the desktop symbol CODESYS V3 5 SP11 The installed packages are now available Done Th...

Page 22: ...e read continuously Changes are found and considered in the application program If input signals of the switches and sensors change during processing of the application program this may lead to incorr...

Page 23: ...ed The status of the output cannot change e g the drive keeps on running although the limit switch has been reached The watchdog function exists to avoid such states If the end of the cycle has not be...

Page 24: ...New project when CODESYS has been started ifm provides one template each for every controller The basic elements and configurations in these basic projects are already prepared Create a new project wi...

Page 25: ...Starter kit for ecomatController EC2121 25 When a new project is created via Empty project the hardware specific settings have to be made manually...

Page 26: ...general settings of CR711S SafetyPLC CR711S SIL2 Contents of the SafetyPLC provides access to the contents of the safety controller StandardPLC CR711S Standard Contents of the StandardPLC provides ac...

Page 27: ...uction only the StandardPLC is used The distribution of the resources e g memory to the two controllers does not have to be taken into account here 5 2 Connect to the device 57282 First of all check t...

Page 28: ...ect Gateway 1 on the left and search for the controller by clicking the Scan network button The controller appears below the gateway It is possible that the function Scan network has to be executed tw...

Page 29: ...r user name admin and no password and confirm with OK If a password was already set it has to be entered for login The connection to the controller is established The green circle on the controller si...

Page 30: ...T0000 Press release signal 5 3 1 Suppress SafetyPLC in the device tree Since only the controller StandardPLC is used for the first program the section of the SafetyPLC is suppressed in the device tree...

Page 31: ...ent program sections to different blocks Then the blocks are activated one after the other in PLC_PRG Therefore one separate program block press is created for the press controller in this example 5 3...

Page 32: ...program Since FBDs are particularly suited for boolean functions it is also used in the example program To enter more complex formulas a textual language from IEC 61131 3 such as structured text ST i...

Page 33: ...onality can be implemented with an AND operator The general symbol for an AND operator is shown in the image below To add a link in CODESYS In the Toolbox section Drag a Box to the first network Start...

Page 34: ...r output simultaneously in the program via a function block this value will be overwritten This is usually not what you want If you use both methods in parallel binary inputs via I O mapping other inp...

Page 35: ...n name the binary output in the same way as the inputs Click the question marks at the input of the AND operator Enter OUT0000_Q Select the property ValueDigital Then the inputs of the AND operator ar...

Page 36: ...s the programming language PASCAL Since commands are entered here in text format there are no tools in this programming window The implementation part consists of a text editor in which instructions a...

Page 37: ...roller the program should be transferred Set the StandardPLC as active application StandardPLC Application context menu Set Active Application The option Set Active Application only appears if the app...

Page 38: ...nd stop both switches IN0100 and IN0101 can be switched on Only if both switches are switched on is the lamp OUT0000 on This behaviour can also be seen in CODESYS Here a supplied H signal is shown as...

Page 39: ...imulation of input and output signals and the reset of communication parameters of the controller Six inputs and outputs each are connected via the box 6 1 1 Inputs 57298 The input circuit is shown in...

Page 40: ...i e an H signal to the input Since we work under ideal conditions short cable lengths clean voltage supply no internal and external noise signals ground can be connected via GNDsys in the analogue mo...

Page 41: ...gram FBD 39 H Hardware installation 9 I Inputs 46 Install packages 21 Install packages with the package manager 22 Install the programming software CODESYS 3 5 19 Install UpdateTool on the PC 9 Instal...

Reviews: