forging new generations of engineers. robo pro software for fischertechnik ®

39
Forging new generations of engineers

Upload: olivia-drusilla-hoover

Post on 13-Jan-2016

237 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Forging new generations of engineers

Page 2: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

ROBO Pro Software for

fischertechnik®

Page 3: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

ROBO Pro Screen

ElementWindow

Set to Level 1:Beginners

ProgramWindow

Toolbar

Page 4: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Setting up the Interface

Select the type of Interface and port to connect to.

Page 5: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Checking the Interface

Inputs

Outputs

Analog Inputs

Interface Status

Page 6: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

The Element Window

Program elements are icons that, when selected, access instruction sets in the ROBO Pro software to perform the operations identified by the icons. They are located on the left hand side of the

screen

Page 7: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

The Flow Chart

When Program Elements are placed on the screen and connected, a Flow Chart is created.

This Flow Chart is the program that runs the instruction sets

Page 8: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

530 CALL M1 On

BASIC Programming Graphic Programming

500 INIT

510 If E1 = 1 THEN GOTO 530 520 GOTO 510

540 END

Sample Instruction Sets Icons

Programming

Page 9: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

The Motor Outputs can be set to run an electromagnet, lamp, or motor.

Motor Output

Select interfacebox connection

Select speed,brightness or intensity

Choose device

Choose action

Page 10: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Motor Outputs

Page 11: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Start & End

The Start and Stop Function Blocks begin and end a program.

Page 12: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

The program to control two output devices might look like this…

Start Program

M1 Output On

M2 Output On

End Program

Outputs

Page 13: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

The Time Delay is used to introduce a delay in a program.

Time Delay

A time step can be set for seconds, minutes or hours

Page 14: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Digital InputsInputs

The “Input” function block queries the state of a digital input I1-I8 on the interface. They many be a Pushbutton switch, Photo-transistor, or a Reed contact.

A digital input can only have one of two states, 0 or 1.

Examples: Pushbutton switch Pushed or not pushedPhoto-transistor Light or DarkReed Contact Switched or not switched

Page 15: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Digital Inputs

Phototransistor(light sensor)

Switch (pressure sensor)

Reed Contact(magnetic sensor)

Page 16: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

The Digital Inputs can be set as a variety of switch mechanisms including Pushbutton Switch, Photo-transistor, or Reed Contact.

Digital Inputs

Digital Inputs connect to I1-I8 on the interface

Page 17: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Text

The Text tool is used to display

information on the program page.

Page 18: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Wait for Input

Waits for the input to change in a particular way

Page 19: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Wait for Input

Wait for Input is simpler and easier than using the Digital Input icon for some applications.

Page 20: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Counter Loop

With the Counter loop you can execute a specific part of the program several times.

Page 21: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Counter Loop

This counter loopallows a light toflash on for 2 seconds,then off for 2 seconds, 10 times before stoppingthe program.

Page 22: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Analog Branch

With the Analog Branch you can comparethe value of an analoginput with a fixednumber and, accordingto the result, branch tothe Yes (Y) or No (N)exit.

Set the condition and enterThe comparison value

Page 23: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Analog Branch

This Analog Branchuses a photocellsensor to determineif the reading (value of AX) is greater than 800. When it is, the light is turned off and the program ends.

Page 24: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Going Farther

There are times when more options are needed in a program.By selecting Level 4 more programming options become available in addition to the basic elements.

Page 25: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Variables

Variables are accessed from the element window.

Page 26: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Variables

Variables hold values to allow the program to make decisions.

The variable can be named anything.

Page 27: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Commands

Commands are used to change the value of variables.

Page 28: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Branch and Wait

Decisions are made on variables using commands from the Branch and Wait section.

Page 29: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Variables A Variable can be used to

count as in this example. The variable Dogs is increased by one each time through the loop until its value is greater than 3. The program then ends. The Variable blocks are named the same eliminating the direct connection.

Page 30: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Inputs and Outputs

Inputs and outputs are used to affect variables and to display their value.

Page 31: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Variables A variable can be

used to store a value. In this example the value of a CdS photocell is stored (input) as a variable and used to determine which way a motor will turn.

Page 32: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Operators

Operators allow us to combine or compare two variables using mathematics or logic

Page 33: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Panel Elements

Panel Elements are use to build a display or control board to interact with a Fischertechnik model.

Page 34: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

DisplaysThere are times when the value should be displayed on the screen.

Page 35: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Setting up a display

Text Displays can be customized

Page 36: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Displays

Panel displays are used to assign the output device

Page 37: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Sub-ProgramsSubroutines are used to create pieces of a program that can be used many times in different places.

Page 38: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

Subprogram utilizing the Entry and Exit commands

Page 39: Forging new generations of engineers. ROBO Pro Software for fischertechnik ®

SubprogramsOnce saved the subprogram is ready to be used from the loaded programs.