6 - 15
MELSEC-F
FIXED BUFFER COMMUNICATION (WITH THE PROCEDURE EXIST
CONTROL METHOD)
6
6 - 15
(b) Receive program (FX3U-2nd station)
1) Connection No. 1 is used to process the fixed buffer receiving in the main
program.
2) The unit number specified at the sequence program and
FX Configurator-EN-L is 0.
3) Make Operational Settings in the following manner.
Communication data code : Binary code (BFM#24 b1 : OFF)
Initial timing : Always wait for OPEN (Communications
possible at STOP time) (BFM#24 b8 : ON)
IP address : 10.97.85.223 (0A.61.55.DF
H)
(BFM#106 to 107)
4) Adjust Open settings in the following manner.
Protocol : TCP (BFM#32 b8 : OFF)
Open system : Fullpassive (BFM#32 b14, b15 : 10
H)
Fixed buffer : Receive (BFM#32 b0 : ON)
Fixed buffer communication procedure
: Procedure exist (BFM#32 b9 : OFF)
Pairing open : Disable (BFM#32 b7 : OFF)
Existence confirmation : No confirm (BFM#32 b1 : OFF)
Connection No.1 Local station Port No.
: 8192 (BFM#40) (For use in main program)
5) Fixed buffer No. 1 receive data : Stored in D1000 to D1031
6) Fixed buffer No. 1 receive status : D100
[Operational settings]
[Open settings]
Setting name Settings in FX Configurator-EN-L Settings in the program
Communication data code setting Binary code BFM#24 b1:OFF
Initial timing
Always wait for OPEN
(Communications impossible at STOP time)
BFM#24 b8:ON
Local station IP address 10.97.85.223 (0A.61.55.DF
H) BFM#106 to 108
Send frame setting Ethernet (V2.0) BFM#24 b5:OFF
TCP Existence confirmation setting Use the Ping BFM#24 b4:OFF
Setting name Settings in FX Configurator-EN-L (No.2) Settings in the program
protocol TCP BFM#32 b8:OFF
Open system Fullpassive BFM#32 b14,b15:10
Fixed buffer Receive BFM#32 b0:ON
Fixed buffer communication Procedure exist BFM#32 b9:OFF
Paring open No pairs BFM#32 b7:OFF
Existence confirmation No confirm BFM#32 b1:OFF
Local station Port No.[Decimal]
8192 BFM#40
Destination IP address 10.97.85.222 (0A.61.55.DE
H) BFM#41,42
Destination Port No.[Decimal] 4096 BFM#43
POINT
Make sure to have sufficient device memory according to the maximum data
length sent in order to prevent device areas used for other purposes from being
overwritten by the received data.