EasyManuals Logo

Delta DVP-15MC Series User Manual

Delta DVP-15MC Series
972 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #302 background imageLoading...
Page #302 background image
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
ETH_Socket_Open
Execute Done
ETH_Socket_Open_instance
SocketNum Busy
Error
ErrorID
OpenMode
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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-15MC Series and is the answer not in the manual?

Delta DVP-15MC Series Specifications

General IconGeneral
BrandDelta
ModelDVP-15MC Series
CategoryController
LanguageEnglish

Related product manuals