Mitsubishi Electric MELSEC-Q/L Programming Manual page 780

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

■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]
7 APPLICATION INSTRUCTIONS
778
7.19 Other Instructions
[List Mode]
Step
Instruction
Device

Advertisement

Table of Contents
loading

Table of Contents