Creating Custom Workouts
01/2019-v1.0en
59
10.3.3
Heart Rate Mode
The next phase example uses a time for the phase. This phase uses 30 seconds for
the duration. The example code below also shows how to use the User’s defined
settings. The program will adjust the speed to 95% of the specified MaxRun speed.
This allows the phase to adjust to the person using it.
<Flags>SmallStepsOnly</Flags>
This will limit how much the treadmill can adjust the speed at one time.
All Heart Rate modes require the use of a HR monitor.
<Phase>
<Name>Target 60%</Name>
<Type>HeartRate</Type>
<Flags>SmallStepsOnly</Flags>
<HeartRate>
<Target>{Profile.MaxHeartRate} * 0.60</Target>
</HeartRate>
<Duration>3000</Duration>
</Phase>
10.3.4
Loop Mode
<Loop> and <Count> tags allow for alternating code phases used to create inter-
vals used in interval program training. The example code will loop MyIntervalLoop
10 times before stopping.
<Loop>
<Name>MyIntervalLoop</Name>
<Count>10</Count>
<Phase>
<Name> Walk</Name>
<Type>Goal</Type>
<Mode>Time</Mode>
<Speed>
<Target>{Profile.WalkMax} * 0.95</Target>
</Speed>
<Grade>
<Target>1.0</Target>
</Grade>
<Duration>120</Duration>
</Phase>
<Phase>
<Name>Run</Name>
<Type>Goal</Type>
<Mode>Time</Mode>
<Speed>
<Target>{Profile.RunMax} * 0.95</Target>
</Speed>
<Grade>
<Target>5.0</Target>
</Grade>
<Duration>20</Duration>
</Phase>
</Loop>