Plc Function Module, Category Name: _Plc - Omron NJ501-1 Series User Manual

Machine automation controller nj-series cpu unit hardware
Table of Contents

Advertisement

Variable name
_RetainFail
Meaning
Retention Failure Flag
Function
TRUE at the following times (failure of retention during power interruptions).
• When an error is detected in the battery-backup memory check at startup.
FALSE at the following times (no failure of retention during power interruptions).
• When no error is detected in the battery-backup memory check at startup.
• When the user program is downloaded.
• When the Clear All Memory operation is performed.
Note When the encoder home offset data is not retained, the status is given in the error status of the axis vari-
Data type
BOOL
R/W access
R
Usage in user program
Possible.
 Functional Classification: Version
Variable name
_UnitVersion
Meaning
Unit Version
Function
The unit version of the CPU Unit is stored.
The integer part of the unit version is stored in element number 0.
The fractional part of the unit version is stored in element number 1.
Example 1) If the unit version is 1.08, "1" is stored in element number 0 and "8" is stored in element number 1.
Example 2) If the unit version is 1.10, "1" is stored in element number 0 and "10" is stored in element number 1.
Data type
ARRAY[0..1] OF USINT
R/W access
R
Usage in user program
Possible.
*1
This system-defined variable was added for unit version 1.08 of the CPU Unit.
A-7-2

PLC Function Module, Category Name: _PLC

 Functional Classification: Errors
Variable name
_PLC_ErrSta
Meaning
PLC Function Module Error Status
Function
TRUE when there is a Controller error that involves the PLC Function Module.
FALSE when there is no Controller error that involves the PLC Function Module.
Refer to A-6-4 Meanings of Error Status Bits for the meanings of the error status bits.
Data type
WORD
R/W access
R
Usage in user program
Possible.
NJ-series CPU Unit Hardware User's Manual (W500)
able, and not in this flag.
Retained
Not retained.
Related instruc-
---
tions
*1
Retained
Not retained.
Related instruc-
---
tions
Retained
Related instruc-
tions
Global/local
Range of values
Network Publish
Global/local
Range of values
Network Publish
Global/local
Range of values
Not retained.
Network Publish
• GetPLCError
You can use the following instruction to clear this variable.
• ResetPLCError
Appendices
Global
TRUE or FALSE
Not published.
Global
0 to 99
Published.
Global
16#0000 to 16#00F0
Published.
A-119

Advertisement

Table of Contents
loading

Table of Contents