beautypg.com

ElmoMC Multi-Axis Motion Controller-Maestro User Manual

Page 9

background image

B.3.8

Label and GoTo Sample..........................................................................B-11

B.3.9

Order of Processing Sample ...................................................................B-11

B.3.10

Program Call............................................................................................B-12

B.3.11

Switch Sample..........................................................................................B-12

B.3.12

While Sample ...........................................................................................B-12

B.3.13

Array Samples .........................................................................................B-13

B.3.13.1

Array ................................................................................................... B-13

B.3.13.2

GroupAsArray ................................................................................... B-13

B.3.13.3

Int Array2D ........................................................................................ B-13

B.3.13.4

VectorAsArray ................................................................................... B-13

B.3.13.5

Drill Machine...................................................................................... B-14

B.4

Callbacks Functions...........................................................................................B-15

B.4.1

PerrorCallBack.........................................................................................B-15

B.4.2

EmcyCallback ..........................................................................................B-15

B.4.3

HeartbeatCallBack...................................................................................B-15

B.4.4

EmitCallback Samples ............................................................................B-16

B.4.4.1

Emit ..................................................................................................... B-16

B.4.4.2

EmitCallback ...................................................................................... B-17

B.4.5

InputCallBack Samples...........................................................................B-17

B.4.5.1

InputCallBack..................................................................................... B-17

B.4.5.2

InputOutputTest1 .............................................................................. B-19

B.4.5.3

InputOutputTest2 .............................................................................. B-20

B.4.6

Motion Completed Callback Samples ...................................................B-21

B.4.6.1

MCompleteCallback .......................................................................... B-21

B.4.6.2

MotionCompleteTest ......................................................................... B-23

B.5

Homing...............................................................................................................B-23

B.5.1

Wall Homing............................................................................................B-23

B.6

Inputs ..................................................................................................................B-24

B.6.1

MaestroAnalogInputs .............................................................................B-24

B.6.2

Input Callback .........................................................................................B-26

B.6.3

InputOutputTest1....................................................................................B-26

B.6.4

InputOutputTest2....................................................................................B-26

B.7

Motion Objects ...................................................................................................B-26

B.7.1

Group Objects ..........................................................................................B-26

B.7.1.1

GroupCommonBg.............................................................................. B-26

B.7.1.2

GroupCommonInit ............................................................................ B-27

B.7.1.3

GroupTrj ............................................................................................. B-28

B.8

Etc........................................................................................................................B-29

B.8.1

Adddwell Sample....................................................................................B-29

B.8.2

Elmo Logo Outline Sample ....................................................................B-30

B.8.3

SendMessage............................................................................................B-31

B.8.4

Poin2Point ................................................................................................B-32

B.8.5

VectorAxisMove ......................................................................................B-33

Appendix C: Performance Considerations.................................................................................C-1

Appendix D: Maestro System Errors.......................................................................................... D-1

D.1

Error Structure: ................................................................................................... D-1

D.2

Common Zone Errors......................................................................................... D-2

D.2.1

Root-level Error Codes:............................................................................ D-2

D.2.2

Root-level Warning Codes: ..................................................................... D-2

Maestro

Software Manual

Contents

MAN-MAMSW (Ver. Q)

vii