![ABB MultiMove Скачать руководство пользователя страница 84](http://html.mh-extra.com/html/abb/multimove/multimove_applications-manual_5105084.webp)
6 Programming
6.7.3. Dummy instructions
3HAC021272-001 Revision: H
82
© Copyri
ght
200
4-2008 ABB.
All rights reserved.
6.7.3. Dummy instructions
About dummy instructions
The same number of move instructions must be executed between
SyncMoveOn
and
SyncMoveOff
in all task programs. If a move instruction is only executed under certain
circumstances, the number of move instructions may differ from the other task programs.
This can be solved by adding a move instruction to the point where the robot already is (a
dummy instruction) for the case where the original move instruction is not executed.
Example with dummy move instructions
In this example, the task program needs to execute two move instructions if di1 is set to 1. If
di1 is 0, two move instructions are executed that move the robot to the position where it
already is (dummy instructions).
Part of a task program:
SyncMoveOn sync1, all_tasks;
MoveL p1\ID:=10, v500, fine, tool1 \WObj:=wobj_stn1;
IF di1=1 THEN
! Instructions executed under certain conditions
MoveL p2\ID:=20, v500, fine, tool1 \WObj:=wobj_stn1;
MoveL p1\ID:=30, v500, fine, tool1 \WObj:=wobj_stn1;
ELSE
! Add dummy move instructions
MoveL
p1
\ID:=20, v500, fine, tool1 \WObj:=wobj_stn1;
MoveL
p1
\ID:=30, v500, fine, tool1 \WObj:=wobj_stn1;
ENDIF
SyncMoveOff sync2;
Содержание MultiMove
Страница 1: ...Application manual MultiMove Robot Controller RobotWare 5 0 ...
Страница 2: ......
Страница 12: ...Safety 3HAC021272 001 Revision H 10 Copyright 2004 2008 ABB All rights reserved ...
Страница 48: ...4 Calibration 4 4 3 Example SyncSpot 3HAC021272 001 Revision H 46 Copyright 2004 2008 ABB All rights reserved ...
Страница 109: ......