EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 780

Mitsubishi Electric MELSEC-Q/L
1084 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...
778
7 APPLICATION INSTRUCTIONS
7.19 Other Instructions
TRACE
The TRACE instruction is an instruction which performs the following: turn ON SM803, perform the sampling for the number
of the sampling trace after executing the TRACE instruction, latch the sampling traces result, and stop the sampling trace.
The sampling is stopped if SM801 is turned OFF during the trace execution.
After the TRACE instruction is executed and the sampling trace is stopped, SM805 is turned ON.
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
The TRACER instruction resets the TRACE instruction. When the TRACER instruction is executed, the TRACE instruction
is enabled again.
When the TRACER instruction is executed, SM803 to SM805 are turned OFF.
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.
The execution of sampling traces is also possible with a programming tool. For the execution of sampling
traces by the programming tool, refer to the operating manual for the programming tool used.
Operation error
There is no operation error in the TRACE or TRACER instruction.
Program example
The following program executes the TRACE instruction when X0 is turned ON, and resets the TRACE instruction with the
TRACER instruction when X1 is turned ON.
[Ladder Mode] [List Mode]
Instruction
Device
Step

Table of Contents

Related product manuals