MikroElektronika PIC Microcontrollers PIC16 User Manual Page 155

  • Download
  • Add to my manuals
  • Print
  • Page
    / 172
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 154
RS485 is a multipoint communication which allows multiple devices to be con-
nected to a single signal cable. mikroBasic provides a set of library routines to
provide you comfortable work with RS485 system using Master/Slave architec-
ture.
Master and Slave devices interchange packets of information, each of these pack-
ets containing synchronization bytes, CRC byte, address byte, and the data. In
Master/Slave architecture, Slave can never initiate communication. Each Slave has
its unique address and receives only the packets containing that particular address.
It is programmer's responsibility to ensure that only one device transmits data via
485 bus at a time.
Address 50 is a common address for all Slave devices: packets containing address
50 will be received by all Slaves. The only exceptions are Slaves with addresses
150 and 169, which require their particular address to be specified in the packet.
RS485 routines require USART module on port C. Pins of USART need to be
attached to RS485 interface transceiver, such as LTC485 or similar. Pins of trans-
ceiver (Receiver Output Enable and Driver Outputs Enable) should be connected
to port C, pin 2 (see the figure at end of the chapter).
Following routines implement flexible protocol for RS485 system with
Master/Slave architecture:
mikroBASIC
- Basic Compiler for Microchip PIC microcontrollers
150
mikroBASIC
MikroElektronika: Development tools - Books - Compilers
making it simple...
page
RS485 Library
sub procedure RS485master_init
sub procedure RS485slave_init(dim address as byte)
sub procedure RS485master_read(dim byref data as byte[5])
sub procedure RS485master_write(dim byref data as byte[2],
dim datalen as byte, dim address as byte)
sub procedure RS485slave_read(dim byref data as byte[5])
sub procedure RS485slave_write(dim byref data as byte[2],
dim datalen as byte)
Routines
Note
Page view 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 171 172

Comments to this Manuals

No comments

Sennheiser 300 IEM - 12-03 Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Kfz-Elektronik Sennheiser 300 IEM - 12-03.
Wir stellen 2 PDF-Handbücher Sennheiser 300 IEM - 12-03 zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Spezifikationen, Bedienungsanleitung


Inhaltsverzeichnis

300 IEM

1

Inbetriebnahme

10

Neue Abbildung

11

Contents

43

The ew 300 IEM G2 system

44

Safety instructions

45

System components

45

  

46

      

46

EK 300 IEM G2 stereo receiver

47

Using the components

54

Adjusting the balance

55

The operating menu

56

Letters w/o pronounciation

59

Letters w/o

62

Multi-channel operation

65

Troubleshooting

70

Care and maintenance

71

Additional information

72

Specifications

74

Accessories

75

Vous avez fait le bon choix !

82

Sommaire

83

Le système ew 300 IEM G2

84

Pour votre sécurité

85

Contenu du Set

85

Affichages sur le récepteur

88

Mise en service

90

Utilisation quotidienne

94

Régler la balance

95

Les touches

96

Menu Emetteur stéréo

99

Menu Récepteur stéréo

101

LOC. ON

103

Le mode multi-canal

105

En cas d'anomalies

110

Entretien et maintenance

111

Emetteur

112

Récepteur

112

Signaux

112

Liaison radio

112

Systèmes antibruit (squelch)

113

eff S/N

114

Accessoires

115

DEUTSCH

116

ENGLISH

116

FRANÇAIS

116

ITALIANO

117

ESPANOL

117

NEDERLANDS

117

ETS 300 445

118

ETS 300 422

118

Das System ew 300 IEM G2

124

Zu Ihrer Sicherheit

125

Inhalt des Sets

125

Stereo-Sender SR 300 IEM G2

126

Anzeigen am Sender

128

Anzeigen am Empfänger

128

Der tägliche Gebrauch

134

Balance einstellen

135

Tastensperre ein-/ausschalten

135

Das Bedienmenü

136

SR 300 IEM G2

137

EK 300 IEM G2

137

Bedienmenü Stereo-Sender

139

Bedienmenü Stereo-Empfänger

141

Buchstaben ohne Umlaute

142

Ziffern 0...9, Sonderzeichen

142

Der Multikanalbetrieb

145

Wenn Störungen auftreten

150

Pflege und Wartung

151

Funkstrecke

152

Empfänger

152

Störsignale

152

Rauschsperren (Squelch)

153

Technische Daten

154

Steckerbelegung

155

Inhaltsverzeichnis





Weitere Produkte und Handbücher für Kfz-Elektronik Sennheiser

Modelle Dokumententyp
Keine