Moeller Marine XControl PLC System AWB2700-1428GB User Manual

Page of 54
Creating an Example Project
12/01 AWB2700-1428GB
30
The example is saved as a separate program and is called from the 
program ABC. Proceed as follows to create the new program:
X
Select the POUs folder in the POUs tab.
X
Select the function Add Object.
X
Select Program as POU type and IL as POU language.
X
Assign the name ”DPIO” and confirm with OK.
X
Declare the variables and enter the program:
X
Add the instruction ”CAL DPIO” in the program ABC to call the 
program ”DPIO”.
X
Save the project.
X
Compile the program for testing and load it into the PLC.
CANopen bus expansion
Proceed as follows to expand the configuration with remote I/Os 
via the CANopen bus:
Adding a CANopenmodule to the XC600 controller
X
Ensure that the default address CC000 is set on the module 
Page 15.
X
Select Configuration_XC600 in the PLC Configuration window. 
Right-click the mouse and choose Append Subelement 
r 
XC-NET-CAN.
This will open a window with three parameters tabs. The default 
values can be left. Now activate the Autostart function in the CAN 
Parameters tab.
The baud rate setting of kBit/s can be left if the setting is the same 
on the input/output modules. The WINbloc modules have this 
baud rate as the default setting. Activate the functions Autostart 
and Activate.
Figure 56:
IL program with variables declaration 
Figure 57:
Calling an expansion in the main program
Figure 58:
Expanding the remote configuration
Figure 59:
Changing CANopen parameters