TwinCAT PLC Library Hydraulics - Version 1.4 — 4.4.1.3 MC_AxCtrlSlowDownOnPressure_BkPlcMc (from V3.0)

PLCopen Motion Control 4.4.1.3 MC_AxCtrlSlowDownOnPressure_BkPlcMc (from V3.0) The function block decelerates an axis such that a certain default value is not exceeded in the actual value selected through ReadingMode . The rules of substitutional pressure control apply. In most cases the actual pressure can be logged with function blocks of type MC_AxRtReadPressureSingle_BkPlcMc [ } 158] or MC_AxRtReadPressureDiff_BkPlcMc [ } 156] . VAR_INPUT EnableP: BOOL:=FALSE; EnableM: BOOL:=FALSE; Reset: BOOL:=TRUE; FirstAuxParamIdx: INT:=0.0; kP: LREAL:=0.0; Tn: LREAL:=0.0; PreSet: LREAL:=0.0; ReadingMode:

E_TcMcPressureReadingMode:=iTcHydPressureReadingDefault; END_VAR E_TcMcPressureReadingMode [ } 89] VAR_INOUT Axis: Axis_Ref_BkPlcMc; END_VAR VAR_OUTPUT Response: LREAL; Active: BOOL; Error: BOOL; ErrorID: UDINT; END_VAR EnableP : TRUE at this input enables the controller to influence the output value during a motion in positive direction. EnableM : TRUE at this input enables the controller to influence the output value during a motion in negative direction. Reset : TRUE at this input resets the controller. The memory of the I component is cleared. FirstAuxParamIdx : Here a range in the Axis_Ref_BkPlcMc [ } 67] . ST_TcHydAxParam [ } 93] .fCustomerData can be activated as parameter interface.

kP : The gain factor of the P component. Tn : The integral action time of the I component. PreSet : Here you can specify a default value for calculating an initial value for the I component of the controller. The I component is preloaded with this value on activation. Response : The output value of a pressure regulator. ReadingMode : The actual value to be controlled can be specified here. Axis_Ref_BkPlcMc [ } 67] . ST_TcHydAxRtData [ } 99] . fActPressure is selected as default value. Active : TRUE at this output indicates that the function block generates a response in order to take over the pressure control. PLC Library Hydraulics 119 Version: 1.4