Threshold output
There are two ways to control the threshold output:
Set output via output function (Compare function)
The Compare function enables the output to be switched when a predefined threshold value is reached. The output is switched independently of the PLC cycle. This means that particularly short reaction times can be realized.
- 1. Enter the threshold value for setting the output in "Switch on threshold value".
If the value in "Switch on threshold value" is greater than the value in "Switch off threshold value", the function is executed inversely. - 2. Enter the threshold value for resetting the output in "Switch off threshold value".
- 3. Set "Control" > "Enable output functions" to 1 to enable the Compare function.
Functionality when the Compare function is enabled:
- The output is set when the value from "Switch on threshold value" is reached. The bit "Status" > "Status of output" is set to 1.
The status LEDs DIO1 and DIO1´ light up green. - When the value from "Switch off threshold value" is reached, the output is reset. The bit “Status” > "Status of output" is set to 0. The status LEDs DIO1 and DIO1´ are off.
![Threshold output 3:](Images/png/1425553803__Web.png)
Setting the output via PLC variable
![]() | Disabled when the Compare function is enabled If "Enable output function" = 1, the bit "Set output" has no effect. The threshold output is controlled exclusively by the Compare function. |
The output can be switched during runtime via the bit "Set output". This makes it possible to set the output, e.g. to check the general function without enabling the Compare function.
- The output is set if you set the bit "Set output" to 1.
- The bit “status of output” is set to 1.
- The status LEDs DIO1 and DIO1´ light up green.
- The output is reset if you set the bit "Set output" to 0.
- The bit “Status of output” is set to 0.
- The status LEDs DIO1 and DIO1´ are off.