Siemens SINUMERIK 840D sl Function Manual page 1186

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

Advertisement

Detailed description
2.12 Block descriptions
2.12.17
FC 12: AUXFU call interface for user with auxiliary functions
Description of functions
FC AUXFU is generally called on an eventdriven basis in the basic program if the channel
transferred in the input parameter contains new auxiliary functions. The PLC user can extend
FC AUXFU with program instructions for processing his auxiliary function to avoid cyclic
polling of the channel DBs. This mechanism permits auxiliary functions to be processed on a
jobdriven basis. FC AUXFU is supplied as a compiled empty block in the basic program. In
this case, the basic program supplies parameter "Chan" with the channel number. The PLC
user knows which channel has new auxiliary functions available. The new auxiliary functions
can be determined by the auxiliary-function change signals in the channel concerned.
Declaration of the function
FUNCTION FC 12: VOID
VAR_INPUT
END_VAR
BEGIN
END_FUNCTION
Explanation of formal parameters
The table below lists all formal parameters of the AUXFU function:
Signal
Chan
Example
FUNCTION FC 12: VOID
VAR_INPUT
END_VAR
VAR_TEMP
END_VAR
BEGIN
L Chan;
+ 21;
T ChanDB;
TO DB[ChanDB];
202
Chan:
BYTE ;
BE;
Type
Type
I
BYTE
Chan:
BYTE ;
ChanDB:
INT ;
//Event control of auxiliary functions
Value range
0 to 9
//Event control of auxiliary functions
//Parameter is supplied by basic program
//Channel index no., (0,1,2,..)
//Channel DB offset
//Save channel DB no.
//Channel DB is opened indirectly
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Remark
No. of NC channel -1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 840dSinumerik 840diSinumerik 810dSinumerik 840d powerlineSinumerik 840de powerline ... Show all

Table of Contents