Communication Example When The Slave Module Is Added Or Deleted; System Configuration Example - Mitsubishi Electric MELSEC iQ-R AnyWireASLINK User Manual

Master module
Table of Contents

Advertisement

3.2
Communication Example When the Slave Module
is Added or Deleted
The parameter of the slave module is moved over in order of ID and stored in 'Parameter storage area' (Un\G12288 to
Un\G18431) after the automatic address detection function is executed.
Because of this, the address of the parameter storage area for the slave module later than the ID where the slave module is
added or deleted in the AnyWireASLINK system is changed. (The parameter of a non-existing ID is deleted and displayed.)
Therefore, the address of the slave module later than the ID where the slave module is added or deleted must be changed
when a program is created with buffer memory addresses directly specified. (This also applies if the ID is changed and sorting
order is switched.)
To create a program that reads/writes the parameter without considering the addition or deletion of slave modules, use the
following buffer memory areas.
Address
Un\G10496 to Un\G10751
Un\G11008 to Un\G11263
Un\G19456 to Un\G19967
Un\G19968 to Un\G20479
After automatic address detection, the start address of the buffer memory that stores the parameter of the ID is stored in these
areas. ( Page 105 Parameter storage location memory number)

System configuration example

This section describes when the ASLINKER M12 connector type (input type) is added with address 10.
A slave module (address 10) of (4) is added in the following system configuration.
System configuration
• Power supply module: R61P
• CPU module: R04CPU
• AnyWireASLINK master module: RJ51AW12AL (start I/O number: 0000H to 001FH)
No.
Slave module
(1)
ASLINKER cable type
(2)
(3)
(4)
ASLINKER M12 connector type
(5)
(6)
Name
Parameter storage location memory number (bit output)
Parameter storage location memory number (bit input)
Parameter storage location memory number (word output)
Parameter storage location memory number (word input)
(1)
(2)
Input type
Mixed type
Output type
Input type
Mixed type
Output type

3.2 Communication Example When the Slave Module is Added or Deleted

(3)
(4)
Address
0
2
4
10
20
22
(5)
(6)
ID
200H
202H
004H
20AH
214H
016H
3 PROGRAMMING
63
3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r seriesMelsec iq anywireaslink rj51aw12al

Table of Contents