ST_TcPlcDeviceOutput (from V3.0)
This structure contains the output image variables of an axis.
Syntax
TYPE ST_TcPlcDeviceOutput :
STRUCT
nDacOut: INT:=0;
bDigOutAp: BOOL:=FALSE;
bDigOutAn: BOOL:=FALSE;
bDigOutBp: BOOL:=FALSE;
bDigOutBn: BOOL:=FALSE;
uiCount: UINT:=0;
uiDacOutA: UINT:=0;
uiDacOutB: UINT:=0;
bMovePos: BOOL:=FALSE;
bMoveNeg: BOOL:=FALSE;
bBrakeOff: BOOL:=FALSE;
bBrakeOffInverted:BOOL:=FALSE;
DriveCtrl: ARRAY [0..3] OF BYTE:=0;
NominalVelo: DINT:=0;
uiDriveCtrl: UINT:=0;
S_iReserve: ARRAY [1..2] OF INT:=0;
S_DiReserve: ARRAY [1..7] OF DINT:=0;
CiA_Reserve: ARRAY [1..7] OF UINT:=0;
bPowerOn: BOOL:=FALSE;
bEnable: BOOL:=FALSE;
bEnablePos: BOOL:=FALSE;
bEnableNeg: BOOL:=FALSE;
nResetState: BYTE:=0;
usiCtrl: USINT:=0;
uiTerminalData: WORD:=0;
bTerminalCtrl: BYTE:=0;
uiTerminalCtrl2: WORD:=0;
nReserve: ARRAY [1..20] OF BYTE;
END_STRUCT
END_TYPE
Parameter
Name | Type | Description |
---|---|---|
nDacOut | INT | Used for control value outputs or parameter communication. Used for iTcMc_EncoderKL2531, iTcMc_EncoderKL2541, iTcMc_DriveEL4132, iTcMc_DriveKL2521, iTcMc_DriveKL2531, iTcMc_DriveKL2541, iTcMc_DriveKL4032, iTcMc_DriveM2400_Dn. |
bDigOutAp | BOOL | Used for control value output. Used for iTcMc_DriveLowCostStepper. |
bDigOutAn | BOOL | Used for control value output. Used for iTcMc_DriveLowCostStepper. |
bDigOutBp | BOOL | Used for control value output. Used for iTcMc_DriveLowCostStepper. |
bDigOutBn | BOOL | Used for control value output. Used for iTcMc_DriveLowCostStepper. |
uiCount | UINT | reserved. |
uiDacOutA | UINT | Used for control value output. Used for iTcMc_EncoderIx2512_1Coil, iTcMc_EncoderIx2512_2Coil. |
uiDacOutB | UINT | Used for control value output. Used for iTcMc_EncoderIx2512_2Coil. |
bMovePos | BOOL | reserved. |
bMoveNeg | BOOL | reserved. |
bBrakeOff | BOOL | reserved. |
bBrakeOffInverted | BOOL | reserved. |
DriveCtrl | ARRAY | Used for device control signals. Used for iTcMc_EncoderAx2000_B200, iTcMc_DriveAx2000_B200, iTcMc_EncoderAx2000_B900, iTcMc_DriveAx2000_B900. |
NominalVelo | DINT | Used for control value output. Used for iTcMc_DriveAx2000_B110, iTcMc_EncoderAx2000_B200, iTcMc_EncoderAx2000_B900. |
uiDriveCtrl | UINT | Used for device control signals. Used for iTcMc_EncoderAx2000_B110, iTcMc_DriveAx2000_B110. |
S_iReserve | ARRAY | reserved. |
S_DiReserve | ARRAY | reserved. |
CiA_Reserve | ARRAY | reserved. |
bPowerOn | BOOL | Optionally used for controlling a mains contactor. Used for iTcMc_DriveAx2000_B110, iTcMc_EncoderAx2000_B200, iTcMc_EncoderAx2000_B900. |
bEnable | BOOL | reserved. |
bEnablePos | BOOL | reserved. |
bEnableNeg | BOOL | reserved. |
nResetState | BYTE | reserved. |
usiCtrl | USINT | Used for device control signals or parameter communication. Used for iTcMc_EncoderEL5101, iTcMc_EncoderKL3002, iTcMc_EncoderKL3042, iTcMc_EncoderKL3062, iTcMc_EncoderKL3162, iTcMc_EncoderKL5101, iTcMc_EncoderKL5111, iTcMc_EncoderM3120. |
uiTerminalData | WORD | Used for parameter communication. Used for iTcMc_EncoderKL2521, iTcMc_EncoderKL5001, iTcMc_EncoderKL5101, iTcMc_EncoderKL5111, iTcMc_DriveEL4132, iTcMc_DriveKL2521, iTcMc_DriveKL4032. |
bTerminalCtrl | BYTE | Used for parameter communication. Used for iTcMc_EncoderKL2521, iTcMc_EncoderKL2531, iTcMc_EncoderKL2541, iTcMc_DriveEL4132, iTcMc_DriveKL2521, iTcMc_DriveKL2531, iTcMc_DriveKL2541, iTcMc_DriveKL4032. |
uiTerminalCtrl2 | WORD | Used for device control signals. Used for iTcMc_EncoderKL2541, iTcMc_DriveKL2531, iTcMc_DriveKL2541. |
nReserve | ARRAY | reserved. |