69
5 Parameter description
5.6 Commands for sequence programs
Commands for generating and executing sequence programs:
Command
Argument
Function
Description
PROGSEQ
[…]
END
–
Program
Sequence
Defines the start and end of the sequence program.
All commands sent to PROGSEQ are not executed, but transferred to the
sequence program memory. An END marks the end of the sequence pro-
gram.
All commands after END are directly executed again.
There is no SAVE command necessary for saving the program sequence.
Command must not be executed more than 10,000 times, as otherwise the
function of the Flash memory can no longer be guaranteed.
These commands do not have to be entered in the FAULHABER Motion
Manager, as they are automatically attached by the “Transfer program
file…” function.
Note:The Xon/Xoff protocol must be used to transfer lengthy program
sequences
GPROGSEQ
- / 1
Get Program
Sequence
Reads out and sends back the stored program sequence. Each program
line is output in lower case letters, ending with a CR character. At the end
of the program the line “end:” is sent, with specification of the program
length in bytes followed by a CR and LF character.
GPROGSEQ1: Reads out the program sequence and indicates at which pro-
gram line the program counter is currently located ("PC--")
ENPROG
–
Enable
Program
Execution of the program is released, i.e. the sequence is started. This
status can be permanently stored with SAVE/EEPSAV, so that the drive starts
up with the stored program sequence immediately after switch-on.
DIPROG
–
Disable
Program
Deactivate program execution.
RESUME
–
Resume
Continue program sequence after DIPROG at the point at which it was
interrupted.
MEM
–
Memory
Return available program memory in Word.