Monday, January 25, 2010

Nov Notes


Nov. 17
Problem was = statt :=  in Structured Text language
better if confirm  (alle Falle)  so weiss wenn Lost

Motor (interface)
(mindesten?) 1 Fn / Sensor  (2 gleichseitig oder 2 verschiedene)
 vergleichen mit Lego zu Weihnachten  (Lego - Labview is dataview)

LED output

Review get started docs

Getting Started:

Dependencies
(install beforehand)
- Java  http://java.sun.com/javase/downloads/index.jsp
- cvgwin
- Eclipse with C++  http://www.eclipse.org/downloads/

(Note: Ubuntu Synaptic Package finds both, but you must chose your Java JDK)

- Download 4DIAC and extract  http://www.fordiac.org/14.0.html

- FBDK www.holobloc.com/doc/fbdk/gettingstarted.htm

Nov.11
Appl so change to System View
Application and System model

-------
Nov.10
FORTE_0.3.6
  src --> arch (platform specfic wie PC, n
etos (RT O/S); eCos(kommt))
  core  (intern)
  fblib  (basis Klassen,
     put your own fn blks (c++ code) here (in own dir)

Testing:
Export
File - import - root dir FORTE

FORTE make (right)
  1st time - make setupPC
  make all

goes into bin dir




Comment: better application code not in transition condition (pros/cons)

For testing: Export FORTE
add cpp file to makefile.am in src dir
compile it either eclipse import as project or gcc


Overview IEC61499
Standard / Book by Robert Lewis older version of this std

Lab 1: Give them instructions to build the robot
Position control = 1 unit forward/backward
Optional/extra tasks


Very well described mechanical set-up - Building plan or "plant" there.
All labs: Fn Description missing - what should the final behavior be. = acceptance test

Lego CAD tools:
Lego CAD - mlcad http://www.lm-software.com/mlcad/




http://ldd.lego.com/ Lego designer


------
LEGO (project) --> LegoDA--> Hysteresis
(Sept. was exported so also under typelibrary--> LegoDA-->PIcntlr)

Hysteresis:
&((y=false) AND (x > xmax))  ((y=true) AND (x < xmin))
y = !y
Current Frage




On Tue, Nov 3, 2009 at 8:34 PM, Carolyn Oates <traisenstp@gmail.com> wrote:
Treffen Protokol:
Termine - Di (13 Uhr) 11/10  11/17 12/1
Wahrscheinlich Do. 11/3 13 Uhr  um Testing


Aufgabe für 11/10
Beschreibung die Aufgabestellung (für Schul Aufbau/ Fn = Spezification)

Beachten: Gleich beschreiben /strukturien
Line Follower--> Car Wash
                   --> Sorter(?)--> Assembly Line (group/station)


Wiederholung - Forte (Fn Blks in FORTE; applications mit devices)


PI Beispiel - Wiederholung; Erklaren ECC


Steuerdesign grob design in 4DIAC
   Festlegen wie mit HW bzw. welche Sensor
Service Interface Design
Block der Motor Geschwindigkeit / position


----
1. Create or find block(s) need for application and import/ convert into C++ type in the Forte type library.


4DIAC-IDE under Tool Library --> typelibrary --> LEGO_DA
1 Library pro Project
   (Tipp: Aufpassen Blocke kommen in richtige Project)
   zB. PIcntlr in LEGO_DA
    exportiern zu C++ (*.h *.cpp)
  Compile new FORTE mit deine Files und link mit Forte


Applications can be distributed on multiple devices (via resources in/on device)


Deployment mgr (=downloads) configure TCP/IP port (default port: 61499; IP addr: local host or IP addr of device)
 (see attached drawing)




-----
Explain PI ECC
ECC see p.73 Basic Fn Blks
Trigger=event or condition based not time based
Action is algo & /or event
       only executed on state entry
       trigger is after all actions are finished/completed.
Service Interface Fn Blks should have INIT and INITO
But Events no naming stds like Large letters after Init whatever


2. Neue Aufgabe: Hysteresis Regler


Gut Erklarung von Hysteresis:
http://euclid.ucc.ie/hysteresis/node10.htm

No comments:

Post a Comment