Method of sequencing commands to execute N sets of instructions (140, 141, 142, 143), where N is a natural number greater than or equal to two; said method being implemented by a control unit suitable for periodically receiving time interrupts and for generating commands to execute the sets of instructions (140, 141, 142, 143) to be executed, each set of instructions (140, 141, 142, 143) is identified by an integer greater than or equal to zero called a rank, he values of said rank being between Rmin and Rmax inclusive, said control unit, comprising a memory storing a predefined threshold, at least a main counter and a secondary counter, characterized in that the method comprises the following steps: a) initializing (34, 49) the main counter; b) incrementing the main counter upon receipt of a time interrupt; c) generating a command to execute a set of instructions (140, 141, 142, 143) to be executed, comprising the following steps: i) initializing the secondary counter; ii) calculating a variable V based on the instantaneous value p of the main counter and on an instantaneous value s of the secondary counter; iii) determining whether the calculated variable V is an integer; ▪ if said calculated variable V is an integer: - comparing the instantaneous value s of the secondary counter to the predefined threshold; - when the instantaneous value s of the secondary counter is less than the predefined threshold, generating the instantaneous value s of the secondary counter to identify the rank of the set of instructions (140, 141, 142, 143) to be executed; ▪ if the calculated variable V is not an integer, - incrementing the secondary counter and - repeating steps ii) and iii). d) repeating steps a) to d). a) initializing (34, 49) the main counter; b) incrementing the main counter upon receipt of a time interrupt; c) generating a command to execute a set of instructions (140, 141, 142, 143) to be executed, comprising the following steps: i) initializing the secondary counter; ii) calculating a variable V based on the instantaneous value p of the main counter and on an instantaneous value s of the secondary counter; iii) determining whether the calculated variable V is an integer; ▪ if said calculated variable V is an integer: - comparing the instantaneous value s of the secondary counter to the predefined threshold; - when the instantaneous value s of the secondary counter is less than the predefined threshold, generating the instantaneous value s of the secondary counter to identify the rank of the set of instructions (140, 141, 142, 143) to be executed; ▪ if the calculated variable V is not an integer, - incrementing the secondary counter and - repeating steps ii) and iii). i) initializing the secondary counter; ii) calculating a variable V based on the instantaneous value p of the main counter and on an instantaneous value s of the secondary counter; iii) determining whether the calculated variable V is an integer; ▪ if said calculated variable V is an integer: - comparing the instantaneous value s of the secondary counter to the predefined threshold; - when the instantaneous value s of the secondary counter is less than the predefined threshold, generating the instantaneous value s of the secondary counter to identify the rank of the set of instructions (140, 141, 142, 143) to be executed; ▪ if the calculated variable V is not an integer, - incrementing the secondary counter and - repeating steps ii) and iii). ▪ if said calculated variable V is an integer: - comparing the instantaneous value s of the secondary counter to the predefined threshold; - when the instantaneous value s of the secondary counter is less than the predefined threshold, generating the instantaneous value s of the secondary counter to identify the rank of the set of instructions (140, 141, 142, 143) to be executed; - comparing the instantaneous value s of the secondary counter to the predefined threshold; - when the instantaneous value s of the secondary counter is less than the predefined threshold, generating the instantaneous value s of the secondary counter to identify the rank of the set of instructions (140, 141, 142, 143) to be executed; ▪ if the calculated variable V is not an integer, - incrementing the secondary counter and - repeating steps ii) and iii). - incrementing the secondary counter and - repeating steps ii) and iii). d) repeating steps a) to d).