Creating an Example Project
07/04 AWB2700-1428GB
34
The example is saved as a separate program and is called from the
program ABC. Proceed as follows to create the new program:
X
Use the tab to select the POUs folder in the POUs register.
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 the CANopen module to the XC600 device
X
Ensure that the default address CC000 is set on the
module
X
Select Configuration_XC600 in the PLC Configuration window.
Click on the right mouse button and choose ‹Append
Subelement
r
XC-NET-CAN›.
This will open a window with three parameter registers. The
default values can be left unchanged. In the CAN Parameter
register, just activate the functions Automatic Start and Support
DSP301, V4.01 and DSP306.
The baud rate setting of 125 kbit/s can remain, 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 58 : IL program with variables declaration
Figure 59 : Calling an expansion in the main program
Figure 60 : Expanding the remote configuration
Figure 61 : Changing CANopen parameters
Summary of Contents for XControl XC600
Page 4: ...II...
Page 8: ...07 04 AWB2700 1428GB 4...
Page 30: ...07 04 AWB2700 1428GB 26...
Page 40: ...07 04 AWB2700 1428GB 36...
Page 74: ...07 04 AWB2700 1428GB 70...
Page 78: ...07 04 AWB2700 1428GB 74...