EasyManua.ls Logo

Beckhoff BC3150 - Fig. 65 Function Block FSTARTDEBUGTIMER; Fig. 66 Function Block FREADDEBUGTIMER

Beckhoff BC3150
104 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming
BC315070 Version: 2.1.0
Start Debug Timer function
Fig.65: Function block F_STARTDEBUGTIMER
Calling this function starts the timer. The return value is "0".
Read Debug Timer function
Fig.66: Function block F_READDEBUGTIMER
This function reads the timer value. The return value has to be multiplied with 5.12µs.
Example
VAR
Timer_BX:WORD;
i:INT;
END_VAR
Program
F_STARTDEBUGTIMER();
Fori:=0to1000do
;
END_FOR
Timer_BX:=F_READDEBUGTIMER();

Table of Contents

Related product manuals