3-9
3 Data Exchange with the CPU Unit
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
3-2
De
vice V
a
riab
les
f
o
r CJ-series
Unit (Software
S
w
itc
h
es, Statuses)
3
3-2-1 Soft
w
a
re Switches 1
3-2
Device Variables for CJ-series Unit
(Software Switches, Statuses)
When you operate and reference software switches and statuses, use the following device variables for
CJ-series Unit allocated to the I/O port of this Unit.
The function of each device variable for CJ-series Unit is explained below.
Described with variables names automatically created on the I/O Map View window.
Use one of the following device variables for CJ-series Unit is used to operate Software Switches 1 from
the user program:
•
WORD-type device variable for CJ-series Unit holding all switch functions contained in Software
Switches 1
•
BOOL-type device variable for CJ-series Unit separating functions per each switch contained in Soft-
ware Switches 1
All switches execute some functions when the user changes them to TRUE. They change to FALSE
automatically after the functions are executed.
Once a function is set by changing a switch to TRUE (except for the switches listed below), it is saved
regardless of whether the power is turned OFF and ON again.
•
*_Sw1IOCommStartCmd
(Remote I/O Communications Start Switch)
•
*_Sw1IOCommStopCmd
(Remote I/O Communications Stop Switch)
Note
No functions other than the master and slave communications are disabled by stopping master
or slave communications.
If multiple switches are changed to TRUE simultaneously, the requests will generate errors and Unit
operation will remain unchanged.
The device variables for CJ-series Unit corresponding to the following words will change to TRUE if a
request made by a software switch ends in an error.
•
*_Unit2Sta
(Unit Status 2)
•
*_Mstr1Sta
(Master Status 1)
Name of device variable for
CJ-series Unit
Type
R/W
Area
*_Sw1Cmd
WORD
RW
Software Switches 1
*_Sw2Cmd
WORD
RW
Software Switches 2
*_MstrCOSSendCmd
LWORD
RW
Master COS Send Switch
*_CnctCmd
LWORD
RW
Disconnect/Connect Switches
*_Unit1Sta
WORD
R
Unit Status 1
*_Unit2Sta
WORD
R
Unit Status 2
*_Mstr1Sta
WORD
R
Master Status 1
*_Mstr2Sta
WORD
R
Master Status 2
*_Slav1Sta
WORD
R
Slave Status 1
*_Slav2Sta
WORD
R
Slave Status 2
*_RegSlavTblSta
LWORD
R
Registered Slave Table
*_NormSlavTblSta
LWORD
R
Normal Slave Table
*_CMstrSta
WORD
R
C200H Master Replacement Master Status 1
3-2-1
Software Switches 1
Содержание CJ1W-DRM21
Страница 12: ...Manual Structure 10 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...
Страница 42: ...Revision History 40 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...
Страница 214: ...6 Message Communications 6 26 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...
Страница 345: ...Index 1 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 I Index ...
Страница 349: ......