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. |
“ Refresh I/Os in stop” |
|
“Behavior of the outputs at stop” |
Handling of the output channels when the controller enters the stop state:
|
“Always update variables” |
Global setting that defines whether or not 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.
|
“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. |




NOTICE

Before you select the “<unspecified>” setting for the bus cycle task, you should be aware that "<unspecified>" means that the default setting given in the device description goes into effects. 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!




NOTICE

For fieldbuses, a fixed cycle matrix is necessary to assure a determined behavior. Therefore, do not use the type 'freewheeling' for a bus cycle task.
“Force variables for the I/O mapping ” |
This setting is available only if it is supported by the device.
|
“Activate diagnostics for devices” |
By means of the function block 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. |
“Create additional parameters” |
This setting is available only if it is supported by the device. Create additional parameters. |
“ Display I/O warnings as errors ” |
Warnings concerning the I/O configuration are displayed as errors. |
“ Enable symbolic access for I/Os” |
This symbolic access works in parallel to the I/O mapping which was set up manually.
|
See also
-
PDF document 'CAA Device Diagnosis', which is a component of the library.