Computer-Controlled Manufacturing Systems: Robot Programming in ACL

 
10/7/2024
 
IENG 475: Computer-Controlled
Manufacturing Systems
 
1
IENG 475 - Lecture 15
 
Robot Programming in ACL
10/7/2024
IENG 475: Computer-Controlled
Manufacturing Systems
2
Assignment
 
L
a
s
t
 
L
a
b
 
(
t
h
i
s
 
p
e
r
i
o
d
)
Write program to do the 12” Pick and Place
Cycle in ACL commands for a total of 5 cycles.
(Assume a new payload magically appears
each time)
R
e
m
a
i
n
i
n
g
 
L
a
b
o
r
a
t
o
r
y
 
P
e
r
i
o
d
s
Teach positions and run Robot Program
Complete NC Programming
Estimate times, plan for production
10/7/2024
IENG 475: Computer-Controlled
Manufacturing Systems
3
Programming
 
T
e
a
c
h
 
P
e
n
d
a
n
t
L
e
a
d
-
t
h
r
o
u
g
h
 
/
 
W
a
l
k
-
t
h
r
o
u
g
h
 
/
 
D
u
m
m
y
 
R
o
b
o
t
L
a
n
g
u
a
g
e
s
:
AML, AML/2
ARMBASIC
Karel
RAIL
RAPL
SCORBASE
VAL, VAL II
Wave ...
10/7/2024
IENG 475: Computer-Controlled
Manufacturing Systems
4
Programming
 
D
o
c
u
m
e
n
t
a
t
i
o
n
:
Position Diagram(s)
Position Table
I/O Signal Table(s)
Program Listing
Well Commented
Operating Instructions / Safety Procedures
Program Metrics
Cycle Times
Program Size
Bill of Materials (Parts List)
Wiring Diagram(s)
10/7/2024
IENG 475: Computer-Controlled
Manufacturing Systems
5
Robot Programming
 
G
o
o
d
 
P
r
o
g
r
a
m
m
i
n
g
 
P
r
a
c
t
i
c
e
s
:
Always start a program with motion(s) from the 
HOME
position
Always signal the start of automated operations by
triggering a 
warning
 output
Always have an 
interrupt
 signal for critical error
conditions
Always design programs to be “
fail-safe
” - to fail in a
safe condition
Generously 
comment
 your programs
 
10/7/2024
 
IENG 475: Computer-Controlled
Manufacturing Systems
 
6
Anthropomorphic Spec Sheet
10/7/2024
IENG 475: Computer-Controlled
Manufacturing Systems
7
ACL Programming – ER V+ Robot
 
A
d
v
a
n
c
e
d
 
C
o
m
m
a
n
d
 
L
a
n
g
u
a
g
e
Similar to BASIC
Programmed at keyboard in EDIT mode
Positions can be taught with teach pendant, or with
keyboard in DIRECT mode
P
r
o
g
r
a
m
m
i
n
g
 
S
e
q
u
e
n
c
e
:
Teach positions
Sketch positions
Program
Motions & Logic & I/O
Verify (slow speed) & Edit as necessary
Save program
10/7/2024
IENG 475: Computer-Controlled
Manufacturing Systems
8
Program Editing Commands
 
E
d
i
t
s
t
a
r
t
s
 
a
 
n
e
w
 
p
r
o
g
r
a
m
EDIT
 
program_name
S
g
o
e
s
 
t
o
 
t
h
e
 
s
t
a
r
t
 
o
f
 
t
h
e
 
p
r
o
g
r
a
m
 
/
 
l
i
n
e
S
 
line_n
L
l
i
s
t
s
 
t
h
e
 
l
i
n
e
s
 
o
f
 
a
 
p
r
o
g
r
a
m
L
 
n1 n2
D
e
l
e
r
a
s
e
s
 
t
h
e
 
c
u
r
r
e
n
t
 
l
i
n
e
 
o
f
 
a
 
p
r
o
g
r
a
m
*
p
r
e
c
e
d
e
s
 
