PHG Operation
PHG Operation
rho 3
PHG Operation
102
Version
Automationstechnik
rho 3
PHG Operation
E 1992
PHG operation
Part 1
rho3
Flexible Automation PHG
INTRODUCTION CONTENTS 0
TECHNICAL DESCRIPTION A
PHG FUNCTIONS C
Please take careful note of the following conditions/restrictions before placing the rho3
Warning control into operation (e.g. with the PHG) since, otherwise, this could involve
- danger to life and limb (e.g. lethal accidents)
- risk to material (e.g. complete machine writeoff, complete reject production)
- economic losses (e.g. downtimes, delays in delivery).
- If there are any points which are not clear, please consult your responsible Bosch
servicing center (see last cover page).
1. AIM, PURPOSE
The aim of this manual is to provide a basic description of operation and programming of the rho3 control using
the handheld programming unit PHG.
2. TARGET GROUPS
Authorized machine fitters and setters with appropriate technical training and experience.
3. KNOWLEDGE, PRECONDITIONS
It is assumed that the reader has a sound basic knowledge of CNC and PLC techniques and all knowledge
of the Bosch rho3 control as imparted in the following documents:
It is also assumed that the reader is familiar with the knowledge and skills imparted in the Bosch courses.
In addition, only authorized persons may work with the control.
I
Flexible Automation
INTRODUCTION
0 rho3
PHG
Risk to material
Important
We constantly endeavor to provide documentation which is free of errors, complete and understandable.
Should you nevertheless come across errors or incomplete descriptions or descriptions which you cannot un
derstand, please inform your responsible servicing office of this.
6. SYSTEM DOCUMENTATION
The machine fitter/programmer is responsible and legally liable for writing/providing correct application docu
mentation.
II
Flexible Automation
CONTENTS
0 rho3
PHG
CONTENTS
TECHNICAL DESCRIPTION A
3. KEYPAD ASSIGNMENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.1 Basic assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2 Shift assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.3 Alt assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3. DISPLAY FUNCTIONS/ENTRIES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4. ACTIVATE FUNCTIONS/ENTRIES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.1 Activate displayed functions/entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.2 Activate functions/entries directly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.3 Preselect submenu levels directly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5. QUIT DIALOGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
III
Flexible Automation
CONTENTS
0 rho3
PHG
6. ENTRIES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7. EXAMPLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
8. SUMMARY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
PHG FUNCTIONS C
1. REFERENCING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2. MANUAL OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3. PROGRAMMING BAPS/PIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.1 Programming BAPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.1.1 Edit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.1.2 Define . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.1.3 Teach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.1.4 Compile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.2 Programming PIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3.2.1 PIC editor30
3.2.2 Counters/timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.2.2.1 Display timers/counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.2.2.2 Change timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.2.2.3 Change counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.2.3 PIC program name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.2.4 Erase PIC EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
4. DEFINE/TEACH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.1 Define . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
4.2 Teach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
6. PIC MONITOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.1 PIC monitor ON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.2. PIC monitor OFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.3 New mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.4 Timers and counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
IV
Flexible Automation
CONTENTS
0 rho3
PHG
7. DIAGNOSIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
7.1 Axis displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
7.2 Errors/warnings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
7.3 System statuses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
7.3.1 Control status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
7.3.2 Process statuses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
7.3.3 Active mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
7.3.4 Hardware configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
7.4 Digital inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
7.5 Digital outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
7.6 RC inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
7.7 RC outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
7.8 Machine parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.8.1 Display machine parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.8.2 Set machine parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.8.3 Presetting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.8.4 Print machine parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.9 Test digital and CAN outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
7.10 Display PHG keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.11 Version display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.12 Machine status display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.12.1 MZA individual display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.12.2 MZA automatic display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
7.13 High-Speed Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
7.14 Digital CAN Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
7.15 Digital CAN Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8. DEACTIVATE PHG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
9. DEVICES/FILE I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
9.1 Presetting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
9.2 List files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
9.3 Delete files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
9.4 Print files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
9.4.1 ASCII files (.QLL, ERR, DAT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
9.4.2 Point files (.PKT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
9.4.3 Machine parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
V
Flexible Automation
CONTENTS
0 rho3
PHG
ANNEX D
VI
Flexible Automation
TECHNICAL DESCRIPTION
A rho3
PHG
The technical description covers the individual elements of the PHG at hardware level. The functional description
is given in the following sections (B, C, D).
EMERGENCYSTOP
Display panel
Liquidcrystal display (LCD)
with 4 lines of 20 characters
BOSCH
each.
Deadman
Function: Enabling
movements and spe
Keypad cial functions, only as
long as Deadman is
Keys are assigned up to pressed
three functions, dependent
upon mode.
Purpose: Informa
tion on functional as
4 5 6 signment of the indi
vidual keys.
0 .
PHG 3 V 1.2/1
Identification: Identification version of
PHG3, keypad as the keypad assignment
signment for rho 3
Fig. A-1 Indicators, displays and operating controls, overview
1
Flexible Automation
TECHNICAL DESCRIPTION
A rho3
PHG
Keys of different controls are assigned different functions. The keypad cover
Warning film must always match the control. Otherwise, there is a risk of unwanted and
incorrect operator control actions etc., thus posing a danger to life and limb
and a risk to material.
A - B ;
MOVE LINEAR
1+VIAC 1- TO D
E ? F ' 2+ G 2- H
WAIT TO BEGIN END
I
IF
[ J ] 3+ K
3-JUMPL
THEN ELSE
M ( N ) 4+ O 4- P
RPT TIMES RPT_END HALT
Q R
INFO GROUP
MODE
KIN SPACE
COORDINATES 5+V _PTP 5- =
U V
S < T > 6+ 6- -
W + * X : ALT
! Y / %
Z @ ,
PHG 3 V 1.2/1
2
Flexible Automation
TECHNICAL DESCRIPTION
A rho3
PHG
A AN I (Input)
O ON O(Output)
S R M(Marker)
= JC EP NOP1
INFO
MODE
PHG 3 V 1.2/2
3
Flexible Automation
TECHNICAL DESCRIPTION
A rho3
PHG
EMERGENCYSTOP
Purpose: The activated robots are stopped immediately in the event of danger.
Function: EMERGENCYSTOP pressed > Robot stop (Fig. A4).
In the
event
of danger
4
Flexible Automation
TECHNICAL DESCRIPTION
A rho3
PHG
BOSCH
Shift Basic*)
ALT assign- assign-
A - ment C Shift ment
MOVE Basic 1+ VIA Basic
Shift 7 8 9 Basic*)
ALT assign- assign-
T > ment U Shift ment
MOVE Basic 6+ Basic
4 5 6
8 1 2 3 Shift 9
0 .
always the same
PHG 3 V 1.2/1 assignment
*) Assignment active only in modes which trigger movements (modes 1, 2, 3.1.3, 4.2) with Deadman key pressed
Fig. A-7 Key assignment system
5
Flexible Automation
TECHNICAL DESCRIPTION
A rho3
PHG
1 2 3 Shift
0 .
0 .
PIC editor
7 8 9
4 5 6
1 2 3 Shift
0 .
6
Flexible Automation
TECHNICAL DESCRIPTION
Keypad basic assignment A rho3
PHG
3. KEYPAD ASSIGNMENT
The diagrams below contain information on the particular modes (or sides of the keypad
Note cover film) to which the key assignment applies. The values in brackets correspond to the
applicable side of the keypad cover film:
Enter
Delete
Mode
Syntax:
Mode No. Enter
No. Number of the required mode Fig. A-13 Mode (1 + 2)
(see Annex, Menu structure PHG)
7
Flexible Automation
TECHNICAL DESCRIPTION
Keypad basic assignment A rho3
PHG
Coordinates
Figures
7 8 9
Purpose: Entering numbers (mode numbers, ad
dresses etc.).
4 5 6
1 2 3
0 .
Fig. A-15 Figures (1 + 2)
V_PTP =
8
Flexible Automation
TECHNICAL DESCRIPTION
Keypad basic assignment A rho3
PHG
Jog
9
Flexible Automation
TECHNICAL DESCRIPTION
Keypad Shift assignment A rho3
PHG
Info
Fig. A-19 Info (1 + 2)
Kinematic
KIN
Purpose: Selection of a kinematic so as to permit the
assigned coordinate system to then be selected (see
Coordinates).
Selection: By pressing the key repeatedly.
Fig. A-20 Kinematic (1)
Assignment: Assignment of kinematic No. and
name, see Description
Machine parameters P1 and P301.
Cursor
Letters
A B C D
Purpose: Entering letters (e.g. variable names,
BAPS programs etc.) E F G H
I J K L
M N O P
Q R
S T U V
W X
Y
10
Flexible Automation
TECHNICAL DESCRIPTION
Keypad ALT assignment A rho3
PHG
Group
Fig. A-23 Group (1)
Special characters
- ;
Purpose: Entry of special characters (e.g. editing
movement programs)
? '
[ ]
( )
SPACE
< >
+ * :
! / %
@ ,
Fig. A-24 Special characters (1)
11
Flexible Automation
TECHNICAL DESCRIPTION
Keypad basic assignment A rho3
PHG
For reasons of simplification, the corresponding text symbols and not the actual key captions are shown below.
Cursor right %
Shift + 3
Examples:
12
Flexible Automation
MENU STRUCTURE, HANDLING
B rho3
PHG
1.1 GENERAL
The rho3 control has two main operating modes: SETUP and AUTOMATIC. Only one of these operating modes
may be active at any one time.
The Annex "Menu structure PHG" shows which modes are available in the two operating modes:
SETUP: All modes are available; however, only user processes containing no traverse statements and which
have been declared as "permanent" processes may be started (see BAPS2 programming instructions).
AUTOMATIC: All movement-triggering operator control actions with the PHG are barred.
2. Switch on control.
XXXXX stands for current version
*** Setup ***
DD.MM.YYYY stands for the current date of the
version XXXXX DD.MM.YYYY
13
Flexible Automation
MENU STRUCTURE, HANDLING
B rho3
PHG
For reasons related to safety, it is possible to switch over from setup to automatic only if
- the PHG has been deactivated (Mode 8) or
- the PHG has not been connected (system
without PHG).
1. Deactivate PHG:
Mode 8 Enter
*** Setup ***
- - PHG deactivated - -
- - PHG deactivated - -
14
Flexible Automation
MENU STRUCTURE, HANDLING
B rho3
PHG
- - PHG deactivated - -
When you quit main operating mode AUTOMATIC, all non-permanent, active user processes are stopped.
Processes which have been declared permanent remain active if the RC input 61 ("Permanent processes are
to remain active") is set.
15
Flexible Automation
MENU STRUCTURE, HANDLING
B rho3
PHG
The menu structure (see Annex "Menu structure PHG") provides information on all available modes
("Submodes") and how to find them in the menus.
In the form represented, the individual menu levels are arranged vertically, in hierarchically descending se
quence from left to right.
Chapter "PHG functions" is subdivided in such a way that the section numbers each corre
Note spond directly to the assigned entries (modes) of the menu structure.
Fig. B4 explains this interrelationship on the basis of a specific example
8 Machine parameters
1 Displaymachineparam.
9 Test digital outputs
2 Set machine param.
10 Display PHG keys 3 Presetting
For reasons of simplification, the individual modes/entries in the texts are referred to with their section number.
Example: Mode 7.3.2 means: Process statuses.
16
Flexible Automation
MENU STRUCTURE, HANDLING
B rho3
PHG
3. DISPLAY FUNCTIONS/ENTRIES
2 Display/setclock
Cursor up
3 RC new start
4 Adjust Vfactor
5
Cursor down Adjust Afactor
6 Adjust Dfactor
Auxiliary functions
2=Display/set clock
2 Display/setclock
3 RC new start
6 Adjust Dfactor
Fig. B-6 Display functions/entries, reference menu structure < - > display panel
17
Flexible Automation
MENU STRUCTURE, HANDLING
B rho3
PHG
4. ACTIVATE FUNCTIONS/ENTRIES
A function/entry displayed with Cursor down / Cursor up can be activated by pressing key Enter
Enter
A function/entry of the active menu can be activated directly (i.e. without displaying it beforehand) by making
the following entry:
Mode No. Enter
No. Number of the required function/entry
Mode n Enter n
Currently in preparation.
18
Flexible Automation
MENU STRUCTURE, HANDLING
B rho3
PHG
5. QUIT DIALOGS
Dialogs can be quit at any time with Cursor left (Fig. B9).
Cursor left
6. ENTRIES
Option 1:
Accept displayed value (in this case: hours) un
changed (and continue to the next query, in this Time and date
case: minutes).
08.10.91 13.43.20
Enter
Minutes:#
Option 2:
Option 3:
Abort procedure: Cursor left
19
Flexible Automation
MENU STRUCTURE, HANDLING
B rho3
PHG
7. EXAMPLE
Mode 7 Enter
or
Cursor down Diagnosis
until display 7=Diagnosis
1=Axis Displays
Enter 2=Errors warnings
Mode 3 Enter
or System statuses
Cursor down 1=Control status
until display 3=System statuses 2=Process statuses
Enter
Mode 2 Enter
or Norm. Process active: 0
Cursor down Perm. Process active: 0
until display 2=Process statuses Sub. Process active: 0
Enter Process error: 0
8. SUMMARY
Cursor left
Cursor up
Cursor down
20
Flexible Automation
PHG FUNCTIONS
Reference points C rho3
PHG
1. REFERENCING
Warning Please note the information, instructions, notes and warnings in documents:
rho3 BAPS 2.0, rho3 Machine parameters, rho3 Signal, rho3 Interface.
Important
Before traversing axes, please ensure that there are no objects in the entire working range
of the robot(s).
Purpose
Manually approaching the (machine) reference points with Jog keys.
All axes with incremental path measuring system must be referenced (moved to their reference points) after each
system new start (switching on the control) so that the control is familiar with the absolute axis positions. The
axes can be traversed only manually with the Jog keys before this is done.
Referencing- yes/no
Axes with absolute path measuring system (e.g.
angle encoders) do not need to be referenced. Ref *** Setup ***
erencing is required only if the following message is VE05D 05.02.1991
displayed in line 3 of the display panel after a system
new start. No reference points!
"No reference points!"
21
Flexible Automation
PHG FUNCTIONS
Reference points C rho3
PHG
a) Kinematic name
Keep Deadman pressed and briefly press corre
sponding Jog key => assigned axis automatically
b) Axis name
approaches reference point.
c) Value
Absolute axis position in MK after reference point has Example
been approached. The reference point may differ
from the machine datum (always 0.00) by the so-
called offset (see Description machine parameters). Reference axis 1 of kinematic 1.
Deadman + 1+ or 1
d) Status position servo loop
No display: Axis position not corrected
K01.A_1 -180.00 *
*: Axis is within the "inposition range" defined via
machine parameters; K01.A_2 0.00 * R
K01.A_3 0.00 * R
e) Reference point to be approached
Gr. 01 Posit.
R: Reference point yet to be approached
No display: Reference point already approached
Display "R" disappears as soon as the reference
f) Axis position
point has been approached.
Value c) refers to the axis position
(lag, offset and end point can be displayed
with Cursor right.
g) Group
Selection with Group
22
Flexible Automation
PHG FUNCTIONS
Manual C rho3
PHG
2. MANUAL OPERATION
Purpose
Manual traversing of the axes with Jog keys and display of position, lag and offset at rest and during traversing.
23
Flexible Automation
PHG FUNCTIONS
Manual C rho3
PHG
h) Group
h g f Selection with Group.
a) Kinematic name
Scrolling lines
b) Axis name
Scrolling the display of the axes of the active group
c) Value vertically in the display panel:
Referred to the displays in the other fields. Cursor down / Cursor up
*: Axis is within the "inposition range" defined via Please note the assignment of
machine parameters Warning axis traversing direction and
Jog keys (+/) and the assign
e) Active coordinate system ment of group/ kinematic/axis
MK: Joint coordinates and Jog keys (see Description
machine parameters).
RK: World coordinates
GK: Gripper coordinates
No display: No coordinate system active
Preconditions
Activating coordinate system:
1. Select Kinematic with Kinematic 1. In the case of RK and GK: Reference points must
have been approached.
2. Select coordinate system with
Coordinates 2. Coordinate system selected:
Kinematic / Coordinates
f) Significance of the values in field c) Coordinate and kinematic preselection is
Posit.: Axis position possible only with the "DEADMAN" key pressed.
24
Flexible Automation
PHG FUNCTIONS
Programming BAPS/PIC C rho3
PHG
3. PROGRAMMING BAPS2/PIC
Purpose
Writing, modifying, correcting and optimizing etc.
` BAPS2 programs via Editor
` Compiling them in IRDATA code via the compiler
` Defining points of compiled programs
` Teaching points of compiled programs
Program preselection
Programs are preselected with menu prompting. The preselected program remains active for the subordinate
modes (Edit, Define, Teach, Compile) until Mode 3.1 is activated again after a level return (Cursor left).
There are two options for program preselection:
1. Cursor preselection
Select the required file with
Cursor down / Cursor up
and preselect it with
Enter.
2. Direct preselection
Explicitly enter the file name including extension (.QLL for source file, .ERR for error file) and confirm with
Enter.
File name Enter
If the file does not yet exist, you will see message:
"Create new file: Enter"
Enter : Create new file
Cursor left : Return to menu of Mode 3
Cursor up / Cursor down : Return to program preselection
25
Flexible Automation
PHG FUNCTIONS
Programming BAPS/PIC C rho3
PHG
b) Cursor ` Exit
Mode E
c) Current cursor column
Store files. Original file is overwritten.
d) Current cursor line
` Compile exit
e) Input prompt Mode C
is displayed after Store and compile files. Original file is over
written.
Mode
L (line No.) or In the case of compilation errors, the number
Mode S (Search string) of such errors is displayed in the display panel
(see "Compile"). The compiler writes the error
(See below, Editor commands)
messages and warnings in plain text into a file
of the same name (.ERR).
f) Editor command
Read error file:
Editor commands always start with Mode.
1. Preselect editor again
COM: is displayed if key Mode has been pressed
and prompts you to enter an editor command 2. Switchover source/error file:
(E, C, Q, L, S).
ALT + 6+
(See below, Editor commands)
This change can be repeated as required, and
the relevant cursor positions are retained.
Print error file (.ERR), see
Note Mode 9.
26
Flexible Automation
PHG FUNCTIONS
Programming BAPS/PIC C rho3
PHG
` Quit
Mode Q
Quit editor without storing (any changes are
lost, original files remain unchanged).
` Line
Mode L No. Enter
Move cursor to start of line No.
` Search
Mode S String Enter
Search for first occurrence of the character
string String as of the current cursor position
in the direction of the end of the file and set
cursor to start of the character string.
Repeat search for same character string:
Enter
Search for new character string String:
String Enter
Quit search
Cursor left
Example
27
Flexible Automation
PHG FUNCTIONS
Programming BAPS/PIC C rho3
PHG
3.1.2 Define
a b
See Section 4.1
Def. APS
P1
X_A 120.000 #
e d c
3.1.3 Teach
a b
See Section 4.2.
Teach APS
P1 --
#
e d c
28
Flexible Automation
PHG FUNCTIONS
Programming BAPS/PIC C rho3
PHG
3.1.4 Compile
Purpose
Generating an executable IRDATA program (.IRD) from the preselected BAPS2 source program (.QLL) and test
ing for formal errors.
If program errors are detected, generation of an error file (.ERR).
Error display
The PHG displays the following if program errors are detected:
` Number of errors and warnings
The compiler writes the errors and warnings in plain text (line length = max. 80 characters) into an error file of
the same name (.ERR). In order to view this file, please preselect the editor again:
1. Preselect editor.
If the editor is called directly after the compiler, the cursor will automatically be positioned at the first line
with an error.
2. ALT + 6+ (switchover source/error file and vice versa)
Error
If there are errors in the program, no new .IRD file and no new .PKT file are created. The existing files (of an earlier,
error-free compiler run) are retained unchanged.
Errors must be corrected in the source file.
Warnings
Warnings are messages of the compiler relating to possible errors.
Compiled programs which contain warnings can be started; however, you should check the significance of the
warnings beforhand.
29
Flexible Automation
PHG FUNCTIONS
Programming BAPS/PIC C rho3
PHG
Warning PIC statements, particularly if they use addresses which have already been defined/used,
may substantially influence the function of the PIC program and may thus lead to malfunc
tions which, in turn, may result in machine damage or even lethal injury.
Before making any changes, please inform yourself adequately as to whether and
how the individual PIC addresses are assigned (see rho3 Signal description).
Purpose
Subsequent modification of the PIC program stored on the EEPROM.
Preconditions
` EMERGENCYSTOP activated before preselection of Mode 3.2.1.
` EEPROM writeprotect switch on the I/O board must be set to position 0 (see rho3 Interface conditions).
General
The PIC editor offers functions "Search" and "Edit".
Search supports targeted preselection of a specific PIC address/PIC statement on the basis of various search
criteria (address, operand, statement, JC, PE).
Editing permits actual editing of the PIC program. Precisely one PIC statement per line. End of program = PE.
Change to function "Search" with Cursor left. Repeat search with last search criterion: Cursor down.
30
Flexible Automation
PHG FUNCTIONS
Programming BAPS/PIC C rho3
PHG
Search Edit
a a
b b
Cursor down
31
Flexible Automation
PHG FUNCTIONS
Programming BAPS/PIC C rho3
PHG
Edit, continue
Interactions
32
Flexible Automation
PHG FUNCTIONS
Programming BAPS/PIC C rho3
PHG
Error messages
RC interface
PIC 250
RC
O88.0 EEPROM O88.0 1.
Program I/
RCE . memory O92.7 O
. 8kB 64
8150 com I88.0 I/
O81.7 mands 40
8 counters I95.7 O
M0,.0..1.7,
8 timers
M2.0...M4.7
Retentive O93.0
I 8.0 markers 2.
RCA
. Retentive O97.7 I/
. markers O
I96.0 64
Non-reten I/
I63.7 tive markers
I103.7 40
Non-reten O
tive markers
Fig. C-1 PIC250 address assignment, schematic, see rho3 Signal description for further details
33
Flexible Automation
PHG FUNCTIONS
Programming BAPS/PIC C rho3
PHG
3.2.2 Counters/timers0
Counters and timers can be set permanently via ma Counters (Z), Timers (T)
chine parameters (see Mode 7.8; see also rho3 Des 1=Display timers, counters
cription machine parameters).
2=Change timers
Purpose
Display or change counters and/or timers.
Interactions
Timers, counters
Page through timers (T) and counters (Z): T0= 10 T1= 10
Cursor down / Cursor up T2= 10 T3= 10
Quit display mode:
Cursor left
Change timer
Change (T) timers
Change value of the displayed timer and move auto T0= 10 #
matically to next timer:
Value Enter
Valid range for value:
0 to 999999
Store changes
34
Flexible Automation
PHG FUNCTIONS
Programming BAPS/PIC C rho3
PHG
Store changes
35
Flexible Automation
PHG FUNCTIONS
Programming BAPS/PIC C rho3
PHG
Precondition
Explanation of the display panel
EEPROM writeprotect switch on the I/O board must
be set to position 0 (see rho3 Interface conditions).
a b c
PIC250 programs
R3_5D.P2X 454W
19.09.91 14:17
a) PIC module
b) Program name
36
Flexible Automation
PHG FUNCTIONS
Define/teach C rho3
PHG
4. DEFINE/TEACH
Purpose
Redefining/teaching points of a BAPS program.
37
Flexible Automation
PHG FUNCTIONS
Define/teach C rho3
PHG
Purpose Purpose
Assigning (if applicable new) coordinate values to Assigning the current axis coordinates (if applicable
points by numerical entry. new axis coordinates) to points after the axes have
been moved manually to the required position be
forehand with Jog keys.
Explanation of the display panel
General
a b
With Cursor right / Cursor left, you can change be
tween two functions "Point preselection" and "Manu
Def. APS al".
P1 Point preselection:
X_A 120.000 #
Preselection of kinematic and point.
Kinematic
e d c
Cursor up / Cursor down
Enter
a) Point name
Cursor down / Cursor up Display of the axis coordinate values of the selected
point and manual traversing of the axes with Jog
b) Kinematic name keys.
c) Entry prompt Assign the current coordinates to preselected point:
` Continue to next coordinate: Enter
Enter Reject current coordinates (which have not been
` Enter/change value: value confirmed with Enter ) and return to point preselec
Enter tion:
Cursor left
d) Value
e) Axis coordinate
38
Flexible Automation
PHG FUNCTIONS
Define/teach C rho3
PHG
a b a b c d e
d c h g f
Cursor right
39
Flexible Automation
PHG FUNCTIONS
Test BAPS programs C rho3
PHG
Preparations
Enter
ABCD .IRD
Press RC START
ABCD .IRD
1=Set oberservation
2=Delete observation
Reference
40
Flexible Automation
PHG FUNCTIONS
PIC Monitor C rho3
PHG
6. PIC MONITOR
Purpose
Testing the active PIC program by observing the dynamic display of current PIC address, PIC statement, logic
states of I/O/M etc. during the program run.
Function
The PIC program continues to run cyclically. After each PIC program run, the logic state of the operands involved
in the selected PIC address and the current logic operation result (RLO) are determined, buffered and displayed.
Determining the current logic state may be linked to fulfillment of a trigger condition (Modes 6.1.1 and 6.1.2)
General
The PIC monitor offers functions "Search" and "Monitor".
Search assists targeted preselection of a specific PIC address/PIC statement on the basis of various search crite
ria (address, operand, statement, JC, EP).
Monitor is the actual monitor function.
Change to function "Search" with Cursor left. Repeat search with last search criterion:
Cursor down.
41
Flexible Automation
PHG FUNCTIONS
PIC Monitor C rho3
PHG
a a b
d e d c
42
Flexible Automation
PHG FUNCTIONS
PIC Monitor C rho3
PHG
The trigger condition can be set with Modes 6.1.1 and 6.1.2. You exit these modes with:
Cursor right
and then mode preselection (modes 1 or 2)
43
Flexible Automation
PHG FUNCTIONS
PIC Monitor C rho3
PHG
Purpose
Switching off the monitor function running in the background (e.g. freeze function) if "New mode" (Mode 6.3)
has been preselected. "Monitor off" is automatically defined when you quit the PIC monitor normally provided
no trigger condition has been set.
Currently in preparation.
Purpose
Combined test of BAPS and PIC programs.
You can change as required between operating modes "Mode 5, Test BAPS programs" and "Mode 6, PIC moni
tor" and vice versa with
Cursor right
For example, after each interrupt or, possibly, after each singlestep of the BAPS program, you could view the
logic states of PIC statements, timers and counters.
Precondition
Currently in preparation
44
Flexible Automation
PHG FUNCTIONS
Diagnosis C rho3
PHG
7. DIAGNOSIS
Purpose
Inspection of the actual statuses, e.g. for the purpose of error diagnosis or for commissioning.
c) Value h) Group
Referred to the displays in the other fields.
45
Flexible Automation
PHG FUNCTIONS
Diagnosis C rho3
PHG
a d Info
EAPR2 perm.
Display
EXT1 Level : 3 1. Processrelated errors and
2. errors and warnings as in Mode 7.2.
QLL : 0 KIN : 1
h) Active line No. in BAPS source program
h Status: ERROR PRIO = 100 e (.QLL)
g f
7.3.3 Active mode
b) Process name
Selection with Cursor down / Cursor up 7.3.4 Hardware configuration
e) Active kinematics
f) Process priority
g) Process status
46
Flexible Automation
PHG FUNCTIONS
Diagnosis C rho3
PHG
7.6 RC INPUTS
7.7 RC OUTPUTS
Purpose
Dynamic display of the RC output signal states as av
ailable to the operating system as process image.
47
Flexible Automation
PHG FUNCTIONS
Diagnosis C rho3
PHG
48
Flexible Automation
PHG FUNCTIONS
Diagnosis C rho3
PHG
Purpose
Consecutively activating all physical outputs individually (Test 1) and groupby group (Test 2) with test pulses
so as to test their functions (LEDs on I/O board and control cabinet light briefly).
Installed CAN-Outputs are tested in company with the I/O-boards
Precondition
EMERGENCYSTOP active.
Test 1
Test2
49
Flexible Automation
PHG FUNCTIONS
Diagnosis C rho3
PHG
Purpose Purpose
Testing function of the PHG keys. Information about installed software and firmware
versions with release date.
c) Key status
7.12.2 MZA automatic display
H = Key pressed
L = Key not pressed
Automatic, cyclic display. Display duration can be
set by means of machine parameter options (acces
sible only to Bosch).
A maximum of 4 keys may be
Note pressed simultaneously.
50
Flexible Automation
PHG FUNCTIONS
Diagnosis C rho3
PHG
Purpose
Dynamic display of the High-Speed-Input states
on the servo boards.
In a rho3 control, several servo board types can be
installed. Depending on the type, these boards have
8,9 or no High-Speed-Inputs.
The number of HS-Inputs to be used must be de
clared in machine parameter P11.
Indications:
Inp. SB = Number of the servo board (1..3)
LLHH.. = State of the High-Speed-In
puts (L = inactive, H = active)
Byte/Bit
01 = Display of inputs 1..8
Byte/Bit
02 = Display of the 9th input
- = No High-Speed-Inputs
installed
Example 1:
1 Servo 6I installed (9 HS-Inputs available, 2 de
clared in P11).
Diagnosis Inp. SB 1
Display of inputs 1..8
Byte/Bit 12345678
01 LLHHHLLL
51
Flexible Automation
PHG FUNCTIONS
Diagnosis C rho3
PHG
Example 2:
1 Servo 6I installed (9 HS-Inputs available, none de
clared in P11).
Diagnosis Inp. SB 1
Display of inputs 1..8
Byte/Bit 12345678
01 ––––––––
Example 3:
1 modular servo board installed (8 HS-Inputs avail
able, 5 declared in P11).
Diagnosis Inp. SB 1
Display of inputs 1..8
Byte/Bit 12345678
01 LLHHHLLL
Example 4:
2 Servo 6I installed (9 HS-Inputs in each case avail
able, in P11 respectively 1 declared).
Diagnosis Inp. SB 1
Display of inputs 1..8 on servo board 1
Byte/Bit 12345678
01 LLLLLLLL
52
Flexible Automation
PHG FUNCTIONS
Diagnosis C rho3
PHG
Diagnosis Inp. SB 2
Display of inputs 1..8 on servo board 2
Byte/Bit 12345678
01 HLLLLLLL
Example 5:
1 narrow servo board and 2 Servo 6I installed (the
narrow board has none, each Servo 6I has 9 HS-In
puts, 4 declared in P11 in each case).
The display starts with servo board 2, because there
are no HS-Inputs available on a narrow board.
Diagnosis Inp. SB 2
Display of inputs 1..8 on servo board 2
Byte/Bit 12345678
01 LLHHLLLL
Diagnosis Inp. SB 3
Display of inputs 1..8 on servo board 3
Byte/Bit 12345678
01 LHHLLLLL
53
Flexible Automation
PHG FUNCTIONS
Diagnosis C rho3
PHG
54
Flexible Automation
PHG FUNCTIONS
Deactivate PHG C rho3
PHG
8. DEACTIVATE PHG
This is the precondition for being able to change from main operating mode SETUP to main operating mode
AUTOMATIC.
55
Flexible Automation
PHG FUNCTIONS
Devices/file I/O C rho3
PHG
9. DEVICES/FILE I/O
Purpose
Data transfer to devices, file handling and setting of interface data.
9.1 PRESETTING
Purpose
Intermatching the transmitter and receiver by means of parameters so as to permit data transfer.
The parameters can be modified
a) temporarily in the RAM until the next system new start. After this, the modifications are overwritten again
by the default parameters in the machine parameters.
b) permanently in the EEPROM,
by overwriting the machine parameters (see rho3 Description machine parameters)
Protocol: : 1..7
Display presettings:
Interface: 0..4
1 0
Baud rate: 9600 9600 9600
Enter (if necessary, press repeatedly)
Number of stop bits:
Parity (0,1,2) :
Change presettings: Word length:
Softwarehardware hand
shake (0/1)
` Preselect presetting: Timeout for read-in:
Enter until the required presetting
Timeout for output
is displayed.
` Change presetting temporarily to value:
Value Enter
56
Flexible Automation
PHG FUNCTIONS
Devices/file I/O C rho3
PHG
Reject changes
Changes made cannot be rejected (unless they have been stored temporarily with Cursor left and this is fol
lowed by a system new start). Rather, changes made must be rewritten explicitly.
57
Flexible Automation
PHG FUNCTIONS
Devices/file I/O C rho3
PHG
58
Flexible Automation
PHG FUNCTIONS
PRESELECT Program C rho3
PHG
59
Flexible Automation
PHG FUNCTIONS
Auxiliary functions C rho3
PHG
Triggers a startup .
Important:
All running processes are aborted and the system
starts up again, as after pressing the
RESET key on the control power supply unit.
Important:
The changes act directly on the current movements.
60
Flexible Automation
PHG FUNCTIONS
Backup for EEPROM and EPROM C rho3
PHG
Warning
This may be carried out only by specially authorized quali
fied personnel !
Warning Make a backup copy of the machine parameters beforhand since all machine parameters
are overwritten with default values after execution of EEPROM backup.
Overwrites current machine parameters in the EEPROM with default machine parameters of the system software
(stored on EPROM).
Deadman + Alt + Mode + 0
+: means that keys must be pressed simultaneously.
Application
Warning Erases (using NOPs) the contents of the PICEEPROM. The PIC program can no longer
be run after execution of the command.
Application
ERASING PICEEPROM
Deadman + Alt + Mode + 4
+: means that keys must be pressed simultaneously
61
Structure of PHG–Path rho3 62
Flexible Automation
Software version TO05I
1 Reference points
2 Manual Position Dead–man button
Axis lag KIN–Selection 1 Edit
Coord–Selection
Offset Group–Selection 2 Define Program Mode E Exit (exit and save)
Belts Move 3 Teach In select with ↓↑ Mode Q Quit (exit without saving)
or input Prog.– Mode L Line (Positioning cursor in line)
Tool 4 Compile
name Mode C Compile (Compile)
5 File selection Mode S Search (Search string)
3 Progr. BAPS/PIC 1 Progr. BAPS–Prog.
DEL Delete character
2 Progr. PIC–Prog. 1 PIC Editor
Shift DEL Delete line
3 Compile 2 Counter and timer 1 List counter/timer →↓←↑ Move cursor
3 PIC–Progr.–name 2 Change timer ENTER Insert line
4 PIC–EEpr. delete 3 Change counter Alt U Switch to ERR–QLL file
12 Mach.cond.display
13Servo board inputs
1 MSD single display → Display contents
2 MSD autom. display ↓↑ Display component contents
14 CAN inputs
15 CAN outputs
1 Coupling
9 Device/File I/O 1 Default settings 2 Printer interface
2 List files 3 Read/Write SER_1
3 Delete files 4 Read/Write SER_2
1 ASCII–Files
4 Print files 5 Read/Write SER_3
2 Pkt–Files
5 Memory allocation 6 Read/Write SER_4
3 Machine parameter
6 Mem. –> EEprom
7 EEprom –> Mem.
Protocol: 2 6 4 4 – –
10 Select program 1 Select processes Pro. Protocol structure read Interface: 1 – 1 1 1 0
No Echo
2 Stop processes Baudrate: 9600 – 9600 9600 9600 9600
1 <DATA> followed by <CR> <LF> yes
3 Process conditions 2 <DATA> yes Stop–Bits: 1.0 – 1.0 1.0 1.0 1.0
3 <SOH> <STX> <DATA> <ETX> Parity ( 0=n,1=o,2=e): 0 – 0 0 0 0
11 Help functions 1 Initial position followed by no
<SOH> <STX> <CR> <LF> <ETX>
Data bits: 8 – 8 8 8 8
2 Show and set clock
4 <SOH> <STX> <DATA> <ETX> no Soft–Hardw. Hsh (0/1) 0 – 1 1 1 1
3 Reset RC 5 <DATA> no Timeout (input) –1 –1 –1 –1 –1 –1
4 Adjust Vfactor 6 PHG–Protocol yes
Timeout (output) 5000 5000 5000 5000 5000 5000
5 Adjust Afactor 7 rho1/2 compatible with Pro.No. 3 no
8 3964 R no Parity: 0= none / 1= odd / 2= even
12 Information 6 Adjust Dfactor
1. General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2. Preconditions
2.1. The compiler statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2.2. Affiliation of files (COMMON ID) . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1. GENERAL
Operating system function "Testing BAPS2 programs with the PHG" serves to
test BAPS2 programs with the hand-held programming unit (PHG) on the control
and to locate any programming errors.
The terms program and process are used a synonyms in this document.
The operator has the option of testing several processes simultaneously, starting
new processes and terminating running processes without having to quit the test
system.
When the test system is quit, all processes which have been started via the test sys
tem are aborted. This also applies to permanent processes if RC input 61 (PIC ad
dress A7.5 , "Permanent processes are to remain active") is not set.
1
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
2. PRECONDITIONS
- In the case of processes with traverse movements and axes without absolute
measuring system, the reference points must have been approached.
- The control must be "READY", i.e. no errors may be pending (e.g. EMER-
GENCYSTOP or EMERGENCY MODE WITHOUT RC).
2
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
Example:
If the identifications between IRD and QLL do not correspond, the prompt
3
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
The test system is activated on the PHG in mode SETUP by selecting mode 5. If
testing is possible (see Section 2), all IRD programs present in the control are of
fered for preselection.
Operating options:
Shift +
After preselection of an IRD program with ENTER, the test system is activated by
setting the RC input 21 (PIC address A2.5 , "Program start").
dana .IRD
Confirm RC start
4
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
If all conditions specified in Point 2 are fulfilled, if an IRD program is preselected and
if RCSTART is pressed, the operator is then offered all test system commands for
selection.
The current process name and the line number of the next executable command
are displayed in the 1st PHG line. All errors detected when entering commands are
indicated by means of the message in line 3 of the PHG. These error messages are
retained until the next PHG key is pressed.
dana XXXXX
1=Set observation
2=Delete observation
Operating options:
Shift +
5
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
dana xxxxxx
Set observation
Name:
Operating options:
If ENTER is entered, the test system acknowledges execution of the command with
the following display.
dana xxxxx
Observation set
xyz
Illuminated key -->
Continue
xyz : Variable to be observed.
xxxxx : Next executable program line
If the variable is written during the further sequence of the process, a correspond
ing prompt is displayed in the last line of the PHG and process execution is inter
rupted (see Section 6.1).
6
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
dana xxxxx
Delete observation
Name:
Operating options:
Entry of the variable name (max. 12 letters)
7
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
This command displays all observations existing in the currently selected process.
dana xxxxx
Display observation
Name
Operating options:
Shift +
8
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
dana xxxxx
Set interrupt
Number:
Line :
Operating options:
Entry of the interrupt number ( max. 32767, the number 1 is the default)
After entry of the line number and ENTER, the test system acknowledges execution
of the command with the following display.
dana xxxxx
Interrupt set
z : abc
Illuminated key -->
Continue
xxxxx : Next executable program line
z : Interrupt number
abc : Program line number
If a program line at which an interrupt point has been set is reached during the furt
her sequence of the process, a corresponding prompt is displayed in the last line of
the PHG and process execution is interrupted (see Section 6.2).
9
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
This command deletes a previously set interrupt. When the command is selected,
the interrupt number is then requested.
dana xxxxx
Delete interrupt
Number:
Operating options:
Entry of the interrupt number ( max. 32767, the number 1 is the default)
10
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
This command displays all interrupts existing in the currently selected process.
dana xxxxx
List interrupt
x :z
Shift +
11
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
The display of the current contents depends upon the type of variable to be dis
played.
In the case of variables of type BINARY, INTEGER or DEC, the value of the variable
is displayed directly.
In the case of variables of type CHARACTER, the current contents are represented
as characters (e.g. 'A') or as a three-digital decimal number (e.g. 000).
In the case of variables of type TEXT, the "TEXT" is displayed. The contents of the
first character of the text are not displayed until you request more detailed informa
tion on the variable with SHIFT ARROW RIGHT. xyz[1] is then displayed as the vari
able name and the first character is then displayed as the current contents. Further
operator control actions are described in Section 5.7.2. "Operation at the index lev
el".
In the case of variables of type FIELD, "FIELD" and the lower and upper field limit
are displayed, corresponding to the declaration in the BAPS program (e.g.
FIELD[-2..2]). The contents of the first field element are not displayed until you re
quest more detailed information on the variable with SHIFT ARROW RIGHT.
xyz[Lower_field limit] is then displayed as the variable name and either the value of
the field element is displayed as the currrent contents, dependent upon the type of
field element, or, in the case of TEXT, FIELD or group, a corresponding display as
just described. Further operator control actions are described in chapter "Opera
tion at the index level".
dana xxxxx
Display
Name:
12
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
Operating options:
*
[Index] : Direct preselection of a field index
*
.Component : Direct preselection of a component
*
Quitting display mode
Shift +
dana xxxxx
xyz
Current contents
#
13
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
You will be at the name level if only a name without field index and/or component
name is given as the variable name.
Operating options:
14
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
You will be at the index level if only a field index without component name occurs at
the end of the variable name.
Operating options:
15
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
You will be at the component level if there is a component name at the end of the
variable name.
Operating options:
16
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
5.7.4. Example
Procedure for display of @IPOS of the KINEMATIC ROB1 with the axis names A_1,
A_2, A_3, A_4 of program PROGNAME.
Current program line is 10.
PROGNAME 10
DISPLAY
Name:#
Entry : ROB1
PROGNAME 10
ROB1
IPOS,@IPOS,LIMIT_M->
#
PROGNAME 10
ROB1.IPOS
X_K,Y_K,Z_K,U_K
#
PROGNAME 10
ROB1.@IPOS
A_1,A_2,A_3,A_4
#
PROGNAME 10
[email protected]_1
0.000
#
17
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
ENTRY : ENTER
PROGNAME 10
[email protected]_2
-100.000
#
18
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
dana xxxxx
Singlestep
Line:
Operating options:
After you enter the line number and acknowledge with ENTER, you can execute the
program statement by pressing key SHIFT ARROW DOWN.
19
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
dana xxxxx
Singlestep
Program line
Operating options:
The next program statement is not displayed until after complete execution of the
program statement. If several statements occur in one program line, the same pro
gram line is displayed until all statements of this line have been executed.
Note:
The program line is displayed if the control does not have a QLL file of the currently
active program.
20
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
This command permits the currently selected process to be tested with or without
robot movement.
dana xxxxx
Test "With movement"
or
dana xxxxx
Test "Without movement"
Switch over with ENTER
Operating options:
21
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
This command permits QLL program lines to be displayed on the PHG. After prese
lection, the test system requests you to enter the line number to be displayed.
dana xxxxx
Write
Line :
Operating options:
Entry of the program line number ( max. 32767 ; xxxxx is the default)
After you enter the required line number, the contents of the program line are dis
played on the PHG.
dana xxxxx
Write
Program line
Shift +
22
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
Shift +
When program lines are displayed, blanks between line number and the first char
acter of the line are masked.
The next executable program line is identified with prefix "-->".
23
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
dana xxxxx
1= Preselect
2= Select
Shift +
Note: If no process is selected (see notes on 1st PHG line), you cannot quit
this command level.
24
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
By preselecting this command, the operator can make processes available for the
test system without having to quit the test system. The precondition is that the pro
cess not yet be accessible to the test system and that all conditions listed in Section
2 be fulfilled.
On the PHG, the operator is offered all processes for selection whose IRD pro
grams are present in the user memory.
Preselect
dana .IRD Size
Date, time
Preselect with: ENTER
Operating options:
Shift +
25
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
Select
dana .IRD Size
Date, time
Preselect with: ENTER
Operating options:
Shift +
26
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
When this command is preselected, the selected process can be started as of any
program line.
The test system prompts you to enter a program line number as of which the BAPS
program is to be executed. If no program line number is entered, the program is
executed as of the next executable program statement.
dana xxxxx
Start
From line:
Entry of the program line number (max. 32767; xxxxx is the default)
The process can now be influenced by the test system only if a previously set inter
rupt or observation is triggered or if it is stopped by an interrupt (see Section
5.12.4). Otherwise, the program runs to its programmed end or to an abort (e.g.:
EMERGENCYSTOP).
When the operator enters ENTER, he is prompted to preselect or select a new pro
cess (see Sections 5.12.1 or 5.12.2).
27
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
This command gives the operator the option of interrupting a running process. All
running processes which have been activated by the test system and which are not
selected can be interrupted. After preselection of the command, it is possible to use
the arrow keys to search for the process to be interrupted.
Interrupt
dana
Operating options:
Shift +
When ENTER is entered, the displayed process is stopped before the start of its
next BAPS command. The interrupted process is then automatically selected.
28
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
This command provides the operator with the option of aborting the currently se
lected process.
Quit
Quit current process
Operating options:
This command permits points to be defined using the PHG without having to quit
the test system. The definition procedure is the same as when calling via MODE 4
(Define, Teach In), MODE 1 (Define).
This command permits points to be taught using the PHG without having to quit the
test system. The teaching procedure is the same as when calling via MODE 4 (Defi
ne, Teach In), MODE 2 (Teach In).
29
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
This command permits the operator to abort all processes and quit the test system
again. If RC input 61 (PIC address A7.5 , "Permanent processes are to remain acti
ve") is not set at the instant at which the command is executed, all permanent pro
cesses are also aborted.
dana xxxxx
Quit test system
Continue : ENTER
Operating options:
30
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
Several processes can be tested simultaneously in the test system of the rho 3.
Consequently, it is possible for the selected process to be tested whilst another
non-selected process runs to an interrupt point or whilst an observed variable is
being written. This is indicated to the operator in the last line of the PHG.
Obs.rea.: dana1
The note in the last line is retained until the next PHG key is pressed.
Int.rea.: dana1
The note in the last line is retained until the next PHG key is pressed.
31
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
Example:
1 ;;kinematic : (1 = ROBI1 )
2 ;;kinematic : (2 = ROBI2 )
3
4 Program Test
5
6 Point : p0,p1,p2,p3,p4
7
8 Start
9 Move ROBI1 to P0 ;Main process TEST
10 Move ROBI2 to P1
11
12 Parallel
13 Move ROBI1 to P2 ;Subprocess TEST S01
14 and
15 Move ROBI2 to P3 ;Subprocess TEST S02
16 Parallel_end
17
18 Move ROBI1 to P4 ;Main process TEST
19 Stop
20 End
When this example program is executed, the kinematic ROBI1 approaches point
P0 and, then, kinematic ROBI2 approaches point P1. Kinematic ROBI2 does not
start its movement until ROBI1 has reached point P0.
In the parallel branch, the traversing statements are executed simultaneously, i.e.
ROBI1 moves to P2 whilst ROBI2 is moving to P3.
The test system handles the statements between "PARALLEL" and "PARAL
LEL_END" as independent processes (subprocesses). The name of a subpro
cess consists of the main process name, an 'S' and a consecutive number.
In the example, the subprocesses are designated TEST S01 and TEST S02.
32
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
Example:
Example:
In the above example, the main process (TEST) is preselected. The oper
ator also specifies the line number 13 for SINGLESTEP. This means that
the command is executed in subprocess TEST S01. The next program
line to be executed would be 18. Subprocess TEST S02 is not executed
!!
Important:
The remaining subprocesses continue only if a subprocess has been
stoppped owing to an interrupt point or observation!
33
Testing BAPS2 programs rho 3
Flexible Automation with the PHG
34
Bosch-Automationstechnik
Ihr Ansprechpartner