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-605
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
System Control Instructions
2
TraceTrig
TraceTrig
The TraceTrig instruction generates a trigger for data tracing.
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
progress 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.
Instruction Name FB/FUN Graphic expression ST expression
TraceTrig Data Trace Trigger FUN TraceTrig(TraceNo);
Variables
Name Meaning I/O Description Valid range Unit Default
TraceNo Trace num-
ber
Input Trace number 0 to 3
--- 0
Out Return
value
Output Always TRUE TRUE only
--- ---
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
TraceNo OK
Out OK
Function
(@)TraceTrig
EN ENO
TraceNo Out
TraceTrig(USINT#1);
LD
USINT#1
ST
TraceTrig
EN ENO
TraceNo

Table of Contents

Related product manuals