Programming Tasks Part; Handdryer - fischertechnik ROBO STARTER 8 MODELS Manual De Instrucciones

Tabla de contenido

Publicidad

Idiomas disponibles
  • MX

Idiomas disponibles

  • MEXICANO, página 59
R O B O
After you have read through chapters 3 and 4 of the ROBO Pro handbook, you can now program some
models from the Computing Starter building set. So, that's why we want to start right away. Every time
when you have finished building a model and attached the wiring, you need to conduct a check using the
interface test to determine if all outputs and inputs are correctly connected
to the interface and the sensors, motors and lights are working properly.
In your school in the bathroom,
new handdryers were installed
beside the wash basins. These have a
light barrier, which allows you to turn on and
turn off the blower. First, build the model as described in
the construction instructions.
Ta s k 1 :
The handdryer is to be programed so that as soon as the light barrier is interrupted, the
blower is to be turned on and then after five seconds it is to be turned off.
P r o g r a m i n g Ti p s :
• First, in the program sequence, turn on the light for the light barrier at output M2. After this, wait a
second so that the phototransistor has time to react to the light. Only then will the light barrier work
properly.
• Then you interrogate the phototransistor on input I1. If the value is 1 (light barrier not interrupted) then
the input is to be interrogated continuously in a loop.
• As soon as the value changes to 0 (light barrier interrupted), turn on the motor, M1, and then turn it
off after five seconds.
• Following this, the phototransistor is to be interrogated again and so forth.
Start your program with the start button and check to see if it is working as desired. If it does work right,
then you're on the right path to become a professional ROBO Pro programer.
If it doesn't work, try to find out why:
• With the interface test, you can check to see if all inputs and outputs are working and correctly connected.
• While the program is running, you can follow the program flow with the red building blocks. This
allows you to quickly see where an error has crept in.
• Finally, you can compare your program with the complete sample program, Handdryer 1.rpp, which is
found in the directory C:\Programs\ROBO Pro\SamplePrograms\ROBO Starter or
C:\Programs\ROBO Pro\SamplePrograms\Computing Starter.
Now that you have taken this hurdle, we want to change the task a bit.
S
A
T A R T E R
B
C T I V I T Y
O O K L E T
1 1
1 1
GB+USA
Programing Tasks
Part 1

Handdryer

Part 1
9 9
9 9

Publicidad

Tabla de contenido
loading

Tabla de contenido