Plc Subroutine Library; Overview - Siemens SINUMERIK 808D ADVANCED Commissioning Manual

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

Advertisement

USER_DATA_FLOAT
MD14514
PLC interface
address
Machine data -
Float
14514[0]
DB4500.DBD2000 -
14514[1]
DB4500.DBD2004 -
14514[2]
DB4500.DBD2008 -
14514[3]
DB4500.DBD2012 -
14514[4]
DB4500.DBD2016 -
6.6

PLC subroutine library

6.6.1

Overview

In order to simplify the PLC design, we provide refined PLC functions which have generality, such as initialization, machine
panel signal processing, emergency stop processing, axis enable control, hard limit, and reference point etc. By adding the
desired subroutine module to the main procedure, plus other supplementary procedures, you can complete the PLC
procedure design easily.
The PLC subroutine library consists of the following files:
● PLC project file: SAMPLE_TURN.PTP (application program as examples for a turning machine)
● PLC project file: SAMPLE_MILL.PTP (application program as examples for a milling machine)
Note
Through these examples, you can clearly realize how to create or invoke PLC subroutines. You can reorganize PLC
subroutines or modify networks to realize most machine functions, test and debug subroutines of the library.
System resource
Resource
Input
Output
PLC system
RAM
resource
Non-volatile memory
PLC user alarm
Timer
Counter
Parameter
MD14510(32)
Parameter
NC resource
MD14514(32)
Parameter
MD14514(8)
Programming
Subroutine (64)
tool resource
Symbol table (32)
162
Unit
Range
-3.40e38 to 3.40e38
-3.40e38 to 3.40e38
-3.40e38 to 3.40e38
-3.40e38 to 3.40e38
-3.40e38 to 3.40e38
I0.0 to I2.7 (24 inputs on X100, X101, and X102)
I6.0 to I8.7 (48 distributed inputs on X301 and X302)
Q0.0 to Q1.7 (16 outputs on X200 and X201)
Q4.0 to Q5.7 (32 distributed outputs on X301 and X302)
M0.0 to M255.7 (256 bytes)
DB1400.DBX0.0 to DB14000.DBX127.7 (128 bytes)
DB1600.DBX0.0 to DB16000.DBX15.7 (128 user alarms)
T0 to T15 (100 ms timer) T16 to T32 (10 ms timer)
C0 to C63 (64 counters)
Statistic INT: DB4500.DBW0 to DB4500.DBW62 (32 double words)
Statistic HEX: DB4500.DBB1000 to DB4500.DBB1031 (32 bytes)
Statistic REAL: DB4500.DBD2000 to DB4500.DBD2028 (8 double words)
SBR0 to SBR63 (64 subroutines)
SYM1 to SYM32 (32 symbol tables)
Function
Tool magazine: spindle poisoning angle
Tool magazine: preparation position of Z axis for
tool change
Tool magazine: tool change position of Z axis
Tool magazine: velocity of Z axis, go to tool change
position
Tool magazine: velocity of Z axis, back to tool
change preparation position
Commissioning Manual
01/2017

Advertisement

Table of Contents
loading

Table of Contents