EasyManua.ls Logo

Omron NJ501-1500

Omron NJ501-1500
990 pages
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...
2-603
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
System Control Instructions
2
TraceSamp
*_sTRACE_STA[]
Refer to the NJ-series CPU Unit Software User’s Manual (Cat. No. W501) for details on data tracing.
Tracing is used to sample the values of specified variables under specified conditions. The conditions
are specified from the Sysmac Studio.
This instruction can be located in more than one place in the user program. Programming can be
written to sample according to specific conditions.
Point can be suitably set so that you can see which sampled values on the Trace Window in the Sys-
mac Studio were returned by which TraceSamp instruction. Point will default to 0 if it is omitted.
Return value Out is not used when the instruction is used in ST.
In the following cases, nothing is done and the instruction ends normally.
Data tracing is stopped.
The sampling timing is not set to sampling instructions in the trace settings.
The value of TraceNo is not the trace number set from the Sysmac Studio.
Related System-defined Variables
Name Meaning Data type Description
_PLC_TraceSta[0..3] Trace Information * Trace information
Refer to the NJ-series CPU Unit Software
User's Manual (Cat. No. W501) for details.
Additional Information
Precautions for Correct Use

Table of Contents

Related product manuals