PList Statement
Displays point data in memory for the current robot.
Syntax
(1) PList
(2) PList pointNumber
(3) PList startPoint,
(4) PList startPoint, endpoint
Parameters
- pointNumber
- The number range is 0 to 999.
- firstPointNum
- Specify the first point number to be displayed, from 0 to 999.
- lastPointNum
- Specify the last point number to be displayed, from 0 to 999.
Return Values
Point data.
Description
Plist displays point data in memory for the current robot.
When there is no point data within the specified range of points, no data will be displayed.
When a start point number is specified larger than the end point number, then an error occurs.
- (1) PList: Displays the coordinate data for all points.
- (2) PList pointNumber: Displays the coordinate data for the specified point.
- (3) PList startPoint,: Displays the coordinate data for all points starting with startPoint.
- (4) PList startPoint, endPoint: Displays the coordinate data for all points starting with startPoint and ending with endPoint.
PList Statement Example
Display type depends on the robot type and existence of additional axes.
The following examples are for a Scara robot without additional axes.
Displays the specified point data:
> plist 1
P1 = XY( 200.000, 0.000, -20.000, 0.000 ) /R /0
>
Displays the point data within the range of 10 and 20. In this example, only three points are found in this range.
> plist 10, 20
P10 = XY( 290.000, 0.000, -20.000, 0.000 ) /R /0
P12 = XY( 300.000, 0.000, 0.000, 0.000 ) /R /0
P20 = XY( 285.000, 10.000, -30.000, 45.000 ) /R /0
>
Displays the point data starting with point number 10.
> plist 10,
P10 = XY( 290.000, 0.000, -20.000, 0.000 ) /R /0
P12 = XY( 300.000, 0.000, 0.000, 0.000 ) /R /0
P20 = XY( 285.000, 10.000, -30.000, 45.000 ) /R /0
P30 = XY( 310.000, 20.000, -50.000, 90.000 ) /R /0