App
- 38
Appendix 7 Dedicated Instructions which can be used in Safety CPU
Module
APPENDICES
(3) BUFRCV instruction
Fig.App.3 shows a program example where buffer memory addresses are replaced
with I/O signals in the program for reading received data from the fixed buffer of the
connection No.1.
When the I/O signals of the Ethernet module are X/Y00 to X/Y1F
TableApp.32 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.)
5005
H
(20485):
Fix buffer receive status signal
X10: Connection 1 open completion
Fig.App.3 Program example using I/O signals
<<<Fixed buffer No.1 receiving program (Main program)>>>
M5100
M5000
M500
M501
M501
X19
0
Receive
instruction
Receive
instruction
1PLS
Receive
instruction
1PLS
BUFRCV
instruction
completion
device
BUFRCV
instruction
completion
device
BUFRCV
instruction
abnormal
completion
device
BUFRCV
instruction
abnormal
completion
device
Initial
normal
completion
signal
Connection
1 open
completion
signal
Fixed
buffer 1
open
completion
signal
BUFRCV
instruction
completion
device
48
35
X10
X0
M500
M500
M5000
PLS
D500
D5000
K1
"U0"
ZP.BUFRCV
Abnormal completion processing
Normal completion processing
Содержание MELSEC QS Series
Страница 1: ......
Страница 2: ......
Страница 24: ...A 22 Memo ...
Страница 258: ...Index 3 Memo ...
Страница 263: ......
Страница 264: ......