M2AII-AS Corso Base RC8ADENSO r2020 - EN
M2AII-AS Corso Base RC8ADENSO r2020 - EN
BASIC PROGRAMMING
TRAINING
Robot DENSO
23/10/2020 2
SCHEDULE:
Day 1:
9.00 : Start first part.
Distribution of documentation.
Installation WincapsIII on customer pc
Hardware presentation
Electrical explanation
Controller and arm analisys
Basic concepts of robotics
12.30: Lunch break
13.30: Start second part
Movement type explanation
TEACH PENDANT explanation
Manual test of movement
3D software basic information
DENSO code organization
17.30: End 1^day.
23/10/2020 3
SCHEDULE:
Giorno 2:
9.00 : Start first part
Basic instructions of robot arm movement
How use TCP, WORK and AREA functions
Pratice of functions before listed
Programming examples
12.30: Lunch break
13.30: Start second part
Specific request
Final test
17.30: End second day
N.B. : It is advisable to present yourself with a PC.
23/10/2020 4
23/10/2020 5
CONTROLLER RC8A
1. Power supply 220V
2. Motor&Encoder cable
3. Switch
4. Pendant plug
5. Ports USB, Ethernet RJ45, RS232
6. Extension slot
7. Digital I/O connections
8. Safety connection
23/10/2020 6
CONTROLLER RC8A
23/10/2020 7
Dimensions:
CONTROLLER RC8A
• Dimension 11L (~13L with safety motion)
• Weight 10Kg (~11Kg with safety motion)
Specifications:
• Power supply
• Frequency: 47 - 63 Hz
• Rated power: 1.8 kVA - 3.3 kVA
• Voltage:
• Monophase: 230V-10% 240V+10%
• Triphase: 200V-15% 240V+10%
• Protection IP20 (installation in a protected rack is recommended)
• Defacement (pollution) degree
• Optional external rack IP54
• Temperature 0° - 40° C
• Humidity 90% without condensation
23/10/2020 8
ELECTRICAL
SCHEMA
23/10/2020 9
CONFIGURATION
Customer Robot
side side
23/10/2020 10
CN9 : HAND I/O
23/10/2020 11
CN10 : MINI I/O
RC8A
23/10/2020 12
CN10 : MINI I/O
RC8A
23/10/2020 13
CN10 : MINI I/O
RC8A
23/10/2020 14
CN10 : MINI I/O
Safety circuits
RC8
23/10/2020 15
ANTHROPOMORPHIC: 6 AXIS
• Sigla modelli: VP / VS / VM / VL
• Raggi di lavoro: 400 → 2500 mm
• Payload: 2 → 40 kg
• Max speed composita: 11000 mm/s
• Ripetibilità: ± 0.02mm
• Lettura posizione: absolute encoders
• Motori: AC servomotors
• Freni: 24vdc
• Elettrovalvole polso: 2/3 double solenoid
• Grado di protezione: std. IP40 → IP67
• Rumorosità: 65dB
23/10/2020 16
ROBOT 6 AXIS
23/10/2020 17
ROBOT 6 AXIS
23/10/2020 18
ROBOT 6 AXIS
Top panel
23/10/2020 19
SCARA ROBOT: 4 AXIS
Sigla modelli: LPH /HS / HM / HSR / XR
Raggi di lavoro: 350 → 1000 mm
Payload: 3 → 20 kg
Lunghezza Z: 100,200,320,400
Max speed composita: 4700 - 11500 mm/s
Ripetibilità: ±0.015mm
Lettura posizione: n°4 absolute encoder
Motori: n°4 AC servomotors
Freni: n°2 24vdc (J3,J4)
Elettrovalvole polso: NO
Grado di protezione: std. IP40 → IP65
Rumorosità: 80dB
23/10/2020 20
SCARA ROBOT: 4 AXIS
AIR1: Direct
AIR2: Direct
AIR3: Direct
AIR4: Direct
CN20: Signal on the base
CN21: Signal on robot arm
23/10/2020 21
MAINTENANCE
• Controller battery: 10 years.
• Noise
23/10/2020 22
BASIC
NOTIONS
23/10/2020 23
ACCURACY vs. RIPETIBILITY
Representation of differences between repeatability and accuracy during robotic
movements
23/10/2020 24
ACCURACY vs. RIPETIBILITY
Exist different robot versions with high accuracy, and exist laser/optical
devices that permits to increase the «standard» performance
23/10/2020 25
WORK COORDINATES
TCP
BASE
23/10/2020 26
WORK COORDINATES
• There is an autocaculation
function in order to define a
new work
WORK1
(250,250,25,0,0,-90) BASE
23/10/2020 27
TCP (TOOL CENTER POINT)
23/10/2020 28
TCP (TOOL CENTER POINT)
23/10/2020 29
TCP ORIENTATION
4 AXES
6 AXES
23/10/2020 30
TOOL DESIGN
TOOL MECHANICAL SPECIFICATION:
• Maximum Payload
• Center of gravity
• Moment of inertia: check especially about last axis
23/10/2020 31
MANUAL MOVEMENT
Using teach or mini pendant is possible move the robot, in manual mode, using
the following modalities
23/10/2020 32
TEACH PENDANT
23/10/2020 33
23/10/2020 34
MINI PENDANT
23/10/2020 35
23/10/2020 36
AREE
• Controls of encumbrance
or not of tool
23/10/2020 37
AREE
23/10/2020 38
AREE
Events:
23/10/2020 39
23/10/2020 40
LOGIN
Programmer
User level: programmer
Password: SHIFT + ↓
Maintaner
User level: programmer
Password: 1967103
23/10/2020 41
23/10/2020 42
SIMULATION
Program controls
3D designer
Cycle time
23/10/2020 43
VARIABLES
USAGE: store into the memory data used by program
23/10/2020 44
VARIABLES
23/10/2020 45
GLOBAL VARIABLES
• The global variables are as array, where the name is the first letter of type: I, F,
D, S, V, P, J, T, IO. Is possible to assign an alias, called MACRO
23/10/2020 46
LOCAL VARIABLES
• Free name is possible, till 64 chars (numeric and letters) Is possible underscore
(_) symbol is available
23/10/2020 47
PROGRAM TYPES
Types of task that is possible use are:
• L: LINEAR Control
Technological interpolation. The controller calculates and manteins a
linear trajectory, passer-by the starter point and end point. The trajectory
is referred to TCP
• C: CIRCULAR Control
Technological interpolation. The controller calculates and maintains a
circular trajectory passing through 3 points. The trajectory is referred to
TCP
23/10/2020 49
ACCURACY
• Set the precision of robot placement and the end of each movement
• The accuracy value is the sphere radius that has as center the target
point. The radius measure is in mm
• When the selected TCP moves into this sphere, the target is reached, and
the robot moves to the next position
• Default accuracy levels by DENSO are 3:
- @0 (default fi omitted)
- @E
- @P
• Is possible use a value (1 – 255) that rapresent the sphere radius in mm.
This is a theoretical value, and the distance depends by the speed of
robot
23/10/2020 50
ACCURACY
@0:
23/10/2020 51
ACCURACY
@E:
23/10/2020 52
ACCURACY
@P:
23/10/2020 53
MOVEMENT INSTRUCTION
MOVE interpolation, accuracy targer, movement options
• Interpolation: P (PtP), L (Linear), C (Circular)
• Accuracy: @0, @E, @P, @numero
• Target:
• P[index]
• J[index]
• T[index]
• Options:
• S=value percentage value of movement speed
• ACCEL= value percentage value of acceleration speed
• DECEL= value percentage value of deceleration speed
• TIME= value time in ms to complete the movement
• NEXT logical prosecution of program till the next
movement instruction
23/10/2020 54
HELPFUL MOVEMENTS
APPROACH interpolation, reference position, accuracy distance, options
23/10/2020 55
EXERCISE n°1
• Pick&Place between fixed positions (es: between 2 boxes). This task must
follows these constraints:
• The trajectory between pick position and place position must guarantee
the minumum travel time
• The trajectory to end points (pick and place) must guarantee that there
aren’t any risk of collisions between tool and boxes. Must be performed to
reduced speed
• In final position (pick and place) the robots must use an accuracy that
guarantee a stop time not higher than 0.1s
MACRO
MACRO is an alias that is used instead of numerical index into global variables.
This increase the legibility of code.
Es: P[station1],
I[Picked]
F[Approach_distance_St1]
When are defined into the variable tables, must be created the header file where
are all definitions. Then include this file into the task that use them.
Is possible to show these names on the teach pendant
23/10/2020 57
EXERCISE n°2
• Modify exercise n°1 in order to use only the macro name to index the global
variables
23/10/2020 59
CYCLE INSTRUCTIONS
FOR index=start TO end value STEP value
‘ cose
NEXT
The end of cycle is done when the index value is strictly greater than of end value
DO
‘ code
LOOP WHILE condition (cycle on true)
UNTIL condizione (cycle on false)
The exit from the loop is done when the condition is false when while keyword is
used. Is similar for keyword until but the exit is done on value true. Test
conditions can be placed after DO
23/10/2020 60
CALL INSTRUCTIONS
CALL programName
• Call is sequential
• Calling task execute the code written inside the called task
• The obtained resource with Takearm command is not released. The movement
inside the called task are executed
• Inclusion of called task into calling task is necessary
RUN programName
23/10/2020 61
WAITING INSTRUCTIONS
DELAY timeout
The program wait that the timeout is passed. Timeout is in ms
23/10/2020 62
I/O
• To reading is done during a comparison with a value
IO[index] = On (1) / Off (0)
Is not possible compare with True because the value is -1
23/10/2020 63
I/O MAPPING
Porta fisica Porta logica Utilizzo
0-7 System input
8 - 15 User input
Mini I/O
16 - 23 System output
24 - 31 User ouput
48 – 55 User input
Hand I/O
64 – 71 User ouput
- 128 - 511 Internal marker
Fieldbus 512 - … See the
documentation
23/10/2020 64
SUPERVISORY TASK
• The Supervisory task are programs that are executed parallelly, in each
controller condition: Auto, Manual, Teach Check
• Check one input that when is ON, tsr starts the example n°1
23/10/2020 67
PLC INTERFACE
E’ possibile comandare da PLC l’avvio del ciclo robot utilizzando i segnali
predefiniti di sistema.
23/10/2020 68
PLC INTERFACE
23/10/2020 69
LAYOUT DESIGN
23/10/2020 70
PROJECT DESIGN
SYSTEM
PLC SIGNALS MAIN TASK
USER RC8
SIGNALS PROn
(recipts,
products…)
23/10/2020 71
PROJECT DESIGN
PLC
TSR
USER RC8
SIGNALS
(recipts,
products…) MAIN TASK
RC8
23/10/2020 72
OPERATOR PANEL
• Develop an operator panel
• Management robot
parameters
• Asynchronous events
• Limitation of operation of
operator
23/10/2020 73
EXERCISE n°4
• Develop a page that permits:
• MOTOR ON/OFF → Turn on/off the motor. The switch off can cause the suspension
of task. Is necessary to modify the setting into the program parameters
• PAYLOAD peso, V(x,y,z), V(xi,yi,zi) → Set the payload on the end-effector. The unit
is gram
HELPFUL COMMANDS
• CURPOS, CURJNT → Get the current cartesian or joint position
• LETX, LETY, LETZ, LETRX, LETRY, LETRZ → Set the component into a cartesian
position
• SYSSTATE → Returns the current state of the system. Is a intger number that must
convert into a binary number where each bit means something
• Send to [email protected]:
• Update the backup with a complete download from the controller
• Save the project and close WincapIII
• Zip the project folder
• Change the extension (.zip → .zipp) to pass the firewall filters
Operational headquartes: Via Cacciamali , N° 67 – 25125
Brescia.
Phone: +390303582154
Fax: +390302659911
http : www.klainrobotics.com
E-mail : [email protected]