EasyManuals Logo

Siemens SINUMERIK 828D Function Manual

Siemens SINUMERIK 828D
1799 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #443 background imageLoading...
Page #443 background image
H2: Auxiliary function outputs to PLC
8.13 Block-search response
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
443
The function determines the sequence in which the M auxiliary functions, which have been collected on a group-
specific basis, are output for the predefined M codes. The sequence is determined from the collection times
$AC_AUXFU_M_TICK[<n>] (see "Time stamp of the active M auxiliary function [Page 442]").
A particular M code is only taken into account once, even if it belongs to more than one group. If the number of
relevant M commands is less than or equal to 0, all the collected M codes are output. The number of relevant M
commands is limited to 64.
Example
M commands for coolant output:
M7: Coolant 2 ON
M8: Coolant 1 ON
M9: Coolants 1 and 2 OFF
Group assignment:
Group 5: M7, M9
Group 6: M8, M9
Part program (section):
During block searches, the auxiliary functions are collected on the basis of specific groups. The last auxiliary
function in an auxiliary function group is output to the PLC following a block search:
Group 5: M7
Group 6: M9
If they are output in the sequence M7 M9, no coolant is then active. However, coolant 2 would be active
during the execution of the program. Therefore, the correct output sequence for the M auxiliary functions is
determined with an ASUP which contains the predefined procedure AUXFUMSEQ(…):
Program code
...
N10 ... M8
N20 ... M9
N30 ... M7
...
Program code
DEF INT _I, _M_IN[3], _EXT_IN[3], _NUM_OUT, _M_OUT[2], _EXT_OUT[2]
_M_IN[0]=7 _EXT_IN[0]=0
_M_IN[1]=8 _EXT_IN[1]=0
_M_IN[2]=9 _EXT_IN[2]=0
AUXFUMSEQ(3,_M_IN,_EXT_IN,_NUM_OUT,_M_OUT,_EXT_OUT)
FOR _I = 0 TO _NUM_OUT-1
M[_EXT_OUT[_I]]=_M_OUT[_I]
ENDFOR

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 828D and is the answer not in the manual?

Siemens SINUMERIK 828D Specifications

General IconGeneral
Control TypeCNC
Operating SystemWindows Embedded
ProcessorIntel Atom
Display10.4" color TFT display
InterfacesEthernet, USB
ProgrammingShopMill, ShopTurn
Operation Panel Size10.4"
Protection ClassIP65
PLC Memory2 MB
Spindle Capacity4 spindles
Hard DriveCompactFlash

Related product manuals