Mitsubishi Electric FX3U-ENET User Manual page 142

Hide thumbs Also See for FX3U-ENET:
Table of Contents

Advertisement

7
FIXED BUFFER COMMUNICATION (WITH THE NO PROCEDURE
CONTROL METHOD)
Initial processing normal
completion
BFM#27=0001
H
HUB connection is signal
BFM#28 b7
OPEN/CLOSE instruction status
BFM#1602=0005
H
Write sent byte count
and sent data to BFM
Fixed buffer send instruction
and send completion
BFM#1610
7 - 5
Initial
Open
Write
processing
Processing
sent data
1)
2)
3)
4)
TO instruction
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 byte count for send data and the send data to the fixed buffer
data area (BFM#1664 to #2687) by TO instruction. (In program example,
the MOV instruction and the BMOV instruction are used.)
5) Write "0001
H
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 "0001
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
Data sending
5)
W
R
0001
0002
H
H
(only TCP)
6)
" in the fixed buffer transmission request (BFM#1610).
MELSEC-F
7)
R
0004
(Success)/0008
(Failure)
H
H
ACK
".
H
: 0004
H
: 0008
H
" in
H
7 - 5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u-enet-l

Table of Contents