Wait for fieldbus input signal¶
Read a fieldbus input variable continuously and wait until it matches the expected value. Fieldbus input variables are Mikado variables that are synchronized via fieldbus (see Synchronising fieldbus data and Mikado variables). These variables can be identified by the
symbol when synchronization is active.
Variables¶
Input/Output |
Name |
Type |
Description |
|---|---|---|---|
Input |
Fieldbus Variable |
Integer, Bool |
Mikado variable synchronized as fieldbus input (Profinet, EtherNet/IP, etc.) |
Input |
Expected Value |
Integer, Bool |
The desired value that the fieldbus variable should assume |
Input (optional) |
Timeout [ms] |
Integer |
Maximum waiting time in milliseconds. If the fieldbus variable does not assume the expected value within this time, the optional sequence change ‘Timeout reached’ is executed or the task goes into the error state. |
Hint
Fieldbus variable and expected value must be of the same variable type.
Warning
It is strongly recommended to specify a timeout value. Otherwise, there is a risk that the task will block further execution of the program indefinitely.
Sequence change¶
Name |
Condition |
Remark |
|---|---|---|
Timeout reached |
The fieldbus variable has not assumed the desired value within the timeout period |
Optional |