Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

LD
USINT#1
USINT#2
The present values for all variables that are set to be sampled are read and stored
with trace number TraceNo and sampling point number Point in trace memory.
TraceNo
USINT#1
USINT#2
Point
-------------- --------------
-------------- --------------
Present values of all
variables that are set
to be sampled
Related System-defined Variables
Name
Meaning
Trace Information
*1
*1 NX701 or NJ501 CPU Unit, and NY-series Controller: The variable name is _PLC_TraceSta[0..3].
NX1P2, NJ301 or NJ101 CPU Unit: The variable name is _PLC_TraceSta[0..1].
*2 _sTRACE_STA[]
*3 Refer to the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) or NY-series Industrial Panel PC / Industrial
Box PC Software User's Manual (Cat. No. W558) for details.
Additional Information
• Refer to the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501) or NY-series Industrial
Panel PC / Industrial Box PC Software User's Manual (Cat. No. W558) 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 Data Trace Window in the
Sysmac Studio were returned by which TraceSamp instruction. Point will default to 0 if it is omitted.
Precautions for Correct Use
• 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.
• An error occurs in the following case. ENO will be FALSE.
• The value of TraceNo is outside of the valid range.

NY-series Instructions Reference Manual (W560)

ST
TraceSamp
EN
ENO
TraceNo
Point
Stored.
Data type
*2
TraceSamp(USINT#1, USINT#2);
Trace
memory
Description
*3
Trace information
2 Instruction Descriptions
2
2-797

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents