PLCopen Motion Control nAxAutoIdentType : The type code of the currently valid ST_TcMcAutoIdent [ } 93] variable type. nCmdBufferType : Reserved. The type code of the currently valid command buffer variable type. nLogLevel : The message level [ } 244] , from which entries in the logging buffer are to be made. nDebugTag : Many library blocks enter a debug ID here for the duration of their execution. stAxParams : This variable of type ST_TcHydAxParam [ } 93] contains the axis parameters. stAxRtData : This variable of type ST_TcHydAxRtData [ } 99] contains the runtime data of the axis.
4.3.2 CAMSWITCH_REF_BkPlcMc (from V3.0) A variable of this type is transferred to an MC_DigitalCamSwitch_BkPlcMc [ } 48] function block. TYPE CAMSWITCH_REF_BkPlcMc: STRUCT Switch: ARRAY [ciBkPlcMc_CamSwitchRef_MinIdx..ciBkPlcMc_CamSwitchRef_MaxIdx] OF CAM- SWITCH_REFTYPE_BkPlcMc; END_STRUCT END_TYPE TYPE CAMSWITCH_REFTYPE_BkPlcMc: STRUCT TrackNumber: INT; FirstOnPosition: LREAL; LastOnPosition: LREAL; AxisDirection: INT; CamSwitchMode: INT; Duration: LREAL; (* private members, do not touch *) nCurrentState: SINT:=0; bTriggered: BOOL:=FALSE; fTimer: LREAL; (**) END_STRUCT END_TYPE TrackNumber :
This is an index in an ARRAY [ciBkPlcMc_TrackRef_MinIdx..ciBkPlcMc_TrackRef_MaxIdx] OF TRACK_REF_BkPlcMc [ } 109] , which is transferred to a function block of type MC_DigitalCamSwitch_BkPlcMc [ } 48] . FirstOnPosition : [mm] The start of the cam track. For time-controlled cams, this is the trigger position. LastOnPosition : [mm] The end of the cam track. Has no effect for time-controlled cams. AxisDirection : Specifies in which direction of travel the cam becomes active: 0 = both directions, 1 = positive direction, 2 = negative direction. CamSwitchMode : The operating mode of the cam: For displacement-controlled cams enter 0, for time- controlled cams enter 1. Duration :
[s] For time-controlled cams enter the switch-on time in seconds. nCurrentState , bTriggered , fTimer : These elements are runtime variables and must not be influenced or used by the application. 4.3.3 E_TcPlcBufferedCmdType_BkPlcMc The constants in this list are used to identify buffered axis commands. See MC_BufferMode_BkPlcMc [ } 89] . PLC Library Hydraulics 69 Version: 1.4 Note In order to make the data structures of the library independent of the CPU architecture (I86, Strong ARM), it is necessary to change the order of data or insert placeholders in some places. These placeholders contain a name in the form "bAlign 1"; the number has no pur- _ pose.
Neither existence, name, type or dimensioning are guaranteed.