Interpolation Operation Programming: Changing Parameter Settings (Converting To Variables In Cnc Table) - Panasonic GM1 User Manual

Motion controller controller rtex
Hide thumbs Also See for GM1:
Table of Contents

Advertisement

● If NCDecoder is repeated, set the buffer size to 7 or more. If the buffer size is less than 7,
normal operation may not occur.
● If NCDecoder is repeated, do not set a buffer size that is too large for the number of paths in
the CNC table (for one execution). If a too large buffer size is specified, normal operation may
not occur.
11.5.16 Interpolation Operation Programming: Changing Parameter Settings
(Converting to Variables in CNC Table)
This section explains how to edit G-codes in CNC tables to convert arbitrary parameter settings
(such as target values) to variables and change them to arbitrary target values.
Notes on changing parameter settings
The following method is used to change parameters.
Variable reference type:
Parameter variables are set beforehand and used by reading them when necessary.
● Use the SMC_CNC_REF compilation type.
● Change variables before starting PMC_NCDecoder.
Parameters such as target values
If you want to make parameter changes supported by the GM1 controller, the following
parameters are applicable.
Applicable parameter Variable name (global variable)
X-axis
Y-axis
Z-axis
Velocity
Acceleration
Deceleration
(Note 1)
If you want to make parameter changes using variables, you must declare parameter variables to be
used as global variables.
(Note 2)
If you want to use variables in CNC tables, enclose each variable parameter with $.
Changing parameters such as target values
The following is a programming example of variables for parameters to be changed.
● Define variables for parameters to be changed as global variables.
● Each variable of parameters to be changed in a CNC table must be enclosed with $.
CNC table example:
WUME-GM1RTXOP-01
g_x
g_y
g_z
g_f 
g_accel
g_decel
11.5 Multi-axis Operation
Variable name (specific for CNC tables)
$g_x$
$g_y$
$g_z$
$g_f$
$g_accel$
$g_decel$
11-95

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gm1 series

Table of Contents