a
 
c
o
m
m
e
n
t
 
l
i
n
e
E
x
i
t
q
u
i
t
s
 
t
h
e
 
e
d
i
t
o
r
 
a
n
d
 
v
a
l
i
d
a
t
e
s
C
o
p
y
c
o
p
i
e
s
 
a
 
p
r
o
g
r
a
m
 
t
o
 
p
r
o
g
r
a
m
2
COPY
 
program1 program2
R
e
n
a
m
e
c
h
a
n
g
e
s
 
t
h
e
 
n
a
m
e
 
t
o
 
p
r
o
g
r
a
m
2
RENAME
 
program1 program2
R
e
m
o
v
e
d
e
l
e
t
e
s
 
a
 
p
r
o
g
r
a
m
 
f
r
o
m
 
R
A
M
10/7/2024
IENG 475: Computer-Controlled
Manufacturing Systems
9
Operation Commands
 
R
u
n
e
x
e
c
u
t
e
s
 
a
 
s
a
v
e
d
 
p
r
o
g
r
a
m
Run
 
program1
A
a
b
o
r
t
s
 
p
r
o
g
r
a
m
 
&
 
m
o
t
i
o
n
s
A  
- or -
  Ctrl+A 
 
from keyboard
S
t
o
p
a
b
o
r
t
s
 
r
u
n
n
i
n
g
 
p
r
o
g
r
a
m
(
s
)
STOP
 
program1
STOP
S
u
s
p
e
n
d
h
a
l
t
s
 
p
r
o
g
r
a
m
 
e
x
e
c
u
t
i
o
n
SUSPEND
 
program1
C
o
n
t
i
n
u
e
c
o
n
t
i
n
u
e
s
 
p
r
o
g
r
a
m
e
x
e
c
u
t
i
o
n
CONTINUE
 
program1
10/7/2024
IENG 475: Computer-Controlled
Manufacturing Systems
10
Motion Commands
 
H
o
m
e
s
e
n
d
s
 
t
h
e
 
r
o
b
o
t
 
t
o
 
k
n
o
w
n
 
p
o
s
i
t
i
o
n
Use this as the start and end of every program
O
p
e
n
o
p
e
n
s
 
t
h
e
 
g
r
i
p
p
e
r
 
C
l
o
s
e
c
l
o
s
e
s
 
t
h
e
 
g
r
i
p
p
e
r
 
S
p
e
e
d
s
e
t
s
 
t
h
e
 
s
p
e
e
d
 
f
o
r
 
t
h
e
 
a
x
e
s
 
o
f
 
m
o
t
i
o
n
SPEED
 
value(1..100)
 
M
o
v
e
m
o
v
e
s
 
r
o
b
o
t
 
i
n
 
p
o
i
n
t
 
t
o
 
p
o
i
n
t
MOVE
 
position
M
o
v
e
L
m
o
v
e
s
 
r
o
b
o
t
 
i
n
 
l
i
n
e
a
r
 
m
o
t
i
o
n
MOVEL
 
position
M
o
v
e
C
m
o
v
e
s
 
r
o
b
o
t
 
i
n
 
c
i
r
c
u
l
a
r
 
m
o
t
i
o
n
MOVEC
 
position1 position2
N
O
T
E
:
 
 
a
d
d
i
n
g
 
a
 
D
 
a
t
 
t
h
e
 
e
n
d
 
o
f
 
a
 
m
o
v
e
 
c
o
m
m
a
n
d
 
a
l
l
o
w
s
 
t
h
e
 
r
o
b
o
t
t
o
 
d
e
l
a
y
 
t
h
e
 
n
e
x
t
 
a
x
i
s
 
m
o
t
i
o
n
 
u
n
t
i
l
 
a
l
l
 
m
o
v
e
m
e
n
t
 
i
s
 
c
o
m
p
l
e
t
e
E
x
.
 
 
M
o
v
e
D
 
p
o
s
i
t
i
o
n
,
 
M
o
v
e
L
D
 
