Changing The Target Of A Connection (Udp/Ip) (Sp.soccset) - Mitsubishi MELSEC L Series User Manual

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

Advertisement

6.4.7

Changing the target of a connection (UDP/IP) (SP.SOCCSET)

SP.SOCCSET
Setting
data
S1
S2
(1) Setting data
Setting data
U0
S1
S2
*1
The "Set by" column indicates the following.
User: The data must be set before executing the SP.SOCCSET instruction.
System: The CPU module stores the execution result of the SP.SOCCSET instruction.
(2) Control data
Device
+0
S2
+1
S2
+2
S2
+3
S2
+4
S2
*2
The "Set by" column indicates the following.
User: The data must be set before executing the SP.SOCCSET instruction.
System: The CPU module stores execution result of the SP.SOCCSET instruction.
78
Command
Internal device
R, ZR
Bit
Word
-
-
Description
Dummy
Connection number (Setting range: 1 to 16)
Start number of the device from which control data are stored
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 specified.
address
Target device
Port number of the target device is specified.
port number
SP.SOCCSET
J \
U \G
Bit
Word
-
-
Description
-
: Failed (Error code)
H
S2
U0
S1
Constant
Zn
K, H
-
*1
Data type
Set by
-
Character string
User
BIN 16-bit
User, System
Device name
Setting range
-
-
1
to FFFFFFFF
H
H
(FFFFFFFF
:
H
Simultaneous
broadcast)
1
to FFFF
H
H
(FFFF
:
H
Simultaneous
broadcast)
Others
-
-
*2
Set by
-
System
User

Advertisement

Table of Contents
loading

Table of Contents