3 Data Exchange with the CPU Unit
3-30
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
The following device variables for CJ-series Unit is used to reference all information of Unit Status 2.
The following device variables for CJ-series Unit are used to reference individual information.
3-2-6
Unit Status 2
Name of device variable for
CJ-series Unit
Type
R/W
Area
Function
*_Unit2Sta
WORD
R
Unit Status
2
Bit 00: Online Status
Bit 01: Remote I/O Communications Sta-
tus
Bit 02: Reserved by system
Bit 03: Master Function Enabled Status
Bit 04: Scan List Disabled Status
Bit 05: Reserved by system
Bit 06: Automatic Slave Connection Status
Bit 07: Slave Function Enabled Status
Bit 08: File Read/Write Error
Bit 09: Reserved by system
Bit 10: Reserved by system
Bit 11: Reserved by system
Bit 12: Reserved by system
Bit 13: Reserved by system
Bit 14: Reserved by system
Bit 15: Error History Registered Flag
Default: 16#0000
Name of device variable for
CJ-series Unit
Type
R/W
Area
Function
*_OnlineSta
BOOL
R
Online Sta-
tus
<Operation specifications>
TRUE:
Indicates that the Unit is online.
Note
When the Send Command instruc-
tion (SendCmd) is executed from the
user program, use
_Port_isAvailable
(Communications Port Enabled
Flag) in the CPU Unit and this flag
as an AND input condition.
FALSE:
Indicates that the Unit is offline.
A Unit will go offline under the following
conditions:
•
Operation is stopped by the hard-
ware/software check at startup.
•
An error occurred in the duplicate node
address check (Refer to
*_NdAdrDupErr
(Node Address Duplicated Error)).
•
A Bus OFF error occurred (Refer to
*_BusoffErr
(Bus Off Error)).
Default: FALSE
Summary of Contents for CJ1W-DRM21
Page 12: ...Manual Structure 10 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...
Page 42: ...Revision History 40 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...
Page 345: ...Index 1 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 I Index ...
Page 349: ......