beautypg.com

4 vector 3d functions – ElmoMC Multi-Axis Motion Controller-Maestro User Manual

Page 48

background image

Function

startp - begin user’s PVT vector trajectory sequence

Call Format

.startp()
.startp()

Parameters

- name of Vector PVT table (trajectory) to be saved

Return Value

OK or FAILED : Error message

Example

V1.startp() - begin user’s PVT trajectory by saving the results in a file.
V1.startp(traj_name) - begin user’s PVT trajectory and save result in a file
with the name “traj_name”
For more information see the vector ends function example.
(see Appendix B.1.2.2 Add Point Sample)

Function

starts - begin polyline trajectory sequence for a vector object

Call Format

.starts()
.starts()

Parameters

- name of the Vector PVT table (trajectory) to be saved

Return Value

OK or FAILED : Error message

Example

V1.starts() - begin polyline trajectory calculation
For more information see the vector ends function example.
(see Appendix B.1.3.1 Line-to-Line Sample)
Polyline trajectory program examples can be found in
Samples Tutorial – Motion Library Tutorial Examples – Vector 2D

Function

trj – used to initialize PVT mechanism and load the Vector PVT trajectory
table in each axis of the vector

Call Format

.trj()

Parameters

- name of the Vector PVT table (trajectory)

Return Value

OK or FAILED : Error message

Example

v1.trj(table); v1.bg
for the vector v1 run trajectory “table ”

4.3.4

Vector 3D Functions

• To call a function:

=.Function [([Parameters])]

Function

adddwell - add delay to a PVT trajectory at the end of a segment

Call Format

adddwell(int delay)

Parameters

int delay - delay value in milliseconds

Example

together with addline,

Function

addline - add linear segment to the polyline trajectory sequence for the
vector motion object

Call Format

.addline(int ,int , int )

Parameters

int , int , int - destination position of linear segment

Maestro

Software Manual

General and Motion Instructions

MAN-MASSW (Ver. Q)

4-29