p
o
s
i
t
i
o
n
,
 
M
o
v
e
C
D
 
p
o
s
i
t
i
o
n
10/7/2024
IENG 475: Computer-Controlled
Manufacturing Systems
11
Location Commands
 
H
e
r
e
S
t
o
r
e
s
 
t
h
e
 
p
o
s
i
t
i
o
n
 
a
s
 
j
o
i
n
t
 
c
o
o
r
d
i
n
a
t
e
s
HERE
 
position1
H
e
r
e
R
S
t
o
r
e
s
 
t
h
e
 
p
o
s
i
t
i
o
n
 
a
s
 
r
e
l
a
t
i
v
e
 
t
o
 
l
a
s
t
 
i
n
 
j
o
i
n
t
 
c
o
o
r
d
s
HERER
 
position2 position1
T
e
a
c
h
S
t
o
r
e
s
 
t
h
e
 
p
o
s
i
t
i
o
n
 
a
s
 
c
a
r
t
e
s
i
a
n
 
c
o
o
r
d
i
n
a
t
e
s
TEACH
 
position
T
e
a
c
h
R
S
t
o
r
e
s
 
t
h
e
 
p
o
s
i
t
i
o
n
 
a
s
 
r
e
l
a
t
i
v
e
 
t
o
 
l
a
s
t
 
i
n
 
c
a
r
t
e
s
i
a
n
TEACHR
 
position2 position1
S
e
t
P
T
r
a
n
s
f
e
r
s
 
p
o
s
i
t
i
o
n
s
 
a
s
 
v
a
r
i
a
b
l
e
s
SET P
 
position1 = position2
S
e
t
P
V
C
h
a
n
g
e
s
 
a
 
j
o
i
n
t
 
c
o
o
r
d
i
n
a
t
e
 
v
a
l
u
e
SETPV
 
position axis value
S
e
t
P
V
C
C
h
a
n
g
e
s
 
a
 
c
a
r
t
e
s
i
a
n
 
c
o
o
r
d
i
n
a
t
e
 
v
a
l
u
e
SETPVC
 
position coord value
10/7/2024
IENG 475: Computer-Controlled
Manufacturing Systems
12
Program Control Loop Commands
 
I
f
c
h
e
c
k
s
 
c
o
n
d
i
t
i
o
n
 
o
f
 
t
w
o
 
v
a
r
i
a
b
l
e
s
IF
 
variable1 condition variable2
A
n
d
I
f
c
o
m
b
i
n
e
s
 
I
f
 
c
o
n
d
i
t
i
o
n
s
ANDIF
 
variable1 condition variable2
O
r
I
f
c
o
m
b
i
n
e
s
 
I
f
 
c
o
n
d
i
t
i
o
n
s
ORIF
 
variable1 condition variable2
E
l
s
e
s
u
b
r
o
u
t
i
n
e
 
f
o
r
 
f
a
l
s
e
 
I
f
 
c
o
n
d
i
t
i
o
n
ELSE
E
n
d
I
f
e
n
d
s
 
a
n
 
I
f
 
r
o
u
t
i
n
e
ENDIF
F
o
r
l
o
o
p
i
n
g
 
c
o
m
m
a
n
d
FOR
 
variable1 = variable 2
 
TO
 
variable3
E
n
d
F
o
r
e
n
d
 
o
f
 
l
o
o
p
i
n
g
 
c
o
m
m
a
n
d
ENDFOR
10/7/2024
IENG 475: Computer-Controlled
Manufacturing Systems
13
Program / Branching Commands
 
L
a
b
e
l
s
e
t
s
 
a
 
l
a
b
e
l
 
f
o
r
 
b
r
a
n
c
h
i
n
g
 
t
o
LABEL
 
number(0..9999)
 
G
o
t
o
s
e
n
d
s
 
p
r
o
g
r
a
m
 
t
o
 
a
 
b
r
a
n
c
h
GOTO
 
label_n
 
G
o
s
u
b
t
r
a
n
s
f
e
r
s
 
