Справочник Пользователя для Mitsubishi Electronics fx3u

Скачать
Страница из 284
6 - 3
MELSEC-F
FIXED BUFFER COMMUNICATION (WITH THE PROCEDURE EXIST 
CONTROL METHOD)
6
6 - 3
6.2 Sending Control Method
This section explains the control method when data is sent from the Ethernet module 
to an external device using the fixed buffer No. 1 and the area corresponding to 
connection No. 1 as an example.
• Program example for the unit No. 1
X002
M200
D101.2
D101.3
* <<Sending 32 words from D1000 to the external device>>
D1000
[BMOVP
K32
]
[MOVP
K32
]
[MOVP
H1
]
[MOV
D101
]
(M201
)
(M200
)
(M202
)
[END
]
M201
M202
Send 
instruction
Transmission 
normally 
completed
Transmission 
abnormally completed
Send instruction 
(Self-holding)
Send 
instruction 
(Self-holding)
Number of 
send words 
in the fixed 
buffer No.1
U1\
G1664
U1\
G1665
U1\     
G1610
Value of 
BFM#1610
Value of 
BFM#1610
Head of 
send data
Fixed 
buffer No.1
U1\
G1610
Transmission 
request/status
Value of 
BFM#1610
Transmission 
request/status
Transmission 
normally 
completed
Transmission 
abnormally 
completed
M8000
[MOV
K4M300 ]
* <<Reading the status of Ethernet module>>
U1\
G28
Initial 
completed
M300
M307
[=
H5
]
Initial 
completed
HUB 
connection 
completed
OPEN 
instruction/status
U1\ 
G1602