Omron CS1G/H-CPUxx-EV1 Programming Manual page 390

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxx-EV1:
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...
354
Sampling Start Bit
Trace Start Bit
Trace Trigger Monitor Flag
Trace Busy Flag
Trace Completed Flag
Sampling
The following traces can be executed.
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 (Execute PLC/Data Trace
and set under Execute/Set.): Address of the sampled data, sampling peri-
od, delay time, and trigger conditions.
2. Use CX-Programmer to start sampling or turn ON the Sampling Start Bit
(A50815).
3. Put the trace trigger condition into effect.
4. End tracing.
5. Use CX-Programmer to read the trace data.
a) Select Data Trace from the PLC Menu.
b) Select Select from the Execution Menu.
c) Select Execute from the Execution Menu.
d) Select Read from the Execution Menu.
Section 7-2

Advertisement

Table of Contents
loading

Table of Contents