FB_ALY_BinaryStream_File
Syntax
Definition:
FUNCTION_BLOCK FB_ALY_StreamHelper
VAR_INPUT
nCycleTime: UDINT;
stSystemID: GUID;
sPath: T_MaxString;
nMaxFileSize: UINT;
END_VAR
VAR_OUTPUT
bError: BOOL;
ipResultMessage: I_TcMessage;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
nCycleTime | UDINT | Logging cycle time |
stSystemID | GUID | Twincat System ID |
sPath | T_MaxString | Folder path to log in |
nMaxFileSize | UINT | Max file size |
Outputs
Name | Type | Description |
---|---|---|
bError | BOOL | TRUE if an error has been occurred |
ipResultMessage | I_TcMessage | Eventlogger |
Methods
Name | Definition Location | Description |
---|---|---|
Local | Method for background communication with the TwinCAT driver. The method must be called cyclically. | |
Local | Close the opened tay file | |
Local | Create *.tad file for stream desciption | |
Local | Create *.tas file for symbol description | |
Local | Write data to *.tay file |
Requirements
Development environment | Target platform | Plc libraries to include |
---|---|---|
TwinCAT v3.1.4024.0 | PC or CX (x64, x86) | Tc3_Analytics |
Further Information