Difference between revisions of "ADD OP FEED MARKER"

From Macros Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Operations:Operation_Tool-Path|{{Up}}]]
 
[[Operations:Operation_Tool-Path|{{Up}}]]
  
{{Command|syntax=ADD_OP_FEED_MARKER <op number>, <feature num>, <param>, <value>, <type>, <marker num>
+
{{Command|syntax=ADD_OP_FEED_MARKER <op number>, <feature num>, <distance>, <value>, <type>, <marker num>
|description=:
+
|description=:Add a feed marker to an operation.
 +
 
 +
|param1=<op number>|param1_desc={{op number}}
 +
|param2=<marker num>|param2_desc={{set feat num}}
 +
|param3=<marker num>|param3_desc={{set feat dist}}
 +
|param4=<distance>|param4_desc=Feedrate value
 +
|param5=<value>|param5_desc={{parameter_variable_num_name}} the offset number.
 +
|param6=<type>|param6_desc={{parameter_variable_num_name}} the offset type (1 = user, 2 = use tool offset).
 +
 
 +
}}
 +
 
 +
===Example===
 +
:GET_OP_OFFSET_MARKER 1, 4, FeatNum, FeatDist, OffsetNum, OffsetType
  
 
|param1=<op number>|param1_desc={{op number}}
 
|param1=<op number>|param1_desc={{op number}}

Revision as of 11:09, 14 January 2011

Up

Command

ADD_OP_FEED_MARKER <op number>, <feature num>, <distance>, <value>, <type>, <marker num>


Add a feed marker to an operation.

Parameters

<op number>
Operation number.
<marker num>
Feature number.
<marker num>
Distance along the feature (0.0 = start, 1.0 = end).
<distance>
Feedrate value
<value>
The name of a numeric variable to be set to the offset number.
<type>
The name of a numeric variable to be set to the offset type (1 = user, 2 = use tool offset).

Example

GET_OP_OFFSET_MARKER 1, 4, FeatNum, FeatDist, OffsetNum, OffsetType

|param1=<op number>|param1_desc=Operation number. |param2=<feature num>|param2_desc=The index to the feature. This will be 1 for the first feature, 2 for the second etc.

If you have selected a shape, then 1 will be the first line/arc in the shape, 2 will be the second.
If you have selected a number of points, lines and circles, then index 1 will give you the first
feature that you selected, 2 will be the second (in the order that you selected them).

|param3=<param>|param3_desc=Marker parameter. |param4=<value>|param4_desc= Name of variable to be set by this command |param5=<type>|param5_desc=.edit. |param6=<marker num>|param6_desc=Marker number. }}

Example

ADD_OP_FEED_MARKER