3-51
3 Data Exchange with the CPU Unit
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
3-3 De
vic
e
V
a
riab
les f
o
r CJ-series Un
it (Allocation
s
Set
tin
g T
a
b
le
, Sla
ve Deta
iled Sta
tus)
3
3-3-1 C
o
mm
u
n
ications C
y
cle
Time Settin
g
3-3
Device Variables for CJ-series Unit
(Allocations Setting Table, Slave
Detailed Status)
The following device variables for CJ-series Unit are used to set Allocations Setting Tables, reference
setup statuses and reference detailed statuses of slaves.
You can use one of the following methods to set the Communications Cycle Time Setting, Master User-
set Allocations Setup Table, Slave User-Set Allocations Setup Table.
1. Use Special Unit Setup Editing screen of Sysmac Studio.
2. Use a user program.
If it is necessary to change the System Setting while the user program is being executed, use the user
program to change the System Setting.
This sets the communications cycle time for the master using
*_CommCycleTmCfg
.
You can update the standard communications cycle time with
*_Sw1CycleTmTmpSet
(Temporary
Setting Switch for Communications Cycle Time) and
*_Sw1CycleTmSetCmd
(Communications Cycle
Time Setting Switch). For details on these switches, refer to
of
Variables for CJ-series Unit (Software Switches, Statuses)
*_CommCycleTmCfg
UINT
RW
Communications Cycle Time Setting
*_MstrAlocTblCfg[0 to 5]
UINT
RW
Master User-set Allocations Setup Table
*_MstrAlocTblCfgSta
WORD
R
Setting Results of Master User-set Allocations Setup
*_SlavAlocTblCfg[0 to 5]
UINT
RW
Slave User-set Allocations Setup Table
*_ SlavAlocTblCfgSta
WORD
R
Setting Results of Slave User-set Allocations Setup
*_CycleTmRefTblSta[0 to 3]
UINT
R
Communications Cycle Time Reference Table
*_MstrAlocRefTblSta[0 to 11]
UINT
R
Master User-set Allocations Reference Table
*_SlavAlocRefTblSta[0 to 11]
UINT
R
Slave User-set Allocations Reference Table
*_Nd0Sta to *_Nd63Sta
BYTE
R
Detailed Slave Status Table for Node Addresses 0 to
63
3-3-1
Communications Cycle Time Setting
Name of device variable for
CJ-series Unit
Type
R/W
Area
Function
*_CommCycleTmCfg
UINT
RW
Communi-
cations
Cycle Time
Setting
Sets the communications cycle time in mil-
liseconds. If this bit is set to FALSE, the
optimum time calculated by the Unit will
be used. If a value higher than 500 ms is
set, the Unit will operate at 500 ms.
If the setting cannot be correctly made for
some reason,
*_Mstr1CycleTmSetErr
(Communications Cycle Time Setting
Failed) in Master Status 1 is changed to
TRUE, and
*_Sw1CycleTmTmpSet
(Tem-
porary Setting Switch for Communications
Cycle Time) and
*_Sw1CycleTmSetCmd
return to FALSE.
Data range: 0 to 500
Default: 0
Содержание 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: ......