EasyManua.ls Logo

Siemens SIMATIC NET S7-300 - Page 256

Siemens SIMATIC NET S7-300
317 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-256
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
7.8.7 FB 54 PNIO_ALARM
FB54 is used for alarm evaluation by a CP 343-1 operating as PROFINET IO
controller and should be called in its user program when the ADD_INFO parameter
in FC12 is not equal to 0. After complete and error-free transfer of all OUTPUT
parameters of FB54, the received alarms are acknowledged automatically.
The alarms are forwarded to the user program in the chronological order in which
they were signaled. Older alarms that have not yet been signaled to the user
program and that become invalid due to more recent alarms are not deleted by the
newer alarms.
Note
As long as the block has not yet been called, the alarms are acknowledged
automatically in the CP.
If FB54 has been called (at least) once in the user program, it must continue to be
called to acknowledge pending alarms. This is the situation when FC12 signals a
value not equal to “0” in the ADD_INFO parameter.
If FB54 is no longer called after it has been called once or more in the user
program, alarms are not acknowledged and there is no guarantee that the IO
image will be updated correctly. The can occur, for example, following a station
return alarm. The need to call FB54 can only be reset by restarting the CP (power
cycle).
Call Interface
Call interface in FBD representation
CPLADDR
NEW
PNIO_ALARM
LEN
ERROR
STATUS
WORD
INT
WORD
BOOL
BOOL
ID
WORD
DONE
BOOL
MODE
DWORD
AINFO
ANY TINFO
ANY

Table of Contents

Other manuals for Siemens SIMATIC NET S7-300

Related product manuals