robopro software for fischertechnik ®. robopro screen element window set to level 1 beginners...

27
RoboPro Software for fischertechnik ®

Upload: joanna-thurber

Post on 31-Mar-2015

222 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

RoboPro Software for

fischertechnik®

Page 2: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

RoboPro Screen

ElementWindow

Set to Level 1Beginners

ProgramWindow

Toolbar

Page 3: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Setting up the Robo Interface

Select the type of interface and port to connect to.

Page 4: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Setting up the TX Interface

Page 5: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Checking the Robo Interface

Inputs

Outputs

Analog Inputs

Interface Status

Page 6: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Checking the Interface

Page 7: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

ROBO TX Interface Test

Page 8: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

The Element Window

Function blocks are icons that, when selected, access instruction sets in the RoboPro software to perform the operations identified by the icons. They are located on the left-hand side of the screen.

Page 9: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

The Flowchart

When function blocks are placed on the screen and connected, a flowchart is created.

Page 10: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

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 11: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Motor Outputs provide power to devices. The image of the function block can be changed from a motor to an electromagnet, lamp, solenoid, or buzzer to match the physical component that it controls.

Motor Output

Select InterfaceConnection

Select Speed,Brightness, or Intensity

Choose Image

Choose Action

Page 12: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Motor Outputs

Output Images

Page 13: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Lamp Outputs

Lamp output program elements switch one of the interface’s single-pole outputs O1-O8.

You connect the other lamp contact with the ground socket of the interface (┴).O1-O8 outputs only work in one direction.

Multiple wires can be piggybacked in the ground socket.

Page 14: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Start & End

The Start and End function blocks begin and end a program.

Page 15: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

The program to control two output devices might look like

this.

Start Program

M1 Output On

M2 Output On

End Program

Flowchart

Page 16: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

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 17: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Digital Inputs

InputsThe Input function block queries the state of a digital input I1-I8 on the interface. A digital input can only have one of two states, 0 or 1.

Examples Pushbutton Switch Pushed or not pushedPhototransistor Light or darkReed Switch Magnetic field or no magnetic field

Page 18: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Digital Inputs

Phototransistor(light sensor)

Switch (pressure sensor)

Reed Switch(magnetic sensor)

Input Images

Page 19: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Digital Inputs can represent a variety of switch mechanisms, including a pushbutton switch, phototransistor, or reed switch.

Digital Inputs

Digital Inputs connect to I1-I8 on the interface.

Page 20: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Digital InputsThe Phototransistor (light sensor) has polarity.

Notice the red side of the sensor. It plugs into the positive side of the Interface box.

Page 21: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Text

The Text tool is used to display information on the program page.

Page 22: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Wait for Input

Wait for Input responds to a digital signal change.

Notice there are three holes on a switch. One wire always connects to the hole in the middle. The other wire goes in #3 for a normally open circuit, or #2 for a normally closed circuit.

Page 23: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Wait for Input

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

Page 24: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Counter Loop

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

Page 25: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Counter Loop

This Counter Loopallows a light toflash on for 2 seconds,then off for 2 seconds. The sequence will occur 10 times before the program ends.

Page 26: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

Analog Branch

With the Analog Branch, you can comparethe value of an analoginput with a fixednumber. You can branch tothe Yes (Y) or No (N)exit based upon the comparison.

Set the condition and entera comparison value.

Page 27: RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners Program Window Toolbar

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

The Light function blocks display the analog value on your screen while the program is running.

Analog Branch