Mitsubishi MELSEC-Q/L Programming Manual page 629

Table of Contents

Advertisement

Function
The sampling trace is the function that collects the device data of a CPU module consecutively.
To execute the sampling trace, turn ON SM801 when SM800 is ON.
SM800
(Preparation for trace)
SM801
(Starting trace)
SM802
(During the execution of trace)
SM803
(Trigger for trace)
SM804
(After the execution of trace
trigger)
SM805
(Completion of trace)
TRACE
(1) The TRACE instruction latches the result of sampling trace and stops the sampling trace.
(2) The sampling is stopped if SM801 is turned OFF during the trace execution.
(3) After the TRACE instruction is executed and the sampling trace is stopped, SM805 is turned ON.
(4) Once the TRACE instruction is executed, the second and the subsequent TRACE instructions are ignored.
When the TRACER instruction is executed, the TRACE instruction is enabled again.
TRACER
(1) The TRACER instruction resets the TRACE instruction. When the TRACER instruction is executed, the TRACE
instruction is enabled again.
(2) When the TRACER instruction is executed, SM803 to SM805 are turned OFF.
Remark
1. The target devices for the sampling trace and its timing can be set with a programming tool.
For details of the sampling trace, refer to the user's manual (Function Explanation, Program Fundamentals) for the CPU
module used.
2. The sampling trace can be executed with a programming tool.
For sampling trace execution with a programming tool, refer to the operating manual for the programming tool used.
Operation Error
(1) There is no operation error in the TRACE or TRACER instruction.
TRACE
Trace start request Trigger condition enabled
Total number of traces
TRACE, TRACER
Trace ends by
number of trace
after trigger
Number of trace
after trigger
1
2
TRACER
Trace reset
3
4
4
6
7
8
627

Advertisement

Table of Contents
loading

Table of Contents