Changing Receive Mode - Mitsubishi Electric MELSEC-L Special Instructions Manual

Melsec-q/l structured programming manual
Hide thumbs Also See for MELSEC-L:
Table of Contents

Advertisement

7.6

Changing Receive Mode

SP_SOCRMODE
QnUDE(H) LCPU
Structured ladder/FBD
SP_SOCRMODE
EN
ENO
Un
s1
s2
The following instruction can go in the dotted squares.
SP_SOCRMODE
■Executing condition
Instruction
SP_SOCRMODE
■Argument
Input/output
argument
Input argument
Output argument
Setting
Internal device
data
Bit
(s1)
(s2)
Processing details
This instruction changes the TCP receive mode (unavailable for a UDP connection) and receive data size.
7 SOCKET COMMUNICATION FUNCTION INSTRUCTION
268
7.6 Changing Receive Mode
ST
SP_SOCRMODE
ENO:=
Executing condition
Name
Description
EN
Executing condition
Un
Dummy ("U0")
s1
Connection number (1 to 16)
s2
Variable that stores control data
ENO
Execution result
R, ZR
Word
(EN, Un, s1, s2);
J\
U\G
Bit
Word
Data type
Bit
String
ANY16
Array of ANY16 [0..3]
Bit
Zn
Constant
K, H
Others

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q

Table of Contents