EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Page 406

Omron CJ - PROGRAMMING MANUAL 12-2009
448 pages
Print Icon
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...
366
Trial Operation and Debugging Section 7-2
Specified sampling time (10 to 2,550 ms in 10-ms units)
One sample per cycle
When the TRACE MEMORY SAMPLING instruction (TRSM) is executed
Up to 31 bits and 6 words in I/O memory can be specified for sampling. Trace
Memory capacity is 4,000 words.
Basic Procedure
1,2,3... 1. Sampling will start when the parameters have been set from the CX-Pro-
grammer and the command to start tracing has been executed.
2. Sampled data (after step 1 above) will be traced when the trace trigger
condition is met, and the data just after the delay (see note 1) will be stored
in Trace Memory.
3. Trace Memory data will be sampled, and the trace ended.
Note Delay value: Specifies how many sampling periods to offset the sampling in
Trace Memory from when the Trace Start Bit (A50814) turns ON. The setting
ranges are shown in the following table.
Positive delay: Store data delayed by the set delay.
Negative delay: Store previous data according go to the set delay.
Example: Sampling at 10 ms with a –30 ms delay time yields –30
× 10 =
300 ms, so data 300 ms before the trigger will be stored.
Note Use a Programming Device to turn ON the Sampling Start Bit (A50815).
Never turn ON this bit from the user program.
The following traces can be executed.
No. of words
sampled
Setting range
0 –1999 to 2000
1 –1332 to 1333
2 –999 to 1000
3 –799 to 800
4 –665 to 666
5 –570 to 571
6 –499 to 500
Sampling Start Bit
Trace Start Bit
Trace Trigger Monitor Flag
Trace Busy Flag
Trace Completed Flag
Sampling

Table of Contents

Related product manuals