RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners...

Post on 31-Mar-2015

225 views 5 download

Tags:

Transcript of RoboPro Software for fischertechnik ®. RoboPro Screen Element Window Set to Level 1 Beginners...

RoboPro Software for

fischertechnik®

RoboPro Screen

ElementWindow

Set to Level 1Beginners

ProgramWindow

Toolbar

Setting up the Robo Interface

Select the type of interface and port to connect to.

Setting up the TX Interface

Checking the Robo Interface

Inputs

Outputs

Analog Inputs

Interface Status

Checking the Interface

ROBO TX Interface Test

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.

The Flowchart

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

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

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

Motor Outputs

Output Images

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.

Start & End

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

The program to control two output devices might look like

this.

Start Program

M1 Output On

M2 Output On

End Program

Flowchart

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.

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

Digital Inputs

Phototransistor(light sensor)

Switch (pressure sensor)

Reed Switch(magnetic sensor)

Input Images

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.

Digital InputsThe Phototransistor (light sensor) has polarity.

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

Text

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

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.

Wait for Input

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

Counter Loop

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

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.

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.

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