background image

DINplayer User Manual v.2.3

Page 36

8.14 Basic protocol

A
D
D

C

M

D

Master

DINplayer

Transmission sequence

E
N
Q

A
D
D

C

M

D

DATA

S
T
X

E
T
X

A
D
D

C

M

D

DATA

Master

DINplayer

Transmission sequence

E
N
Q

A
D
D

C

M

D

A
C
K

Reading the data of the DINplayer from the master

Command transmission from master to DINplayer

A
D
D

C

M

D

N
A
K

E
R
R

The DATA block is
inserted only if provided
for by command used

Summary of Contents for Dinplayer D01-MKII

Page 1: ...0 q q Dinplayer mod D01 MKII USER MANUAL Version 2 3...

Page 2: ...warranty only covers damage to the product which makes it work badly 4 Work under warranty will only mean repairing or replacing free of charge any parts acknowledged to be defective during manufactu...

Page 3: ...Configuration file 4 1 What is the configuration file 4 2 Content of the configuration file 4 3 How it is managed by DINplayer 4 4 Preparing the file 4 5 Memorising the files in the Flash memory 4 6...

Page 4: ...the figures of the dedicated protocols 8 7 When the Master delivers a command to DINplayer 8 8 Basic format of the dedicated protocols 8 9 Basic set up of the data transmission 8 10 Control codes 8 1...

Page 5: ...ees a quality comparable to that of a Compact Disc is 128 Kbps thousands of bits per second which represents the most widely used manner and reduces the size of an uncompressed file by 10 times 1 3 En...

Page 6: ...device using a soft dry cloth Do not use liquids or spray which can contain flammable substances Obsolete devices disposal x When you find this picture on a device it means that the device is complian...

Page 7: ...Card B 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...

Page 8: ...gurable for serial RS485 communication see chap 8 12 IN6 485B Input for activating 32 mp3 file direct or bit 5 in binary combination Configurable for serial RS485 communication see chap 8 3 3 Power su...

Page 9: ...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 1 DINplayer with 6 logical inputs a...

Page 10: ...n figure Attention Use a loudspeaker with equal or greater power than the one driven by the internal amplifier Do not to place the audio connection cables close to the electric power cables to avoid p...

Page 11: ...umpers of the diagram as indicated in the following figure With the RS485 connection one must supply termination resistors on both extremes of the line to avoid the generation of stationary waves and...

Page 12: ...d possible troubles 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 With...

Page 13: ...to activate a maximum of 63 audio files see table 5 2 The positive pole can be indifferently connected to the common inputs or to the logical input Logical input connected to ground GND and external p...

Page 14: ...mmon input pin 1 to the DINplayer power supply 12 24Vdc To activate the input connect it to ground GND Logical input connected to positive pole and internal power supply Connect the Common input pin1...

Page 15: ...DINplayer User Manual v 2 3 Page 14 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 16: ...figuration file Each line of the configuration file consists of x Mnemonic code of the parameter to be set It always consists of four CAPITAL alphanumeric characters and must always be at the beginnin...

Page 17: ...deleted NOTE If it is necessary to configure various DINplayers with the same parameters one can prepare a single flash memory with the appropriate config txt file alternately insert this memory on a...

Page 18: ...16 17 18 19 20 dB level 0 0 5 1 1 5 2 2 5 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 LTRE DEFAULT 14 high tone level LTRE 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 dB level 12 10 8 7 6 5 4 3 2 1...

Page 19: ...delay 1 10mSeconds 2 20mSeconds 100 1 second 200 2 seconds 250 2 5 seconds max value MICP DEFAULT 1 Setting Mode Input Continuous Play 0 having terminated the playing of the codified file requested fr...

Page 20: ...g introduction of end of pack characters CR and LF hexadecimal values OD and 0A 0 No CR and LF 1 Insertion of CR and LF activated CMBR DEFAULT 3 Baud rate communication speed in bits per second 0 1200...

Page 21: ...me of the input command time to wait before DINplayer is able to interpret the input command expressed in decimals of milliseconds value between 0 and 255 in decimal 0 no delay 1 10mSeconds 2 20mSecon...

Page 22: ...1 O 17 binary combination inputs IN 1 IN 5 O 1 O O 1 O 18 binary combination inputs IN 2 IN 5 1 1 O O 1 O 19 binary combination inputs IN 1 IN 2 IN 5 O O 1 O 1 O 20 binary combination inputs IN 3 IN...

Page 23: ...nation inputs IN 2 IN 5 IN 6 1 1 O O 1 1 51 binary combination inputs IN 1 IN 2 IN 5 IN 6 O O 1 O 1 1 52 binary combination inputs IN 3 IN 5 IN 6 1 O 1 O 1 1 53 binary combination inputs IN 1 IN 3 IN...

