FiFoGroupIntegrate
The function block FiFoGroupIntegrate integrates an initially independent PTP axis into a FIFO channel. iGroupPosition specifies the logical sequence, and indicates the position within the channel at which the axis is to be inserted.
Inputs
VAR_INPUT
iChannelId : UDINT;
iAxisId : UDINT; (* [1..n] *)
iGroupPosition : UDINT; (* [1..m] *)
bExecute : BOOL;
tTimeout : TIME;
END_VAR
Name | Type | Description |
---|---|---|
iChannelId | UDINT | Channel ID of the FIFO channel |
iAxisId | UDINT | Axis ID of an axis that is to be inserted into the FIFO channel |
iGroupPosition | UDINT | Position of the axis within the FIFO channel (iGroupPosition>=1) |
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;
END_VAR
Name | Type | Description |
---|---|---|
bBusy | BOOL | Becomes |
bErr | BOOL | Becomes |
iErrId | UDINT | Error number (ADS or NC error number) |
Requirements
Development environment | Target platform | PLC libraries to be linked |
---|---|---|
TwinCAT V3.1.0 | PC or CX (x86 or x64) | Tc2_NcFifoAxes |