<< Prev        Next >>

ID : 369

Buzzer

Function

To sound the buzzer.

Syntax

Buzzer ring time

Guaranteed entry

Ring time
Specify the buzzer ring time (in ms) by integer type data. The value cannot be negative.

Description

The buzzer sounds for the specified time. The program is in stand-by state at the pertinent line while the buzzer is ringing.

The buzzer sound stops when the task stops.

Related Terms

Buzzer

Attention

There may be an error in specified ring time due to task loading, etc. Moreover, an error occurs if the specified time is very short.

When the task is suspended during ringing, the buzzer continues ringing. Ring time elapses even during pausing or step stop. The buzzer stops ringing if the ring time has passed when the task is restarted.

Example

'!TITLE "Sounding Buzzer"
' Sound the buzzer for 1 second
Sub Sample_Buzzer

  ' Sound the buzzer for 1 second
  Buzzer 1000

End Sub

ID : 369

<< Prev        Next >>