Reading System Variables For A Block Search; Automatic Start Of An Asub After A Block Search - Siemens SINUMERIK 828D Function Manual

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

Advertisement

K1: Mode group, channel, program operation, reset response
9.7 Block search
/FB1/Function Manual, Basic Functions; Auxiliary Function Output to PLC (H2),
Section: Output suppression of spindle-specific auxiliary functions
/FB1/ Function Manual, Basic Functions; Mode Group, Channel, Program Operation (K1)
Section: Program test
/FB1/ Function Manual, Basic Functions; Spindles (S1),
Section: Auxiliary spindle functions after block search
9.7.2.4

Reading system variables for a block search

Different system variables are available in the NC language to access values of the NC areas preprocessing,
main run, or servo/drive:
$P_...
System variables that start with $P supply the pre-processing state (i.e. the programmed
values).
$A_...
System variables that start with $A supply the main run state.
$V_...
System variables that start with $V provide data that are received from the servo/drive.
During a type 2 and 4 block search, no blocks access the main run. Therefore, it should be ensured that system
variables, which reflect the main run or servo/drive states, are not changed by the search. Where necessary, for
this variable, the block search must be executed in a special fashion by querying the machining type with
$P_SEARCH in the NC program.
System variables that start with $P can be simply used in all search types.
9.7.3

Automatic start of an ASUB after a block search

Parameter assignment
Making the function effective
The automatic ASUB start after a block search is activated by the following MD setting:
MD11450 $MN_SEARCH_RUN_MODE, bit 1 = 1
Program to be activated
In the default setting, the program _N_PROG_EVENT_SPF is activated from the directory _N_CMA_DIR as
ASUB after the block search by changing the last action block. If another program is to be activated, then the
name of this user program must be entered in the following machine data:
MD11620 $MN_PROG_EVENT_NAME
Behavior when the single block processing is set
Via the following channel-specific machine data it can be set, whether the activated ASUB are processed without
interruption despite a set single block processing or whether the single block processing is to be made active:
MD20106 $MC_PROG_EVENT_IGN_SINGLEBLOCK
Bit
Value
Description
4
0
Single block execution is active.
1
Single block processing is suppressed.
510
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