Mitsubishi MELSEC L Series User Manual page 78

Cpu module, built-in ethernet function
Hide thumbs Also See for MELSEC L Series:
Table of Contents

Advertisement

(2) Control data
Device
+0
S2
+1
S2
+0
D
+1
D
+2
D
+3
D
+4
D
*2
The "Set by" column indicates the following.
System: The CPU module stores the execution result of the SP.SOCCINF instruction.
(3) Function
This instruction reads out connection information specified in
(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 connection number specified for
• The device numbers specified for
• An invalid device is specified.
76
Item
System area
Completion status is stored.
Completion
0000
: Completed
H
status
Other than 0000
Target device IP
IP address of the target device is stored.
address
Target device
Port number of the target device is stored.
port number
Host station port
Port number of the host station is stored.
number
b15 b14 b13
[3]
D +4
[1] Communication method (protocol)
0: TCP/IP
1: UDP/IP
Application
[2] Socket communication procedure
setting area
1: Nonprocedural (fixed)
[3] Open system
00: Active open or UDP/IP
10: Unpassive open
11: Fullpassive open
and
S2
Description
-
: Failed (Error code)
H
to
b10 b9 b8 b7
to
0
[2] [1]
0
.
S1
is other than 1 to 16.
S1
exceed the device point range.
D
Setting range
-
-
1
to FFFFFFFF
H
H
0
: No target
H
(FFFFFFFF
:
H
Simultaneous
broadcast)
1
to FFFF
H
H
(FFFF
:
H
Simultaneous
broadcast)
1
to 1387
H
H
1392
to FFFE
H
H
b0
-
(Error code: 4101)
(Error code: 4101)
(Error code: 4004)
*2
Set by
-
System

Advertisement

Table of Contents
loading

Table of Contents