beautypg.com

5 execution status monitoring, 5 execution state monitoring, Ras functions – Toshiba T2N User Manual

Page 138

background image

5.RAS Functions

User’s manual

125

The T2N support functions to monitor the status of T2N scan control, are as

follows. (Refer to separate manuals for the programmer for these operation.)

(1) Execution time measurement function

Measures the following execution times. This data can be verified by

reading the programmer.

Scan cycle ... present value, maximum value, minimum value (1ms units)

Main program execution time ... present value, maximum value,

minimum value (1ms units)

Sub program execution time (sub program No. 1) ... present value,

maximum value, minimum value are all the same values (1ms units)

Timer interrupt execution time ... latest value, maximum value,

minimum value (0.1ms units)

(2) On-line trace function

This function traces the status during program execution and displays on

the programmer screen (power flow display, register value display) in the

circuit range being monitored by the programmer.

Since this displays data from the point in time that the instruction is

executed rather than at the end of a scan cycle, it is also useful for

program debugging.

(3) Status monitor function

Collects and displays the status of up to 8 points of devices/registers

specified using the auxiliary display functions of the programmer on-line

trace screen, immediately after the point in time when the above on-line

trace is run.

5.5

Execution status

monitoring

1.

The scan cycle value includes the scan overhead and all interrupts

occurring during the scan.

2.

With the main program and the sub program execution times the

interrupt time for any interrupts occurring are excluded.

NOTE