Mitsubishi Electric MELSEC iQ-F Reference page 11

Fx5 ethernet/cc-link ie function block
Hide thumbs Also See for MELSEC iQ-F:
Table of Contents

Advertisement

2.3
M+FX5UCPU-EN_Recv_Socket
Name
M+FX5UCPU-EN_Recv_Socket
Overview
Item
Description
Overview
Reads the data received by socket communication.
Symbol
(1)
(2)
(3)
Labels
■Input label
No.
Variable name
Name
(1)
i_bEN
Execution command
(2)
i_stModule
Module label
(3)
i_uConnectionNo
Connection No.
■Output label
No.
Variable name
Name
(4)
o_bENO
Execution status
(5)
o_bOK
Normal completion
(6)
o_bErr
Error completion
(7)
o_uErrId
Error code
(8)
o_uRecvData
Receive data storage
destination
M+FX5UCPU-EN_Recv_Socket
B
:
i_bEN
DUT
:
i_stModule
UW
:
i_uConnectionNo
o_uRecvData
(9) pbi_bReadTiming
Data type
Bit
Structure
Word [Unsigned]/Bit
String [16-bit]
Data type
Bit
Bit
Bit
Word [Unsigned]/Bit
String [16-bit]
Word [Unsigned]/Bit
String [16-bit]
o_bENO
:
B
(4)
o_bOK
:
B
(5)
o_bErr
:
B
(6)
o_uErrId
:
UW
(7)
:
UW
(8)
Range
Description
ON, OFF
ON: The FB is activated.
OFF: The FB is not activated.
The setting range
Specify the module label of the CPU module.
differs depending on
the module label.
1 to 8
Specify the connection number for receiving data.
Default value
Description
OFF
ON: The execution command is ON.
OFF: The execution command is OFF.
OFF
When this label is ON, it indicates that reading of the
received data has completed normally.
OFF
When this label is ON, it indicates that an error has
occurred in the FB.
0
Stores the error code that occurred in the FB.
Specify the receive data length and the start number of
the device for storing received data.
b15
1st word
Received data length (unit: bytes)
2nd word
Received data 2 Received data 1
nth word
Received data 2n-2 Received data 2n-3
• The received data length is 1 to 2046 bytes.
• Receive data is stored in the word area in order from
the first half (b0 to b7) to the second half (b8 to b15).
2.3 M+FX5UCPU-EN_Recv_Socket
b8
b7
b0
2 FX5 ETHERNET FB
2
9

Advertisement

Table of Contents
loading

Table of Contents