Create Task; Compile Plc Program Code; Establish Connection Between Controller And "Plc Designer - Lenze C520 Commissioning

Hide thumbs Also See for C520:
Table of Contents

Advertisement

Commissioning

Create task

5.8
Create task
How to create a task:
Preconditions
The PLC program has been created in the target system.
1. Select the Add Object/Task command from the Task Configuration context menu.
A task is created.
2. Enter a cycle time for the task created.
When using the EtherCAT master, the task cycle time of the main program part
must correspond to the set DC cycle time.
3. Select the Add Object command from the Application context menu.
A program block is created in the application.
4. Click the Add call button.
A dialog opens.
5. Select the program call under Application and click OK to confirm.
5.9

Compile PLC program code

The parameterization for the device is created automatically in the background
when the PLC program code is compiled.
How to compile the PLC program code:
Preconditions
A task has been created.
1. Confirm with the Build Compile menu command or with the <F11> function key.
2. If no errors have occurred during the compilation process, save the »PLC Designer« project
in the project folder.
The parameter list is shown in the Controller tab. Detailed parameterization adjustments can
be made there.
4Parameterize controller
If errors occurred during the compilation process, they can be located and
corrected on the basis of the »PLC Designer« error messages. Subsequently, re-
compile the program code.
5.10
Establish connection between controller and »PLC Designer«
How to connect the »PLC Designer« with the controller:
Preconditions
The PLC program code has been compiled.
1. Go to the Communication settings tab of the target system (device) and click the Add
gateway button.
2. Enter the IP address of the controller in the Gateway dialog box.
3. Click OK to confirm the entry.
4. Click the Scan network button.
5. Select the controller for the IP address entered and confirm by clicking the Set active path
button.
The controller is now connected with the »PLC Designer« and appears in the project tree
under its assigned name. If a device name has not yet been assigned in the project (standard
name = "Device"), the device will be displayed with its device type and MAC address in the
default setting.
Example: c550-000A86123456.
20
4Create PLC program
^ 22
^ 19

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

C550

Table of Contents