Time Measurement By Sequencer - Fujitsu SOFTUNE F2 MC-16 User Manual

Software for developing programs for the f2 mc-16 family of microprocessors / microcontrollers
Hide thumbs Also See for SOFTUNE F2 MC-16:
Table of Contents

Advertisement

CHAPTER 2 DEPENDENCE FUNCTIONS
2.2.7.4

Time Measurement by Sequencer

Time can be measured using the sequencer. A time measurement timer called the
emulation timer is used for this purpose. When branching is made from a specified level
to another specified level, a timer value is specified. Up to two emulation timer values can
be fetched. This function is called the timer latch function.
■ Time Measurement by Sequencer
The time duration between two given points in a complex program flow can be measured using the timer
latch function.
The timing for the timer latch can be set using the SET SEQUENCE command; the latched timer values can
be displayed using the SHOW SEQUENCE command.
When a program starts execution, the emulation timer is initialized and then starts counting. Select either 1 μs
or 100 ns as the minimum measurement unit for the emulation timer. Set the measurement unit using the SET
TIMESCALE command.
When 1 μs is selected, the maximum measured time is about 70 minutes; when 100 ns is selected, the
maximum measured time is about 7 minutes. If the timer overflows during measurement, a warning message
is displayed when the timer value is displayed using the SHOW SEQUENCE command.
102

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents