
CHAPTER 2
MODULAR SERVO
Reference Manual
Description of the Toolbox Functions
33-008-2M5
2-47
SetSampleTime
Purpose:
Set the basic clock.
Synopsis
: es_call( 'SetSampleTime', Period )
Description:
The function sets the basic clock of the RTK. The sampling period of
A/D converters is set by this function. The controller output rate (D/A) can
be equal to or greater than the basic clock frequency. The Period
parameter must be in the range from 0.001s to 32.767s. The lower bound
depends on the hardware configuration. The resolution is 0.001s.
See
:
SetDivider, GetSampleTime
Example
:
To set and to read the sampling period use the following statements:
es_call( 'SetSampleTime', 0.025 );
es_call( 'GetSampleTime' )
ans =
0.025
es_call( 'SetSampleTime', 0.0 );% SampleTime<0.001 results
es_call( 'GetSampleTime' )
% in 0.001
ans =
0.001
Summary of Contents for MS150
Page 1: ...MS150 Modular Servo Workshop Reference Manual 33 008 2M5 ...
Page 3: ...Notes ...
Page 7: ...MODULAR SERVO Reference Manual Contents TOC 2 33 008 2M5 Notes ...
Page 10: ...CHAPTER 1 MODULAR SERVO Reference Manual Introduction 33 008 2M5 1 3 ...
Page 24: ...CHAPTER 2 MODULAR SERVO Reference Manual Description of the Toolbox Functions 33 008 2M5 2 13 ...
Page 77: ...CHAPTER 4 MODULAR SERVO Reference Manual Quick Reference Table 4 4 33 008 2M5 Notes ...