A-59
Appendices
NJ-series CPU Unit Software User’s Manual (W501)
A-4 Specifications for Individual System-defined Variables
App
A-4-1 System-defined Variables for the Overall NJ-series Controller (No Category)
Functional Classification: Communications
*1 The network for CPU Units with unit version 1.07 or earlier is not published.
Functional Classification: Version
*1 This system-defined variable was added for unit version 1.08 of the CPU Unit.
Variable name _Port_numUsingPort
Meaning Number of Used Ports Global/local Global
Function Gives the number of internal logical ports that are currently used.
You can use this variable when you debug the user program.
Data type USINT Range of values 0 to 32
R/W access R Retained Not retained. Network Publish Not published.
Usage in user program Possible. Related instruc-
tions
Communications instructions (ExecPMCR, SerialSend, SerialRcv, Send,
Rcv, and SendCmd)
Variable name _Port_isAvailable
Meaning Network Communications Instruction Enabled Flag Global/local Global
Function Indicates whether there is an available internal logical port.
TRUE when an internal logical port is available. Otherwise FALSE.
Data type BOOL Range of values TRUE or FALSE
R/W access R Retained Not retained. Network Publish Not published.
Usage in user program Possible. Related instruc-
tions
Communications instructions (ExecPMCR, SerialSend, SerialRcv, Send,
Rcv, and SendCmd)
Variable name _FINSTCPConnSta
Meaning FINS/TCP Connection Status Global/local Global
Function Gives the FINS/TCP connection status.
Data type WORD Range of values 16#0000 to 16#FFFF
R/W access R Retained Not retained. Network Publish
Published.
*1
Usage in user program Possible. Related instruc-
tions
---
Variable name _UnitVersion
*1
Meaning Unit Version Global/local Global
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 Range of values 0 to 99
R/W access R Retained Not retained. Network Publish Published.
Usage in user program Possible. Related instruc-
tions
---