Declaring more resources within a configuration of the PLC-object
Conditions for the declaration of more →resources:
The →target system supports this declaration.
The rule Only one resource is allowed for the validating of the application is deactivated.
How to declare more resources within a configuration of the PLC-object:
Open the PLC-object.
In the opened editor for the PLC-object, search for the existing section of the already existing resource.
SyntaxRESOURCE resource-name ON platform-name { ... }
...
END_RESOURCE
Example for lines withing PLC-objectRESOURCE local ON BuiltInPlc { ON_CHANNEL := LocalChannel }
TASK DefaultTask(INTERVAL := TIME#500ms, PRIORITY := 38229);
PROGRAM Counter WITH DefaultTask :
Counter;
END_RESOURCE
Copy these lines onto the clipboard and paste them directly under the line END_RESSOURCE ein – hence within the current →configuration.
Adapt the pasted lines.
See "PLC-specifications within editor for PLC-object", if you need details on the possibilities or the syntax.Save the PLC-object: menu File – Save
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.