Declaring more resources within a configuration of the PLC-object

Conditions for the declaration of more →resources:

How to declare more resources within a configuration of the PLC-object:

  1. Open the PLC-object.

  2. In the opened editor for the PLC-object, search for the existing section of the already existing resource.

    Syntax
    RESOURCE resource-name ON platform-name { ... }
    ...
    END_RESOURCE
    Example for lines withing PLC-object
    RESOURCE local ON BuiltInPlc { ON_CHANNEL := LocalChannel }
    TASK DefaultTask(INTERVAL := TIME#500ms, PRIORITY := 38229);
    PROGRAM Counter WITH DefaultTask :
    Counter;
    END_RESOURCE
  3. Copy these lines onto the clipboard and paste them directly under the line END_RESSOURCE ein – hence within the current →configuration.

  4. Adapt the pasted lines.
    See "PLC-specifications within editor for PLC-object", if you need details on the possibilities or the syntax.

  5. Save the PLC-object: menu FileSave

Results on loading the application onto the PLC

logi.CAD 3 is able to exeute the application of one resource only on the PLC at the same time.
This means that when you load the application onto the PLC, only one resource is loaded onto the PLC. If you load the next resource onto the PLC, logi.CAD 3 overwrites the application previously loaded.