Mitsubishi Electric MELSEC-Q Series User Manual page 153

Simple motion module
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

(c) READ instruction setting
The setting of READ instruction control data is as follows.
(S1)+0
(S1)+1
(S1)+2
(S1)+3
(S1)+4
(S1)+5
(S1)+6
(S1)+7
(S1)+8
(S1)+9
(S1)+10
(S1)+11
(S1)+12 to
(S1)+15
(S1)+16
(S1)+17
(d)
Program example
The following program is written to the CPU module of station No.0.
M100
M101
SB47
SW0A1.0
M105
M106
M106
Device
D200
Abnormal end type
D201
Completion status
Channels used by own
D202
station
D203
Target station's CPU type
D204
Target station's network No.
D205
Target station number
D206
(Unused)
D207
Number of resends
D208
Arrival monitoring time
D209
Read data length
D210
(Unused)
D211
Clock set flag
D212 to
Clock data of abnormal end
D215
Error-detected station's
D216
network No.
D217
Error-detected station number
JP.READ
10 - 15
Chapter 10 DEDICATED INSTRUCTIONS
Item
0081H (Sets data for abnormal end)
(Setting is not required because it is set
by the system)
1
0000H (control CPU)
1
17
0
5 times
0 (10 seconds)
5 words
0
(Setting is not required because it is set
by the system)
MOV
H81
MOV
K1
MOV
H0
MOV
K1
MOV
K17
MOV
K0
MOV
K0
MOV
K5
MOV
K0
MOV
K5
J1
D200
W250
D700
Processing program upon completion
Processing program upon failure
Set value
D200
D202
D203
D204
D205
Control data
setting for
D206
READ instruction
D208
D209
D210
D207
Execution of
M105
READ instruction

Advertisement

Table of Contents
loading

Table of Contents