Mitsubishi MELSEC QS Series User Manual page 248

Hide thumbs Also See for MELSEC QS Series:
Table of Contents

Advertisement

APPENDICES
App
Appendix 7 Dedicated Instructions which can be used in Safety CPU
- 36
Module
(1) OPEN instruction
Fig.App.1 shows a program example where buffer memory addresses are replaced
with I/O signals in the program for Active-opening the connection No.1 for TCP/IP
communication.
TableApp.30 Buffer memory address - I/O signal correspondence
Buffer memory address
in hexadecimal (decimal)
5000
(20480): Open completion signal
H
5002
(20482): Open request signal
H
When the I/O signals of the Ethernet module are X/Y00 to X/Y1F
<<<Active-open processing of connection No.1>>>
M5000
0
Receive
instruction
1PLS
M1000
X19
25
Open
Initial
instruction
normal
1PLS
completion
signal
M100
M101
84
OPEN
OPEN
instruction
instruction
abnormal
completion
completion
device
device
M101
OPEN
instruction
abnormal
completion
device
* 1: Required when using "Open setting" parameters of GX Developer.
* 2: Required when not using "Open setting" parameters of GX Developer.
X10: Connection 1 open completion
Y8: Connection 1 open request (This
corresponding signal cannot be used since the
signal does not turn ON/OFF by the OPEN
instruction.)
*1
<Using 'Open setting' parameters of GX Developer >
X10
M110
Connection
Connection
1 open
1 open
*2
completion
request
<Using 'control data' in D100
signal
Fig.App.1 Program example using I/O signals
I/O signal
PLS
MOVP
H0
MOVP
H8000
MOVP
H0
MOVP
H1000
DMOVP H0A6155DF
MOVP
H2000
ZP.OPEN "U0"
K1
D100
Execution
type
SET
SET
SET
RST
M1000
Open instruction
1PLS
D100
Execution type
>
D100
Execution type
D102
Application
setting area
D103
Host station
port number
D104
Destination
IP address
D106
Destination
port number
M100
OPEN
instruction
completion
device
M110
Connection 1
open request
M150
OPEN
instruction
normal
completion
M151
OPEN
instruction
abnormal
completion
M110

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qs001cpu

Table of Contents