x
Query using the COMPARE block which value the variable VAR3
has. The robot moves to the home position at 0, to position
1 at 1, and welds at 2, 4 and 6, etc. The flowchart then looks
like this:
x
Each action only occurs once in the program. It is carried out when
the variable VAR3 has the value that belongs to this action.
x
The variable VAR2 is assigned to the respective final position of
the motor M1 at the positions 1, 2 and 3. As a result, the process
MOTOR CW - POSITION - MOTOR OFF only occurs once.
x
The ready-to-run project is called Welding robot 2.mdl
Admittedly, this state-oriented programming appears more complicated at
first than simply placing the blocks one after another as in the Welding
robot 1.mdl project. Maybe it is a little exaggerated to program this simple
robot like this. On the other hand, the more the robot can do and the more
positions it can move to, the more meaningful it becomes. Consequently,
it is helpful in any case to use it for a simple model. Then you will not have
any problems later with large industry robots in which three motors move
simultaneously to one position.
5. What Next?
You can certainly think up additional tasks for the models of the Computer
Starter construction kit with using a little imagination and write programs
This Extension Module is connected directly to the interface. Then you
have four additional outputs and eight digital inputs at your disposal.
All function blocks, menu commands, the toolbar and keyboard com-
binations are described in Chapters 7 to 9 of the LLWin 3.0 handbook.
These chapters are very useful as a reference. Chapter 10 contains
valuable tips and tricks for programming with LLWin 3.0. Reading it
would certainly be worthwhile.
fischertechnik also offers other Computing construction kits. Mobile Robots
are movable robots, which you can program, so that they avoid obstacles
or do not fall from a table. Using the Pneumatic Robots construction kit,
you can control pneumatically driven machines using electromagnetic valves
via the interface. You can build robots that grip with three axes using the
Industry Robots construction kit, which can grip, move and stack objects in
a three-dimensional room. This means building and programming fun with-
out end. And the best is that something new is always added.
GB+USA
for them. For exam-
ple, the welding
robot can weld at a
fourth position, or
it can move to the
existing positions in
a different order.
If you have other
construction parts,
you can expand the
traffic light at an
intersection to design
comprehensive traffic
light control, for
example. You can
also program a
melody using the
Beep block, which
sounds when the
sliding door is
opened. Simply use
your imagination,
because lots of
possibilities exist.
If the inputs and
outputs of the
Intelligent Interface
no longer suffice,
simply get a hold
of Extension Module
part no. 16554.
19