Cam Editor
Cam Editor
Operating instructions
CamEditor for the electronical cam control
COMPAX XX70M & S
ER
TIFIE
D Parker Hannifin GmbH Great Britain:
C
EMD-HAUSER Parker Hannifin plc
DIN EN ISO 9001
EMD-Digiplan
Postbox: 77607-1720
We automate motion 21 Balena Close
Robert-Bosch-Str. 22 Poole, Dorset
D-77656 Offenburg
Q
BH17 7DX UK
M
A
U
LI E
T
TY SYS Tel.: +49 (0)781 509-0 Phone: +44 (0)1202 69 9000
Reg. Nr. 36 38 - 01 Fax: +44 (0)1202 69 5750
Fax: +49 (0)781 509-176
http://www.Parker-EMD.com http://www.Parker-EMD.com
Subject to technical change. Data represents the technical status at the time of closing the press. 06.07.99 14:10 192-047016 N2
CamEditor
Contents 1. Assignment
1. Assignment .................................................................2
2. Requirements...............................................................3
2.1 PC .........................................................................3 These operating instructions apply to software for the
2.2 Supported Hardware Interfaces ...............................3 "CamEditor".
2.3 Program Installation................................................3 The cam editor will only run in conjunction with the
2.4 COMPAX XX70 ......................................................3 "ServoManager" software.
3. Survey...........................................................................3 "ServoManager" is supplied with COMPAX.
3.1 Functions of the CamEditor.....................................3
3.2 Editing Old *.cam Files ...........................................3
3.3 Terms.....................................................................4
3.4 Status line ..............................................................4
3.5 Menu Survey...........................................................5
3.6 Functions of the Buttons .........................................5
3.7 Short Instructions....................................................6
3.8 Basic Information for Operation ..............................7
3.8.1 Window Functions.....................................7
3.8.2 Restrictions ...............................................7
3.9 Interpolation............................................................7
3.9.1 Straight Lines............................................7
3.9.2 Standstill Area...........................................7
4. Menus ...........................................................................9
4.1 Axis ........................................................................9
4.1.1 Open.........................................................9
4.1.2 Close ........................................................9
4.1.3 Change current axis ..................................9
4.1.4 Save all curve tables .................................9
4.1.5 Curve table info.........................................9
4.1.6 Load curve table from project ....................9
4.1.7 Save curve table .......................................9
4.1.8 Print curve table ........................................9
4.1.9 Exit .........................................................10
4.2 Edit.......................................................................10
4.2.1 Curve Table ............................................10
4.2.2 Units .......................................................11
4.2.3 Guided Editing ........................................11
4.2.4 Curve-Info ...............................................11
4.2.5 Fix Points................................................11
4.2.6 Coupling Parameters.................................12
4.2.7 Label Parameters....................................12
4.2.8 Auxiliary Functions ..................................12
4.3 Diagram ...............................................................13
4.3.1 Representation........................................13
4.3.2 Kinematics ..............................................13
4.4 Online...................................................................14
4.4.1 Terminal .................................................14
4.4.2 Upload ....................................................14
4.4.3 Download................................................14
4.4.4 Validating a Cam Table...........................14
4.4.5 Compare.................................................14
4.5 PC-Tools ..............................................................14
4.5.1 ServoManager.........................................14
4.5.2 ParameterEditor......................................14
4.5.3 Servo Tools: ProgramEditor ....................14
4.6 ? ........................................................................14
4.6.1 Info .........................................................14
5. Keys............................................................................15
2
2. Requirements 3. Survey
2.1 PC
3.1 Functions of the CamEditor
MS-DOS operational system with Windows V3.1 or higher
as well as PC with VGA graphic card with a resolution of The CamEditor's function is to set up the curve profiles for
640x480 pixel. the electronical cam control COMPAX XX70. Based on a
Recommendation: at least 386-type with co-processor certain curve table, single curves are defined by the input of
fix points, auxiliary functions, parameters for the coupling-
and decoupling-motion as well as the parameters for the
label synchronization.
2.2 Supported Hardware Interfaces
The value input is done in physical units under a windows'
surface.
RS232, PC-COM 1 - 4 The result can be controlled by means of a graphical
representation (linear or polar). By the function "kinematics"
you are able to check the position, the speed as well as the
acceleration of the slave axis.
2.3 Program Installation
A curve table contains one or several curves and is always
completely transmitted to COMPAX via download. The cam
CamEditor can only be installed if ServoManager is memory in COMPAX is overwritten during download.
already installed. The curves within different curve tables are interchangeable.
For installing the cam editor please start the program
"Setup.exe" on the floppy disk. After having indicated a
target directory, the CamEditor will be installed. 3.2 Editing Old *.cam Files
Start program with the ServoManager.
You can load old *.cam files from the "Axis: load curve table
Important! from project" menu item.
Please observe the relevant instructions of README.TXT!
3
CamEditor
3.3 Terms
PC cam - file COMPAX cam memory
curve 4 cam memory
curve 3 control block curve 4:
curve 2 - cycles
control block curve 4:
curve table curve 1 - coupling
- cycles
control block curve parameters
4:
table of auxiliary
Festpunkttabelle - -
cycles- label
coupling
control block curve 4:parameters
parameters
curve 1 funktions - curve
- label
- coupling size
parameters
parameters
Festpunkttabelle
Master Slave - cycles
- - curve
label
- coupling size
parameters
curve 2 fix point table Slave
Master setparameters
point table with
- curve
- label size funktions
parameters
auxiliary
master slave set point table with
curve 3 - curve size funktions
setauxiliary
point table
1st set pointwith
1st auxiliary
auxiliary funktionsfunction
curve 4 set point table
1st set pointwith
2nd set point
1st auxiliary
auxiliary funktionsfunction
Markenparameter 1st set point
2nd auxiliary function
2nd set point
... 1st auxiliary
... function
Markenparameter 1st set point
2nd auxiliary function
Kuppelparameter 2nd set point
... function
1st auxiliary
label parameters 2nd auxiliary function
Kuppelparameter 2nd set point
...
2nd auxiliary function
coupling parameters ...
project
axis - name
Exit
Finishing the CamEditor.
By means of the following table you are in a position to set up a new curve table. You will be guided to all menu positions
needed for the input of a curve.
After having started the CamEditor you will have to proceed as follows:
Menu/Window Input/Remark
axis: open Selection and loading of an axis.
Edit: Curve table During the first call up, the "curve tables info" window is opened and you can enter a symbolic name
and comment for the curve tables. Once the physical units have been entered for the slave and
master co-ordinates, the curve table is opened:
Possibilities: Close: activating marked curve and exiting window.
Insert: setting up a new curve or
loading a curve from another project.
Delete: marked curve will be deleted.
By "insert" "new" there will be set up a new curve now!
The following windows are queried:
Curve - Info Input of the symbolical curve name and the comments concerning each curve.
Units Input of master and slave units wanted.
Fix point table Input of fix points and distance of set points
Beginning with the slave position at master position 0, the master- and slave-positions have to be
put in successively. The input sequence concerning the master positions is optional.
The cursor can be moved by using the arrow keys (→, ←,↑,↓);input a value and complete by
pressing Enter (↵).
After having put in the fix points, the set point distance must be determined.
Via "calculate" the set point table can be calculated before the inputs will be taken over by "OK".
Coupling parameters This window has only to be filled when required!
For your information you can see the fix point table as well as the master and slave cycle.
Label parameters This window has only to be filled when required!
For your information you can see the fix point table as well as the master and slave cycle.
Table of auxiliary This window has only to be filled when required!
functions For your information you can see the fix point table, the set point distance as well as the master and
the slave cycle.
The input is done in the input window.
Only signal changes are entered into the table. Concerning the analogue outputs, there takes place
a linear interpolation between the given values.
The cursor can be moved by using the arrow keys (→, ←,↑,↓).
You now have put in a complete curve and the window "curve table" reappears. By "insert" you can put in
another curve (see above) or you can leave the window "Curve Table" via "close";.you must check the
curve before transmitting it to COMPAX:
Diagram: Represen- The curve put in can be checked
tation: linear or polar
Diagram: Kinematics The speed-course and the acceleration-course of the slave with reference to the master are checked
here.
Online: Download The cam memory of the connected COMPAX will be overwritten.
Online: validating a By this function the axis will be stopped; the command line indicator will be set back and the new
cam table curves within COMPAX will be rendered valid.
The same result can be reached by "power off/power on" at the connected COMPAX.
The different input fields of a window can be reached by using "TAB" i.e. "Shift TAB" or by using the mouse.
Within a table (fix point table and table of auxiliary functions) movements are carried out by using the arrow keys (→,
←,↑,↓, ↵).
6
3.8 Basic Information for Operation
error
slave
3.8.1 Window Functions
The CamEditor calculates the set point table out of the fix master
point table by means of the spline-interpolation. This By the function "kinematics" you can check the
interpolation is optimized to require a minimum of torques.
straight-line, as within this range the speed must be
The interpolation is carried out in such a way that at the
constant and the acceleration has to be 0.
start and at the end the curve shows identical gradients; this
is to avoid speed leaps if curves are traveled several times. Should this not be the case, you would have to
reduce the distance between the fix point couples
Accuracy which defines the straight line.
If possible in respect to the set point distance, the fix points
are taken over as set points.
If due to the chosen set point distance a certain fix point 3.9.2 Standstill Area
cannot be met, the corresponding slave set point does not
exactly exist within the set point table. At curves disposing of a standstill area at the end of the
master cycle, there may appear a slave cycle slightly bigger
than the maximum slave set point. This fact is caused by
the spline-interpolation.
7
CamEditor
Example:
ab cd
slave
master
This might eventually result in axis shifts.
In order to avoid this, the slave set points nearby the end of
the master-cycle and the slave-cycle (a, b and c) have to be
slightly smaller than the slave-cycle itself. Only the last fix
point (d) will receive the coordinates master-cycle/slave-
cycle.
8
4. Menus
Printing Selection
4.1.5 Curve table info
A symbolic name for the curve table and a comment are
entered in this window .
9
CamEditor
10
"Load" 4.2.4 Curve-Info
The window "load curve" will be opened. Please put in the
file name of the project i.e. the directory. In the directory In this window you have to indicate the symbolical curve
there are indicated all axes stored and thus a certain table name as well as a corresponding comment.
can be selected.
After this procedure there will appear a window (similar to
4.2.5 Fix Points
the standard curve table window) which indicates the
curve names and all curve lengths. Now you may choose
the desired curve. By "OK" it can be loaded into the Under "Edit: fix-points" you can enter the fix points as
activated curve table. coordinates for master and slave; the input sequence is
Should the master and slave units of the selected
curve not be identical, the units of the loaded curve
would be adapted to those of the curve table. If
required, a conversion factor can be entered.
"Interrupt"
By using "interrupt" curve table, the table editing is
ended and the modifications that have been made
since the curve table was opened are not saved.
Delete
The marked curve will be deleted. It is necessary to
confirm the demanded deleting procedure. The
following curves will be shifted upward by one
position.
11
CamEditor
12
For each set point you may put in auxiliary functions. The Polar Representation
auxiliary functions are split up into 3 bytes according to the
3 channels: digital outputs, analogue outputs 0 and 1.
Fields not filled will remain empty When changing over to
the set point table, the digital outputs not occupied will
receive the preceding value. Concerning the analogue
channels, the intermediate values not occupied are
calculated by a linear interpolation. The analogue values are
given in % as the final output voltage also depends on the
COMPAX parameterizing (reference value 100 mV at gain
1). After opening an existing table of auxiliary functions, the
empty fields will be maintained. For your information there
will be indicated the fix point table, the distance of the set
points as well as the cycles.
After having put in a master position, it will be adapted to
the set point distance. This procedure is carried out, as the
auxiliary functions can only be stored and activated in
Independent of the chosen measuring unit, the master
COMPAX in a set point-related manner.
position is shown as a rotation angle and the slave position
as a radius (given in physical units).
The master cycle is shown i.e. scaled at 360 degrees. By
4.3 Diagram means of a text line the reference to the physical master
cycle is shown verbally.
The curve determined by the set point table can be shown Attention!
graphically. There exist two different kinds of representation: Negative slave values will be put on 0.
the linear and the polar one. The linear representation is
typical for a variable electronical gear. A mechanical cam is
normally represented with polar coordinates. You are free to 4.3.2 Kinematics
choose one of these representation modes and you are able
to switch over from one to the other. However, only one
representation mode is allowed to be active.
4.3.1 Representation
Linear Representation
The following slave figures are shown:
position "x" over the master position
speed "v" over the master position
acceleration "a" over the master position
for a master speed of
MT
1 (one master cycle per second).
s
Slave Speed:
The maximum slave speed can be calculated from the
figures given in the window "kinematics"
VM
VS max = • Vmax
V0M
The master position is shown on the x-axis, the slave
position on the y-axis. The representation refers to the with:
master-cycle and to the slave-cycle. VSmax. actual maximum slave speed
13
CamEditor
Vmax.: max. slave speed at a master speed of 1 MT/s ≡value 4.4.3 Download
from the speed curve of the window "kinematics".
VM: max. master speed All curves of the loaded curve table are loaded into the cam
M memory of the connected COMPAX.
V0M: master speed 1 T .
s At the download of a curve table, there will be checked, if
the slave unit of the cam table and the unit in COMPAX
Speed (rpm): (P90) are identical. Should they not be identical, either P90
of the control unit or the slave unit of the cam table would
VSmax requires a maximum rotational speed calculated as have to be adapted. You will, however, receive a warning
signal and a special information how to proceed.
VS max
n S max =
P83 4.4.4 Validating a Cam Table
nSmax: actual maximum speed.
After the download, which is possible at each COMPAX
condition, the cam table has to be rendered valid by VF.
Acceleration: This command, however, can only be accepted if no other
The maximum slave acceleration can be calculated from the command is being processed by COMPAX.
figures given in the window "Kinematics": After a corresponding enquiry, the axis will be stopped. In
addition to this, one GOTO 1 is transferred. These actions
2 will be generated by using the function "validating a cam
V table",
aS max = M • amax
V0M
4.4.5 Compare
aSmax: actual maximum slave acceleration
The activated curve table will be compared to the curve data
amax: max. slave acceleration at a master speed of 1 MT/S ≡ within COMPAX in order to find out whether they are
value from the acceleration curve of the window
identical or not. You will be informed accordingly by a
"Kinematics".
certain message.
Attention!
The diagrams would only be in touch with reality, if there was 4.5 PC-Tools
chosen a small set point distance.
4.5.1 ServoManager
4.4 Online Change to the Servo-Manager.
The CamEditor is not closed.
Direct communication with the connected control unit.
4.5.2 ParameterEditor
4.4.1 Terminal
Switches to ParameterEditor or calls up ParameterEditor.
Terminal operation is rendered possible. The functions CamEditor is not closed.
which are possible in COMPAX via the adjusted interfaces
(such as commands, parameters, program and status) can
be carried out (see COMPAX manual). You won't, however, 4.5.3 Servo Tools: ProgramEditor
receive any information concerning the meaning of the
parameters of the status values. Calling of the ProgramEditors.
The "terminal" is meant for having a quick look and for editing.
Modifications made to parameters at this point will not effect
the axis currently open and are not saved in the PC.
4.6 ?
4.4.2 Upload 4.6.1 Info
Before the upload occurs, a comparison is made between As it is common practice at window's applications, there will
the curve set points from the connected COMPAX and those appear a short information concerning the program name,
from the current axis. the version, the copyright, the firm's address and the system
If the set points are the same, the current curve table and resources.
the fix points are retained.
If the set points are different, the fix points of the current
axis are overwritten with the COMPAX set points after an
appropriate enquiry has been conducted.
14
Examination of a Table (e.g. fix point table at label
5. Keys parameters)
General key combination of windows If the table is bigger than the table window, there will appear
a scroll bar. With this scroll bar and with the cursor keys the
ESC cancel.
table window can be controlled.
Tab jumping to the next control element (input field,
By selecting the scroll bar (mouse-click onto the scroll bar
table, button).
or TAB till scroll bar is selected) the cursor keys for
Shift Tab jumping to the preceding control element (input
controlling the table window will be evaluated.
field, table, button). Alterations within the input
The table window will be shifted (controlled) in such a way,
field will be maintained.
that the desired table windows are visible.
Space Key choosing an element out of a list or a Pgup: The visible table window will be shifted
controlling box.
upward by one page.
Cursor moving between menu commands, signs of a text Pgdown: The visible table window will be shifted
field or elements of a list. downward by one page.
Return selecting a menu command. Performing a Cursor up: The table window will be shifted upward
command. by one position.
At an input field (text input/figure input) return will Cursor down: The table field will be shifted downward
be ignored.
by one position.
Alt F4 finishing an application or closing a window. Cursor right: no function
Ctrl F6 jumping to the next window. Cursor left: no function
Scrollbar: The table window will be shifted
Special Keys of the Cam Editor according to the modifications of the
The functions of the ALT-letters are represented in each button.
menu. In each menu function the corresponding letter is
marked by an underline.
The different functions of an ALT-letter-combination depend
on the respective menu.
15
CamEditor
16