TMR.GetSize (FUN)

( CAA_Timer.libray)

By use of this function szMemSize , the size of the area to be provided by IEC,  which has to be specified in TMR.CreateP, can be determined.

Input:

xCyclic

BOOL

FALSE: unique execution

TRUE: cyclic execution 

ctInterval

CAA.COUNT

Interval of timer (in ns) 

dwParam

DWORD

Parameter value for callback function 

xHardware

BOOL

TRUE: Hardware timer

FALSE: Software timer 

Output:

szMemSize

CAA.SIZE