Example Of Message Communication Write - Mitsubishi QJ71DN91 User Manual

Devicenet master-slave module programmable logic controller
Table of Contents

Advertisement

7 PROGRAMMING WHEN EXECUTING THE MASTER FUNCTION

7.5.2 Example of message communication write

Attribute write
command
Attribute write
command
7 - 9
The following shows an example of a sequence program that writes attributes to node
number 3.
In sections enclosed with a dashed line, the area that is actually read and written as
well as the class ID, instance ID and attribute ID are different depending on the slave
node. Therefore, refer to the applicable manual of the slave node.
Error handling program
Attribute write
command
MELSEC-Q
Sets write data in D30.
Writes transmission data into the
buffer memory.
Reads the master communication status.
Executes attribute write if the master
communication status is either C0
Sets the attribute write command.
Slave station of station number 3,
class ID = 1
Instance ID = 1
Byte length of transmission data = 1,
attribute ID = 3
Writes request data into the buffer
memory.
Sets the message communication
request.
Resets the message communication
request.
7 - 9
or 40
.
H
H

Advertisement

Table of Contents
loading

Table of Contents