Sktudpcreate - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

SktUDPCreate

The SktUDPCreate instruction creates a UDP socket request to open a servo port for the built-in Ether-
Net/IP.
Instruction
Name
SktUDP Create Create UDP
Socket
Variables
Name
Meaning
SrcUdpPort
Local UDP
port number
Socket
Socket
Bit strings
SrcUdpPort
Socket
Function
The SktUDPCreate instruction opens the port specified with the local UDP port number ScrUdpPort. To
do this, it executes the Socket() and Bind() socket functions. Information on the socket that is opened is
stored in Socket. The UDP port is open when the instruction is completed normally (i.e., when the value
of Done changes to TRUE).
NY-series Instructions Reference Manual (W560)
FB/
Graphic expression
FUN
FB
SktUDPCreate_instance
SktUDPCreate
Execute
SrcUdpPort
I/O
Description
Input
Local UDP port number
Output
Socket
Integers
OK
Refer to Function for details on the structure _sSOCKET.
2 Instruction Descriptions
SktUDPCreate_instance(Execute,
SrcUdpPort, Done, Busy, Error,
ErrorID, Socket);
Done
Busy
Error
ErrorID
Socket
Valid range
1 to 65535
---
---
---
ST expression
Unit
Default
1
---
Times, durations, dates,
and text strings
2-1045
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents