Specifications
191PLC Code for PROFINET Controller
(c) 2013 MITSUBISHI ELECTRIC CORPORATION
Variable
Class
Type
Description
PNVENDORID
Word
Vendor ID (taken from the GSDML-file)
ARUUID
Word
Object UUID Local ID (taken from the GSDML-fi-
le)
VALID
Output
Bool
Data in the global variable “DEVICE_DATA” 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 er-
ror)
8= Profinet error
RECORD
Word
Read data
LENGTH
Int
Read data size in byte
The read data is moved to the output 'RECORD' by using a block move operation. The user has to
configure an array-Variable for this output with the corresponding number of elements.
Call FB 'Read_Rec_Im'
The input 'ID' contains the IP-address of the IO-device: 16#C0A80301 = 192.168.3.1. The index for