3-21
3 Data Exchange with the CPU Unit
CJ-series PROFIBUS Slave Unit Operation Manual for NJ-series CPU Unit (W510)
3-7 Device Variables for CJ-series Unit (Configuration)
3
3-7-1 Slave Parameter Data (*_SlvParamSta)
Precautions for Correct UsePrecautions for Correct Use
The contents will only change
• When the unit has accepted a Set_Prm and a Chk_Cfg telegram from a master.
• When the slave exits 'data_exchange' state (resets all data to FALSE, except Master address
= 255).
The user should make sure not to overwrite this information by the CPU program.
DM indication is not synchronised with the CPU refresh cycle, this information is intended for
debugging purposes.
The CJ1W-PRT21 unit indicates slave parameter data information in the first two words of the allocated
Dm and Dm+1 area (*_SlvParamSta) allocated via the Machine No. setting.
3-7-1 Slave Parameter Data (*_SlvParamSta)
1514131211109876543210
*_SlvParamSta
*_SlvMstrAdr
*(Group assignment)
*_SlvGrp1
*_SlvGrp2
*_SlvGrp3
*_SlvGrp4
*_SlvGrp5
*_SlvGrp6
*_SlvGrp7
*_SlvGrp8
Name of Device Variable for CJ-
series Unit
Type R/W Description Function
*_SlvMstrAdr USINT R Master
Address
Low byte: Integer value (00 to 125) indicating
the node address of the PROFIBUS-DP Master
from which the Unit has received and accepted
the Chk_Cfg and Set_Prm telegrams. 255 indi-
cates that the slave has not been configured by
a master.
*_SlvGrp1 BOOL R Slave assigned
to Group 1
Indicates to which groups (numbered 1-8) the
slave has been assigned by the PROFIBUS-DP
master / configurator. When receiving a global
control command, the slave will decide if the
command is intended for a group of slaves to
which it has been assigned.
The value is provided by the PROFIBUS mas-
ter's Set_Prm telegram, and indicated in D m
after both the Set_Prm and Chk_Cfg telegrams
have been accepted.
*_SlvGrp2 BOOL R Slave assigned
to Group 2
*_SlvGrp3 BOOL R Slave assigned
to Group 3
*_SlvGrp4 BOOL R Slave assigned
to Group 4
*_SlvGrp5 BOOL R Slave assigned
to Group 5
*_SlvGrp6 BOOL R Slave assigned
to Group 6
*_SlvGrp7 BOOL R Slave assigned
to Group 7
*_SlvGrp8 BOOL R Slave assigned
to Group 8