5 - 28
MELSEC-F
COMMUNICATION PROCEDURE
5
5 - 28
1) After communicating the parameter settings, confirm the normal
completion of the Ethernet module initial processing.
(Initial completion signal BFM#27 "0001
H
")
2) Confirm that the Ethernet module and hub are connected. (BFM#28
b7:ON)
3) Start the open processing writing with pulse execution instruction 0001
H
to BFM#1602.
4) The Ethernet module executes the open processing.
• Sends the open request (SYN).
5) When the open processing completes normally
Data communication is enabled.
When the open processing completes abnormally
(*1)
• The open error code is stored in the buffer memory.
(*2)
• Open error detection (BFM#1602 "0010
H
" or "0015
H
")
• Area for module status (BFM#28 b6:ON)
6) Start the close processing writing 8000
H
to BFM#1602.
7) The Ethernet module executes the close processing.
• Sends the close request (FIN).
8) When the close processing completes normally
(*3)
• Open completion signal BFM#20480 b0
: ON
• BFM#1602 "0005
H
"
• Open completion signal (BFM#2048 b0)
: OFF
• Open/Close instruction status (BFM#1602 "0000
H
")
Open status
Open allowed status
Closed status
Initial normal completion
BFM#27=0001
H
OPEN/ CLOSE instruction
status BFM#1602
Open completion signal
BFM#20480
Power-on
1) Parameter update
completed
2)
3)
4)
5)
7)
8)
FIN
SYN
SYN+ACK
Open request signal
CLOSE
status
0000
H
OPEN
processing
0003
H
CLOSE
processing
0009
H
CLOSE
status
0000
H
FIN+ACK
Hub connected signal
BFM #28b7
BFM#20482
OPEN
instruction
W0001
H
OPEN status
0005
H
(OPEN failure
0010
H
)
CLOSE
instruction
W8000
H
Hub connected
6)