Reading Received Data In The End Processing - Mitsubishi Electric FX5 User Manual

Melsec iq-f series, ethernet communication
Hide thumbs Also See for FX5:
Table of Contents

Advertisement

Reading received data in the END processing

SP.SOCRCV
Reads the data received. (Read at END processing)
Ladder diagram
(U)
(s1) (s2)
FBD/LD
EN
ENO
U0
d1
s1
d2
s2
("SP_SOCRCV" enters .)
Setting data
■Descriptions, ranges, and data types
Operand
Description
*1
(U)
Dummy (Input the character string ['U0'].)
(s1)
Connection No.
(s2)
Start number of the device where control data is
specified
(d1)
Start number of the device in which received data
is stored
(d2)
Start number of the device which turns on for one
scan upon completion of the instruction. (d2)+1
also turns on when failed.
EN
Execution condition
ENO
Execution result
*1 In the case of the ST language and the FBD/LD language, U displays as U0.
*2 Regardless of the program language to be used, the data type is specified by a device. Do not specify a label.
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(U)
(s1)
(s2)
(d1)
(d2)
*1 T, ST, C cannot be used.
(d1) (d2)
Range
1 to 8
Refer to Control data
(Page 92)
Word
T, ST, C, D, W,
U\G
SD, SW, R
*1
Structured text
ENO:=SP_SOCRCV(EN,U0,s1,s2,d1,d2);
Data type
Character string
16-bit unsigned binary
Word
Word
Bit
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
7 SOCKET COMMUNICATION FUNCTION
7.4 Socket Communication Function Instructions
Data type (Label)
*2
(ANYSTRING_SINGLE)
ANY16
ANY16_ARRAY
(Number of elements: 2)
ANY16
ANYBIT_ARRAY
(Number of elements: 2)
BOOL
BOOL
Constant
Others
K, H
E
$
7
91

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents