Siemens SINUMERIK 840D sl Function Manual page 1168

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

Advertisement

Detailed description
2.12 Block descriptions
Call example
As far as the time is concerned, the basic program must be executed before other interrupt-
driven user programs. It is, therefore, called first in OB 40.
The following example contains the standard declarations for OB 40 and the call for the
basic program.
ORGANIZATION_BLOCK OB 40
VAR_TEMP
//Assigned to basic program
GP_IRFromNCK : BOOL ;
GP_TM : BOOL ;
GP_InPosition : ARRAY [1..3] OF BOOL;
GP_AuxFunction : ARRAY [1..10] OF BOOL;
GP_FMBlock : ARRAY [1..10] OF BOOL;
//Further local user data may be defined from this point onwards
END_VAR
BEGIN
END_ORGANIZATION_BLOCK
184
OB40_EV_CLASS :
OB40_STRT_INF :
OB40_PRIORITY :
OB40_OB_NUMBR :
OB40_RESERVED_1 :
OB40_MDL_ID :
OB40_MDL_ADDR :
OB40_POINT_ADDR :
OB40_DATE_TIME :
CALL FC 3;
//INSERT USER PROGRAM HERE
BYTE ;
BYTE ;
BYTE ;
BYTE ;
BYTE ;
BYTE ;
INT ;
DWORD;
DATE_AND_TIME;
//Interrupt by NCK for user
//Tool management
//Axis-oriented for positioning,
//indexing axes, spindles
//Channel-oriented for auxiliary functions
//Channel-oriented for block transfer for FM
// (in preparation)
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0

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