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
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...