TwinCAT PLC Library Hydraulics - Version 1.4 — 5.2 Global constants (from V3.0)

Knowledge Base Array Dimensions The following constants used for dimensioning of fields and can be used by the application. PLC Library Hydraulics 243 Version: 1.4 IndexGroup IndexOffset Type R/W Description 16#4000 + axis index 2 STRING() R Axis name in text form. 4 UDINT R Cycle time in microseconds. 16#10003 UDINT R Encoder type: nEnc Type from _ ST TcHydAxParam. _ 16#10006 LREAL R Incremental evaluation: fEnc IncWeighting from _ ST TcHydAxParam. _ 16#30003 UDINT R Drive type: nDrive Type from _ ST TcHydAxParam. _ 16#4100 + axis index 1 UDINT R Error code: nErrorCode from ST TcHydAxRtData. _ 16#10002 LREAL R Actual position: fActPos from ST TcHydAxRtData.

_ 16#10005 LREAL R Actual velocity: fActVelo from ST TcHydAxRtData. _ 16#4200 + axis index 1 - W Execute axis reset. 16#10 - W Start homing. 16#21 Structure W Start axis movement. 16#FFFF0001 - W Save parameters. 16#FFFF0002 - W Load parameters. 16#4300 + axis index 16#81 UDINT R Status double word: nStateDWord from ST TcHydAxRtData. _ 16#B1 UDINT R Error code: nErrorCode from ST TcHydAxRtData. _ 16#F000 + axis index 1 Structure R The ST TcHydAxRtData variable _ for the axis. 2 Structure R/W The ST TcHydAxParam variable _ for the axis. 16#800F0000 + axis index E TcMCParameter _ [} 79] R/W Parameters and actual values of the axis. 16#FFFFFFFF 0 String() R Identification of the server.

1 UINT R Major version of the library. 2 UINT R Minor version of the library. 3 UINT R Release of the library. 4 UINT R Number of axes supported