J2Flag Statement

Sets the J2Flag attribute of a point.

Syntax
(1) J2Flag point [, value ]

(2) J2Flag

Parameters

Point
Specify Pnumber, P(expr), or point label.
value
Optional. Integer expression.

  • 0 (/J2F0) J2 range is -180 to +180 degrees
  • 1 (/J2F1) J2 range is from -360 to -180 or +180 to +360 degrees

Return Values
The J2Flag attribute specifies the range of values for joint 2 for one point. If value is omitted, the J2Flag value for the specified point is displayed. When both parameters are omitted, the J2Flag value is displayed for the current robot position.

See Also
Hand, J1Flag, J2Flag Function

J2Flag Statement Example

J2Flag P0, 1
J2Flag P(mypoint), 0