Contents of this article:
These steps conclude the tutorial.
Starting logi.CAD 3
Condition for an extended version of logi.CAD 3 : You have already installed the required license.
- Go to the folder where you installed logi.CAD 3 .
Locate the file
logiCAD3 .exeto start logi.CAD 3 and double-click it.
If you have installed one version of logi.CAD 3 only on your system, select the default workspace and click OK in the dialog.
Mind the guidelines/recommendations for a workspace. Moreover, consider the guidelines/recommendations for projects that you are going to create in logi.CAD 3 . See "Starting the development environment and the runtime environment" for those guidelines/recommendations.
Only required at the first start of logi.CAD 3 :
Creating project for Revolution Pi
- In menu File or from the context menu within the project explorer, select New and Project...
In the dialog, expand logi.CAD 3 Samples Projects for Hardware Connection, select the project template Counter Project for Revolution Pi and click Next >.
On the next page, enter or select the project name, uncheck Use default location and enter a location outside the workspace, then click Finish.
No blanks or special characters in project name and location
Make sure that there are no blanks or special characters (such as umlauts, e.g. ä, ö, ü) in the path or in the project names. If anyway, logi.CAD 3 will not be able to load the application onto the PLC.
For the paths and project names, letters A – Z or a – z, numbers 0 – 9, dots (character
.), underlines (character
_) and dashes (character
-) are allowed. Examples for allowed project names:
Result: The project is displayed within the project explorer. The existing ST-object
RevolutionPiCounterProgramand other ST-objects (in folder
src) already contains a sample application for the Revolution Pi. The existing PLC-object
RevolutionPicontains a specification for
IO_IMPORTthat is required for accessing the hardware IOs of the Revolution Pi.
Entering the IP-address of Revolution Pi within PLC-object
The existing PLC-object for the Revolution Pi is
- Open the corresponding PLC-object.
In the opened editor for the PLC-object, search for
and enter the IP-address of your PLC.
- Save the PLC-object.
Loading application onto Revolution Pi and testing
Open the perspective Application Testing: menu Window, Open Perspective and Application Testing
- Load the application onto the Revolution Pi: In the Instance view, select RevolutionPi/RevolutionPiResource. First click and then .
See Changing the values of variables
Make sure that there is a constant power supply of the PLC for some time after the application has been loaded.
Reason: The synchronizing on the PLC harddisk might be started with a delay after the application has been loaded. Consequence: If there is a power cycle (i.e., the PLC is switched off and on again) immediately after the application has been loaded, the loaded application might be lost and you have to load the application onto the PLC again.
Alternative: Configure logi.RTS so that the harddisk of the target system is synchronized at once after the application is loaded (details: "A power cycle on a target system Pi causes the loss of the loaded application").
These steps conclude the tutorial.
Interested in details? See the following articles:
- Changing Revolution Pi projects or logi.RTS for Revolution Pi to use the generic IO provider – This article contains instructions how you are able to access the hardware IO of the Revolution Pi when using an existing project.
- Modifying IO-configuration for Revolution Pi from within the development environment – This article contains instructions how you are able to modify the IO-configuration of a Revolution Pi from within logi.CAD 3 .