TwinCAT PLC Library Hydraulics - Version 1.4 — 4.3.20 ST_FunctionGeneratorTB_BkPlcMc (from V3.0.31)

PLCopen Motion Control MC_StartMode_Relative : The set slave position determined by MC_CamIn_BkPlcMc function blocks is regarded as distance from the location of the coupling. MC_StartMode_RampIn : Not supported. 4.3.18 OUTPUT_REF_BkPlcMc (from V3.0) A structure of this type is transferred to function blocks of types MC_ReadDigitalOutput_BkPlcMc() [ } 32] , MC_WriteDigitalOutput_BkPlcMc() [ } 42] and MC_DigitalCamSwitch_BkPlcMc() [ } 48] . TYPE OUTPUT_REF_BkPlcMc: STRUCT OutputBits: UDINT:=0; END_STRUCT END_TYPE OutputBits : The outputs addressed via this structure.

4.3.19 ST_FunctionGeneratorFD_BkPlcMc (from V3.0.31) This structure consolidates parameter for the definition of the output signals of a function generator. A structure of this type is transferred to MC_FunctionGeneratorFD_BkPlcMc [ } 159] () function blocks. TYPE ST_FunctionGeneratorFD_BkPlcMc : STRUCT Sin_Amplitude: LREAL:=0.0; Sin_Phase: LREAL:=0.0; Sin_Offset: LREAL:=0.0; Cos_Amplitude: LREAL:=0.0; Cos_Phase: LREAL:=0.0; Cos_Offset: LREAL:=0.0; Rect_Amplitude: LREAL:=0.0; Rect_Phase: LREAL:=0.0; Rect_Ratio: LREAL:=0.5; Rect_Offset: LREAL:=0.0; Saw_Amplitude: LREAL:=0.0; Saw_Phase: LREAL:=0.0; Saw_Ratio: LREAL:=0.5; Saw_Offset:

LREAL:=0.0; END_STRUCT END_TYPE Sin_Amplitude, Cos_Amplitude, Rect_Amplitude, Saw_Amplitude : The peak value of the signals. Sin_Phase, Cos_Phase, Rect_Phase, Saw_Phase : The phase shift of the signals. Sin_Offset , Cos_Offset , Rect_Offset, Saw_Offset: The zero point offset of the signals. Rect_Ratio , Saw_Ratio : The duty factor of the square or sawtooth signal. 4.3.20 ST_FunctionGeneratorTB_BkPlcMc (from V3.0.31) This structure consolidates parameters for the time base of one or several function generators.

A structure of this type is transferred to MC_FunctionGeneratorTB_BkPlcMc [ } 161] (), MC_FunctionGeneratorFD_BkPlcMc [ } 92] () and MC_FunctionGeneratorSetFrq_BkPlcMc [ } 160] () function blocks. TYPE ST_FunctionGeneratorTB_BkPlcMc : STRUCT Frequency: LREAL:=0.000001; Freeze: BOOL:=FALSE; CycleCount: DINT:=0; CurrentTime: LREAL:=0.0; PLC Library Hydraulics 92 Version: 1.4