Differential Monitoring - Omron NJ-series User Manual

Machine automation controller cpu unit software
Hide thumbs Also See for NJ-series:
Table of Contents

Advertisement

8 CPU Unit Functions
Additional Information
For function blocks that contain motion control instructions, the values of input parameters are
passed to the input variables when execution of the function block starts, and the values of the
output variables are passed to the output parameters when execution of the function block ends.
(Refer to Variable Designations for Function Blocks on page 6-11.) On the data trace displays,
input parameters and input variable, and output parameters and output variables, change in the
same task period.
Related System-defined Variables
Variable name
Member
_PLC_TraceSta[0..3]
.IsStart
.IsComplete Trace Completed
.IsTrigger
.ParamErr
* These numbers correspond to the data trace numbers 0 to 3.
Note You cannot use these system-defined variables in the user program. Use the GetTraceStatus instruction to
read the status of data tracing from the user program.
8-5-5

Differential Monitoring

Differential monitoring reports the number of times the value of the specified BOOL variable matches
the specified condition. The specified condition is evaluated for a match in every task period of the pri-
mary periodic task (called the primary period). Differential monitoring provides a running total of the
number of times the condition is matched.
Sysmac Studio
The number of times the
value of the BOOL variable
changes is reported.
8-42
Meaning
*
Trace Busy Flag
TRUE when a trace starts.
TRUE when a trace is completed.
Flag
Changes to FALSE when the next trace
starts.
Trace Trigger
TRUE when the trigger condition is met.
Monitor Flag
Changes to FALSE when the next trace
starts.
Trace Parameter
Changes to TRUE when a trace starts if
Error Flag
there is an error in the trace settings.
FALSE when the settings are normal.
CPU Unit
Description
NJ-series CPU Unit Software User's Manual (W501)
Data type
R/W
_sTRACE_STA
R
BOOL
R
BOOL
R
BOOL
R
BOOL
R

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents