FB_MTP_LockView4

The function block FB_MTP_LockView4
is an object for visualizing a basic logical operation AND/OR
with four inputs. This is made available via OPC UA.
Each input can be enabled *En
, inverted *Inv
and described with a text *Txt
. Each input also contains a quality code *QC
. It describes the conditions under which the value of the interface was recorded and how trustworthy this value is.
The inputs can be evaluated as AND-
logic (Logic = TRUE
) or as OR-
logic (Logic = FALSE
). The linking result from the inputs is output at Out
. Only enabled inputs are taken into account for this. The result of the QC
inputs is output at OutQC
.
Further characteristics
Inputs
Name | Type | Description | OPC UA access |
---|---|---|---|
WQC | BYTE | Worst Quality Code | Read |
Logic | BOOL | Logical operation: 0: 1: | Read |
In1En | BOOL | Enable input 1: 0: Input not enabled. 1: Input enabled | Read |
In1 | BOOL | Input 1 - value | Read |
In1QC | BYTE | Input 1 – | Read |
In1lnv | BOOL | Invert input 1: 0: Not inverted 1: Inverted | Read |
In1Txt | STRING | Input 1 - description text | Read |
In2En | BOOL | Enable input 2: 0: Input not enabled. 1: Input enabled. | Read |
In2 | BOOL | Input 2 - value | Read |
In2QC | BYTE | Input 2 – | Read |
In2Inv | BOOL | Invert input 2: 0: Not inverted 1: Inverted | Read |
In2Txt | STRING | Input 2 - description text | Read |
In3En | BOOL | Enable input 3: 0: Input not enabled. 1: Input enabled. | Read |
In3 | BOOL | Input 3 - value | Read |
In3QC | BYTE | Input 3 – | Read |
In3Inv | BOOL | Invert input 3: 0: Not inverted 1: Inverted | Read |
In3Txt | STRING | Input 3 - description text | Read |
In4En | BOOL | Enable input 4: 0: Input not enabled. 1: Input enabled. | Read |
In4 | BOOL | Input 4 - value | Read |
In4QC | BYTE | Input 4 – | Read |
In4Inv | BOOL | Invert input 4: 0: Not inverted 1: Inverted | Read |
In4Txt | STRING | Input 4 - description text | Read |
Outputs
Name | Type | Description | OPC UA access |
---|---|---|---|
Out | BOOL | Output of the link result | Read |
OutQC | BOOL | QC of the link result | Read |