Mitsubishi Electric AnyWire ASLINK User Manual page 72

Programmable controller
Table of Contents

Advertisement

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.
Page 163 Slave parameter storage area
7 FUNCTIONS
70
7.10 Slave Module Parameter Read/Write

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nz2aw1gnal

Table of Contents