7.1 Interfaces in the PLC user program
PLC user program
The PLC user program operates the user interface. This includes, in particular, the bit
interfaces
of
the
DB1800
and the evaluation of the remaining time in DB9904. You must ensure
that appropriate messages are displayed for the warnings and alarms.
During the configuration of these messages, so-called alarm responses can be selected, e.g.
the machine is "disabled" after a Power OFF message.
The alarm messages are configured after specification of the SINUMERIK 828D PLC
messages. The texts are entered with the alarm text editor. Then the texts are available for
the operating software:
● Evaluation of the alarm data and actual data with the aim of generating PLC warnings and
PLC alarms. Additional signals can be included in the evaluation logic.
● Optional linking of the deactivation bits with bit memory or I/O signals.
Note
A sample program is supplied in the PLC function library. This can be adapted by machine
manufacturers to meet their requirements.
Interfaces to the PLC
The following data areas are available in the user interface:
Data block Meaning
DB9903 Initial data
DB9904 Actual data
DB1800.DBB2000 Deactivate tasks
DB1800.DBB3000 Alarms
DB1800.DBB4000 Acknowledgments
DB1800.DBB5000 Acknowledgment block
DB9903: Initial data
DB9903 Initial data table [r16]
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DBW0 Interval 1 [h]
DBW2 Time of first warning 1 [h]
DBW4 Number of warnings to be output 1
DBW6 Reserved 1
DBW8 Interval 2 [h]
DBW10 Time of first warning 2 [h]
DBW12 Number of warnings to be output 2
Service Planner
7.1 Interfaces in the PLC user program
CNC commissioning
Commissioning Manual, 10/2015, 6FC5397-3DP40-5BA3 225