Program Example Using The Utility Package; Program Example Not Using The Utility Package - Mitsubishi Electric QJ71DN91 User Manual

Melsec q series devicenet master-slave module
Hide thumbs Also See for QJ71DN91:
Table of Contents

Advertisement

8 PROGRAMMING FOR EXECUTING THE SLAVE FUNCTION

8.3.2 Program example not using the utility package

Setting parameters for slave function (See Section 8.2.)
I/O communication function
Ensures data consistency and reads the receive data.
Ensures data consistency and writes the send data.
8 - 11
(1)
Device list
Device
M31
*1
M250
*1
D150
X21
X200 to X23F
Y31
Y200 to Y23F
*1: Use these devices when executing Data consistency dedicated instruction (DNTSRD,
DNTSWR).
(2)
Program example
(a)
When Data consistency dedicated instruction (DNTSRD, DNTSWR) is
used
Input data processing program
Output data processing program
Description
I/O Communication Start Command
Data consistency dedicated instruction setting status
for slave function
Data consistency dedicated instruction setting for
slave function
I/O Communicating
Slave Function Receive Data
I/O Communication Request
Slave Function Transmit Data
MELSEC-Q
Reference
section
3.6.16
3.3.3 (2)
3.4.10
3.3.3 (2)
3.4.10
Enables Data consistency-
dedicated instruction
setting for slave function.
Reads Data consistency-
dedicated instruction
setting status for slave function.
8 - 11

Advertisement

Table of Contents
loading

Table of Contents