Specifications

192 GX Configurator-PN
(c) 2013 MITSUBISHI ELECTRIC CORPORATION
the read data is 16#AFF0, indicating to read the I&M data (Identification & Maintenance) of the devi-
ce. Reading of data starts if M40 is set. M41 indicates that the read data has been written to the glo-
bal variable 'Read_Data3'. The values for the inputs PNDEVICEID, PNVENDORID and ARUUID are
taken from the GSDML-file.
FB Input
GSDML Node and Attribute
PNDEVICEID
DeviceIdentity/@VendorID
PNVENDORID
DeviceIdentity/@DeviceID
ARUUID
DeviceAccessPointItem/@ObjectUUID_LocalIndex
Extract from the sample GSDML-file used for the FB call above:
<ProfileBody>
<DeviceIdentity VendorID="0x002A" DeviceID="0x0301">
<ApplicationProcess>
<DeviceAccessPointList>
<DeviceAccessPointItem ID="DIM 1" PhysicalSlots="0..63"
ModuleIdentNumber="0x00000300" MinDeviceInterval="32"
ImplementationType="NetArm" DNS_CompatibleName="IM151-3PN" Fixe-
dInSlots="0"
ObjectUUID_LocalIndex="1">
8.1.3 Function Block 'Write_Rec_Ex'
This FB writes data to an IO-Device which is connected to the Profinet.
Variable
Class
Type
Description
REQ
Input
Bool
Start write 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