Siemens SINUMERIK 840D sl Function Manual page 432

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

Advertisement

H2: Auxiliary function outputs to PLC
8.13 Behavior during block search
Function AUXFUSYNC(...)
Function:
The function AUXFUSYNC generates a complete part program block as string from the global
list of auxiliary functions at each call. The part program block either contains auxiliary functions
or commands to synchronize auxiliary function outputs (WAITM, G4, etc.).
The function triggers a preprocessing stop.
Syntax:
PROC AUXFUSYNC(VAR INT <NUM>, VAR INT <GROUPINDEX>[10], VAR
STRING[400] <ASSEMBLED>)
Parameters:
<NUM>:
<GROUP INDEX>:
<ASSEMBLED>:
Further information:
If auxiliary functions were collected via a synchronized action, two NC blocks are generated.
One NC block to output the auxiliary functions. An executable NC block via which the NC block
is transported to the main run to output the auxiliary functions:
1. Output of the auxiliary functions via synchronized action, e.g.: WHEN TRUE DO M100 M102
2. Executable NC block, e.g.: G4 F0.001
Function AUXFUDEL(...)
Function:
The function AUXFUDEL deletes the specified auxiliary function from the global list of auxiliary
functions channel-specific for the calling channel. Deletion is realized by setting the
corresponding group index ...GROUPINDEX[n] to 0.
The function must be called before calling AUXFUSYNC.
The function triggers a preprocessing stop.
Syntax:
PROC AUXFUDEL(CHAR <TYPE>, INT <EXTENSION>, REAL <VALUE>, INT
<GROUP>)
432
Contains information about the part program block, supplied in param‐
eter <ASSEMBLED> or the auxiliary functions contained in it.
Value range: -1, 0, 1 ... 10
Value Meaning
≥1
Number of auxiliary functions contained in the part program block
0
Part program block without auxiliary functions, e.g. WAITM, G4
-1
End identifier. The global list of auxiliary functions has been com‐
pletely processed for the actual channel.
Contains the indices of the auxiliary function groups contained in the
part program block. With index = number of the auxiliary function group
- 1
Contains the complete part program block for the channel-specific SER‐
UPRO end ASUB as string.
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