Specifications

201PLC Code for PROFINET Controller
(c) 2013 MITSUBISHI ELECTRIC CORPORATION
Word
Offset
ID
Value
Variable
FB 'Alarm_Ack' In-
put
0
API
API number used to per-
form the alarm
Alarm_data1
[1]
1
Alarm_data1
[2]
2
Priority
Alarm priority
High priority: 0x06
Low priority: 0x05
Alarm_data1
[3]
INDEX
3
Type
Alarm type
Alarm_data1
[4]
4
Slot number
Slot number of the alarm
Alarm_data1
[5]
SLOTNUMBER
5
SubSlot num-
ber
Subslot number of the
alarm
Alarm_data1
[6]
SUBSLOTNUMBER
8.1.7 Function Block 'Alarm_Log'
This function block retrieves an alarm description from the internal alarm log. Each call of the functi-
on block retrieves only one alarm description. If several alarms are stored, the function block must
be called multiple times. The oldest alarm is returned first.
Variable
Class
Type
Description
REQ
Input
Bool
Start read alarm log
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
VALID
Output
Bool
Data in the output 'RECORD' is valid
BUSY
Bool
The function block is in use
ERROR
Bool
Error detected
STATUS
Word
Last detected status, possible values:
0= Status OK