Specifications

194 GX Configurator-PN
(c) 2013 MITSUBISHI ELECTRIC CORPORATION
8.1.4 Function Block 'Read_Rec_Ex'
This FB reads information from an IO-Device which is connected to the Profinet.
Variable
Clas
s
Type
Description
REQ
Input
Bool
Start read record
BUFFER_2
Bool
0=Buffer 1 for acyclic request is used
1=Buffer 2 for acyclic request is used
ID
DWord
Device-ID, shall contain the IP-Address
API
DWord
API number, used to perform the read
SLOTNUMBER
Word
Slot number target
SUBSLOTNUMBE
R
Word
Sub-slot number target
INDEX
Word
Index of the record block
VALID
Out-
put
Bool
Data in the output “RECORD” is valid
BUSY
Bool
The function block is in use
ERROR
Bool
Error detected
STATUS
Word
Last detected status, possible values:
0= Status OK
1= Profinet stack not started
2= No Ethernet link
3= No IO-Device detected
4= Reception buffer too small (stack internal error)
6= Device not connected
7= Device not configured
8= Profinet error
RECORD
Word
Read data