Lab 2 - Sequence Control of a Bead Sorter Process

Material

Laboratory Manual: manual.pdf Download manual.pdf

Exercise skeleton: beadsorter.xml Download beadsorter.xml

Simulation environment: BeadSorterSim.xml Download BeadSorterSim.xml

JGrafchart: JGrafchart-2.6.1.1.zip Download JGrafchart-2.6.1.1.zip

General Information

To prepare for the lab read the manual and do the preparatory exercises. 

The exercises in this laboratory session should be made in JGrafchart.  JGrafchart is available on our lab computers and is started from a terminal with the command JGrafchart .

To run JGrafchart on your personal computer you first download it and unpack it after which you should follow the instructions in the included README.txt. In case you get an error like Error: Could not find or load main class... it might be a problem with spaces in the path, and you can try to place it somewhere without spaces to fix it.

In order to use the simulated environment:

  1.  Load the BeadSorterSim.xml and your beadsorter.xml into JGrafchart.
  2.  Compile both.
  3. Go to Edit/Application Properties of the beadsorter.xml and check the Simulator mode check box.
  4. Run both.
  5. Now the controller is running in simulation mode.
  6. To change the value of the Tilt sensor you simply click on it.

Timetable

You register for the labs using the following link:  https://sam.control.lth.se/LabsSelectSession?occasionId=512 Links to an external site.

Contact

For all questions regarding lab instructions, submission or bugs, refer to either: