Appendices
A-60
NJ-series CPU Unit Software User’s Manual (W501)
Functional Classification: Debugging
A-4-2 PLC Function Module, Category Name: _PLC
Variable name _PLC_TraceSta[0..3] Members .IsStart
Meaning Trace Busy Flag Global/local Global
Function TRUE when a trace starts.
Note You cannot use these system-defined variables in the user program. It is used only to monitor the status of
data tracing from the Sysmac Studio.
Data type Structure: _sTRACE_STA, Members: BOOL Range of values TRUE or FALSE
R/W access R Retained Retained. Network Publish Not published.
Usage in user program Not possible. Related instruc-
tions
• TraceTrig
• TraceSamp
You can access this variable from the user program only with the following
instruction.
• GetTraceStatus
Variable name _PLC_TraceSta[0..3] Members .IsComplete
Meaning Trace Completed Flag Global/local Global
Function TRUE when a trace is completed.
Note You cannot use this system-defined variable in the user program. It is used only to monitor the status of
data tracing from the Sysmac Studio.
Data type Structure: _sTRACE_STA, Members: BOOL Range of values TRUE or FALSE
R/W access R Retained Retained. Network Publish Not published.
Usage in user program Not possible. Related instruc-
tions
• TraceTrig
• TraceSamp
You can access this variable from the user program only with the following
instruction.
• GetTraceStatus
Variable name _PLC_TraceSta[0..3] Members .IsTrigger
Meaning Trace Trigger Monitor Flag Global/local Global
Function TRUE when the trigger condition is met.
FALSE when the next trace starts.
Note You cannot use these system-defined variables in the user program. It is used only to monitor the status of
data tracing from the Sysmac Studio.
Data type Structure: _sTRACE_STA, Members: BOOL Range of values TRUE or FALSE
R/W access R Retained Retained. Network Publish Not published.
Usage in user program Not possible. Related instruc-
tions
• TraceTrig
• TraceSamp
You can access this variable from the user program only with the following
instruction.
• GetTraceStatus