Справочник Пользователя для Mitsubishi Electronics fx3u
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.
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
instruction
Transmission
normally
completed
normally
completed
Transmission
abnormally completed
abnormally completed
Send instruction
(Self-holding)
(Self-holding)
Send
instruction
(Self-holding)
instruction
(Self-holding)
Number of
send words
in the fixed
buffer No.1
send words
in the fixed
buffer No.1
U1\
G1664
G1664
U1\
G1665
G1665
U1\
G1610
G1610
Value of
BFM#1610
BFM#1610
Value of
BFM#1610
BFM#1610
Head of
send data
send data
Fixed
buffer No.1
buffer No.1
U1\
G1610
G1610
Transmission
request/status
Value of
BFM#1610
BFM#1610
Transmission
request/status
Transmission
normally
completed
normally
completed
Transmission
abnormally
completed
abnormally
completed
M8000
[MOV
K4M300 ]
* <<Reading the status of Ethernet module>>
U1\
G28
G28
Initial
completed
completed
M300
M307
[=
H5
]
Initial
completed
completed
HUB
connection
completed
connection
completed
OPEN
instruction/status
instruction/status
U1\
G1602
G1602