Specifications
188 GX Configurator-PN
(c) 2013 MITSUBISHI ELECTRIC CORPORATION
Variable
Class
Type
Description
REQ
Input
Bool
Start the network detection
BUFFER_2
Bool
0= Buffer 1 for acyclic request is used
1= Buffer 2 for acyclic request is used
EXTENDED
Bool
0= Only the standard information (first eight words) is re-
turned
1= The extended device information is returned
VALID
Output
Bool
Data in the global variable 'vPN_DEVICE_DETECT_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
4= Reception buffer too small (stack internal error)
5= No more IO-device
6= āNetwork detectionā service never called
The global variable 'vPN_DEVICE_DETECT_DATA' is defined as an array of DUTs (the DUT type na-
me is 'vPN_DEVICE_DETECT_DATA'). The number of devices in the network equals the number of
array elements.
Standard Device Information (Input 'EXTENDED' is not set)
If 'EXTENDED' has been set to 'FALSE', only standard device data is returned. For each detected
device the variable 'vPN_DEVICE_DETECT_DATA' contains the following information:
Variable Pos
Offset
ID
Value
1
VendorID
VendorID of the device
2
DeviceID
DeviceID of the device
3
IP_Address
IP address of the Device
4
Subnetmask
Subnet mask of the Device
5
Gateway
Gateway IP Address of the Device
6
Mac_Address_Bytes1_2
Mac Address of the Device, first word
7
Mac_Address_Bytes3_4
Mac Address of the Device, second word