AKD BASIC User Guide | 6 AKD BASIC Parameters, Operators, Statements
6.20.1 Interrupt {Source}
General Information
Type R/W
Description Interrupt sources enable or disable Interrupt...End Interrupt statements.
Units none
Range 0 (disabled) or 1 (enabled)
Default
Value
0 (disabled)
Data Type Integer
Description
Interrupt sources enable or disable Interrupt ... End Interrupt statements. If you enable a given
interrupt then there must be an Interrupt ... End Interrupt definition for that interrupt source in
your program.
The table below lists the source names and a brief description for all the interrupt sources avail-
able on the AKD BASIC.
Interrupt Source Interrupt Occurs
INTR.DIN1HI when DIN1.STATE goes from 0 to 1
INTR.DIN1LO when DIN1.STATE goes from 1 to 0
INTR.DIN2HI when DIN2.STATE goes from 0 to 1
INTR.DIN2LO when DIN2.STATE goes from 1 to 0
INTR.DIN3HI when DIN3.STATE goes from 0 to 1
INTR.DIN3LO when DIN3.STATE goes from 1 to 0
INTR.DIN4HI when DIN4.STATE goes from 0 to 1
INTR.DIN4LO when DIN4.STATE goes from 1 to 0
INTR.DIN5HI when DIN5.STATE goes from 0 to 1
INTR.DIN5LO when DIN5.STATE goes from 1 to 0
INTR.DIN6HI when DIN6.STATE goes from 0 to 1
INTR.DIN6LO when DIN6.STATE goes from 1 to 0
INTR.DIN7HI when DIN7.STATE goes from 0 to 1
INTR.DIN7LO when DIN7.STATE goes from 1 to 0
INTR.DISABLE when the drive gets disabled
INTR.DRV.FAULTS when the drive faults
INTR.DRV.HWENABLE when DRV.HWENABLE goes from 0 to 1
INTR.DRV.WARNINGS when the drive produces a warning
INTR.HWLS.NEGSTATE when HWLS.NEGSTATE goes from 0 to 1
INTR.HWLS.POSSTATE when HWLS.POSSTATE goes from 0 to 1
INTR.MODBUS when a Modbus User Parameter changes.
INTR.PL.ERR when PL.ERR = PL.ERRFTHRESH
INTR.PLS.P1 to
INTR.PLS.P8
when PLS.P1 to PLS.P8 is enabled and goes high, respec-
tively.
INTR.SWLS.LIMIT0
when PL.FB > SWLS.LIMIT0 (if SWLS.LIMIT0 is the upper
limit)
329 Kollmorgenâ„¢ | March 30, 2012