FB_Analysis
The entire analysis routine is defined in the FB Analysis. All configured networks with their modules and error handling are created.
Syntax
Definition:
FUNCTION_BLOCK FB_Analysis
VAR_INPUT
[network FBs]
END_VAR
VAR_OUTPUT
bError: BOOL;
ipTcResult: I_TcMessage;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
Network FBs |
| Function blocks of the configured networks. |
Outputs
Name | Type | Description |
---|---|---|
bError | BOOL | Becomes TRUE when an error situation occurs. |
ipTcResult | I_TcMessage | Message interface of the TwinCAT 3 EventLogger, which provides further information about the return value. |
Methods
Name | Definition location | Description |
---|---|---|
Local | Method for background communication with the TwinCAT driver. The method must be called cyclically. | |
Local | Resets the entire analysis. | |
Local | Optional: If a result stream needs to be created. |
Requirements
Development environment | Target platform | Plc libraries to include |
---|---|---|
TwinCAT v3.1.4024.0 | PC or CX (x64, x86) | Tc3_Analytics |