G
‐
MAS
–
Gold
Maestro
Software
User’s
Manual
Software
User
Manual
XXXXXXXXXXXX(0.01)
1
‐
1
Table
of
contents
Chapter
1:
About
the
G
‐
MAS
and
this
manual
..............................................................
1
‐
3
1.1.
What
is
the
G
‐
MAS
........................................................................................
1
‐
3
1.2.
G
‐
MAS
Features
............................................................................................
1
‐
4
1.3.
What
the
Document
Covers
and
How
to
Use
It
................................................
1
‐
5
Chapter
2:
Just
Before
Starting
Up
..............................................................................
2
‐
6
2.1.
Preparing
Your
Computer
..............................................................................
2
‐
6
2.2.
Using
the
Manual’s
Examples
.........................................................................
2
‐
6
Chapter
3:
Programming
Practices
and
Guidelines
.......................................................
3
‐
9
3.1.
Projects
and
files
...........................................................................................
3
‐
9
3.1.1.
Project
Location
and
Naming
........................................................
3
‐
10
3.1.2.
Project’s
Files
..............................................................................
3
‐
11
3.1.3.
Project’s
Description
Files
............................................................
3
‐
11
3.2.
Functions,
Variables
and
Constants
...............................................................
3
‐
12
3.3.
C
and
Header
Files
.......................................................................................
3
‐
12
3.4.
Wrapper
functions
......................................................................................
3
‐
13
3.4.1.
Hiding
Complex
and/or
Not
Important
Code
Segments
...................
3
‐
13
3.4.2.
Hiding
Repeated
Segments
of
Code
...............................................
3
‐
14
3.4.3.
Providing
Easier
Interfaces
...........................................................
3
‐
14
3.5.
Implementing
machine
sequences
................................................................
3
‐
15
3.5.1.
The
main()
program
structure
.......................................................
3
‐
17
3.5.2.
The
MachineSequences()
Function
................................................
3
‐
18
3.5.3.
The
MachineSequencesTimer()
function
........................................
3
‐
20
3.6.
Handling
errors
...........................................................................................
3
‐
28
3.7.
Sample
code
...............................................................................................
3
‐
30
Chapter
4:
G
‐
MAS
software
structure
and
interfaces
..................................................
4
‐
46
4.1.
The
Host
.....................................................................................................
4
‐
47
4.2.
The
G
‐
MAS
.................................................................................................
4
‐
49
4.2.1.
Function
Blocks
Interfaces
............................................................
4
‐
50
4.2.2.
Multi
‐
Axis
Motion
Control
Core
Structure
......................................
4
‐
50
Содержание Gold Maestro G-MAS
Страница 1: ...G MAS Gold Maestro Software User s Manual March 2011 Ver 1 0 www elmomc com...
Страница 40: ...G MAS Gold Maestro Software User s Manual Software User Manual XXXXXXXXXXXX 0 01 3 38 Then the next stage is...
Страница 43: ...G MAS Gold Maestro Software User s Manual Software User Manual XXXXXXXXXXXX 0 01 3 41 Then the next stage is...