Profile Class Summary

The following pages provide detailed information on the properties and methods of the Profile Class. This class defines the attributes of objects that are used to specify the performance parameters for a typical motion. That is, a Profile Object contains speed, acceleration, deceleration, in range criteria and other specifications that dictate how a motion is to be performed. The basic motion instruction, Move.Loc, takes as its two arguments a Profile Object and a Location Object. The Location Object specifies the destination for the robot motion and the Profile Object specifies how the robot is to get to the destination.

As is standard in GPL, conversions between different arithmetic types, e.g. Boolean, Integer, Single, Double, are automatically performed as required. So, for numeric properties and methods of the Profile Class, it is not necessary to have different variations of these members to deal with the different possible mixes of input parameter data types. Also, as appropriate, the properties and methods generally produce results that are formatted as Double’s. These results will automatically be converted to smaller data types as necessary, e.g. Double -> Integer, and will not generate an error so long as numeric overflow does not occur.

Table 19-68 summarizes the properties and methods that are described in greater detail in the following sections.

Table 19-68: Profile Class Summary

Member Type Description

profile_obj.Speed

Property

Sets and gets peak motion speed specified as a percentage of the nominal speed.

profile_obj.Speed2

Property

Sets and gets the secondary peak motion speed specification as a percentage of their nominal speeds for selected axes during Cartesian motions.

profile_obj.Accel

Property

Sets and gets peak motion acceleration specified as a percentage of the nominal acceleration.

profile_obj.Decel

Property

Sets and gets peak motion deceleration specified as a percentage of the nominal deceleration.

profile_obj.AccelRamp

Property

Sets and gets duration for ramping up to the peak acceleration, specified in seconds.

profile_obj.DecelRamp

Property

Sets and gets duration for ramping up to the peak deceleration, specified in seconds.

profile_obj.Straight

Property

Sets and gets Boolean indicating if the robot is to follow a straight-line path.

profile_obj.InRange

Property

Sets and gets constraint that specifies if the robot should be stopped at the end of the motion and when the robot is close enough to the final destination to be considered at its final position.

profile_obj.Text

Property

Sets and gets a String value not used by GPL. Available for general use by applications.

profile_obj.Clone

Method

Method that returns a copy of the profile_obj.