FB_BAFSchedulerMonthlyIndividualWeekday
Function-block for controlling a Monthly Time Scheduler (individual weekday of the month) directly out of the PLC-program.
VAR_INPUT
uiId : UINT;
bStartExecution : BOOL;
bStopExecution : BOOL;
uiId: Object id of the instance (see object id).
bStartExecution: Starts the instance of the monthly time scheduler.
bStopExecution: Stops the instance of the monthly time scheduler.
VAR_OUTPUT
uiErrorId : UINT;
iErrorParameter : INT;
eExecutionState : E_BAF_ExecutionState;
bValue : INT;
tRamainingOnTime : TIME;
tRamainingOffTime : TIME;
uiErrorId: Contains the error code of the last executed command (see Error codes).
iErrorParameter: Contains the specific parameter of the error code (see Error codes).
eExecutionState: Contains the actual execution state of the instance of the monthly time scheduler.
bValue: The output state of the signal.
tRamainingOnTime: Shows, how long the scheduler channel will remain active.
tRamainingOffTime: Shows, how long the scheduler channel will remain deactivated.