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

Page 43

Advertising
background image

Property

VXT – high limit of the calculated PVT trajectory step time

Explanation

PVT trajectory maximum step time

Dimension

Milliseconds

Default

10

Limitation

1–255

Type

Unsigned integer

See also

VNT (min step time)

Example

(see Appendix B.1.6 Polygon Sample)

4.3.3

Vector 2D Functions

• To call a function:

<Return Value>=<Vector name>.Function [([Parameters])]

Function

addcircle - add circle segment to trajectory sequence for a vector
motion object

Call Format

<Vector name>.addcircle(int <Radius>,float <Start Angle>,float
<Sweep Angle>)

Parameters

int <Radius> - radius of circle segment (counts)
float <Start Angle> - start angle of circle segment (degrees)
float <Sweep Angle> - sweep angle of circle segment (degrees)

Return Value

OK or FAILED : Error message

Example

Vec1.addcircle(rad, alpha, delta)
For more information see the vector ends function example.

(see Appendix B.1.5.1 Circle-to-Line Sample)

Polyline trajectory program examples can be found in
Samples Tutorial – Motion Library Tutorial Examples – Vector 2D

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 millisecond

Example

together with addline, addcircle ... (Appendix B.8.1)

Function

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

Call Format

<Vector name>.addline(int <Pos X>,int <Pos Y>)

Parameters

int <Pos X>,<Pos Y> - destination position of linear segment (counts),
beginning of segment – current position

Return Value

OK or FAILED : Error message

Example

Vec1.addline(1000, 2000)
For more information see the vector ends function example.
(see Appendix B.1.5.1 Circle-to-Line Sample)
Polyline trajectory program examples can be found in
Samples Tutorial – Motion Library Tutorial Examples – Vector 2D

Maestro

Software Manual

General and Motion Instructions

MAN-MASSW (Ver. Q)

4-24

Advertising