beckhoff TF4100 — 4.2.1.7.3 FB_CTRL_MULTIPLE_PWM_OUT

PLC API Inputs/ outputs VAR_IN_OUT stParams : ST_CTRL_PWM_OUT_EXT_PARAMS; END_VAR stParams consists of the following elements: TYPE ST_CTRL_MULTIPLE_PWM_OUT_PARAMS : STRUCT tTaskCycleTime : TIME; tPWMPeriod : TIME; nNumberOfPwmOutputs : USINT; pPwmInputArray_ADR : POINTER TO FLOAT := 0; nPwmInputArray_SIZEOF : UINT; pPwmTimesConfig_ADR : POINTER TO ST_CTRL_MULTIPLE_PWM_OUT_TIMES; nPwmTimesConfig_SIZEOF : UINT; pPwmOutputArray_ADR : POINTER TO ST_CTRL_MULTIPLE_PWM_OUT_OUTPUTS; nPwmOutputArray_SIZEOF : UINT; pPwmData_ADR : POINTER TO ST_CTRL_MULTIPLE_PWM_OUT_DATA; nPwmData_SIZEOF : UINT; END_STRUCT END_TYPE TF4100 138 Version:

2.2.4 Name Type Description eState E CTRL STATE _ _ State of the function block bError BOOL Supplies the error number [} 173] when the output bError is set. eErrorId E CTRL ERROR _ _ CODES Becomes TRUE, as soon as an error occurs. Name Type Description stParams ST CTRL PWM _ _ _ OUT EXT _ _ PARAMS Parameter structure of the PWM element