Master Function (Message Communication); Reading Attribute Data - Mitsubishi Electric MELSEC iQ-R Series User Manual

Devicenet master/slave module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

1.2

Master Function (Message Communication)

This function reads/writes the attribute data of the slave node, acquires communication error information, and requests a reset
message using the buffer memory of the RJ71DN91.
For details on other message communications, refer to DeviceNet common service in THE CIP NETWORKS LIBRARY
Volume 3 DeviceNet Adaptation of CIP Edition 1.14.
The message data of 240 bytes can be communicated at once.
For the execution timing, refer to the following.
Page 67 For message communication (X02), (X05), (Y12)

Reading attribute data

CPU module
T0
SET
Y12
FROM
X02 X05
FROM
X02 X05
Message communication
completion
(1) Message communication command
(2) Message communication result
(3) Message communication data
(4) Attribute
 Set the command data in 'Message communication command' (Un\G272 to Un\G287) (0110H to 011FH).
 When 'Message communication request' (Y12) is turned on, the master node reads the attribute data from the slave node set with the command data.
 The attribute data of the slave node is stored in 'Message communication data' (Un\G304 to Un\G423) (0130H to 01A7H).
 When the read processing completes, the processing result is stored in 'Message communication result' (Un\G288 to Un\G303) (0120H to 012FH) and
'Message communication completion' (X02) turns on.
 The attribute data of the slave node stored in 'Message communication data' (Un\G304 to Un\G423) (0130H to 01A7H) is written to the CPU module.
 When the read processing completes with an error, 'Message communication error signal' (X05) turns on. The content of 'Message communication result'
(Un\G288 to Un\G303) (0120H to 012FH) is read, and the cause of the error is checked.
*1 In DeviceNet, the area where is read and written by communications is specified with the number, such as the class ID, instance ID, and
attribute ID.
For details, refer to the manual for each slave node.
RJ71DN91
0110H
Ò
(1)
011FH
Ó
Message communication
request
0120H
×
(2)
012FH
0130H
(3)
01A7H
Õ
Message communication
completion
Ö
Slave node (MAC ID)
*1
Class
Ó
*1
Instance
*1
(4)
(4)
Instance
(4)
Ô
Class
Instance
(4)
Instance
(4)
(4)
(4)
1.2 Master Function (Message Communication)
1
1 FUNCTIONS
25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-rj71dn91

Table of Contents