Function GetMillisecondCounter()

Navigation:  Libraries > CT User Programming Runtime >

Function GetMillisecondCounter()

Previous pageReturn to chapter overviewNext page

GetMillisecondCounter

 

This function returns the time since power-up of the drive in milliseconds.

 

Inputs: None

 

Return value: UDINT; Time in milliseconds.

 

Example in FBD:

 

GetMillisecondCounter

 

Example in ST:

 

VarUDINT := GetMillisecondCounter();