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

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

Advertisement

Trial Operation and Debugging
Basic Procedure
1,2,3...
364
• 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.
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.
No. of words
sampled
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
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
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.
Sampling Start Bit
Trace Start Bit
Trace Trigger Monitor Flag
Trace Busy Flag
Trace Completed Flag
Sampling
The following traces can be executed.
Setting range
Section 7-2
×
10 =

Advertisement

Table of Contents
loading

Table of Contents