Using The CX One Version 3 Data Trace Function
Using The CX One Version 3 Data Trace Function
Using the CX One Version 3 PLC Data Trace tool with an Omron CS / CJ / CP1 PLC
Note: When using CX One Version 3.x Data Trace tool with C and CV PLCs (CQM1, C200HX, CVM1 etc), the older style Data Trace tool as found in CX One Version 2.x is used. This document focuses on the new style Data Trace tool for CS / CJ / CP1 PLCs.
Note: Those items circled in blue are only available for CJ2 PLCs.
Bit Trigger
Trigger Conditions by PLC CJ1/CS1/CP1 OK OK OK Not Available Not Available Not Available Not Available Not Available CJ2 OK OK OK OK OK OK OK OK
Bit, Rising Edge Bit, Trailing Edge Channel, Equal Channel, Not Equal Channel, Greater Than Channel, Less Than Channel, Equal or Greater Than Channel, Equal or Less Than
Negative Delay
Positive Delay
Cyclic Sampling
Click OK to close the Data Trace Configuration window when finished adding items to trace.
Continuous Trace: This CJ2 exclusive feature allows data to be logged to CSV files on the PC to trace for long periods of time. Number of Samples: This is the number of samples that will be saved per .csv file. Maximum Time Span: How long the Continuous trace will run. Note: Not all sampled data may be read by the PC if very short (under 5 ms) sampling times are specified for Continuous Trace. Consult the manual for the CX Programmer (catalog number W466) for more details on this topic.
The current status can be seen at the bottom of the data trace window.
To allow the data trace to trigger naturally, do nothing. The software will automatically upload the trace when it is complete. To trigger manually from the software, click on the Trigger the Trace/ Time Chart as shown below. This will manually trigger the recording of the data with any user set sample delay.
Once a trace has completed, the Data Trace tool will automatically upload the traced data. If the trace was stopped manually using the (red) Stop button, then the trace data can be manually uploaded using the (blue) Read Trace Data button.
The Data Trace can also be executed from the configuration window by selecting Transfer (PC to PLC) when the Start Executing Automatically After Transfer (PC to PLC) option is selected.
6.1 Overview
The Data Trace shows the traced data with the Channel data in the upper window and the Bit data in the lower window, with the legend shown below. Each item can be shown or hidden using the Show selection. This allows the comparison of different data points while reducing the clutter of other data points.
The Data Trace tool also has the ability to measure the difference between 2 samples of the same data point. To use this function, select the Measure Difference icon (blue dual arrow) to enable 2 cursors. Position the 2 cursors along the data trace, and the legend will show the difference between the 2 samples for each data point. The difference will appear in the Difference column in the legend.
The Zoom Select button can be used to highlight a region of interest in either the channel or bit trace data. Click on the Zoom Select icon (square around the +) and then highlight the region of interest. To cancel the zoom, click on the Zoom Unselect icon (square around the -).
The number of samples per grid division can be entered manually for both the X and Y axis. Shown below are examples of 1 sample per grid division and 10 samples per grid division. For the X axis:
For the Y axis Each data point on the Y axis can be adjusted individually. In the legend, choose which data point to adjust by clicking on the Select box for that data point. Once a data point is selected, the numeric value between grid marks can be entered as shown.
Each trace item can be dragged up and down in the display window to allow superimpose it on the other data points. Click on a line to select it, and then drag it up or down. The same shifting can also be accomplished using the green up and down arrows as shown. These arrows are only visible when a channel data point is selected.
Units of measure (degrees, speed, level, etc) can also be added to the display for each channel data point by adding the unit of measure in the box shown above. The unit will be shown for the selected data point.
2. When using a CJ2 PLC, the Data Trace can be configured to run automatically when the PLC starts running, including upon powerup. This can be configured in the Data Trace Configuration.
3. The number of data points that can be traced has been expanded for the CJ2 to allow tracing of up to 31 bits and 16 channels of data. 4. Functions that are exclusive to the CJ2 that have been previously described in this document include a. Continuous Trace b. 1 ms Time Based Sampling (was 10ms on CS / CJ / CP1) c. Specification of the number of samples to be taken d. Additional channel triggering options (not equal, less than, etc)