Table of Contents

Advertisement

0
q q
Version 2.3

Advertisement

Table of Contents
loading

Summary of Contents for inout Dinplayer D01-MKII

  • Page 1 Version 2.3...
  • Page 2 DINplayer User Manual v.2.3 Warranty DINplayer has a 24 month warranty on the electronic parts, running from the date of purchase. The warranty will not be valid in case of tampering with the device or in case personnel not authorised by the manufacturer or by the authorised dealer should carry out work on it.
  • Page 3: Table Of Contents

    DINplayer User Manual v.2.3 TABLE OF CONTENTS Introduction What is DINplayer? What is Mp3? Encoder Decoder Player Wave Audio compression in various formats Installation Content of the DINplayer kit Notices Description and connections Command description Connection description Power supply Vplay output for external relay DINplayer configurations Logical inputs Logical inputs: music player...
  • Page 4 DINplayer User Manual v.2.3 Music player mode Music player function Music player with logical inputs function RS485 serial communication DINplayer and RS485 Serial port communication parameters (config.txt) Framing error on master NAK reply by DINplayer Transmitting a command by master How to read the figures of the dedicated protocols When the Master delivers a command to DINplayer Basic format of the dedicated protocols...
  • Page 5: Introduction

    DINplayer User Manual v.2.3 Introduction 1.1 What is DINplayer? DINplayer is an advanced MP3 player with solid state memory, which has been designed to play warning messages, voice alerts and all types of audio files, recalled by the use of logical inputs in binary combination.
  • Page 6: Installation

    DINplayer User Manual v.2.3 Installation 2.1 Content of the kit DINplayer n° 1 DINplayer device; n° 1 user manual; n° 1 flash memory; 2.2 Notices 1. DINplayer has been designed and made to work only with the following mains power supply: 12÷24VDC 2.
  • Page 7: Description And Connections

    DINplayer User Manual v.2.3 Description and connections 3.1 Command description Flash memory introduction slot for Secure Digital or MultiMedia Card. Command keys: = precedent MP3 file = (brief pressure) PLAY / (prolonged pressure) increase output volume = (brief pressure) STOP / (prolonged pressure) reduce output volume = next MP3 file IMPORTANT: - volume control with the keys is active only during the playing of the MP3 file.
  • Page 8: Connection Description

    DINplayer User Manual v.2.3 3.2 Connection description Common inputs (COM INPUT) COM IN Power supply 12÷24VDC. Ground supply / Ground signal of pre-amplified audio output. Active when device is playing. It supplies the same voltage power of the Vplay DINplayer (V ) and it can directly drive an external relay (150mA max).
  • Page 9: Dinplayer Configurations

    DINplayer User Manual v.2.3 3.5 DINplayer Configurations DINplayer in addition to the 6 logic inputs for the audio files activation has a mono 20W amplifier to directly drive an external loudspeaker and it can be connected through the serial port to an RS485 bus, to be controlled by a master system or by a computer. To configure the device to meet your needs, gently use a screwdriver to lift the clamps cover and to move the P1, P2, P3, P4 jumpers as displayed below.
  • Page 10 DINplayer User Manual v.2.3 2. DINplayer with 6 logical inputs and amplified 20W mono output. The 20W mono amplifier can directly drive an external loudspeaker with the impedance of 4 min. To set the amplified mode, lift the clamps cover and move the jumpers P3 Ω...
  • Page 11 DINplayer User Manual v.2.3 3. DINplayer with RS485 and premaplified STEREO output. To set the preamplified output mode, lift the clamps cover with a screwdriver and move the jumpers P3 and P4 like in figure. To enable the serial port through the 11/485A and 12/485B pins, raise the cover of the device and move the P1 and P2 jumpers of the diagram as indicated in the following figure.
  • Page 12 DINplayer User Manual v.2.3 4. DINplayer with RS485 and amplified 20W MONO output. The 20W mono amplifier can directly drive an external loudspeaker with the impedance of 4 min. To set the amplified mode, lift the clamps cover and move the jumpers P3 Ω...
  • Page 13: Logical Inputs

    DINplayer User Manual v.2.3 3.6 Logical inputs DINplayer has six optoisolated logical inputs, to trigger the audio files. To activate an input, apply a tension between 12 and 24Vdc to the Common inputs pin and the desired logical input. Using the binary combination of logical inputs, it is possible to activate a maximum of 63 audio files (see table 5.2).
  • Page 14 DINplayer User Manual v.2.3 Logical input connected to ground (GND) Logical input connected to positive pole and internal power supply: and internal power supply: connect the Common input (pin 1) to the Connect the Common input (pin1) to the DINplayer power supply (12-24Vdc). To DINplayer power supply ground.
  • Page 15: Logical Inputs: Music Player

    DINplayer User Manual v.2.3 3.7 Logical input: music player. In music player mode (see chapter 7), logical inputs have the typical player functionality, like in the figure. Page 14...
  • Page 16: Configuration File

    DINplayer User Manual v.2.3 Configuration file 4.1 What is the configuration file? DINplayer is a very versatile device which can be adapted to the needs of the application in which it is used. Different applications may require adjustment of volume, tone, loudness, special parameters of communication or timing.
  • Page 17: How It Is Managed By Dinplayer

    DINplayer User Manual v.2.3 4.3 How it is managed by DINplayer At the time the device is turned on, or when the flash memory is inserted, DINplayer will start to read the main directory of the memory; once it has found the file config.txt, it interprets the parameters inserted in each line, memorising them permanently in its internal memory, of a non volatile kind.
  • Page 18: Audio Adjustment Parameters

    DINplayer User Manual v.2.3 4.6 Audio adjustment parameters DINplayer allows for the following audio adjustments: adjustments general amplified/pre-amplified output. adjustment of loudness level. adjustment of high tone level. adjustment of low tone level. The following tables show the relation between the value set in the configuration file and the actual value of the audio parameter.
  • Page 19: Playlist/Music Player Configuration

    DINplayer User Manual v.2.3 IMPORTANT: In case of power amplifier excessive high temperature , the thermal protection disables the audio output. To reactivate the amplifier normal operation switch the DINplayer off and then on again. 4.8 Input management parameters The playing of the files takes place by activating the available logical inputs, the activation modes are set through the TPCM MICP and MIRS parameters inserted in the configuration files.
  • Page 20: Rs485 Serial Port Communication Parameters

    DINplayer User Manual v.2.3 4.10 RS485 serial port communication parameters IMPORTANT: The RS485 is active in every configuration. The following table lists the values of the parameters needed to connect DINplayer to a Master system coordinating it (protocol, speed, timings, etc.). Mnemonic Description Address DINplayer in the 485 bus (ADD) (Value between 0 and 63 in decimal).
  • Page 21: Operation With Logical Inputs

    DINplayer User Manual v.2.3 Operation with logical inputs (MPLL=0) 5.1 Introduction to the logical input operation mode DINplayer can also play individual (message) audio files with direct selection from six inputs. Activation is carried out directly or in binary combination, up to a maximum of 255 files, using the inputs IN1, IN2, IN3, IN4, IN5, IN6.
  • Page 22: Binary Input Command Codes

    DINplayer User Manual v.2.3 5.2 Binary input command codes Activating the inputs in binary combination, one can launch the playing of a maximum of 63 messages, naming the audio files as shown on the following table. INPUT FILE INPUTS BINARY COMBINATION 1 2 3 4 5 6 (.mp3) O O O O O O...
  • Page 23 DINplayer User Manual v.2.3 INPUT FILE INPUT’S BINARY COMBINATION 1 2 3 4 5 6 (.mp3) 1 O O 1 O 1 = 41 binary combination inputs IN 1 + IN 4 + IN 6 O 1 O 1 O 1 = 42 binary combination inputs IN 2 + IN 4 + IN 6 1 1 O 1 O 1...
  • Page 24: Playlist Operation

    DINplayer User Manual v.2.3 Playlist operation 6.1 Introduction to playlist mode operation (MPLL=1). DINplayer is able to follow a sequence or list of music pieces; this play list is a simple text file called playlist.txt which can be inserted in the main directory of the same memory containing the audio files (this extension is used so it can be modified via a handy PocketPC portable terminal).
  • Page 25 DINplayer User Manual v.2.3 Example file config.txt: LLOU=10 LTRE=14 Audio adjustment parameters LBAS=10 MOMD=0 Power amplifier parameter MPLL=1 Playlist mode parameter IMPORTANT: volume control with the keys is active only during the playing of the MP3 file. Pressing STOP during playlist reproduction, DINplayer stops the sequence reproduction.
  • Page 26: Playlist Player And Rs485

    DINplayer User Manual v.2.3 6.4 Playlist player and RS485 The RS485 functionality is always active, also in playlist mode. If a RS485 command is sent during playlist reproduction, DINplayer acts as follows: 1. Playlist is SOPPED and the file corresponding to the RS485 command is played 2.
  • Page 27: Music Player Mode

    DINplayer User Manual v.2.3 Music Player mode (MPLL=16) 7.1 Music Player function (MPLL=16) DINplayer works just like a standard player in this mode and does not require any specific programming (or playlist file). Any MP3 file can be played, even with long names. Use the MPLL (Mode PlasList) parameter to set this mode (in config.txt).
  • Page 28: Music Player With Logical Inputs Function

    DINplayer User Manual v.2.3 7.2 Music player with logical inputs function In music player mode, the logical inputs can be used for player control. = previous MP3 file = stops file reproduction. = DINplayer restarts from thebeginning of the interrupted file = next MP3 file = reduce output volume, (press repeatedly) = increase output volume, (press repeatedly)
  • Page 29: Dinplayer And Rs485

    DINplayer User Manual v.2.3 Serial RS485 communication IMPORTANT: The RS485 is active in every configuration. DINplayer can be connected to an RS485 communication bus through a serial port, which is controlled from a master system or by a computer. Due to interference from outside the serial line, one may find anomalous behaviour from part of the master system which could cause possible damage to DINplayer.
  • Page 30 DINplayer User Manual v.2.3 P1 and P2 position (Default): P1, P2 and JP1 position in RS485 mode: P1 set PIN 11 as RS485A P1 set PIN 11 as logical input (IN5) P2 set PIN 12 as RS485B P2 set PIN 12 as logical input (IN6) JP1 sets RS485 termination’s resistor (120 ).
  • Page 31: Serial Port Communication Parameters (Config.txt)

    DINplayer User Manual v.2.3 8.2 Serial port communication parameters (config.txt) The parameters of the RS485 serial port (length of the packs, parity, speed, etc.) are set via the configuration file config.txt. Example file config.txt: LLOU=10 LTRE=14 Audio adjustment parameters LBAS=10 CMAD=0 CMCK=1 CMCL=0...
  • Page 32 DINplayer User Manual v.2.3 The following table lists the values of the parameters needed to connect DINplayer to a Master system coordinating it (protocol, speed, timings, etc.). Mnemonic Description Address DINplayer in the 485 bus (ADD) (Value between 0 and 63 in decimal). CMAD (DEFAULT=0) IMPORTANT:...
  • Page 33: Framing Error On Master

    DINplayer User Manual v.2.3 8.3 " Framing" error on the master When commercial RS-485 interfaces are used on the master, a Framing error may take place if nothing is being transmitted on the serial line. In order to avoid this mishap, it is indispensable that the system master ignores all the data until it has received one of the STX, ACK or NAK characters coming from a DINplayer.
  • Page 34: When The Master Delivers A Command To Dinplayer

    DINplayer User Manual v.2.3 8.7 When the Master delivers a command to DINplayer (Master > DINplayer) Data Master Panelplay Data The data area A indicates the transmission of data from the master to DINplayer. The data area B indicates the transmission of data from DINplayer to the master. The programme of the master is structured so as to manage the data in the manner shown on the figure from left to right.
  • Page 35: Control Codes

    DINplayer User Manual v.2.3 8.10 Control codes The control codes are characters (they belong to the first 32 ASCII characters and cannot be printed out) which define the kind of information contained in the pack following them. The control codes used are those which appear on the following table. DINplayer initialises the transmission sequence when it receives the character ENQ.
  • Page 36: Checksum (Chk)

    DINplayer User Manual v.2.3 8.13 CheckSum (CHK) The CheckSum makes sure that the packs are complete and not corrupted during their transmission by any noise induced on the line. The CheckSum is calculated summing the hexadecimal value of the ASCII characters contained in the data area defined for the CheckSum.
  • Page 37: Basic Protocol

    DINplayer User Manual v.2.3 8.14 Basic protocol Reading the data of the DINplayer from the master Transmission sequence Master DINplayer DATA Command transmission from master to DINplayer Transmission sequence The DATA block is inserted only if provided for by command used DATA Master DINplayer...
  • Page 38: Basic Protocol With Checksum

    DINplayer User Manual v.2.3 8.15 Basic protocol with CheckSum Reading the data of the DINplayer from the master Transmission sequence Master DINplayer DATA Command transmission from master to DINplayer Transmission sequence The DATA block is inserted only if provided for by command used DATA Master DINplayer...
  • Page 39: Basic Protocol With Cr And Lf

    DINplayer User Manual v.2.3 8.16 Basic protocol with CR and LF Reading the data of the DINplayer from the master Transmission sequence Master DINplayer DATA Command transmission from master to DINplayer Transmission sequence The DATA block is inserted only if provided for by command used DATA Master...
  • Page 40: Basic Protocol With Checksum, Cr And Lf

    DINplayer User Manual v.2.3 8.17 Basic protocol with CheckSum, CR and LF Reading the data of the DINplayer from the master Transmission sequence Master DINplayer DATA Command transmission from master to DINplayer Transmission sequence The DATA block is inserted only if provided for by command used DATA Master...
  • Page 41: List Of Commands

    DINplayer User Manual v.2.3 8.18 List of commands and operating fields This table provides the list, with the relevant comments, of all the commands managed by DINplayer. Description CMD Command data Reply data a b c d a = State of the player: S = Stop P = Play STATUS request...
  • Page 42: Error Codes

    DINplayer User Manual v.2.3 8.19 Error codes The following table lists all the error codes which DINplayer delivers together with the NAK pack if problems are found. Code Description Failure to convert command code (CMD). It could contain characters which are outside the representation of a hexadecimal value.
  • Page 43: Specifications

    DINplayer User Manual v.2.3 SPECIFICATIONS 9.1 Technical features Power supply …………………… : 12÷24VDC. Consumption in standby ……… : 1 W Protection ………………………. : inside fuse, 4A delayed. Capacity of extractable memory : SD/MMC from 32MB to 2GB. Input absorption…………..……. : 5 mA Formats accepted ………………...
  • Page 44 C M D...
  • Page 45 C M D...

Table of Contents