Start debug timer function, Read debug timer function, Example – BECKHOFF BC3150 User Manual
Page 77
Safety Instructions
Fieldbus Components
75
BX Debug Function
BX Debug Function - Overview
These functions can be used for measuring command execution times in a PLC project. The unit is a tick. One tick
corresponds to 5.12 µs.
Start Debug Timer function
Calling this function starts the timer. The return value is "0".
Read Debug Timer function
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();
See also other documents in the category BECKHOFF Equipment:
- EP-xxxx-xxxx (19 pages)
- Bus Terminal System (19 pages)
- BK2000 (30 pages)
- LC3100 (67 pages)
- BK4000 (28 pages)
- BK3xx0 (95 pages)
- BK5000 (12 pages)
- LC5200 (32 pages)
- BK7000 (29 pages)
- BK7500 (32 pages)
- BK7300 (40 pages)
- BK8100 (26 pages)
- BC2000 (28 pages)
- BC3100 (51 pages)
- BC7300 (48 pages)
- BC8100 (36 pages)
- KL1012 (2 pages)
- KL1114 (2 pages)
- KL1164 (1 page)
- KL1232-xxxx (4 pages)
- KL1501 (19 pages)
- KL1512 (15 pages)
- KL2521-0024 (18 pages)
- KL2512 (21 pages)
- KL2612 (4 pages)
- KL2622 (9 pages)
- KL3062 (24 pages)
- KL3064 (20 pages)
- KL4132 (19 pages)
- KL4034 (25 pages)
- KL3302 (23 pages)
- KL3351 (18 pages)
- KS3681 (43 pages)
- KL4112 (18 pages)
- KL5001 (16 pages)
- KL5051 (17 pages)
- KL5101-0012 (21 pages)
- KS5111-0000 (21 pages)
- KL5121 (19 pages)
- KL6021 (20 pages)
- KL6051 (17 pages)
- Z1000 (2 pages)
- KL6071 (12 pages)
- Z1003 (2 pages)