English
Moonbuggy

Mondfahrzeug picture... - second steps

3.) Übergabeschnittstelle

3.) Merkblock for yet umzusetzende ideas

 

GDL
Adressenbereich :
Ausgabemodule of 1 To 32000
Eingabemodule ex 32000 To 65000
Motormodule urged on occupy The Adressen 1 To 10
Lenkmodule occupy The Adressen 11 To 20
Kranmodule occupy The Adressen 21 To 30

eachone motor has a address. free Adressen are Ergänzungspuffer.

any Motoren are 1/2 Schrittmotoren and using selbiges Ansteuerkonzept.

Datenaufbereitung :

bit 6 and bit7 lay command solid
bit 0 To bit5 imply The data

X=beliebiger status

00000000 = Unerlaubter Ladezustand
01000000 = Vorwärtslauf
01000001 = Rückwärtslauf
10XXXXXX = loading The Schrittanzahl into Atmel (0 To 63) regelt then The Drehweite
11XXXXXX = to Frequenzbestimmung in the Atmel (0 To 63) regelt then The Geschw.

example : One data%=10000111 bereitet whom dazugehörigen motor on 8 steps to.

any variables are global and keep The values To to Neubestückung in this example.
complete example for motor 1:


Proc spending
fehlerbyte%=2
fehlerbyte%=xor(fehlerbyte%,1)
fehlerbyte%=xor(fehlerbyte%,adrlang%)
fehlerbyte%=xor(fehlerbyte%,adrlow%)
fehlerbyte%=xor(fehlerbyte%,speedhilfe%)
fehlerbyte%=xor(fehlerbyte%,0)
data$=chr$(254)+chr$(2)+chr$(1)+chr$(adrlang%)+chr$(adrlow%)+chr$(speedhilfe%)+chr$(0)+chr$(fehlerbyte%)+chr$(255)+chr$(255)
data$=chr$(100)+chr$(100)+chr$(100)+data$

' here then data$ with COMX spend
endproc

adrlang%=00000000
adrlow%=00000001
data%=01000000 'Vorwärtslauf
spending 'zugehörige Ausgaberoutine Call
data%=11000101 ' places Drehgeschwindigkeit 5 solid
spending
data%=10000111 ' motor 1 power now 8 steps (of 0 To 7 Impulse on the Toggleausgang of Atmel)
spending

 
Windows7 Xprofan 8,9,10 [...]  [...] 
01/22/12  
 




GDL
Hi David,

überleg you Please wieviele simple One/from functions You need.

Have already finished Modellbahnmodule with 8 separated schaltbaren One/from 12V 3A(Gesamtstrom) in pursued.
Stärkere need then only NEN others Spannungsversorgungsteil.
 
Windows7 Xprofan 8,9,10 [...]  [...] 
01/25/12  
 



at least 32 and presumably not more than 48.
 
01/25/12  
 




GDL
OK. then custom I for my Befehlsliste The names the functions.
Einfache Benennungen How, spotlight,Rückleuchten,Blinker etc.

If longer of me nothing comes, no alarmism, i'm meanwhile over the first Platine.
 
Windows7 Xprofan 8,9,10 [...]  [...] 
01/28/12  
 



i'd crept numerisch name and yet no names allocate too because I yet not for all "Ports" a usage white.

On each drop are under mind. 8 Motoren; mind. 8 cameras and mind. 8 Bauteile them the power abgedreht go can ought to.
 
01/28/12  
 




GDL
everything clear.
 
Windows7 Xprofan 8,9,10 [...]  [...] 
02/01/12  
 




GDL
spending Proc changed.
 
Windows7 Xprofan 8,9,10 [...]  [...] 
04/14/12  
 




GDL
Sonderadressen :

Sonderadressen for urged on:
z. B.: address long: = 160 and Adressen short: =10 or 11
any 4 Decoder go so program, that they with obiger address independent yours own address, then at the same time react.

the speed The Datenübermittlung with equal Dateninhalt for all Antriebsmotore around the 4fache.
and the Beauty, I need on whom recent Decodern only The software Change. nothing umlöten. it life The Mikrofurze. Grins.
 
Windows7 Xprofan 8,9,10 [...]  [...] 
06/13/13  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.322 Views

Untitledvor 0 min.
Peter Max Müller10/30/14
GDL10/22/14
Nico Madysa02/21/14
Georg Teles07/17/13
More...

Themeninformationen

this Topic has 2 subscriber:

GDL (6x)
iF (2x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie