TwinCAT PLC Library Hydraulics - Version 1.4 — 4.2.1 MC_CamIn_BkPlcMc (from V3.0)

PLCopen Motion Control NOTE! This function block requires no time for executing its tasks. The output Busy will never assume the value TRUE and only exists for compatibility reasons. 4.2 Motion 4.2.1 MC_CamIn_BkPlcMc (from V3.0) The function block starts and monitors a cam plate coupling between two axes. To release the coupling, an MC_CamOut_BkPlcMc [ } 45] function block should be used. VAR_INPUT Execute: BOOL; MasterOffset: LREAL:=0.0; SlaveOffset: LREAL:=0.0; MasterScaling: LREAL:=0.0; SlaveScaling: LREAL:=0.0; StartMode: MC_StartMode_BkPlcMc:=MC_StartMode_Absolute; CamTableId: MC_CAM_ID_BkPlcMc; BufferMode:

MC_BufferMode_BkPlcMc:=Aborting_BkPlcMc; (ab/from V3.0.8) END_VAR VAR_OUTPUT Busy: BOOL; InSync: BOOL; CommandAborted: BOOL; Error: BOOL; ErrorID: UDINT; EndOfProfile: BOOL; END_VAR VAR_INOUT Master: Axis_Ref_BkPlcMc; Slave: Axis_Ref_BkPlcMc; END_VAR Execute : A positive edge at this input starts the coupling. MasterOffset, MasterScaling : [mm, 1] These values are offset against with the actual position of the master, before the resulting value is looked up in the master column of the table. SlaveOffset , SlaveScaling : [mm, 1] These values are offset against the slave position from the table. StartMode :

A value from MC_StartMode_BkPlcMc [ } 91] , which specifies the behavior of the slave axis when the coupling is activated. CamTableId : Here, a variable of type MC_CAM_ID_BkPlcMc [ } 90] should be transferred, which was initialized by a function block of type MC_CamTableSelect_BkPlcMc [ } 46] . BufferMode : Reserved. This input is provided in preparation for a future build. It should currently either not be assigned or assigned the constant Aborting_BkPlcMc. (from V3.0.8) Busy : Indicates that a command is being processed. PLC Library Hydraulics 44 Version: 1.4