Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 1061 -
HL_MAXPROCTIME Maximum value of (HL_ETIME - HL_STIME)
This is the maximum execution time of High-Level
task. The following operation converts this value
to [micro-sec].
(long)( 0x1000 - HL_MAXPROCTIME ) * 8000 / 4096
HL_TIMEOVER Total counts that execution time exceeds the limit
(1 msec).
This is total count that High-Level task attempts
to exceeds 1 msec execution time and is forcibly
terminated.
HL_RETFLAG "rettask()" function execution flag.
This is internal flag for updating HL_TIMEOVER.
HL_BUFCTRL Execution time logging control flag.
HL_BUFSIZE Execution time logging buffer size.
HL_BUFIDX Execution time logging buffer index.
HL_PTRBUF Pointer to execution time logging buffer.
(linear address)
These are control variables for logging High-Level
task's execution time (HL_STIME and HL_ETIME).
To set command value in HL_BUFCTRL starts logging
function.
HL_BUFCTRL = 0 Stop logging (initial state)
1 Start logging (one shot)
2 Start logging (repeat)
Before starting logging function, set linear address
of buffer memory in HL_PTRBUF and byte size of it in
HL_BUFSIZE. Buffer size must be multiple of 4.
HL_BUFIDX is index which indicates writing position.
At start time of logging, set HL_BUFIDX = 0. After
starting logging, HL_STIME and HL_ETIME are stored
in buffer memory for each High-Level task calling.
When the index encounters the end of buffer, one of
the following process will be done.
HL_BUFCTRL = 1 Stop logging.
HL_BUFCTRL is set as 0.
HL_BUFCTRL = 2 Continue logging from the top
of buffer memory with setting
writing index (HL_BUFIDX) as
0.