Tab ‘PLC settings’¶
On this tab of the generic device editor you make the basic settings for the configuration of the PLC, for example the handling of inputs and outputs and the bus cycle task.
Application for I/O handling | Application that is responsible for the I/O handling. |
Update IO while in stop |
|
Behaviour for outputs in Stop | Handling of the output channels when the controller enters the stop state:
|
Always update variables | Global setting that defines whether CODESYS updates the I/O variables in the bus cycle task. This setting is effective for I/O variables of the slaves and modules only if ‘deactivated’ is defined in their update settings.
|
Edit Licenses | This command opens the dialog box Edit licenses for the management of your device licenses. |
Bus cycle task | Task that controls the bus cycle. By default the task defined by the device description is entered. By default the bus cycle setting of the superordinate bus device (use cycle settings of the superordinate bus) applies, i.e. the device tree is scanned upwards for the next valid bus cycle task definition. Pay strict attention to the following notes! |
Attention
Before you select the setting <unspecified> for the bus cycle task, you should be aware of the following: ‘<unspecified>’ means that the default setting given in the device description becomes effective. You should therefore check this description. Use of the task with the shortest cycle time may be defined as the default there, but use of the task with the longest cycle time could equally well be defined!
Attention
For fieldbuses, a fixed cycle matrix is necessary to assure a determined behavior. Therefore, do not use the type ‘free-running’ for a bus cycle task.
Generate force variables for I/O mapping | This setting is available only if it is supported by the device.
|
Enable Diagnosis for devices |
By means of the FB instances you can determine the status of all devices in the application and evaluate errors. In addition, the library contains functions for the programmatic editing of the device tree. Example: scanning of all children of a bus system, jumping to the parent element. |
Show I/O warnings as errors | Warnings concerning the I/O configuration are displayed as errors. |
See also
- Generic Device Editor
- Command ‘License Manager’
- Tab ‘<device> I/O Mapping’
- Command ‘Build’
- PDF document ‘CAA Device Diagnosis’, which is a component of the library.