1 Features and System Configuration
1-20
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
Precautions for Correct UsePrecautions for Correct Use
Slave communications must be disabled prior to area allocation when you use fixed allocations
or allocations set in the device variable for CJ-series Unit, and the settings must be read to the
Unit when slave communications are enabled.
Allocations will not be valid if slave communications are enabled during area allocation.
Create an I/O table, and switch the CPU Unit to PROGRAM mode.
Change "*_Sw2SlavEnblCmd" (Slave Enable Switch) to TRUE from the Sysmac Studio.
Note: Execute this only when slave communications are turned OFF. (If the Master Enable Switch is turned ON when master
communications are enabled, a Unit error will occur and a C2 error will be displayed on the 7-segment indicator on the front panel.)
Define user-defined variables in the area to which I/O data is allocated.
Switch the CPU Unit to RUN mode.
Slave remote I/O communications will begin.
Fixed Allocations
Change "*_Sw2SlavFixAloc1Cmd"
to "*_SlavFixAloc3Cmd"
(Slave Fixed Allocation
Setting 1 to 3 Switches)
to TRUE from the Sysmac Studio.
User-set Allocations Using Device Variables for
CJ-series Unit
User-set Allocations Using CX-Integrator
(Refer to the CX-Integrator manual)
Input data in advance into
"*_SlavAlocTblCfg[0] "
to "*_SlavAlocTblCfg[5] "
(Slave User-set Allocations
Setup Table).
Create a device parameter file
from the CX-Integrator. (Enable
Slave function in CJ1W-DRM21
properties at this time.) Then
download the file to the
DeviceNet Unit.
Change "*_Sw2SlavAlocCmd"
(Slave User Allocations Switch)
to TRUE from the Sysmac Studio.
Change "*_Sw2SlavDsblCmd" (Slave Stop
Switch) to TRUE from the Sysmac Studio.
Check to see if the slave function is disabled.
<Check "*_SlavEnblSta" (Slave Function Enabled)
from the Sysmac Studio.>
TRUE (Slave function enabled)
FALSE
(Slave function disabled)
Slave function
disabled
Pre
operations
Slave function
enabled
Area allocationsArea allocations
(Refer to 5-2 Fixed Allocations)
(Refer to 5-3 User-set Allocations)