Tracetrig - Omron NY532-5400 Reference Manual

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

Advertisement

TraceTrig

The TraceTrig instruction generates a trigger for data tracing.
Instruction
TraceTrig
Data Trace Trigger
Variables
Name
Meaning
TraceNo
Trace
number
Out
Return
value
*1 The range is 0 to 3 for an NX701 or NJ501 CPU Unit, and for an NY-series Controller.
The range is 0 to 1 for an NX1P2, NJ301 or NJ101 CPU Unit.
Bit strings
TraceNo
Out
OK
Function
The TraceTrig instruction generates a trigger for data tracing. It does not matter whether the trigger con-
ditions that were set from the Sysmac Studio have been met. Sampling starts if data tracing is in prog-
ress for trace number TraceNo when the instruction is executed.
The following figure shows a programming example. Here, a data trace trigger is generated for trace
number 1.
LD
USINT#1
Here, a data trace trigger is generated for trace number TraceNo.
Trace number
TraceNo
USINT#1
NY-series Instructions Reference Manual (W560)
Name
FB/FUN
FUN
I/O
Description
Input
Trace number
Output
Always TRUE
OK
TraceTrig
EN
ENO
TraceNo
Trigger generated for data trace.
Graphic expression
(@)TraceTrig
EN
ENO
TraceNo
Valid range
*1
TRUE only
Integers
ST
TraceTrig(USINT#1);
Sampling is started.
2 Instruction Descriptions
ST expression
TraceTrig(TraceNo);
Out
Unit
---
0
---
---
Times, durations, dates,
and text strings
2
Default
2-799

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents