hit counter script

Siemens SINUMERIK 840Di Function Manual page 1351

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

A bit is set channel-specifically in the local data "GP_AuxFunction" for the user program (if
"GP_AuxFunction[1]" is set, then an auxiliary function is available for the 1st channel).
The change signals and function value are available to the user in the associated channel
DB. The change signal for this interrupt-driven function is reset to zero in the cyclic basic
program section after the execution of at least one full OB1 cycle (max. approx. two OB1
cycles).
Tool change
With the tool-management option, the tool-change command for revolver and the tool
change in the spindle is supported by an interrupt. The local data bit "GP_TM" in OB 40 is
set for this purpose. The PLC user program can thus check the tool management DB (DB 72
or DB 73) for the tool change function and initiate the tool change operation.
Position reached
In the bit structure, "GP_InPosition" of the local data of OB 40 is specific to the machine axis
(each bit corresponds to an axis/spindle, e.g., GP_InPosition[5] corresponds to axis 5).
If a function has been activated via FC 18 (spindle control, positioning axis, indexing axis) for
an axis or spindle, the associated "GP_InPosition" bit can be used to implement
instantaneous evaluation of the "InPos" signal of the FCs listed above. This feature can be
used, for example, to obtain immediate activation of clamps for an indexing axis.
Declaration
FUNCTION FC 3: VOID
//No parameters
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
PLC Basic Program Solution Line (P3 sl)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
OB40_EV_CLASS :
OB40_STRT_INF :
OB40_PRIORITY :
OB40_OB_NUMBR :
OB40_RESERVED_1 :
OB40_MDL_ID :
OB40_MDL_ADDR :
OB40_POINT_ADDR :
BYTE ;
BYTE ;
BYTE ;
BYTE ;
BYTE ;
BYTE ;
INT ;
DWORD;
Detailed Description
2.12 Block descriptions
2-157

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents