TwinCAT PLC Library Hydraulics - Version 1.4 — Table of contents

Table of contents Table of contents 1 Foreword .................................................................................................................................................... 7 1.1 Notes on the documentation........................................................................................................... 7 1.2 Safety instructions .......................................................................................................................... 8 2 Introduction to hydraulics ........................................................................................................................

9 3 General structure..................................................................................................................................... 14 3.1 The hydraulics library.................................................................................................................... 14 3.2 Structure of the documentation..................................................................................................... 15 3.3 Functions, function blocks and types (from V3.0).........................................................................

17 4 PLCopen Motion Control ........................................................................................................................ 26 4.1 Administrative ............................................................................................................................... 26 4.1.1 MC_Power_BkPlcMc (from V3.0) .................................................................................... 26 4.1.2 MC_ReadActualPosition_BkPlcMc (from V3.0) ............................................................... 28 4.1.3 MC_ReadActualTorque_BkPlcMc (from V3.0) ................................................................

29 4.1.4 MC_ReadActualVelocity_BkPlcMc (from V3.0) ............................................................... 30 4.1.5 MC_ReadAxisError_BkPlcMc (from V3.0) ....................................................................... 30 4.1.6 MC_ReadBoolParameter_BkPlcMc (from V3.0).............................................................. 31 4.1.7 MC_ReadDigitalOutput_BkPlcMc (from V3.0) ................................................................. 32 4.1.8 MC_ReadParameter_BkPlcMc (from V3.0) ..................................................................... 33 4.1.9 MC_ReadStatus_BkPlcMc (from V3.0)............................................................................

34 4.1.10 MC_Reset_BkPlcMc (from V3.0) ..................................................................................... 36 4.1.11 MC_ResetAndStop_BkPlcMc (from V3.0) ....................................................................... 36 4.1.12 MC_SetOverride_BkPlcMc (from V3.0) ........................................................................... 37 4.1.13 MC_SetPosition_BkPlcMc (from V3.0) ............................................................................ 39 4.1.14 MC_SetReferenceFlag_BkPlcMc (from V3.0) .................................................................

40 4.1.15 MC_WriteBoolParameter_BkPlcMc (from V3.0) .............................................................. 41 4.1.16 MC_WriteDigitalOutput_BkPlcMc (from V3.0) ................................................................. 42 4.1.17 MC_WriteParameter_BkPlcMc (from V3.0) ..................................................................... 43 4.2 Motion ........................................................................................................................................... 44 4.2.1 MC_CamIn_BkPlcMc (from V3.0)....................................................................................

44 4.2.2 MC_CamOut_BkPlcMc (from V3.0) ................................................................................. 45 4.2.3 MC_CamTableSelect_BkPlcMc (from V3.0).................................................................... 46 4.2.4 MC_DigitalCamSwitch_BkPlcMc (from V3.0) .................................................................. 48 4.2.5 MC_EmergencyStop_BkPlcMc (from V3.0.5).................................................................. 50 4.2.6 MC_GearIn_BkPlcMc (from V3.0)....................................................................................

51 4.2.7 MC_GearInPos_BkPlcMc (from V3.0.33) ........................................................................ 53 4.2.8 MC_GearOut_BkPlcMc (from V3.0)................................................................................. 55 4.2.9 MC_Halt_BkPlcMc (from V3.0) ........................................................................................ 56 4.2.10 MC_Home_BkPlcMc (from V3.0)..................................................................................... 57 4.2.11 MC_ImediateStop_BkPlcMc (from V3.0.5) ......................................................................

59 4.2.12 MC_MoveAbsolute_BkPlcMc (from V3.0)........................................................................ 60 4.2.13 MC_MoveJoySticked_BkPlcMc (from V3.0) .................................................................... 62 4.2.14 MC_MoveRelative_BkPlcMc (from V3.0)......................................................................... 63 4.2.15 MC_MoveVelocity_BkPlcMc (from V3.0) ......................................................................... 64 4.2.16 MC_Stop_BkPlcMc (from V3.0) .......................................................................................

66 4.3 Data types..................................................................................................................................... 67 4.3.1 Axis_Ref_BkPlcMc (from V3.0)........................................................................................ 67 4.3.2 CAMSWITCH_REF_BkPlcMc (from V3.0)....................................................................... 69 4.3.3 E_TcPlcBufferedCmdType_BkPlcMc............................................................................... 69 4.3.4 E_TcMcCurrentStep (from V3.0)......................................................................................

71 4.3.5 E_TcMcDriveType (from V3.0)......................................................................................... 72 PLC Library Hydraulics 3 Version: 1.4