In the last tutorial I showed you how to download the e!Cockpit software and Scan the CPU.
I will explain how to upload the IO System/Make some programs/Download the project to CPU in this topic.Let’s start!
Reference Link
Scan Modules
We can upload the Configuration and IO system from the CPU.
Go to Device Tab>Scan modules and click the Scan Modules Button.
Please wait a minute..
Done!Not only the CPU but all the IO modules that are installed with the CPU are uploaded.
In this tutorial 750-8215 and CAN Gateway 750-0658 are used.
View
The screen is shown below after all IO Modules are inserted in your project.
Click the Controller ICON.
And then click the button that is shown below.
CPU and IO modules that are installed , will show Graphically in E!COCKPIT.
Basic Setup
Before we start programming, I will show you the places that configure your IDE.Start the “FILE” Button.
Go to Options>CODESYS Options.
Choose Options.
The Options Screen is 100% same as Codesys – Because there is a standard Codesys engine inside e!Cockpit.
It is better that the IDE can auto-fill in the variable name while programming in ST language.
Go to SmarCodeing>List components immediately when typing and check this box.
Create Program
Now we can start to create our program! Click the “Program Structure” tab in the bottom of E!Cockpit.
A screen that is very similar to codesys is shown.
Double Click the PLC_PRG to edit your program.
And the menu is very similar to Codesys also.
Let’s create some sample programs!
Download
Go to the “PROGRAM” tab >Click the Connect button to connect the PLC.
Please wait a minute…
Login Screen is shown and enter the Username and password, same as Web Server.
(user name is admin)
Yes.
Done!Program is downloaded to the CPU.
Run!
Now we can switch the cpu to Run mode.Open the “DEBUG” Tab >press the start Button.
Done!Program is running!