Beep ( The Buzzer Sounds ) - Mitsubishi QD51 Programming Manual

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
BEEP
Instruction
• The buzzer sounds from the console's built-in speaker.
BEEP
Syntax
BEEP
Examples
• The BEEP instruction rings the buzzer for a certain duration as executing PRINT CHR$(7).
Description
• The BEEP instruction can be executed only by the port specified as a console by the DIP
switch of the communication module's main system. It is not for the output destination
switching by the ZODV instruction.
Program Example
10 ' Rings the buzzer 10 times
20 FOR I=1 TO 10
30 BEEP
40 PRINT I;"times"
50 FOR J=0 TO 200
60 NEXT J
70 NEXT I
80 END
11 - 8
BEEP
:
' Repeats 10 times
:
' Rings the buzzer
:
' Displays the count
:
' Pauses by looping
MELSEC-Q
11 - 8

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents