Settings Through Device Variables For Cj-Series Unit (Slave User-Set Allocations Setup Table) - Omron CJ1W-DRM21 Operation Manual

Machine automation controller cj-series, nj-series cpu unit
Hide thumbs Also See for CJ1W-DRM21:
Table of Contents

Advertisement

5 Remote I/O Slave Communications
5-3-2
Settings through Device Variables for CJ-series Unit (Slave User-
set Allocations Setup Table)
You can allocate words for the OUT 1 area (master to Slave Unit) and IN 1 area (Slave Unit to mas-
ter) from any specified location for the memory used for CJ-series Unit specified in the settings in the
device variables for CJ-series Unit. To access a slave allocated to the memory used for CJ-series
Unit from the user program, user-defined variables that specify the AT specification of the memory
used for CJ-series Unit to which the slave is allocated must be defined.
Specified areas in memory used for CJ-series Unit
Bit
15
First word
specified
to
Bit
15
First word
specified
to
Connection Types
The type of connection cannot be specified when the device variables for CJ-series Unit is used for set-
tings. The master specifies a poll, bit-strobe, COS, or cyclic connection.
Allocation Procedures
Step 1: Set the CPU Unit to PROGRAM Mode.
Step 2: Stop Slave Communications
If the Unit already functions as a slave, change *_Sw2SlavDsblCmd (Slave Stop Switch) to TRUE to
stop slave communications. This step is not necessary if slave communications are stopped.
Step 3: Set the Slave User-set Allocations Table
This table is used to specify the areas, first words, and sizes for OUT block 1 and IN block 1 to the
device variables for CJ-series Unit below.
• Slave User-set Allocations Setup Table
Name of device variables for
CJ-series Unit
*_SlavAlocTblCfg[0]
*_SlavAlocTblCfg[1]
*_SlavAlocTblCfg[2]
*_SlavAlocTblCfg[3]
5-12
Slave
0
OUT 1 area
0
IN 1 area
Type
UINT
Slave OUT 1 area
UINT
First word in slave OUT 1 area
UINT
OUT 1 area size
UINT
Slave IN 1 area
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
Master
OUT area
IN area
Name
Range
0 to 20
0 to 32767
0 to 200
0 to 20

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents