TSL Automation Solutions Logo

Section 15.4.19 · Chapter 15: Using Macros

Sound Operation

■ SOUND

Format SOUND (P1,P2,P3 ) Data Type U
Function Plays the sound P1.
P1 (I/C) The identifier of the sound to be played.
Note: The sounds and their identifiers are defined in the sound table of the panel application.
P2 (I/C) The number of times you want the sound to be played. If you want the specified sound to be played just once, set P2 to 1.
P3 (I/C) The break time between two consecutive plays. The time unit is 100 ms (0.1 second). If you do not want any break between two plays, set P3 to 0.
Example 1 SOUND(10, 5, 3) /* Play the sound #10 5 times with a break of 0.3 second between two consecutive plays. */

■ STOP_SOUND

Format STOP_SOUND
Function Stops playing the current sound.
Example 1 STOP_SOUND /* Stop playing the current sound.*/

Need PM Designer itself?

V4 for current PK, PT, ITV and PM panels, V2 for older models. Free, sent by email.

Source.Section 15.4.19 of the PM Designer Software User Manual, Edition 2.0, © Cermate Technologies Inc. (www.cermate.com, service@cermate.com). Reproduced online, with the manual's own figures, by TSL Automation Solutions, authorised Cermate distributor, for users of Cermate HMI panels. PM Designer and PanelMaster are trademarks of Cermate Technologies Inc.

Text and figures are the manufacturer's and may describe features your panel or software version does not have. For a plain-language introduction read the PM Designer guide; for help with a specific panel contact TSL Automation.