Diagnostics and maintenance
4.1 Diagnostics mechanisms of PROFINET IO
PROFINET with STEP 7 V15
Function Manual, 12/2017, A5E03444486-AH
89
Example AM_Location slot-oriented
A rack and the terminal blocks located on it each supply AM data. The slot assignments are
shown in the figure.
Figure 4-4 Example of assets with slot-oriented AM_Location coding.
Code the AM_Location as an asset for each module as follows:
Bit 0 – 7: AM_Location.Structure = 0x02 (coding "Slot and SubslotNumber format")
Bit 8 – 15: AM_Location.Reserved1 = 0x00 (padding byte)
Bit 16 – 31: AM_Location.BeginSlotNumber = 2 (the "Rack" asset begins from Slot 2 on)
Bit 32 – 47: AM_Location.BeginSubslotNumber = 0xFFFF (the asset encompasses all the
subslots of Slot 2. Otherwise you specify the no. of the subslot at which the asset begins)
Bit 48 – 63: AM_Location.EndSlotNumber = 4 (the asset ends at Slot 4)
Bit 64 – 79: AM_Location.EndSubslotNumber = 0xFFFF (the asset encompasses all the
subslots of Slot 4. Otherwise you specify the no. of the subslot at which the asset ends)
Bit 80 – 95: AM_Location.Reserved2 = 0x0000 (padding byte)
Bit 96 – 111: AM_Location.Reserved3 = 0x0000
Bit 112 – 127: AM_Location.Reserved4 = 0x0000