App
- 36
Appendix 7 Dedicated Instructions which can be used in Safety CPU
Module
APPENDICES
(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.
When the I/O signals of the Ethernet module are X/Y00 to X/Y1F
* 1: Required when using "Open setting" parameters of GX Developer.
* 2: Required when not using "Open setting" parameters of GX Developer.
TableApp.30 Buffer memory address - I/O signal correspondence
Buffer memory address
in hexadecimal (decimal)
I/O signal
5000
H
(20480): Open completion signal
X10: Connection 1 open completion
5002
H
(20482): Open request signal
Y8: Connection 1 open request (This
corresponding signal cannot be used since the
signal does not turn ON/OFF by the OPEN
instruction.)
Fig.App.1 Program example using I/O signals
<<<Active-open processing of connection No.1>>>
0
25
84
Receive
instruction
Initial
normal
completion
signal
Connection
1 open
completion
signal
1PLS
M5000
M1000
M110
M100
OPEN
instruction
completion
device
OPEN
instruction
abnormal
completion
device
OPEN
instruction
abnormal
completion
device
M101
M110
M151
M150
M110
M100
OPEN
instruction
abnormal
completion
OPEN
instruction
normal
completion
OPEN
instruction
completion
device
Destination
port number
Destination
IP address
Host station
port number
Application
setting area
Open instruction
1PLS
Execution type
Execution type
Connection 1
open request
RST
SET
SET
SET
D100
D106
D104
D103
D102
D100
D100
K1
MOVP
MOVP
MOVP
MOVP
PLS
<Using 'control data' in D100 >
MOVP
DMOVP H0A6155DF
H2000
H1000
M1000
H0
H0
H8000
ZP.OPEN "U0"
Execution
type
M101
*1
*2
X19
X10
Open
instruction
1PLS
Connection
1 open
request
<Using 'Open setting' parameters of GX Developer >
Содержание MELSEC QS Series
Страница 1: ......
Страница 2: ......
Страница 24: ...A 22 Memo ...
Страница 258: ...Index 3 Memo ...
Страница 263: ......
Страница 264: ......