Herunterladen Inhalt Inhalt Diese Seite drucken

Example Of Application; Connections; Functional Description; Folder Structure On The Memory Card - Monacor EPS110/RS485 Bedienungsanleitung

Ereignisgesteuerter audiospieler
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

6 Example of Application

A music player with buttons for direct selection and an option to adjust
the volume is used as a configuration example . The send and receive
functions of the RS-485 interface are also used .

6.1 Connections

As described in chapter 4 .2, connect the audio outputs to the inputs
of an amplifier system or to headphones and connect a power supply .
To control the music player, seven pushbuttons with normally
open contacts are required . Connect each of these contacts to an
input (contacts 09 ... 15) and to contact 16 on terminal block X2 (2) .
Input
Contact
1
09
2
10
3
11
4
12
5
13
6
14
7
15
For communication via the RS-485 serial interface, connect the com-
munication partner (e . g . computer with terminal program) according
to chapter 4 .2 .4 .

6.2 Functional description

In this example, the following functions are to be performed by
EPS110/ RS485
– Two seconds after switching on the operating voltage, a switch-on
tone will sound (e . g . as a short functional test for the amplifier
system) .
– After switching on the operating voltage, the message
"EPS110/ RS485: Power on!" will be sent via the RS-485 interface .
– Button 1 is used to start playing the audio files in the folder "Music" .
Replay can be paused and resumed at any time by repeatedly press-
ing the button .
– Button 2 is used to skip to the previous track within the folder .
– Button 3 is used to skip to the next track within the folder .
– Buttons 4 and 5 are used to directly play the audio files "Signal1 .
wav" and "Signal2 .wav" (e . g . signal tones or announcements) .
– When the command "Signal3" is received via the RS-485 interface,
the audio file "Signal3 .wav" will be played .
– To reduce or increase the volume, keep the button 6 or 7 pressed
for a longer time .

6.2.1 Folder structure on the memory card

The example is based on the following folder structure on the mem-
ory card:
\Music \Song1.mp3
\[further mp3/ wav files with any names]
\Signal1\Signal1.wav
\Signal2\Signal2.wav
\Signal3\Signal3.wav
\Start\tada.wav
20
possible designation of the button
PLAY/ PAUSE
PREV
NEXT
SIGNAL 1, INFO 1
SIGNAL 2, INFO 2
VOLUME −
VOLUME +

6.3 Creating the configuration file

6.3.1 Basic settings

For the basic settings, call up the menu item "Device ⇒ Settings" .
Make sure that the following settings have been selected:
Trackmode = folder
Loopmode = off
Skipmode = folder
Note: The setting "Trackmode = folder" causes all files in a folder to be
played one after the other . This is what is desired for the files in the folder
"Music" . The signal files for direct selection and the file for the switch-on
tone are to be played individually . Therefore, they must be in separate
folders .
The following volume settings can be modified if necessary .
Volume Adjustment = −20 dB
Level step = 1 dB
Level delay = 1000 ms
Level speed = 6 dB/s
To use the serial interface, select the option "Com is used for Common
com-Port" under "Com Multifunction configuration" .
The settings under "Com Configuration" must be selected in
such a way that they will match the settings of the communication
partner . If the default setting for "Terminate string = %0D%0A" is
maintained, it must be ensured that the device from which a com-
mand is to be received always adds the control characters LF + CR to
its transmissions .

6.3.2 Program list

After starting the configuration program or after calling up the menu
item "File
New
EPS110/RS485", the first row of the program list
will already contain an event called "Begin" (see fig . 3 "Start screen") .
1) Select this row and change the settings "Event Configuration"
on the right to:
Event type = Init
On the left of the Event column, a power-on button will appear,
symbolising the event of switching on the power supply .
2) To enter the action following the event, click on the button "Add
Action" . A new row will be added for the action .
3) Adjust the settings "Action Configuration" shown on the right to:
Action type = Player, Delay time for action = 2000 ms
Command = Start, Loop mode = noChange
File config = /Start /tada .wav
4) Use "Add Action" to add another action with the following set-
tings:
Action type = Com, Delay time for action = 0, Com Port = Com1
Transmitted string = EPS110/ RS485: Power on!
5) After that, always alternately add an event via "Add Event" and
make the settings for this event . Then add and configure the action
that follows via "Add Action" .
The table below shows all events (E) and actions (A) and the settings
required .

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

1000871

Inhaltsverzeichnis