Sktsetoption - Omron NY532-5400 Reference Manual

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

Advertisement

2 Instruction Descriptions

SktSetOption

The SktSetOption instruction sets the option for TCP socket specified for the built-in EtherNet/IP.
Instruction
Name
SktSetOption
Set TCP
Socket Option
Version Information
A CPU Unit with unit version 1.12 or later and Sysmac Studio version 1.16 or higher are required
to use this instruction.
For an NX1P2 CPU Unit, a CPU Unit with unit version 1.14 or later and Sysmac Studio 1.18 or
higher are required to use this instruction.
Variables
Name
Meaning
Socket
Socket
OptionType
Option type
Option
OptionParam
parameter
Bit strings
Socket
OptionType
Refer to Function for the enumerators of the enumerated type _eSKT_OPTION_TYPE.
*1
OptionParam
OK
*1 A constant (literal) cannot be input. Specify a variable.
Function
The SktSetOption instruction sets the socket option for the socket specified with Socket.
Done changes to TRUE when processing of the instruction is completed normally.
The socket option setting is completed when processing of the instruction is completed normally.
2-1086
FB/
Graphic expression
FUN
FB
SktSetOption_instance
SktSetOption
Execute
Socket
OptionType
OptionParam
I/O
Description
Socket
Type of socket option
Input
Setting parameters according to
the specified socket option
Integers
Refer to Function for details on the structure _sSOCKET.
SktSetOption_instance(
Done
Busy
Error
ErrorID
Valid range
---
---
---
---
---
---
NY-series Instructions Reference Manual (W560)
ST expression
Execute,
Socket,
OptionType,
OptionParam,
Done,
Busy,
Error,
ErrorID);
Unit
Default
---
---
---
Times, durations,
dates, and text
strings

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents