beautypg.com

ElmoMC Multi-Axis Motion Controller-Maestro User Manual

Page 36

background image

Function

error – to get motion object last error

Call Format

.isok

Return Value

OK: Ok ()

FAILED: Error message

Example

A2.error

Function

isok – used to verify motion object status

Call Format

.isok

Return Value

OK: Ok

FAILED: Error status

Example

A2.isok

Function

startp - begin user’s PVT trajectory sequence for an Axis

first operator in startp(starts)–ends sequence

Call Format

< Axis name>.startp()

< Axis name>.startp()

Parameters

- name of Axis PVT table (trajectory) to save

Example

a1.startp(mytable) – begin user’s PVT trajectory named “mytable”

For more information see the ends function example.

(see Appendix B.1.2.2 Add Point Sample)

Function

trj – used to initialize the PVT mechanism and load a PVT trajectory table

to an axis

Call Format

.trj()

Parameters

- name of PVT table (trajectory)

Return Value

OK: Trajectory name

FAILED: Error message

Example

A1.trj(table); A1.bg

for axis name A1, run trajectory name “table ”

Maestro

Software Manual

General and Motion Instructions

MAN-MASSW (Ver. Q)

4-17