Using the software of FESTO FluidSim design an automated ELE
Using the software of FESTO FluidSim, design an automated ELECTRO PNEUMATIC system where a pneumatic arm at the beginning of a rail: 1. Descend. 2. Take or press an object. 3. Raise to its initial position. 4. Scroll to the end of the rail. 5. Descend. 5. Release the object 6. Go up. 7. The arm is pulled back to its initial position. (The pneumatic arm is like that of infantile machines that collect teddy bears or Teddy Bears but only with an axis `` x\'\' and `` y\'\') Analize the image of the ELECTRO PNEUMATIC system in the FluidSim program.
Solution
class B extends A
{
static int a = 50;
static int b = 60;
int x = 70;
int y = 80;
void m1()
{
int a = 90;
int b = 100;
int x = 110;
int y = 120;
System.out.println(\"Local variables\");
System.out.println(a + \" ... \" + b);
System.out.println(x + \" ... \" + y);
System.out.println();
System.out.println(\"Subclass variables\");
System.out.println(this.a + \" ... \" + this.b);
System.out.println(this.x + \" ... \" + this.y);
System.out.println();
System.out.println(\"Superclass variables\");
System.out.println(super.a + \" ... \" + super.b);
System.out.println(super.x + \" ... \" + super.y);
}
public static void main(String[] args)
{
B b1 = new B();
b1.m1();
}
}
