Mitsubishi MELSEC-F User Manual page 145

Hide thumbs Also See for MELSEC-F:
Table of Contents

Advertisement

7 FIXED BUFFER COMMUNICATION (WITH THE NO PROCEDURE
CONTROL METHOD)
Initial
processing
Initial processing normal
1)
completion
BFM #27=0001H
HUB connection is signal
BFM #28 b7
Open completion signal
BFM #1602=0005H
Write sent word count
and sent data to BFM
Fixed buffer send instruction
and send completion
BFM #1610
7 - 5
Open
Write
Processing
sent data
Data sending
2)
3)
4)
TO instruction
5)
W
0001H
6)
1)
Confirm normal completion of the initial processing.
2)
Confirm that the Ethernet module is connected to the hub. (BFM#28
b7:ON)
3)
Confirm the normal completion of the open processing for connection
No. 1.
4)
Write the word count for send data and the send data to the fixed buffer
data area (BFM#1664 to #2687) by TO instruction.
5)
Write "0001
6)
Only the size of the send data in the fixed buffer (No. 1) designated by
the send data length is sent to the designated external device (The
value of BFM#1610 becomes "0002
7)
The Ethernet module terminates the data transmission.
At normal completion
• Fixed buffer transmission results (BFM#1610)
At abnormal completion
• Fixed buffer transmission results (BFM#1610)
If the data transmission is abnormally completed, rewrite "0001H" in
BFM#1610 and execute the send processing again.
POINT
The following precaution should be observed when communicating using UDP/IP:
• When the Ethernet module's internal processing is normally completed, data
send processing ends even if the communication line between the PLC and an
external device is disconnected because of cable disconnection, etc. It is
recommended to send/receive data using a user defined communication
procedure.
Response
receiving
7)
R
0002H
0004H (Success)/0008H (Failure)
ACK
(only TCP)
" in the fixed buffer transmission request (BFM#1610).
H
MELSEC-F
R
".).
H
: 0004
H
:
: 0008
H
7 - 5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u-enetFx3uc-enet

Table of Contents