Chapter 8 Logic Instructions
8-215
8_
8.14.2.9
ETH_Socket_Open
FB/FC
Explanation
Applicable model
FB
ETH_Socket_Open is used for enabling Socket TCP/UDP protocol.
DVP15MC11T
DVP15MC11T-06
E T H_Socket_Open
Execute
Done
ET H_Socket_Open_instance
SocketNum
Busy
Error
ErrorID
OpenM ode
Input Parameters
Parameter name
Function
Data type
Valid range
(Default)
Validation timing
Execute
The instruction is
executed when
Execute
changes from FALSE to
TRUE.
BOOL
TRUE or FALSE
(FALSE)
SocketNum
Set the number of the
Socket
USINT
1~8
(The variable
value must be
set.)
When
Execute
changes from
FALSE to TRUE
OpenMode
Mode to use the controller
TRUE: Client mode
FALSE: Server mode
BOOL
TRUE or FALSE
(FALSE)
When
Execute
changes from
FALSE to TRUE
Note:
1. ETH_Socket_Open is used to enable Socket. After ETH_Socket_Open is executed, the controller will try
to make connection with other node or wait for other node to send out the link request.
2. When
OpenMode
is TRUE, the controller is in
Client
mode. After ETH_Socket_Open instruction is
executed, the controller sends out the link request to the target node.
When OpenMode is FALSE, the controller is in
Server
mode. After ETH_Socket_Open instruction is
executed, the controller waits for the link request from the target node.
3. If
Socket UDP
is selected as the Socket mode, selecting TRUE or FALSE for
OpenMode
will have no
impact on the use of the instruction.
Output Parameters
Parameter name
Function
Data type
Valid range
Done
TRUE when the instruction execution is
completed.
BOOL
TRUE/FALSE
Busy
TRUE when the instruction is being executed.
BOOL
TRUE/FALSE
Error
TRUE when an error occurs in execution of the
instruction.
BOOL
TRUE/FALSE
ErrorID
Contains error codes when an error occurs in the
instruction execution. Please refer to section 12.2
for the corresponding error code.
WORD
Output Update Timing
Summary of Contents for DVP-15MC Series
Page 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Page 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Page 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Page 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Page 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Page 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Page 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Page 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Page 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Page 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Page 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...