AxisControlLoopClosed
AxisControlLoopClosed returns the corresponding signal from the cyclic axis interface from the NC to the PLC
FUNCTION AxisControlLoopClosed: BOOL
VAR_INPUT
nStateDWord : DWORD;
END_VAR
nStateDWord : Status word from the cyclic axis interface from the NC to the PLC
Beispiel
PROGRAM MAIN
VAR
PlcToNc1 AT %QB1000 : PLCTONC_AXLESTRUCT;
NcToPlc1 AT %IB1000 : NCTOPLC_AXLESTRUCT;
CamDataQueued : BOOL;
END_VAR
ControlLoopClosed := AxisControlLoopClosed ( NcToPlc1.nStateDWord );
Requirements
Entwicklungsumgebung |
Zielplattform |
Einzubindende SPS Bibliotheken |
---|---|---|
TwinCAT v2.9 from Build 1012 |
PC (i386) |
TcNC.Lib |