FiFoGetDimension
The function block FiFoGetDimension determines the dimensioning, i.e. the number of the axes and the maximum number of FIFO entries in a FIFO channel.
Inputs
VAR_INPUT
iChannelId : UDINT;
bExecute : BOOL;
tTimeout : TIME;
END_VAR
Name | Type | Description |
---|---|---|
iChannelId | UDINT | Channel ID of the FIFO channel |
bExecute | BOOL | Edge-triggered signal for execution of the command |
tTimeout | TIME | ADS timeout (about 1 second) |
Outputs
VAR_OUTPUT
bBusy : BOOL;
bErr : BOOL;
iErrId : UDINT;
iNoOfAxes : UDINT;
iNoOfFifoEntries : UDINT;
END_VAR
Name | Type | Description |
---|---|---|
bBusy | BOOL | Becomes |
bErr | BOOL | Becomes |
iErrId | UDINT | Error number (ADS or NC error number) |
iNoOfAxes | UDINT | Number of axes for which the FIFO channel has been parameterised. |
iNoOfFifoEntries | UDINT | Number of FIFO entries for which the FIFO channel has been parameterised. |
Requirements
Development environment | Target platform | PLC libraries to be linked |
---|---|---|
TwinCAT V3.1.0 | PC or CX (x86 or x64) | Tc2_NcFifoAxes |