c
o
n
t
r
o
l
 
t
o
 
a
n
o
t
h
e
r
 
p
r
o
g
r
a
m
,
 
s
u
s
p
e
n
d
i
n
g
 
c
u
r
r
e
n
t
 
u
n
t
i
l
 
s
u
b
p
r
o
g
r
a
m
 
i
s
 
c
o
m
p
l
e
t
e
d
G
O
S
U
B
 
p
r
o
g
r
a
m
2
10/7/2024
IENG 475: Computer-Controlled
Manufacturing Systems
14
Programming Variables Commands
 
G
l
o
b
a
l
c
r
e
a
t
e
s
 
g
l
o
b
a
l
 
v
a
r
i
a
b
l
e
s
(
a
l
l
 
p
r
o
g
r
a
m
s
 
c
a
n
 
u
s
e
 
a
n
y
 
g
l
o
b
a
l
 
v
a
r
i
a
b
l
e
s
)
GLOBAL
 
variable1 … variable2
D
e
f
i
n
e
c
r
e
a
t
e
s
 
l
o
c
a
l
 
v
a
r
i
a
b
l
e
s
(
o
n
l
y
 
c
u
r
r
e
n
t
 
p
r
o
g
r
a
m
 
c
a
n
 
u
s
e
 
l
o
c
a
l
 
v
a
r
i
a
b
l
e
s
)
DEFINE 
variable1 … variable2
D
i
m
G
d
i
m
e
n
s
i
o
n
s
 
a
n
 
a
r
r
a
y
 
o
f
 
s
i
z
e
 
n
 
g
l
o
b
a
l
 
v
a
r
i
a
b
l
e
s
DIMG
 
variable[n]
D
i
m
d
i
m
e
n
s
i
o
n
s
 
a
n
 
a
r
r
a
y
 
o
f
 
s
i
z
e
 
n
 
l
o
c
a
l
 
v
a
r
s
DIMG
 
variable[n]
S
e
t
 
a
s
s
i
g
n
s
 
v
a
l
u
e
 
t
o
 
v
a
r
i
a
b
l
e
1
SET
 
variable1
= 
variable2 operation variable3
Operations can be + - * / SIN COS TAN ATAN EXP LOG MOD OR AND
10/7/2024
IENG 475: Computer-Controlled
Manufacturing Systems
15
Programming Variables Commands
 
P
r
i
n
t
D
i
s
p
l
a
y
s
 
t
e
x
t
 
o
n
 
s
c
r
e
e
n
PRINT
string
P
r
i
n
t
L
n
S
t
a
r
t
s
 
a
 
n
e
w
 
l
i
n
e
 
&
 
d
i
s
p
l
a
y
s
 
t
e
x
t
 
o
n
s
c
r
e
e
n
PRINTLN
string
R
e
a
d
D
i
s
p
l
a
y
s
 
a
 
p
r
o
m
p
t
 
s
t
r
i
n
g
 
&
 
g
e
t
s
 
i
n
p
u
t
READ
prompt
variable
G
e
t
W
a
i
t
s
 
f
o
r
 
o
n
e
 
k
e
y
b
o
a
r
d
 
c
h
a
r
a
c
t
e
r
 
p
r
e
s
s
GET
 
variable
 
10/7/2024
 
IENG 475: Computer-Controlled
Manufacturing Systems
 
16
Robotics Lab
Inking
Mask on
Pad
Inking
Mask &
Pad
Base &
Pallets
Initial
Position
Final Position
Fixture Pins
10/7/2024
IENG 475: Computer-Controlled
Manufacturing Systems
17
Questions & Issues
 
F
i
n
i
s
h
 
p
r
o
d
u
c
i
n
g
 
y
o
u
r
 
l
i
d
 
c
o
r
n
e
r
s
 
&
 
m
o
n
i
k
e
r
s
 
t
h
i
s
 
w
e
e
k
.
F
i
n
i
s
h
 
y
o
u
r
 
c
h
e
s
s
 
