Programming Of Auxiliary Functions; Transfer Of Values And Signals To The Plc Interface - Siemens SINUMERIK 808D Function Manual

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

Advertisement

9.2

Programming of auxiliary functions

General structure of an auxiliary function
Letter[address extension]=Value
The letters which can be used for auxiliary functions are: M, S, H, T, D, F.
The address extension must be an integer. The square brackets can be omitted when an address extension is specified
directly as a numeric value.
The value is defined differently for the individual auxiliary functions:
● INT= integer
● REAL= fractional decimal number (floating point)
The table below introduces the programming of auxiliary functions:
Func-
Address extension
tion
(integer)
Meaning
M
Spindle no.
S
Spindle no.
H
Any
T
-
D
-
F
-
A maximum total of 10 auxiliary functions may be programmed in one block. Alarm 14770 "Auxiliary function incorrectly
programmed" is output when the specified length for address extension of value is exceeded or when the wrong data type is
used. The following table shows some programming examples for H functions.
If the admissible number of auxiliary functions per block is exceeded, alarm 12010 is issued.
For the programming examples of H functions, see the table below:
Programming
H5
H=5.379
H17=3.5
H5.3=21
Block change
A new auxiliary function output from the NCK to the PLC is only possible after the PLC has acknowledged all transferred
auxiliary functions. Auxiliary functions are present in the user interface for at least one PLC cycle. A block is considered as
completed when the programmed movement has been completed and the auxiliary function has been acknowledged. To do
so, the NCK stops the part program processing if necessary to ensure that no auxiliary functions are lost from the PLC user
program's point of view.
9.3

Transfer of values and signals to the PLC interface

Time of transfer
In the case of auxiliary functions which are output at the end of a block (e.g. M2), the output is only made after all axis
movements and the SPOS movement of the spindle have been completed.
72
Value
Area
Area
1 - 2
0-99
1 - 2
0-±3.4028 ex 38
0 - 99
±3.4028 ex 38
-
0-32000
-
0-9
-
0,001-999 999,999 REAL
Output of H function to the PLC
H0=5.0
H0=5.379
H17=3.5
Error, alarm 14770
Type
Meaning
INT
Function
REAL
Spindle
speed
REAL
Any
INT
Tool selection
INT
Tool offset
selection
Path feedrate
Explanation
Specific numbers are
assigned a fixed func-
tion.
Functions have no
effect in the NCK; only
to be implemented on
the PLC
D0 deselection, default
D1
Function Manual
Number
per block
max
5
1
3
1
1
1
01/2017

Advertisement

Table of Contents
loading

Table of Contents