Sample Rate

Motion Block

Description

Sample Rate returns the current sampling frequency of the controller. This is typically 1000 Hz with a discrete time period of 1000 microseconds. Every on-board task runs every sample period. The sample rate can be changed with Set Sample Rate.

Escapes

Querying the Sample Rate does not generate any escapes.

Examples

This block list measures the time of a move and reports the answer in seconds:

Related Topics

Set Sample Rate
Sample Counter
Parameter Out Of Range Escape Code