Block: Sequencer



PIC




Inports


Start

Start signal. Rising flank triggers sequence






Outports


Out1

Output #1



Out2

Output #2



Out3

Output #3



Out4

Output #4






Mask Parameters


Delay1

Time delay for output 1



Delay2

Time delay for output 2



Delay3

Time delay for output 3



Delay4

Time delay for output 4



ts_fact

Multiplication factor of base sampling time (in integer format)




Description:

Generation of time delayed (enable) sequence.

Implementations:
FiP8 8 Bit Fixed Point Implementation
FiP16 16 Bit Fixed Point Implementation
FiP32 32 Bit Fixed Point Implementation
Float32 32 Bit Floating Point Implementation
Float64 64 Bit Floating Point Implementation

Implementation: FiP8


Name FiP8
ID 448
Revision 1.0
C filename Sequencer_FiP8.c
H filename Sequencer_FiP8.h

8 Bit Fixed Point Implementation



Controller Parameters


delay1

Time delay for output 1



delay2

Time delay for output 2



delay3

Time delay for output 3



delay4

Time delay for output 4



cnt

Timer value



start_old

Start value from previous cycle




Data Structure:

typedef struct { 
     uint16        ID; 
     int8          *Start; 
     int8          Out1; 
     int8          Out2; 
     int8          Out3; 
     int8          Out4; 
     uint16        delay1; 
     uint16        delay2; 
     uint16        delay3; 
     uint16        delay4; 
     uint16        cnt; 
     int8          start_old; 
} SEQUENCER_FIP8;

Implementation: FiP16


Name FiP16
ID 449
Revision 1.0
C filename Sequencer_FiP16.c
H filename Sequencer_FiP16.h

16 Bit Fixed Point Implementation



Controller Parameters


delay1

Time delay for output 1



delay2

Time delay for output 2



delay3

Time delay for output 3



delay4

Time delay for output 4



cnt

Timer value



start_old

Start value from previous cycle




Data Structure:

typedef struct { 
     uint16        ID; 
     int16         *Start; 
     int16         Out1; 
     int16         Out2; 
     int16         Out3; 
     int16         Out4; 
     uint16        delay1; 
     uint16        delay2; 
     uint16        delay3; 
     uint16        delay4; 
     uint16        cnt; 
     int16         start_old; 
} SEQUENCER_FIP16;

Implementation: FiP32


Name FiP32
ID 450
Revision 1.0
C filename Sequencer_FiP32.c
H filename Sequencer_FiP32.h

32 Bit Fixed Point Implementation



Controller Parameters


delay1

Time delay for output 1



delay2

Time delay for output 2



delay3

Time delay for output 3



delay4

Time delay for output 4



cnt

Timer value



start_old

Start value from previous cycle




Data Structure:

typedef struct { 
     uint16        ID; 
     int32         *Start; 
     int32         Out1; 
     int32         Out2; 
     int32         Out3; 
     int32         Out4; 
     uint16        delay1; 
     uint16        delay2; 
     uint16        delay3; 
     uint16        delay4; 
     uint16        cnt; 
     int32         start_old; 
} SEQUENCER_FIP32;

Implementation: Float32


Name Float32
ID 451
Revision 0.1
C filename Sequencer_Float32.c
H filename Sequencer_Float32.h

32 Bit Floating Point Implementation



Controller Parameters


delay1

Time delay for output 1



delay2

Time delay for output 2



delay3

Time delay for output 3



delay4

Time delay for output 4



cnt

Timer value



start_old

Start value from previous cycle




Data Structure:

typedef struct { 
     uint16        ID; 
     float32       *Start; 
     float32       Out1; 
     float32       Out2; 
     float32       Out3; 
     float32       Out4; 
     uint16        delay1; 
     uint16        delay2; 
     uint16        delay3; 
     uint16        delay4; 
     uint16        cnt; 
     float32       start_old; 
} SEQUENCER_FLOAT32;

Implementation: Float64


Name Float64
ID 452
Revision 0.1
C filename Sequencer_Float64.c
H filename Sequencer_Float64.h

64 Bit Floating Point Implementation



Controller Parameters


delay1

Time delay for output 1



delay2

Time delay for output 2



delay3

Time delay for output 3



delay4

Time delay for output 4



cnt

Timer value



start_old

Start value from previous cycle




Data Structure:

typedef struct { 
     uint16        ID; 
     float64       *Start; 
     float64       Out1; 
     float64       Out2; 
     float64       Out3; 
     float64       Out4; 
     uint16        delay1; 
     uint16        delay2; 
     uint16        delay3; 
     uint16        delay4; 
     uint16        cnt; 
     float64       start_old; 
} SEQUENCER_FLOAT64;