Mitsubishi Electric QJ71DN91 User Manual page 165

Melsec system q programmable controller devicenet master-slave module gx configurator-dn
Hide thumbs Also See for QJ71DN91:
Table of Contents

Advertisement

7 PROGRAMMING FOR EXECUTING THE MASTER FUNCTION
MELSEC-Q
(2)
Program example
Reads master function
communication status.
Executes Get Attribute
if Master Function Comm.
Status is C0
or 40
.
H
H
Get Attribute
Node No.3, Class ID = 1
Instance ID = 1
Attribute ID = 7
Writes message comm.
command to buffer memory.
Sets Message Comm.
Request to ON.
Error handling program
Gets byte length
of attribute data.
Calculates byte length
of attribute data.
Reads attribute data.
Sets Message Comm.
Request to OFF.
7 - 32
7 - 32

Advertisement

Table of Contents
loading

Table of Contents