Parker EME
Motion control
192-121102 N04 June 2008 169
5.3.3. C3_SetControlMode
FB name C3_SetControlMode
Switching between open loop and closed loop.
VAR_IN_OUT
Axis
INT Axis ID (Library constants)
AXIS_REF_LocalAxis: Main axis
AXIS_REF_LocalAxisAux: Auxiliary axis
VAR_INPUT
Execute
BOOL Starts the sequences of the module with positive edge
ClosedLoop
BOOL TRUE: Sets closed loop operation for the selected axis
FALSE: Sets open loop operation for the selected axis
VAR_OUTPUT
ClosedLoop_IsActive
BOOL TRUE, when closed loop operation has been set
Error
BOOL
Error while executing module. The axis may not be in
the "operational" or a higher state for the change!
Note:
A change can only be executed if the axis is in pre-operational sate (Standstill: not
powered).
In open loop mode, the axis may drift!
For safe operation in the closed loop mode, the controller must be aligned!
Execute : BOOL
ClosedLoop : BOOL
Axis : INT
C3_SetControlMode
Error : BOOL
ClosedLoop_IsActive : BOOL