Subroutine 24 - Aux_3Color_Lamp; Subroutine 31 - Plc_Ini_Usr_Ini (User Initialization) - Siemens SINUMERIK 808D ADVANCED Commissioning Manual

Hide thumbs Also See for SINUMERIK 808D ADVANCED:
Table of Contents

Advertisement

6.6.7

Subroutine 24 - AUX_3Color_LAMP

Purpose
Subroutine 24 is used to control the three-color lamp function and can be called in AUX_MCP.
Local variable definition
Inputs
Variable
Type
nodef
BYTE
Outputs
Variable
Type
Red
BOOL
Yellow
BOOL
Green
BOOL
Buzzer
BOOL
Relevant PLC machine data
No.
14512 [21].2
14512 [21].3
Example for calling subroutine 24
6.6.8

Subroutine 31 - PLC_ini_USR_ini (user initialization)

Purpose
Subroutine 31 is used for user initialization and should be called in subroutine PLC_INI. Since the subroutine PLC_INI is
called only during the first PLC cycle, the subroutine PLC_ini_USER_ini is also only called during the first PLC cycle.
Local variable definition
None
Relevant PLC machine data
None
Example for calling subroutine 31
Commissioning Manual
01/2017
Description
Reserved
Description
Alarm lamp: red
Alarm lamp: yellow
Alarm lamp: green
Alarm hint: buzzer
Description
Selection of the three-color lamp function (0: deactivate; 1: activate)
Switch of three-color lamp flashing (0: the lamp does not flash; 1: the lamp flashes)
169

Advertisement

Table of Contents
loading

Table of Contents