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

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

Advertisement

7
FIXED BUFFER COMMUNICATION (WITH THE NO PROCEDURE
CONTROL METHOD)

7.5.2 Fixed buffer communication program example (with the no procedure control method)

This section explains the programming method in order to communication data (through
the no procedure 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]
7 - 10
FX
-1st station
3U
(a) Send program (FX
1) Connection No. 1 is used for fixed buffer sending.
2) The communication parameters settings are assumed to have been set
as described in Subsection 5.6.1, "Active open processing/close
processing" except the "Fixed buffer communication" parameter.
(see the table below)
3) Fixed buffer No. 1 send data
: Stored in D1000 to D1031
4) Fixed buffer No. 1 send Send instruction complete device
: M201
5) Fixed buffer No. 1 send Send instruction abnormal complete device
: M202
6) Fixed buffer No. 1 send 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
No procedure
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:ON
BFM#32 b7:OFF
BFM#32 b1:OFF
BFM#40
BFM#41,42
BFM#43
7 - 10

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u-enet-l

Table of Contents