trapulsPac - User Guide
Chapter 3 – Reference
3.2.3.8.8 - Sequence File Format
Description
1. Sequence files are text files.
Characters are not case sensitive.
2. The parameter syntax is:
Key_word = value
There must be only one key word per line.
3. The parameter value can be:
- a number: decimal or hexadecimal (preceded by 0x)
- a constant (text)
4. The character ; indicates the begin of a comment to the end of the line.
5. A sequence begins with keyword SeqNb
6. The parameters of a sequence are declared one after the other. Except for SeqNb, the parameter order
has no importance.
7. There is no indication for the end of a sequence. A new sequence with SeqNb indicates the end of the
current sequence.
8. Incoherent parameters or values out of the limits will generate an error.
9. In a sequence, parameters which are not declared will have a default value.
The default value can be changed by means of the Default keyword.
10. The sequencer can load sequence files in two ways:
- LOAD: load declared sequences from the sequence file into memory. Sequences that are not declared
will be cleared.
- MERGE: load declared sequences from the sequence file into memory. Sequences that are not declared
in the file will be kept.
Sequence file example:
; define some default values
Default
Accel=100000
Decel=100000
; sequence 1: positioning
SeqNb=1
SeqType=pos
Pos=0x001000
PosType=ABS ; absolute positioning
Speed=100000
Output="..001000"
Trigger=begin ; activate outputs at the beginning of the sequence
Tempo=1000
SeqNext=3
; sequence 3: run at high speed during 10 s
SeqNb=3
SeqType=speed
AccelTime=200000
DecelTime=200000
Speed=500000
RunTime=10000