ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Variable
Network variable via UDP
155
8.2.6
Write projects for more devices
3647
Also create export lists for the projects DemoProj2 and DemoProj3.
►
Now
create corresponding projects with export lists for the two other devices:
DemoProj2.pro
and
DemoProj3.pro
. These files are necessary for the following steps.
Filenames and entries
following table:
Device
Project filename
Global variable list to be exported
COB ID
Global variable
1
DemoProj1.pro
Globale_Variablen_Export_Proj1 51 x1:INT
2
DemoProj2.pro
Globale_Variablen_Export_Proj2 52 x2:INT
3
DemoProj3.pro
Globale_Variablen_Export_Proj3 53 x3:INT
> Export lists must now be created for all 3 devices.
Create import lists for the project DemoProj1.
For the project
DemoProj1.pro
in device 1 we have so far only created the "global network
variables" to be exported.
We now create two lists of global network variables to be imported which are imported from
DemoProj1.pro
. Requirement: all 3 projects are available locally or in the LAN.
►
Open the project
DemoProj1.pro
in CoDeSys.
►
Click the tab [Resources].
►
Select (click) the entry [Global Variables].
►
Menu [Project] > [Merge…].
►
Select the project
DemoProj2.pro
.
►
Confirm with [OK].
> The following window appears: