Mitsubishi Electric FX3U-ENET User Manual page 111

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

Advertisement

5
COMMUNICATION PROCEDURE
5 - 38
Program example
This example explains a program for open processing/close processing when
Unpassive open is selected in the open system setting.
(1) Execution environment for the program example
(a) The Ethernet module is connected to the second special module. (The unit
number is setting 1)
(b) The unit number specified at the sequence program and in
FX Configurator-EN is 1.
(c) Adjust Operation settings in the following manner.
Communication data code : Binary code (BFM#24 b1 : OFF)
Initial timing
IP address
(d) Make open settings in the following manner.
Protocol
Open system
Fixed buffer
Fixed buffer
communication procedure : Procedure exist (BFM#32 b9 : OFF)
Pairing open
Existence confirmation
Local station Port No.
(e) The following contact signals are used in the program.
X000 Open instruction
M100 Open request self-hold
M101 Open complete
M102 Closed indicator self-hold
M103 Cancel self-hold when closed
(2) Outline of the program example
(a) The open processing for connection No. 1 of the Ethernet module is
performed.
After the completion of the open processing, connection No. 1 waits for the
open request from the external device.
(b) The close processing for connection No. 1 is performed according to the
close instruction (X000=OFF) to the Ethernet module.
: Do not wait for OPEN (Communications
impossible at STOP time) (BFM#24 b8 : OFF)
: 10.97.85.223 (0A.61.55.DF
: TCP (BFM#32 b8 : OFF)
: Unpassive (BFM#32 b15, b14 : 10
: Send (BFM#32 b0 : ON)
: Disable (BFM#32 b7 : OFF)
: No confirm (BFM#32 b1 : OFF)
: 8192 (BFM#40)
MELSEC-F
) (BFM#106 to 107)
H
)
H
5 - 38

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u-enet-l

Table of Contents