Omron CJ - PROGRAMMING MANUAL 08-2008 Programming Manual page 403

Programmable controllers
Hide thumbs Also See for CJ - PROGRAMMING MANUAL 08-2008:
Table of Contents

Advertisement

Trial Operation and Debugging
Scheduled Data Trace
One-cycle Data Trace
Data Trace via TRSM
Data Trace Procedure
1,2,3...
A scheduled data trace will sample data at fixed intervals. Specified sampling
times are 10 to 2,550 ms in 10-ms units. Do not use the TRSM instruction in
the user program and be sure to set the sampling period higher than 0.
A one-cycle data trace will sample I/O refresh data after the end of the tasks
in the full cycle. Do not use the TRSM instruction in the user program and be
sure to set the sampling period higher than 0.
A sample will be taken once when the TRACE MEMORY SAMPLING instruc-
tion (TRSM) instruction is executed. When more than one TRSM instruction is
used in the program, a sample will be taken each time the TRSM instruction is
executed after the trace trigger condition has been met.
Use the following procedure to execute a trace.
1. Use the CX-Programmer to set trace parameters. (Select PLC - Data Trace
or PLC - Time Chart Monitor to open the Data Tracing Configuration Win-
dow, and then select Execute - Set). Set the address of the sampled data,
sampling period, delay time, and trigger conditions.
2. Use CX-Programmer to start sampling or turn ON the Sampling Start Bit
(A50815).
Click this button to start
tracing data.
3. Put the trace trigger condition into effect.
Indicates when the trigger
condition is met.
Section 7-2
365

Advertisement

Table of Contents
loading

Table of Contents