Open/Close Processing - Mitsubishi MELSEC Q Series Handbook

Transition from melsec-a/qna (large type), ans/qnas (small type) series to q series
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

3
ETHERNET INTERFACE MODULE REPLACEMENT

3.9.2 Open/close processing

The following shows a program example for performing open processing/close processing.
(1) A/AnS series
[Open processing]
The A/AnS series performs open processing by writing communication parameters
by the sequence program to buffer memory and turning the open request signal (Y8) ON.
[Close processing]
The A/AnS series performs close processing by turning the open request signal (Y8) OFF,
or by the close request (FIN) from an external device.
(a) Program conditions
The following shows a program example for performing open processing (unpassive open)
on connection No.1 when initial normal end (X19) turns ON.
Set the communication parameters as follows. (Otherwise, use default values.)
Buffer memory address
DEC (HEX)
16 (10
)
H
24 (18
)
H
Point
The open processing and the close processing on the Q series have different methods from those on
the A/AnS series.
When replacing the A/AnS series with the Q series, refer to Section 3.9.2 (2) and change the program of
the open processing and close processing.
3
- 29
Connection No.1 application setting area
Sets the application of the fixed buffer (b0).
Destination existence check setting (b1)
Pairing open setting (b7)
Communication method (protocol)
Communication protocol setting (b8)
Communications using fixed buffer procedure
performed/not performed (b9)
Open method setting (b15, b14)
Host port number (For connection No.1)
Item
0: Transmission
0: Existence check
0: No existence check
0: Pairing open
0: Not pairing open
0: TCP/IP
0: Performed
10: Unpassive open
Set value
8000
H
500
H

Advertisement

Table of Contents
loading

Table of Contents