![Mitsubishi Electric melsec q03ud(E)cpu Скачать руководство пользователя страница 110](http://html.mh-extra.com/html/mitsubishi-electric/melsec-q03ud-e-cpu/melsec-q03ud-e-cpu_user-manual_239150110.webp)
108
(3) Function
This instruction opens a connection specified in
.
The set values used for the open processing is selected in
+0.
The result of the SP.SOCOPEN instruction can be checked with the completion device,
+0 and
+1.
• Completion device
+0
Turns on in the END processing of the scan after completion of the SP.SOCOPEN instruction, and turns
off in the next END processing.
• Completion device
+1
Turns on or off according to the result of the SP.SOCOPEN instruction.
• A connection with no parameters (no protocol is specified) can be opened. In this case, specify 8000
H
for
+0 and configure open settings in
+2 to
+9.
(4) Error
A detection of an operation error turns on the Error flag (SM0) and a corresponding error code is stored in SD0
when:
• The instruction is executed in the QnUDE(H)CPU with a serial number (first five digits) of "11011" or earlier
or a CPU module other than the Built-in Ethernet port QCPU.
(Error code: 4002)
• The connection number specified for
is other than 1 to 16.
(Error code: 4101)
• The device numbers specified for
and
exceed the device point range.
(Error code: 4101)
• An invalid device is specified.
(Error code: 4004)
State
Description
When completed Remains off.
When failed
Turns on in the END processing of the scan after the SP.SOCOPEN instruction is completed and turns off
in the next END processing.
S1
S2
D
D
D
D
Program
END processing
END processing
END processing
When failed
1 scan when
normally completed
OFF
ON
ON
Completion device D
SP.SOCOPEN instruction
SP.SOCOPEN instruction executed
Connection
open
OFF
Completion device D +1
+0
S2
S2
S2
S1
S2
D
Содержание melsec q03ud(E)cpu
Страница 2: ......
Страница 11: ...9 Memo ...
Страница 209: ...207 APPENDICES A Appendix 4 Specifications Comparison with Ethernet Module Memo ...
Страница 213: ...211 Memo ...
Страница 219: ......