Router-CIM Automation Suite

rcim_2023_header


rcim_2023_header


Previous topic Next topic  

rcim_2023_header


Previous topic Next topic  

Motion Block Definition

A postprocessor $PP entry controls the output of the motion block information.  A "motion block" is just a single line of NC code.

The following example is considered a motion block:

N1G01X1Y1$

The motion block definition is processed and a line of NC code is produced when a specific drawing entity is processed.  The general format of a motion block definition control line is:

# $PP ENTRY # $PP ENTRY = $BLOCKTYPE

The $PP ENTRY portion of the definition can be any other valid entry in the $PP file except another motion block definition.  As many $PP entries as will fit on one line can be placed in a motion block definition.  Each item must be separated by "#", for formulation of the motion block.

There are two predefined $PP entries, "PA" and "PB", which show the placement of the text statements with "A" switches and "B" switches.

The $BLOCKTYPE portion of the motion block definition is one of the following:

$LINE1.1

$POINT1.1

$TEXT1.1

$ARC1.1

Example:

SEQNO#PB#LINEAR#RAPID#X#Y#Z#PA=$LINE1.1

Each of the $BLOCKTYPE strings corresponds to a geometric entity that is read from the .DXF file and processed by the postprocessor.  The above example tells the post that when a line is read from the input .DXF file some geometric entries such as length, start point, etc. are computed from the lines geometry.  Then the "$LINE1.1" motion block is output to the NC file. This output consists of each of the $PP entries defined on the left of the '='(except for codes which have been disabled the 'D' switch).