5 Configuration and Settings
5.2 Configuring control messages (PLC alarms)
Monitoring of 24 V load circuits
Entry-ID: 61450284, V1.1, 05/2014
35
C
o
p
y
ri
g
h
t
S
ie
m
e
n
s
A
G
2
0
1
4
A
ll
ri
g
h
ts
re
s
e
rv
e
d
The following table shows an overview of the inputs and outputs of the ALARM_D
message block.
Table 5-4
Input/output
Data type
Description
EN
Input
BOOL
Enabling the ALARM_D message block.
1 = Message block is enabled (PLC alarm is
triggered when calling with input SIG=1)
SIG
Input
BOOL
Signal triggering the message.
When the ALARM_D message block is called
with SIG=1, the PLC alarm is triggered.
The message is pending until the ALARM_D
message block is called with SIG=0.
ID
Input
WORD
W#16#EEEE
Data channel for the messages
EV_ID
Input
C_ALARM_S
(WORD)
Message number
CMP_ID
Input
DWORD
ID for identification of the subsystem, to which
the appropriate message is assigned.
SD
Input
ANY
Associated value
RET_VAL Output
INT
Error information
5.2.3
Inputs and outputs of the ALARM_D message block
shows an example for assigning a message block.
Figure 5-2
Signals triggering the message
Assign the data type BOOL variable to the “SIG” input of the ALARM_D message
block previously declared as input in the block interface of the Messages (FB10)
block.
The following table shows which variable is assigned to the “SIG” input of the
ALARM_D messages block.