Fixed Buffer Communication Program Example (With The Procedure Exist Control Method) - Mitsubishi Electric FX3U-ENET User Manual

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

Advertisement

6
FIXED BUFFER COMMUNICATION (WITH THE PROCEDURE EXIST
CONTROL METHOD)

6.5.2 Fixed buffer communication program example (with the procedure exist control method)

This section explains the programming method in order to communicate data
(procedure exist control method) with an external device using the fixed buffers.
(1) Execution environment for the program example
Communication data code setting
Initial timing
Local station IP address
Send frame setting
TCP Existence confirmation setting
protocol
Open system
Fixed buffer
Fixed buffer communication
Paring open
Existence confirmation
Local station Port No.[Decimal]
Destination IP address
Destination Port No.[Decimal]
6 - 14
FX
-1st station
3U
(a) Send program (FX
1) Connection No. 1 is used for fixed buffer sending.
2) The unit number specified in the sequence program and
FX Configurator-EN is 0.
3) The communication parameter settings are assumed to have been set as
described in Subsection 5.6.1, "Active open processing/close
processing".
(see the table below)
4) Fixed buffer No. 1 send data
: Stored in D1000 to D1031
5) Fixed buffer No. 1 send instruction complete device
: M201
6) Fixed buffer No. 1 send instruction abnormal complete device
: M202
7) Fixed buffer No. 1 send instruction complete status
: D101
[Operational settings]
Setting name
Binary code
Do not wait for OPEN
(Communications impossible at STOP time)
10.97.85.222 (0A.61.55.DE
Ethernet (V2.0)
Use the Ping
[Open settings]
Setting name
Settings in FX Configurator-EN (No.1)
TCP
Active
Sending
Procedure exist
No pairs
No confirm
4096
10.97.85.223 (0A.61.55.DF
8192
FX
-2nd station
3U
-1st station)
3U
Settings in FX Configurator-EN
)
H
)
H
MELSEC-F
Settings in the program
BFM#24 b1:OFF
BFM#24 b8:OFF
BFM#106 to 108
BFM#24 b5:OFF
BFM#24 b4:OFF
Settings in the program
BFM#32 b8:OFF
BFM#32 b15,b14:00
BFM#32 b0:OFF
BFM#32 b9:OFF
BFM#32 b7:OFF
BFM#32 b1:OFF
BFM#40
BFM#41,42
BFM#43
6 - 14

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u-enet-l

Table of Contents