EasyManua.ls Logo

Panasonic GM1 - Page 445

Panasonic GM1
650 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
When the "bStart" flag is set to TRUE, NCDecoder and Interpolator2D start being
executed.
PMC_NCDecoder and PMC_Interpolator2D must be executed at the same time.
For dXStartPosition and dYStartPosition in PMC_NCDecoder, specify the respective
positions on the X-axis and Y-axis when interpolation control starts being executed. (For
details, refer to "11.5.11 Interpolation Operation Programming: Specifying the Starting
Coordinates".)
[Setting example 2] ST program example: SMC_OUTQUEUE type CNC table
G-code (SMC_OUTQUEUE): CNC_Table2 
N01 G01 X10 Y10 F10 E1 E-1
Variable declaration section:
//FB instances
Interpolator2D : PMC_ Interpolator2D;
//Variables
bStart : BOOL; //Execution flag
Explanation of declaration section
In Line 2, a function block to be used is defined by assigning an arbitrary name to it.
In Line 4, a flag for starting execution is defined.
Control section:
IF bStart THEN
Interpolator2D(Axisx:=X_Drive,Axisy:=Y_Drive,bExecute:=TRUE,
poqDataIn:=ADR(CNC_Table2),dwIpoTime:=1000,);
END_IF
Explanation of control section
When the "bStart" flag is set to TRUE, Interpolator2D starts being executed.
For PMC_Interpolator2D, specify the address of the SMC_OUTQUEUE type CNC table
that has been created.
In PMC_Interpolator2D, match the position at the start of operation and the current value.
(For details, refer to "11.5.11 Interpolation Operation Programming: Specifying the Starting
Coordinates".)
PMC_Interpolator3D (3-axis interpolation)
The function block executes 3-axis interpolation control according to the specified CNC table.
For the detailed specifications of the function block, refer to the GM1 Series Reference Manual
(Instruction).
11.5 Multi-axis Operation
WUME-GM1RTXOP-01 11-83

Table of Contents

Related product manuals