PLC API This function block generates pulses with which a servomotor can be driven to a defined position. Behavior of the output VAR_INPUT fIn : FLOAT; bUpperLimitSwitch : BOOL; bLowerLimitSwitch : BOOL; fManSyncValue : FLOAT; bSync : BOOL; eMode : E_CTRL_MODE; END_VAR Inputs TF4100 146 Version: 2.2.4 Name Type Description fIn FLOAT Control value of the controller over the range fCtrlOutMin ... fCtrlOutMax] (controller output). bUpperLimit Switch BOOL Limit switch: TRUE if the upper stop has been reached. bLowerLimit Switch BOOL Limit switch: TRUE if the lower stop has been reached.
fManSyncValue FLOAT Input with which the internal state of the current motor setting can be adjusted, or whose value is adopted in manual mode. bSync BOOL With a rising edge at this input the internal motor position, which must correspond to the actual motor position, is set to the value "fManSyncValue". eMode E CTRL _ _ MODE Input that specifies the operation mode [} 173] of the function block.