FB_MODE
Description Function Block
The FB_MODE
function block can be used to implement operating mode selector switches. The function block has 8 inputs and 8 outputs which are looped through one-to-one, whereby up to 8 different operating modes can be selected. The FB_MODE
sets the corresponding output only if exactly one input is set ("1"), whereby the other outputs remain in the safe state ("0"). If no input is set or if more than one is set, then all outputs are in the safe state.
The bRestart
input of the FB can be activated (active or manual restart) by linking the input. An open bRestart
input will create a compiler error. If the restart is supposed to be executed automatically (non-active or automatic restart), then the bRestart
input must be deleted. If the bRestart
input is activated, then the safe state of the outputs is quit only via a 0->1->0 signal sequence at the Restart input at the start and when changing the operating mode. Furthermore, a discrepancy time can be specified at the tDiscTime
input which is used to monitor the change from one operating mode to the next.
Tip
At least two inputs of FB_MODE
must be connected.

Name | Data Type | Initial Value | Description, Parameter Values |
---|---|---|---|
|
|
| When the FB is started or when all outputs have been switched to the safe state, the signal sequence 0->1->0 must be recognized at the restart input before the safe state of the outputs is canceled. |
|
|
| 1st input channel |
|
|
| 2nd input channel |
|
|
| 3rd input channel |
|
|
| 4th input channel |
|
|
| 5th input channel |
|
|
| 6th input channel |
|
|
| 7th input channel |
|
|
| 8th input channel |
|
|
| Discrepancy monitoring time |
Name | Data Type | Initial Value | Description, Parameter Values |
---|---|---|---|
|
|
| 1st output channel |
|
|
| 2nd output channel |
|
|
| 3rd output channel |
|
|
| 4th output channel |
|
|
| 5th output channel |
|
|
| 6th output channel |
|
|
| 7th output channel |
|
|
| 8th output channel |
|
|
|
|