Specifications

196 GX Configurator-PN
(c) 2013 MITSUBISHI ELECTRIC CORPORATION
8.1.5 Function Block 'Alarm_Request'
With this function block the PLC program requests an alarm received from a specific IO-device.
Variable
Class
Type
Description
REQ
Input
Bool
Start alarm request
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
1= Profinet stack not started
7= Device not configured
8= Profinet error
9= No Alarm for this device
RECORD
Word
Read data
LENGTH
Int
Read data size in byte
The read alarm data is moved to the output 'RECORD' by using a block move operation. The user
has to configure an array variable for this output with the corresponding number of elements.
Word Offset
ID
Value
0
API
API number used to perform the alarm
1
2
Priority
Alarm priority
High priority: 0x06
Low priority: 0x05
3
Type
Alarm type