Fb "Hmi Event" For The Message Output; Parameters Of The "Hmi Event" Fb - Siemens SIMATIC C7-613 Manual

Table of Contents

Advertisement

Integration into the User Program
4.6

FB "HMI EVENT" for the message output

Function
The "HMI EVENT" FB manages the incoming operational messages and fault
messages and checks the acknowledgement of fault messages.
If a fault message exists, it is output at the display as it was created by you by
using the configuration interface. Operational messages are not output directly, but
are just displayed in the message level.
Operational and fault messages are entered in the event buffer.
The FB "HMI API" has to be called cyclically or time-controlled in your program.
Generation
In SIMATIC Manager, open the "C7 613" library and copy the "HMI EVENT" FB to
the block container of your project.
Structure and Description
Table 4-7

Parameters of the "HMI EVENT" FB

Parameter
API_DB
EVENTS
ACKS
RETVAL
4-28
Declaration
Data Type
INPUT
BLOCK_DB DB
INPUT
ANY
INPUT
ANY
OUTPUT
INT
Memory
Description
area
Number of the instance DB of the
"HMI API" FB.
Needed for synchronization of
"HMI EVENT" FB and "HMI API"
FB.
M, D, L, E
Pointer to the message area.
The bit address of the message
area must be "0". You must
specify the same length for the
message area and the
acknowledgement area.
Additional information is provided
in Section 4.6.1
M, D, L, E
Pointer to the acknowledgement
area.
The bit address of the
acknowledgement area has to be
"0". You must specify the same
length for the acknowledgement
area and the message area.
Additional information is provided
in Section 4.6.1
M, D, L, A
Return value; provides
information about possible errors.
The return values are described
in Appendix B.1
C7-613 Control System
A5E00138934-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents