G-MAS Script Manager - Elmo Motion Control

1
Exercise #6: G-MAS Script Manager
Exercise #6
G-MAS Script
Manager
www.elmomc.com
2
Exercise #6: G-MAS Script Manager
The key points of this exercise are to demonstrate that:
 Planning, trying and testing motion with the Gold Maestro is
made easy and fast.
 Very complex scripts have been packaged into executable
modules accessed via a graphic interface (trajectory
blending, synchronization).
 Multiple axis control can be carried out easily on one
command queue by using the Gold Maestro Script Manager
tool, also allowing use of the recorder throughout the
motion.
 Scripts can be saved and resumed later.
List of parameters for this demo
Parameter
Set according to screenshots
GMAS IP
Computer IP
www.elmomc.com
Value
192.168.1.3
192.168.1.XXX
3
Exercise #6: G-MAS Script Manager
1. Starting with the Power On command.
3. Right click
on G01 then
connect
2. G-MAS
Script
Manager
1. G-MAS Setup
and Motion
4. Open the Administrative
Commands library and
double click on Power On
5. Click on the Power
On command to open
command properties
6. Choose a01
as the Axis
Name
-In the same way we will continue to add commands to our Script
Program.
www.elmomc.com
4
Exercise #6: G-MAS Script Manager
2. Adding a Wait State Command.
1. Double click
on the Wait
State command
www.elmomc.com
2. Click on "a01
Wait State"
3. Under "Wait PLC State"
select STAND STILL
5
Exercise #6: G-MAS Script Manager
3. Adding the Change Operation Mode to Homing.
1. Double click
on Change
Operational
Mode
www.elmomc.com
2. Click on "a01
Change
Operator"
3. Choose
OPM402
HOMING
MODE
6
Exercise #6: G-MAS Script Manager
4. Adding a Wait operational Mode command.
1. Double click
on Wait
Operational
Mode
www.elmomc.com
2. Click on "a01
Wait
Operational"
3. Choose
OPM402
HOMING
MODE
7
Exercise #6: G-MAS Script Manager
5. Adding Homing on Index command .
1. Double click
on Homing
DS402
www.elmomc.com
2. Click on a01
Homing DS402
3. Choose DS402
Homing Method 34
and fill in all the
parameters as per
the Example
8
Exercise #6: G-MAS Script Manager
6. Adding Wait State Command.
Add the same command as described in paragraph 2.
www.elmomc.com
9
Exercise #6: G-MAS Script Manager
7. Changing Operational Mode to Cyclic Position.
OPM402 CYCLIC
SYNC POSITION
MODE
www.elmomc.com
10
Exercise #6: G-MAS Script Manager
8. Adding the Wait operational Mode command.
OPM402 CYCLIC SYNC
POSITION MODE
www.elmomc.com
11
Exercise #6: G-MAS Script Manager
9. Adding the Move Relative Command.
Fill in all the
parameters as per the
Example
www.elmomc.com
12
Exercise #6: G-MAS Script Manager
10. Running the Program.
By pressing the START button:
 The drive will be powered on;
 The motor will start Homing to its index point;
 The counter will be set to zero;
 The motor will turn 100000 cnts and stop;
START
www.elmomc.com