p
i
e
c
e
 
p
r
o
g
r
a
m
 
v
e
r
i
f
i
c
a
t
i
o
n
s
Verify on CNC Lathe
Watch for tool interference
Watch for chuck interference
Detail handling of workpiece origin & running program(s)
F
i
n
a
l
i
z
e
 
d
e
s
i
g
n
 
&
 
s
e
l
e
c
t
 
p
r
o
d
u
c
t
i
o
n
 
m
e
t
h
o
d
s
Consolidate programs in Team Folders
Organization for production – personnel, tools
Schedule time for last week’s demo
 
b
y
 
t
h
e
 
e
n
d
 
o
f
 
t
h
i
s
 
w
e
e
k
N
o
 
l
a
b
 
n
e
x
t
 
w
e
e
k
 
 
M
o
n
d
a
y
 
w
i
l
l
 
b
e
 
l
a
s
t
 
e
x
a
m
I
n
-
c
l
a
s
s
 
r
e
v
i
e
w
 
&
 
c
l
a
s
s
 
a
s
s
e
s
s
m
e
n
t
 
t
h
i
s
 
W
e
d
n
e
s
d
a
y
Slide Note

IENG 475: Computer-Controlled Manufacturing Systems

(c) 2006, D.H. Jensen

Embed
Share

Explore the world of robot programming in ACL through hands-on assignments, documentation practices, and good programming principles. Learn about advanced command languages, teach pendant techniques, and programming sequences for efficient manufacturing systems. Dive into creating ACL programs, understanding positions, running cycles, and ensuring safety in automated operations.

  • Manufacturing systems
  • Robot programming
  • ACL commands
  • Programming documentation
  • Industrial automation

