Message Communication - Writing - Mitsubishi Electric A1SJ71DN91 User Manual

Devicenet master module
Table of Contents

Advertisement

7. PROGRAMMING
7.5.2

Message communication - writing

Write
attributes
Reading
Write
attributes
Reading X0
X0F
X2
Y12
Writing
<>
The following sample program represents a case of writing attributes of expected packet rate
for the polling connection from the station number 3.
X2
Y12
K0
D11
MOV
K1000
TOP
H0
H130
D30
MOVP
H102
MOVP
H0503
MOVP
K2
MOVP
H209
TOP
H0
H110
D0
FROMP
H0
H120
D10
Error processing program
7
8
MELSEC-A
Set onto D30 the data to
D30
be written.
Write send data to buffer
K1
memory
Set attribute write
D0
command
Station number 3 slave station
D1
Class ID = 5
Instance ID = 2
D2
Send data byte length=2
D3
Attribute ID =9
K4
Write request data to
buffer memory
SET
Writing
Set message
SET
Y12
communication request
Read result from buffer
K6
memory
Reset message
RST
Y12
communication request
RST
Writing
Write
RST
attributes

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aj71dn91

Table of Contents