EasyManua.ls Logo

Siemens SINUMERIK 828D

Siemens SINUMERIK 828D
1799 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
K1: Mode group, channel, program operation, reset response
9.10 Asynchronous subroutines (ASUBs), interrupt routines
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
603
9.10.4 Restrictions
Cross-mode Start of interrupt routines
Requirements:
Option: Cross-mode actions
MD11602 $MN_ASUP_START_MASK, at least Bit 0 = 1
For error-free execution of the function, the following settings in particular must be noted:
MD11600 $MN_BAG_MASK
MD11604 $MN_ASUP_START_PRIO_LEVEL
Interrupt assignment priority
Recommended settings:
MD11600 $MN_BAG_MASK = H11
MD11602 $MN_ASUP_START_MASK = H111
MD11604 $MN_ASUP_START_PRIO_LEVEL = 7
9.10.5 Examples
Activation of an interrupt routine via synchronous action
1. Define number of active digital inputs/outputs:
MD10350 $MN_FASTIO_DIG_NUM_INPUTS=3
MD10360 $MN_FASTIO_DIG_NUM_OUTPUTS=3
2. Generate short-circuit with the following MD setting:
MD10361 $MN_FASTIO_DIG_SHORT_CIRCUIT[0]='H0102B102'
MD10361 $MN_FASTIO_DIG_SHORT_CIRCUIT[1]='H0202B202'
3. HW assignment of the external NC input byte for NC program interrupt:
MD21210 $MC_SETINT_ASSIGN_FASTIN=2 ; better 1 byte more than needed
4. Define input as ASUB trigger:
SETINT(1) PRIO=1 SYNCASUP
5. IDS=1 EVERY $$AC_PATHN>=0.5 DO $A_OUT_[9]=1

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals