EasyManuals Logo

Omron NJ Series User Manual

Omron NJ Series
668 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
Page #559 background imageLoading...
Page #559 background image
Appendices
A-32
NJ-series CPU Unit Software User’s Manual (W501)
Functional Classification: Programming
Functional Classification: Communications
Variable name Meaning Function Data type
Range of
values
Reference
P_On Always TRUE
Flag
This flag is always TRUE. BOOL TRUE page A-57
P_Off Always FALSE
Flag
This flag is always FALSE. BOOL FALSE page A-58
P_CY Carry Flag This flag is updated by some instructions. BOOL TRUE or
FALSE
page A-58
P_First_RunMode First RUN Period
Flag
This flag is TRUE for only one task period
after the operating mode of the CPU Unit is
changed from PROGRAM mode to RUN
mode if execution of the program is in prog-
ress.
This flag remains FALSE if execution of the
program is not in progress.
Use this flag to perform initial processing
when the CPU Unit begins operation.
Note You cannot use this system-defined
variable inside functions.
BOOL TRUE or
FALSE
page A-58
P_First_Run
(Ver.1.08)
First Program
Period Flag
This flag is TRUE for one task period after
execution of the program starts.
Use this flag to perform initial processing
when execution of a program starts.
Note You cannot use this system-defined
variable inside functions.
BOOL TRUE or
FALSE
page A-58
P_PRGER Instruction Error
Flag
This flag changes to and remains TRUE when
an instruction error occurs in the program or
in a function/function block called from the
program.
After this flag changes to TRUE, it stays
TRUE until the user program changes it back
to FALSE.
BOOL TRUE or
FALSE
page A-58
Variable name Meaning Function Data type
Range of
values
Reference
_Port_numUsingPort Number of Used
Ports
Gives the number of internal logical ports that
are currently used. You can use this variable
when you debug the user program.
USINT 0 to 32 page A-59
_Port_isAvailable Network Commu-
nications Instruc-
tion Enabled Flag
Indicates whether there is an available inter-
nal logical port.
TRUE when an internal logical port is avail-
able. Otherwise FALSE.
BOOL FALSE or
TRUE
page A-59
_FINSTCPConnSta FINS/TCP Con-
nection Status
Gives the FINS/TCP connection status. WORD 16#0000 to
16#FFFF
page A-59

Table of Contents

Other manuals for Omron NJ Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ Series and is the answer not in the manual?

Omron NJ Series Specifications

General IconGeneral
Program CapacityUp to 128 MB
SD Card SlotYes
Power Supply Voltage24 VDC
Motion ControlYes
USB Ports1
Operating Temperature0°C to 55°C
Communication InterfacesEthernet/IP, EtherCAT, USB
Safety FunctionOptional
Storage Temperature-20°C to 75°C
Communication PortsUSB
DimensionsVaries by model
WeightVaries by model

Related product manuals