beckhoff TS511x — 5.2.1 F_GetKinChnOperationState

Plc Library VAR bUserExecute : BOOL; fbFB_LockTrafoParam : FB_LockTrafoParam; oidTrafo : UDINT := 16#010100B0; (*Trafo object id*) END_VAR fbFB_LockTrafoParam( bExecute := bUserExecute, oidTrafo := oidTrafo, bBusy=>, bDone=>, bError=>, nErrorId=> ); 5.2 Functions 5.2.1 F_GetKinChnOperationState This function returns the operation state of the Kinematic Channel. Function F_GetKinChnOperationState : E_KINSTATUS VAR_IN_OUT stKinRefIn : NciChannelToPlc END_VAR stKinRefIn: Determines the configuration’s kinematic group. See NciChannelToPlc Return value E_KINSTATUS [ } 37] : State of the kinematics channel (cf. below).

If an invalid version of cyclic interface is used, KinStatus_InvalidItfVersion is returned. TS511x 34 Version: 1.0