6 - 5 6 - 5
MELSEC-F
6 FIXED BUFFER COMMUNICATION (WITH THE PROCEDURE EXIST
CONTROL METHOD)
6.3 Receiving Control Method
This section explains the control method when the Ethernet module receives data from
an external device.
6.3.1 Receive processing with the main program
This section explains the receiving process to be performed with the main program,
using an example in which the fixed buffer No. 2 and the area corresponding to
connection No. 2.
M8000
[BMOV
D1000
D101
]
[MOV
D101
]
[MOV
D100
]
[MOV
H2
]
[=
D100
H1
]
[=
D100
H8
]
[INCP
D102
]
]
[END
0
38
* <<Storing the data received from the external device to the fixed buffer No.2 in D1000 and later>>
* <Receiving status
* <Obtaining received word count
* <Read of received data
* <Write of receiving completion
* <Receiving failed
>
>
>
>
>
U1
G1611
U1
G2688
U1
G1611
U1
G2689
Receive abnormal processing
User applications are described at the area enclosed with .
ACK
(only TCP)
5) - 7)
Response
ACK
(only TCP)
2)
Data receiving
W
0002H
Initial processing normal
completion
Open completion signal
BFM #1602=0005H
Received word count and
received data written to PLC
FROM instruction
Fixed buffer received status and
received completion message
BFM #1611
R
0001H
R
0004H (Success)/0008H (Error issued)
Initial
processing
Open
processing
Response
sending
Data
receiving
1)
3)
4)
6)
Содержание FX3U-ENET
Страница 1: ...USER S MANUAL FX3U ENET ...
Страница 2: ......
Страница 159: ...8 6 8 6 MELSEC F 8 COMMUNICATION USING MC PROTOCOL MEMO ...
Страница 295: ...App 25 App 25 MELSEC F APPENDIX MEMO ...
Страница 297: ......