Siemens SINUMERIK 840D sl Function Manual page 1011

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

u m 50.0;
to DB 21;
s dbx 6.0;
FB1 parameter ExtendAlMsg
With FB1 parameter "ExtendAlMsg" = 1, the new DB2 structure becomes effective (see
"Interface PLC/HMI (Page 842)"). Upon activation, bit arrays are available for the disable and
stop signals which do not generate any alarms or messages. As a result, the above measures
do not need to be implemented. The desired functionality is automatically obtained by a simple
setting/resetting signals in DB2.
The error and operating messages in data block DB2 must be provided in a user-specific way.
Note
In DB2, a "1" signal must be present for several OB1 cycles to ensure that a message can
also be displayed on the HMI. There is an upper limit for the number of interrupts and messages
that can be pending at the same time. This upper limit is dependent on the PLC CPU. On PLC
317-2DP, the upper limit for messages pending simultaneously is 60.
References
List Manual for NC variables and interface signals, Chapter "PLC user interface" > "PLC alarms/
messages"
Declaration of the function
FUNCTION FC10:
VAR_INPUT
END_VAR
END_FUNCTION
Description of formal parameters
Signal
ToUserIF :
Ackn:
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
VOID
// NAME:
AL_MSG
ToUserIF :
BOOL;
Ackn :
BOOL;
Type
I
BOOL
I
BOOL
P3: Basic PLC program for SINUMERIK 840D sl
// Feed disable for channel 1
// Setting the blocking condition,
// Resetting is done via FC AL_MSG,
// if M 50.0 outputs the signal "0".
Type
Value range
0 (FALSE), 1
(TRUE)
0 (FALSE), 1
(TRUE)
13.17 Block descriptions
Description
1: Transfer of the signals to the user inter‐
face in each cycle
1: Acknowledgment of error messages
1011

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents