7 - 4
MELSEC-F
FIXED BUFFER COMMUNICATION (WITH THE NO PROCEDURE
CONTROL METHOD)
7
7 - 4
7.2 Sending Control Method
This section explains the control method when data is sent from the Ethernet module
to an external device using fixed buffer No. 1 and the area corresponding to
connection No. 1 as an example.
• For FX
3U
/FX
3UC
Series PLCs
Program example for the unit No. 0
M8000
X002
M300
M307
M201
D101.2
D101.3
M202
M200
D1000
[BMOVP
K16
]
[MOVP
K32
]
[MOV
K4M300 ]
[MOVP
H1
]
[MOV
U0\
G1664
D101
]
[=
H5
]
]
[END
)
(M202
)
(M201
)
(M200
* <<Reading the status of Ethernet module>>
* <<Sending 32 bytes of data from D1000 to the external device>>
U0\
G28
Send
instruction
Initial
completed
HUB
connection
completed
OPEN
instruction/status
Transmission
normally
completed
Transmission
abnormally completed
Initial
completed
Send instruction
(Self-holding)
U0\
G1665
U0\
G1610
U0\
G1602
Number of
send bytes
in the fixed
buffer No.1
Head of
send data
Fixed
buffer No.1
Send
request/
status
Send
request/
status
U0\
G1610
Value of
BFM#1610
Value of
BFM#1610
Value of
BFM#1610
Transmission
normally
completed
Transmission
abnormally
completed
Send
instruction
(Self-holding)