Lab 2 - Sequence Control of a Bead Sorter Process

Because of the Covid19 restrictions, all exercises (preparatory and regular) in the laboratory manual, should be done remotely. Follow this link for the Laboratory manual (PDF): Download LaboratoryManual.pdf

For submissions or if you have any questions regarding the exercises, contact Julian.

The exercises in this laboratory session can 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 can download it (JGrafchart-2.6.1.zip Download JGrafchart-2.6.1.zip) and install it locally. After unpacking follow the instructions in README.txt. We are working on a fix. Now it appears to work.

If your computer does not have Java 8 installed, follow this link: Oracle Virtual Box, where we provide instructions on how to download and use a virtual machine with JGrafchart preinstalled.

A code skeleton that can help you get started with the exercises (open in JGrafchart): Download beadsorter.xml

(Save Target As). The easiest way to get this file into the VM is probably to open Firefox from inside the VM and download directly from Canvas.

Finally, we will use an animated real-time simulation model of the bead sorter process. Download it from Download BeadSorterSim.xml

(Save Target As). In order to use it, do like this:

  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

  • February 19th: Lab2 files and problem description will be released.*
  • March 8th: Deadline #1 (first lab submission should be submitted)
  • March 14th: Commented solution returned (your solution will have earned a pass or pass with revision).
  • March 21st: Deadline #2 (Final lab submission for students who received comments regarding revision)

*You have 2 weeks to do this Lab Session. Please try to implement your solutions on your own during the first week (19th February - 28th February) and use the second week (1st March - 8th March) if you need help from the TA.