SPLat Logo

STScale ss [D>=16]

NOTICE: We are updating our website. For product enquiries and orders please contact us directly.
NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map

STScale ss [D>=16]

This instruction is intended to assist debugging using the SuperTimer mechanism plus the global 100mS and 10mS ticks. ss is a speed-up factor between 1 and 255. 1 gives no speedup. 255 gives a 255x speedup. This instruction is not confined to use in a MultiTrack task.

From dialect 20 some controllers allow you to program the 10mS basic "tick" interval over the range 1mS to 255mS via a setting in the CPU device. See the CPU device documentation for your controller. This is a different mechanism to STScale. With STScale the ticks still happen every 10mS, but more than 10mS is added to the system clock. That means that with STScale the system clock stil only changes every 10mS. STScale is simulated in SPLat/PC, whereas the CPU device setting is not. STScale is intended only for speedup during debugging.

Note that a zero argument will stop the supertimers and anything derived from them (viz Pause and WaitOnT timing in a MultiTrack task). Be careful.

SuperTimers are discussed in the MultiTrack tutorial

Dialect exclusions: Not available in dialects before 16.

Will not be supported in 32-bit boards. Instead the CPU command SPxCmd1 1,!CPU lets you change timing of individual MultiTrack tasks.

See also STStart, STTest, Pause, WaitOnT, WaitOnKT