*) (* Date: *) (* Author: *) (* Desc.: *) (****************************************************************************************) (****************************************************************************************) (* Configure M function no´s to provide *) (****************************************************************************************) (* Add up to MAX_FAST_M_FUNC_ITEM_IDX m function numbers that should be handled by *) (* fbFastMFunctionProvider. *) anMFunctionNo[0] := 25; anMFunctionNo[1] := 26; fbFastMFunctionProvider (nHliChanIdx := 0, anMFunctionNo := anMFunctionNo ); (****************************************************************************************) (* Handle Laser ON/OFF (M25/M26) *) (****************************************************************************************) (* M function numbers for switching ON and OFF have to be contained in the *) (* 'anMFunctionNo' array of the HLI3_FastMFunctionProvider instance which provides the *) (* 'stData' structure to this FB. *) (* The delay times nDelayOn and nDelayOff can be used to adopt to external hardware *) (* delays! *) fbFastMFunctionHandler (bForceOff := FALSE, bReset := FALSE, nFunctionNoOn := 25, nDelayOn := 0, nFunctionNoOff := 26, nDelayOff := 0, stData := fbFastMFunctionProvider.stData, abyOutput => abyOutput );]]>