User Manual
TMCM-3230 TMCL
™
Firmware Manual • Firmware Version V1.07 | Document Revision V1.05 • 2017-OCT-10
63 / 103
3.6.32 VECT (Define Interrupt Vector)
The VECT command defines an interrupt vector. It takes an interrupt number and a label (just like with
JA, JC and CSUB commands) as parameters. The label must be the entry point of the interrupt handling
routine for this interrupts. Interrupt vectors can also be re-defined. This command is intended for use in
standalone mode only.
Info
Please see table 11 for a list of interrupts that can be used on the TMCM-3230
module.
Related commands: EI, DI, RETI.
Mnemonic: VECT <interrupt number>, <label>
Binary Representation
Instruction Type Motor/Bank Value
37 <interrupt number> 0 (don’t care) <label>
Reply in Direct Mode
Status Value
100 - OK don’t care
Example
Define interrupt vector for timer #0 interrupt:
1
VECT 0, Timer0Irq
...
3
Loop:
...
5
JA Loop
...
7
Timer0Irq:
SIO 0, 2, 1
9
RETI
©2017 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com