Uploaded on Oct 07, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. IENG 475 - Lecture 15 Robot Programming in ACL 10/7/2024 IENG 475: Computer-Controlled Manufacturing Systems 1

  2. Assignment Last Lab (this period) Write program to do the 12 Pick and Place Cycle in ACL commands for a total of 5 cycles. (Assume a new payload magically appears each time) Remaining Laboratory Periods Teach positions and run Robot Program Complete NC Programming Estimate times, plan for production 10/7/2024 2 IENG 475: Computer-Controlled Manufacturing Systems

  3. Programming Teach Pendant Lead-through / Walk-through / Dummy Robot Languages: AML, AML/2 ARMBASIC Karel RAIL RAPL SCORBASE VAL, VAL II Wave ... 10/7/2024 3 IENG 475: Computer-Controlled Manufacturing Systems

  4. Programming Documentation: Position Diagram(s) Position Table I/O Signal Table(s) Program Listing Well Commented Operating Instructions / Safety Procedures Program Metrics Cycle Times Program Size Bill of Materials (Parts List) Wiring Diagram(s) 10/7/2024 4 IENG 475: Computer-Controlled Manufacturing Systems

  5. Robot Programming Good Programming Practices: Always start a program with motion(s) from the HOME position Always signal the start of automated operations by triggering a warning output Always have an interrupt signal for critical error conditions Always design programs to be fail-safe - to fail in a safe condition Generously comment your programs 10/7/2024 5 IENG 475: Computer-Controlled Manufacturing Systems

  6. Anthropomorphic Spec Sheet 10/7/2024 6 IENG 475: Computer-Controlled Manufacturing Systems

  7. ACL Programming ER V+ Robot Advanced Command Language Similar to BASIC Programmed at keyboard in EDIT mode Positions can be taught with teach pendant, or with keyboard in DIRECT mode Programming Sequence: Teach positions Sketch positions Program Motions & Logic & I/O Verify (slow speed) & Edit as necessary Save program 10/7/2024 7 IENG 475: Computer-Controlled Manufacturing Systems

  8. Program Editing Commands Edit starts a new program EDIT program_name S goes to the start of the program / line S line_n L lists the lines of a program L n1 n2 Del erases the current line of a program * precedes a comment line Exit quits the editor and validates Copy copies a program to program2 COPY program1 program2 Rename changes the name to program2 RENAME program1 program2 Remove deletes a program from RAM 10/7/2024 8 IENG 475: Computer-Controlled Manufacturing Systems

  9. Operation Commands Run executes a saved program Run program1 A aborts program & motions A - or - Ctrl+A Stop aborts running program(s) STOP program1 STOP Suspend halts program execution SUSPEND program1 Continue continues program execution CONTINUE program1 from keyboard 10/7/2024 9 IENG 475: Computer-Controlled Manufacturing Systems

  10. Motion Commands sends the robot to known position Use this as the start and end of every program Open opens the gripper closes the gripper sets the speed for the axes of motion SPEED value(1..100) moves robot in point to point MOVE position MoveL moves robot in linear motion MOVEL position MoveC moves robot in circular motion MOVEC position1 position2 NOTE: adding a D at the end of a move command allows the robot to delay the next axis motion until all movement is complete Ex. MoveD position, MoveLD position, MoveCD position Home Close Speed Move 10/7/2024 10 IENG 475: Computer-Controlled Manufacturing Systems

  11. Location Commands Here Stores the position as joint coordinates HERE position1 HereR Stores the position as relative to last in joint coords HERER position2 position1 Teach Stores the position as cartesian coordinates TEACH position TeachR Stores the position as relative to last in cartesian TEACHR position2 position1 SetP Transfers positions as variables SET P position1 = position2 SetPV Changes a joint coordinate value SETPV position axis value SetPVC Changes a cartesian coordinate value SETPVC position coord value 10/7/2024 11 IENG 475: Computer-Controlled Manufacturing Systems

  12. Program Control Loop Commands checks condition of two variables IF variable1 condition variable2 AndIf combines If conditions ANDIF variable1 condition variable2 OrIf combines If conditions ORIF variable1 condition variable2 Else subroutine for false If condition ELSE EndIf ends an If routine ENDIF For looping command FOR variable1 = variable 2 TO variable3 EndFor end of looping command ENDFOR If 10/7/2024 12 IENG 475: Computer-Controlled Manufacturing Systems

  13. Program / Branching Commands Label sets a label for branching to LABEL number(0..9999) Goto GOTO label_n sends program to a branch Gosub transfers control to another program, suspending current until subprogram is completed GOSUB program2 10/7/2024 13 IENG 475: Computer-Controlled Manufacturing Systems

  14. Programming Variables Commands Global creates global variables (all programs can use any global variables) GLOBALvariable1 variable2 Define creates local variables (only current program can use local variables) DEFINE variable1 variable2 DimG dimensions an array of size n global variables DIMG variable[n] Dim dimensions an array of size n local vars DIMG variable[n] Set assigns value to variable1 SET variable1= variable2 operation variable3 Operations can be + - * / SIN COS TAN ATAN EXP LOG MOD OR AND 10/7/2024 14 IENG 475: Computer-Controlled Manufacturing Systems

  15. Programming Variables Commands Print Displays text on screen PRINT string PrintLn screen PRINTLN string Starts a new line & displays text on Read READ prompt variable Displays a prompt string & gets input Get GET variable Waits for one keyboard character press 10/7/2024 15 IENG 475: Computer-Controlled Manufacturing Systems

  16. Robotics Lab Initial Position Inking Mask & Pad Inking Mask on Pad Base & Pallets Final Position Fixture Pins 10/7/2024 16 IENG 475: Computer-Controlled Manufacturing Systems

  17. Questions & Issues Finish producing your lid corners & monikers this week. Finish your chess piece program verifications Verify on CNC Lathe Watch for tool interference Watch for chuck interference Detail handling of workpiece origin & running program(s) Finalize design & select production methods Consolidate programs in Team Folders Organization for production personnel, tools Schedule time for last week s demo by the end of this week No lab next week Monday will be last exam In-class review & class assessment this Wednesday 10/7/2024 17 IENG 475: Computer-Controlled Manufacturing Systems

More Related Content

giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#