ECODRIVE03-FL*-04VRS
Functions
8-19
DOK-ECODR3-FL*-04VRS**-FK01-EN-P
8.6 Vector
Programming
Manual Vector
This makes it possible to run a user program in Manual Mode. The vector
program must be concluded with an RTS command (the stack is not
changed).
Note:
In the manual vector program, no feeds can be programmed.
When the operating mode is changed from `Manual´ to `Parameter,´ the
manual vector program is terminated. While the manual vector program is
running, any attempt to change the operating mode to `Automatic´ is
suppressed until the program has concluded.
The manual vector program is started by detection of the rising edge of a
signal pulse at the programmed input (see Chapter 9/Parameter AA01). If
'00.00.0' is programmed in this parameter, the manual vector program is
to be started only via a change in operating mode (Automatic
Å
Manual)
.
The start instruction for the manual vector program must not be within the
main program.
During jogging or homing in Manual Mode, no manual vector is accepted.
No jogging or homing is possible while the manual vector program is
running. Any such command is ignored.
Example:
Input in Parameter AA01
AA01
I0.00.7 1 0 0400
Input in the programming instruction
0400 APE
M2.02 00000000
0401 APE
M2.03 00000000
0402 RTS
Bytes M2.02 and M2.03 are cleared when the manual vector is invoked.
The manual vector program can be halted with a `Stop´ command. When
the immediate stop input changes from '0' to '1,' the program continues to
run from the point at which it was stopped.
Interrupt Vector
With the interrupt vector, a program running in Automatic Mode in Task 1
can be interrupted externally at any time. The program sequence then
continues at the interrupt program address (see Chapter 9/Parameter
AA02). There is no return to the interrupted main program.
The interrupt vector can be invoked only in Automatic Mode. Therefore,
the `Start´ or `Stop´ actions remain in effect. The subroutine stack (JSR,
RTS) is cleared each time the interrupt vector is invoked.
Invoking the interrupt vector during a subroutine can wait until the
subroutine has ended (see Chapter 9/Parameter AA02).
Note:
The interrupt vector is available only in Task 1.
Summary of Contents for Rexroth OptiFeed-FS EcoDrive 03 FLP04VRS
Page 18: ...XVI Table of Contents ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P ...
Page 348: ...11 18 Command Communications ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P Notes ...
Page 418: ...13 4 Connectors ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P Notes ...
Page 470: ...16 4 IDS Accessories ECODRIVE03 FL 04VRS DOK ECODR3 FL 04VRS FK01 EN P Notes ...
Page 489: ......