Asub At The End Of The Serupro - Siemens SINUMERIK 828D Function Manual

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

Advertisement

H2: Auxiliary function outputs to PLC
8.13 Block-search response
8.13.7

ASUB at the end of the SERUPRO

Function
After completing the block search with the program test (SERUPRO), before starting the subsequent processing,
the auxiliary functions collected during the search must be output. For this purpose, during the block search, the
auxiliary functions are collected in a global list. The SERUPRO end ASUBs generate the corresponding part
program blocks channel-specific from this list. This ensures that the collected auxiliary functions can be output
both channel-specific as well as cross-channel in the correct sequence. A fully functional SERUPRO end ASUB
is a component of the NCK software.
Users/machinery construction OEMs can change the SERUPRO end ASUB. The subsequently described
functions support processing the global list of auxiliary functions and generating the part program blocks required
for synchronized auxiliary function output.
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>:
452
Contains information about the part program block, supplied in
parameter <ASSEMBLED> or the auxiliary functions contained in it.
Value range: -1, 0, 1 ... 10
Val
Meaning
ue
≥ 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
completely 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
SERUPRO end ASUB as string.
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents