Difference between revisions of "MC-Basic:group.CIRCLEPOINT"

From SoftMC-Wiki
Jump to: navigation, search
m
 
(2 intermediate revisions by 2 users not shown)
Line 31: Line 31:
 
Task, Terminal
 
Task, Terminal
  
Write Access       Write – Nodal Only
+
Write Access – Nodal Only
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Line 38: Line 38:
 
|EXAMPLE=
 
|EXAMPLE=
 
CIRCLE g1 CirclePoint = #{10,20} TargetPoint = #{100,200}
 
CIRCLE g1 CirclePoint = #{10,20} TargetPoint = #{100,200}
 +
 +
=''Half Circle''=
 +
Here is a simple example for generating half circle motion with a delta (XYZR) robot.
 +
<syntaxhighlight lang="vb">
 +
Attach DELTA
 +
DELTA.En=1
 +
Record circPnt.rec 100000 Gap=1 RecData = DELTA.SetPoint{1},DELTA.SetPoint{2}, Sys.Clock
 +
Move DELTA #{100,0,426,0}
 +
Delay DELTA 3000
 +
RecordOn
 +
Circle DELTA CirclePoint=#{0,100,426,0} TargetPoint=#{-100,0,426,0}
 +
Delay DELTA 3000
 +
RecordClose
 +
Detach DELTA
 +
</syntaxhighlight>
 +
 +
[[File:circPnt.JPG|left|caption|450px]]
 +
 +
 +
 +
  
 
|SEE ALSO=
 
|SEE ALSO=
Line 44: Line 65:
 
* [[MC-Basic:group.ANGLE|group.ANGLE]]
 
* [[MC-Basic:group.ANGLE|group.ANGLE]]
 
* [[MC-Basic:group.CIRCLETYPE|group.CIRCLETYPE]]
 
* [[MC-Basic:group.CIRCLETYPE|group.CIRCLETYPE]]
 +
* [[MC-Basic:group.CIRCLEPLANE|group.CIRCLEPLANE]]
 
* [[MC-Basic:CIRCLE|CIRCLE]]
 
* [[MC-Basic:CIRCLE|CIRCLE]]
  
  
 
}}
 
}}

Latest revision as of 08:59, 13 June 2016

Sets a point of the circle arc executed by CIRCLE command. If this is given, the angle and circlecenter are not required, but the TargetPoint is.

Data Type           point (location or joint)

Syntax

<group>.CirclePoint

Availability

All versions

Units

location-units

Non-Volatile        No

Scope

Task, Terminal

Write Access – Nodal Only

Limitations

Can only be given in the CIRCLE command

Examples

CIRCLE g1 CirclePoint = #{10,20} TargetPoint = #{100,200}

Half Circle

Here is a simple example for generating half circle motion with a delta (XYZR) robot.

Attach DELTA
	DELTA.En=1
	Record circPnt.rec 100000 Gap=1 RecData = DELTA.SetPoint{1},DELTA.SetPoint{2}, Sys.Clock
	Move DELTA #{100,0,426,0}
	Delay DELTA 3000
	RecordOn
	Circle DELTA CirclePoint=#{0,100,426,0} TargetPoint=#{-100,0,426,0}
	Delay DELTA 3000
	RecordClose
Detach DELTA
caption

See Also