Page 24: ...few easy rules to set the sequence Example playlist with 10 mp3 files Intro Rock1 Jazz2065 Sinatra Alarm626 Warning4 Sugar Relax01 NewAge10 Easy23 IMPORTANT x Rename the MP3 audio files with numbers...

Page 25: ...ode If a logical input is activated during playlist playing DINplayer acts as follows 1 Playlist is SOPPED and the file corresponding to the logical input is played 2 RESTART playlist from the file fo...

Page 26: ...terrupted one Example file config txt LLOU 10 LTRE 14 LBAS 10 Audio adjustment parameters MOMD 0 Power amplifier parameter MPLL 1 Playlist mode parameter CMAD 0 CMCK 1 CMCL 0 CMBR 3 CMPR 0 CMSB 1 CMDB...

Page 27: ...e sequence from the first track If you wish to listen to the entire sequence again starting from the first track just remove the flash memory of turn the DINplayer off and on again The tracks will be...

Page 28: ...unction 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 redu...

Page 29: ...sents the connection in bus of up to 32 devices with a maximum distance of 50 metres The DINplayer devices connected to the RS485 bus can not autonomously begin communication but they can only respond...

Page 30: ...P1 and P2 position Default x P1 set PIN 11 as logical input IN5 x P2 set PIN 12 as logical input IN6 P1 P2 and JP1 position in RS485 mode x P1 set PIN 11 as RS485A x P2 set PIN 12 as RS485B x JP1 set...

Page 31: ...he outside device with which DINplayer is to communicate IMPORTANT x To make the modification of these parameters effective it is necessary to restart DINplayer after having introduced the flash memor...

Page 32: ...2 even parity CMSB DEFAULT 1 Number of Stop Bits 1 1 stopBit 2 2 stopBits CMDB DEFAULT 8 Number of data bits 7 7 bits per datum 8 8 bits per datum CMDR DEFAULT 0 Minimum delay between end of reception...

Page 33: ...moment the last command received by DINplayer has been completely performed IMPORTANT when one is using the RS485 bus only on a duplex cable remember to bear in mind or to ignore the echo of the comm...

Page 34: ...igure to the right of the character ENQ 8 8 Basic format of the dedicated protocols DINplayer manages up to four dedicated protocols The definition of which of these four protocols must be used by the...

Page 35: ...a number that allows the system Master to establish communication with one of the various modules connected to the same serial line The value of this address is defined in DINplayer through a configu...

Page 36: ...f the CheckSum is established by the CMCK parameter of the configuration file z If CMCK 1 has been set CheckSum will be calculated automatically and added to the term of the reply pack the one beginni...

Page 37: ...nce E N Q A D D C M D DATA S T X E T X A D D C M D DATA Master DINplayer Transmission sequence E N Q A D D C M D A C K Reading the data of the DINplayer from the master Command transmission from maste...

Page 38: ...ransmission sequence E N Q A D D C M D A C K Reading the data of the DINplayer from the master Command transmission from master to DINplayer C H K C H K C H K A D D C M D N A K E R R 1 The CheckSum is...

Page 39: ...D D C M D DATA S T X E T X A D D C M D DATA Master DINplayer Transmission sequence E N Q A D D C M D A C K Reading the data of the DINplayer from the master Command transmission from master to DINplay...

Page 40: ...uence E N Q A D D C M D A C K Reading the data of the DINplayer from the master Command transmission from master to DINplayer C H K C H K C H K A D D C M D N A K E R R 1 The CheckSum is introduced if...

Page 41: ...aracters only None PLAY File2B 57 Name of file without extension 4 characters only None Version of firmware 35 None P DINplayer x version xx Release Version State of inputs 37 None a b c d e f g h a 0...

Page 42: ...ed value 21H Wrong value in the parameter of the command SET_Treble It could be more than the maximum permitted value 22H Wrong value in the parameter of the command SET_Bass It could be more than the...

Page 43: ...90x53x59mm 2 DIN 43880 modules case hooking up to a DIN EN60715 guide Weight 100 gr 9 2 Obsolete devices disposal x When you find this picture on a device it means that the device is compliant with E...

Page 44: ...it is first required to send a stop PLAY FILE fire mp3 50 05 30 31 35 30 66 69 72 65 ENQ 0150fire 06 30 31 35 30 ACK 0150 if in stop mode 15 30 31 35 30 33 31 NAK 015031 if in play mode DINplayer doe...

Page 45: ...1 31 05 30 31 33 31 43 35 ENQ 0131C5 06 30 31 33 31 ACK 0131 STOP WITH CMCL 1 without checksum 31 05 30 31 33 31 0D 0A ENQ 0131 CR LF 06 30 31 33 31 0D 0A ACK 0131 CR LF STOP WITH CMDL 1 without check...

Reviews: