70
7 FUNCTIONS
7.10 Slave Module Parameter Read/Write
Parameter access
The operating procedure for parameter access is as follows.
• Clear the unset IDs and ID duplication of the slave module before performing parameter access.
• Because parameter individual write and parameter batch write update all parameters of the target slave
module, read the parameters before writing and ensure that all of the parameters, including the unchanged
parts, are set correctly when writing.
• Parameter access does not affect the AnyWireASLINK transmission cycle time.
• Parameter batch read is automatically executed after the automatic address detection function is
performed.
• Parameter access completion flag (RX11) is off when Slave module parameter access request command
(RY10), Slave module parameter batch read command (RY11), or Slave module parameter batch write
command (RY12) have turned on. When Parameter access completion flag (RX11), Slave module
parameter access request command (RY10), Slave module parameter batch read command (RY11), and
Slave module parameter batch write command (RY12) are all turned off, the flag turns on.
For details on adjusting the access timing, refer to the following.
Page 72 Parameter access timing
• Upon parameter batch read or parameter batch write, the values stored in Parameter access setting
(RWw0) and Parameter access target module ID specification (RWw1) are ignored.
■
Parameter individual read
A sample program for reading individual parameters is as follows.
Page 101 Parameter individual read
1.
Specify the access method.
Store 0000H (read) in Parameter access setting (RWw0).
2.
Specify the access target ID.
Store the access target ID in Parameter access target module ID specification (RWw1).
3.
Turn on Slave module parameter access request command (RY10).
At this time, Parameter access completion flag (RX11) turns off.
4.
Turn off Slave module parameter access request command (RY10).
5.
When the parameter access is completed, Parameter access completion flag (RX11) automatically turns on.
6.
After the Parameter access completion flag (RX11) turns on, use the SLMPSND instruction to acquire the start address
where the parameters of the access target ID are stored from the parameter storage location memory address.
For details on the SLMPSND instruction, refer to the following.
MELSEC iQ-R Programming Manual (Module Dedicated Instructions)
7.
Read 48 words of data from the start address acquired using the SLMPSND instruction.
*1 For details on the 48 words of data that were read, refer to the following.
Summary of Contents for AnyWire ASLINK
Page 1: ...CC Link IE TSN AnyWireASLINK Bridge Module User s Manual NZ2AW1GNAL ...
Page 2: ......
Page 22: ...20 3 PROCEDURES BEFORE OPERATION MEMO ...
Page 96: ...94 8 PROGRAMMING 8 2 Program Example Program ...
Page 100: ...98 8 PROGRAMMING 8 2 Program Example Program ...
Page 101: ...8 PROGRAMMING 8 2 Program Example 99 8 ...
Page 199: ......