Moeller Marine XControl PLC System AWB2700-1428GB 사용자 설명서
Creating an Example Project
12/01 AWB2700-1428GB
32
Creating a program for remote outputs on the CANopen
bus
bus
The following two output bytes are provided. Each byte is assigned
a value.
a value.
The example is saved as a separate program and is called from the
program ABC. Proceed as follows to open the new program:
program ABC. Proceed as follows to open 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 ”CANIO” and confirm with OK.
X
Declare the variables and enter the program:
X
Add the the instruction CAL CANIO in the program ABC so that
the program CANIO can be called from this program.
the program CANIO can be called from this program.
X
Save the project.
X
Compile the program for testing and load it into the PLC.
Figure 62:
Program for CANopen expansion