139
XtrapulsPac - User Guide
Chapter 3 – Reference
Sequence Number
: allows the selection of the sequence to be executed. The "Sequence Number" can be
connected to physical logic inputs or set via the fieldbus to select the sequence.
Start Condition
: A Logic bit pattern can be defined as a condition for a sequence to be started. The "Start
Condition" can be connected to physical logic inputs or to a variable via the fieldbus.
Start
: A trigger signal (rising edge of start bit) allows starting the sequence which number is set by a sequence
number and if the start condition is fulfilled.
If the start condition is not ok, the movement will not be executed until the start condition is valid.
A sequence is started with bit 4 of control word (0x6040) and stopped with bit 5 of control word.
End Condition
: In some sequences, if an "End Condition" is defined, the sequence will be over when the "End
Condition" is valid. The "End Condition" is defined by bit patterns (bits equal to 0, bits equal to 1...), and can be
connected to physical logic inputs or to a variable via the fieldbus.
Control Word (0x6040):
Bit Action
4
start
sequence
5 1
stop
sequence
6 reserved
Status Word (0x6041):
Bit Action
10 Target
Reached
12 POS
13 SEQ
Sequence Chaining
The sequence chaining is controlled by the “SeqNext”, “SeqCount”, “SeqLink” and "StartCond" parameters.
Sequence Parameters
The parameters of all sequences are stored in a RAM memory (sequence memory).
These sequence parameters can be set:
- by parameter values defined in a sequence file named SEQUENCE.TXT (see Sequence File format).
- by direct access to the sequence parameters via appropriate objects.
Sequence Files
Loading a sequence file:
- all sequence parameters in the sequence memory will be erased by sequences defined in
SEQUENCE.TXT
- if a sequence is not defined in SEQUENCE.TXT, then the sequence will be cleared.
- the SEQUENCE.TXT file will be loaded into the sequence memory when the 24 V supply is applied
- the SEQUENCE.TXT file will be loaded into the sequence memory when writing into object 0x1011 with
signature = 0x7165736C (lseq)
Merging a sequence file:
- only sequences defined in SEQUENCE.TXT will be loaded into the sequence memory; other sequences in
the memory are not modified.
- the SEQUENCE.TXT file can be merged in sequence memory when writing into object 0x1011 with
signature = 0x7165736D (mseq).