Difference between revisions of "MC-Basic:axis.POSITIONEXTROLLOVERMIN"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= <''axis name''>.PositionExtRolloverMin = <''value''><br> ?<''axis name''>.PositionExtRolloverMin |AVAILABILITY= |DESCRIPTION= When an axis h…')
 
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:axis.POSITIONEXTROLLOVERMIN}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
 
  
 
|SYNTAX=
 
|SYNTAX=
Line 11: Line 11:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
When an axis has the POSITIONEXTROLLOVERENABLE flag set (ON), it means that this PEXT of the axis is rotary (i.e., the position coordinates of the axis are periodical). POSITIONEXTROLLOVER defines the period (the length one revolution in user units) of the axis. POSITIONEXTROLLOVERMIN defines the lower limit coordinate of the revolution. So if we have:<br>
+
When an axis POSITIONEXTROLLOVERENABLE flag is set (ON), it means the axis PEXT is rotary (i.e., the position coordinates of the axis are periodical). POSITIONEXTROLLOVER defines the period (the length of one revolution in user units) of the axis. POSITIONEXTROLLOVERMIN defines the lower limit coordinate of the revolution. <br>
       POSITIONEXTROLLOVERENABLE = 1<br>
+
For example:<br>
       POSITIONEXTROLLOVERMIN = -180<br>
+
:POSITIONEXTROLLOVERENABLE = 1<br>
       POSITIONEXTROLLOVER = 360
+
:POSITIONEXTROLLOVERMIN = -180<br>
 
+
:POSITIONEXTROLLOVER = 360<br>
The PEXT of the axis will run between –180 and +180 degrees. If we move by one degree in positive direction from 180 the PEXT value will be –179.
+
<font color="red">The PEXT of the axis will run between -180 and +180 degrees. If we move by one degree in positive direction from 180 the PEXT value will be -179.
 
+
</font>
  
  
Line 33: Line 33:
  
 
|SCOPE=
 
|SCOPE=
R/W, Configuration, Task, Terminal
+
Read/Write, Configuration, Task, Terminal
  
 
|LIMITATIONS=
 
|LIMITATIONS=
The POSITIONEXTROLLOVERMIN value may be changed only when the axis is disabled. In order to set the value within a task, the motion element must be attached to that task (using the ATTACH command).
+
* The POSITIONEXTROLLOVERMIN value may be changed only when the axis is disabled.  
 +
* To set the value within a task, the axis must be attached to that task (using the ATTACH command).
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 42: Line 43:
  
 
A1. PositionExtRollover = 360<br>
 
A1. PositionExtRollover = 360<br>
       then we have coordinates between –180 and 180 degrees
+
::::Coordinates are between -180 and 180 degrees
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:ATTACH|ATTACH]]
+
* [[MC-Basic:ATTACH|ATTACH]]
* [[Axystems:MC-Basic:axis.POSITIONROLLOVERENABLE|axis.POSITIONROLLOVERENABLE]]
+
* [[MC-Basic:axis.POSITIONROLLOVERENABLE|axis.POSITIONROLLOVERENABLE]]
  
  
 
}}
 
}}

Latest revision as of 07:01, 20 April 2017

Language: English  • 中文(简体)‎

When an axis POSITIONEXTROLLOVERENABLE flag is set (ON), it means the axis PEXT is rotary (i.e., the position coordinates of the axis are periodical). POSITIONEXTROLLOVER defines the period (the length of one revolution in user units) of the axis. POSITIONEXTROLLOVERMIN defines the lower limit coordinate of the revolution.
For example:

POSITIONEXTROLLOVERENABLE = 1
POSITIONEXTROLLOVERMIN = -180
POSITIONEXTROLLOVER = 360

The PEXT of the axis will run between -180 and +180 degrees. If we move by one degree in positive direction from 180 the PEXT value will be -179.

Syntax

<axis name>.PositionExtRolloverMin = <value>
?<axis name>.PositionExtRolloverMin

Type

Double

Range

MinDouble-MaxDouble

Default

-180

Scope

Read/Write, Configuration, Task, Terminal

Limitations

  • The POSITIONEXTROLLOVERMIN value may be changed only when the axis is disabled.
  • To set the value within a task, the axis must be attached to that task (using the ATTACH command).

Examples

A1.PositionExtRolloverMin = -180

A1. PositionExtRollover = 360

Coordinates are between -180 and 180 degrees

See Also