EasyManuals Logo

Mitsubishi MELSEC iQ-F FX5 series User Manual

Mitsubishi MELSEC iQ-F FX5 series
888 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 #626 background imageLoading...
Page #626 background image
624
8 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
8.2 Socket Communications Function Instructions
8.2 Socket Communications Function Instructions
Reading receive data during the END processing
SP.SOCRCV
This instruction reads the receive data. (Reading during END processing)
Setting data
Descriptions, ranges, and data types
Applicable devices
*1 T, ST, C cannot be used.
Control data
*1 The contents in the "Set by" column mean as follows:
System: The CPU module stores the execution result of the SP.SOCRCV instruction.
Ladder diagram Structured text
ENO:=SP_SOCRCV(EN,U,s1,s2,d1,d2);
Operand Description Range Data type Data type (label)
(U) Dummy Character string ANYSTRING_SINGLE
(s1) Connection number 1 to 8 16-bit unsigned binary ANY16
(s2) Head device number for specifying the control data Refer to Control data
(Page 624)
Word ANY16_ARRAY
(Number of elements: 2)
(d1) Head device number for storing the receive data Word ANY16
(d2) Head device number which turns ON when the execution of
the instruction is completed and remains ON for 1 scan.
If the instruction is completed with an error, (d2)+1 is also
turned on.
Bit ANYBIT_ARRAY
(Number of elements: 2)
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(U) 
(s1) 
(s2) 
(d1) 
(d2) 
*1

Device Item Description Setting range Set by
*1
(s2)+0 System area 
(s2)+1 Completion status The status at the completion of the instruction is stored.
0000H: Completed successfully
Other than 0000H: Completed with an error (error code)
For error codes, refer to Built-in Ethernet communication manual.
System
(d1)+0 Receive data length The data length of the data read from the socket communication
receive data area is stored. (Number of bytes)
0 to 2046 System
(d1)+1 to
(d1)+n
Receive data The data read from the socket communication receive data area is
sequentially stored.
System
(U) (s1) (s2) (d1) (d2)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC iQ-F FX5 series and is the answer not in the manual?

Mitsubishi MELSEC iQ-F FX5 series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC iQ-F FX5 series
CategoryController
LanguageEnglish

Related product manuals