Specifications
200 GX Configurator-PN
(c) 2013 MITSUBISHI ELECTRIC CORPORATION
Variable
Class
Type
Description
ID
DWord
Device-ID, shall contain the IP-Address
API
DWord
API number, used to perform the ack
SLOTNUMBER
Word
Slot number target
SUBSLOTNUMBER
Word
Sub-slot number target
INDEX
Word
Must contain the alarm priority
VALID
Output
Bool
Ack has been send
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
7= Device not configured
8= Profinet error
9= No Alarm for this device
Call FB 'Alarm_Ack'
The input 'ID' contains the IO-device number '22'. By setting M34 the alarm acknowledge is started.
M35 indicates that the acknowledge data has been written to the requested device. This function
block accesses the global variables 'vPN_MGMT_INPUTS' and vPN_MGMT_OUTPUTS.
The data for the function block inputs 'SLOTNUMBER', 'SUBSLOTNUMBER' and 'INDEX' must come
from the previous call to the function block 'Alarm_Request'. This is achieved by assigning to the in-
puts of 'Alarm_Ack' the same variable 'Alarm_data1', which has been assigned to the output
'RECORD' of the 'Alarm_Request' function block. The table below shows the structure of the 'Alar-
m_Request.RECORD' output data and its relation to the 'Alarm_Ack' function block.