Examples; Extension Of Predefined Auxiliary Functions - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

H2: Auxiliary function outputs to PLC

8.17 Examples

MD20800 $MC_SPF_END_TO_VDI, bit 1 (subprogram end / stop to PLC)
Bit Value
1
Part program blocks without traversing motion
In a part program block without a traversing motion, all auxiliary functions are output in a block
immediately, irrespective of their parameterized output behavior.
Spindle-specific auxiliary function output only as information for the PLC user program
In certain controller situations, e.g. at the end of a block search, the collected spindle-specific
auxiliary functions (e.g. M3, M4, M5, M19, M40...M45, M70) is output to the NC/PLC interface
only for information purposes for the PLC user program. The controller generates a part
program block (action block) in which the collected auxiliary functions are entered with a
negative address extension. The corresponding system functions are then not executed.
Example: M(-2) = 41 request gear stage change for the 2nd spindle
8.17
Examples
8.17.1

Extension of predefined auxiliary functions

Task
Parameter assignment of auxiliary functions M3, M4, and M5 for the second spindle of the
channel
Parameter assignment: M3
Requirements:
● Machine data index: 0 (first user-defined auxiliary function)
● auxiliary function group: 5
● Type and value: M3 (spindle right)
444
Meaning
0
The auxiliary function M01 (conditional stop) is always output to the PLC. A quick ac‐
knowledgement is ineffective, because M01 is permanently assigned to the first auxiliary
function group and is therefore always output at the end of the block.
1
The auxiliary function M01 (conditional stop) is only output to the PLC, if the function:
"Programmed stop" is activated via the HMI user interface.
In the case of a quick acknowledgement, the M1 is output to the PLC during the motion.
While the function is not active, this does not interrupt continuous-path mode.
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents