
● 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)
Variable name (specific for CNC tables)
X-axis
g_x
$g_x$
Y-axis
g_y
$g_y$
Z-axis
g_z
$g_z$
Velocity
g_f
$g_f$
Acceleration
g_accel
$g_accel$
Deceleration
g_decel
$g_decel$
(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:
11.5 Multi-axis Operation
WUME-GM1RTXOP-01
11-95
Summary of Contents for GM1 Series
Page 1: ...Motion Controller GM1 Controller RTEX User s Manual Operation WUME GM1RTXOP 01 2021 2 ...
Page 2: ... MEMO 2 WUME GM1RTXOP 01 ...
Page 6: ... MEMO vi WUME GM1RTXOP 01 ...
Page 16: ... MEMO xvi WUME GM1RTXOP 01 ...
Page 20: ...1 3 Software License Agreement 1 3 Software License Agreement 1 4 WUME GM1RTXOP 01 ...
Page 21: ...1 3 Software License Agreement WUME GM1RTXOP 01 1 5 ...
Page 22: ...1 3 Software License Agreement 1 6 WUME GM1RTXOP 01 ...
Page 28: ... MEMO 2 6 WUME GM1RTXOP 01 ...
Page 66: ... MEMO 3 38 WUME GM1RTXOP 01 ...
Page 76: ...4 6 Project Configuration 4 6 Project Configuration 4 10 WUME GM1RTXOP 01 ...
Page 102: ... MEMO 4 36 WUME GM1RTXOP 01 ...
Page 231: ...The POU object of the program will be added to the task 7 9 Tasks WUME GM1RTXOP 01 7 65 ...
Page 240: ...8 2 Connecting the GM1 Controller and PC 8 4 WUME GM1RTXOP 01 ...
Page 270: ... MEMO 8 34 WUME GM1RTXOP 01 ...
Page 287: ...9 4 Monitoring Function WUME GM1RTXOP 01 9 17 ...
Page 299: ...9 7 Device Trace Function WUME GM1RTXOP 01 9 29 ...
Page 300: ...9 7 Device Trace Function 9 30 WUME GM1RTXOP 01 ...
Page 314: ... MEMO 9 44 WUME GM1RTXOP 01 ...
Page 362: ... MEMO 10 48 WUME GM1RTXOP 01 ...
Page 372: ...When Modulo is selected 11 1 RTEX Axis Setting 11 10 WUME GM1RTXOP 01 ...
Page 394: ...11 3 Single axis Operation 11 32 WUME GM1RTXOP 01 ...
Page 397: ...ST program 11 3 Single axis Operation WUME GM1RTXOP 01 11 35 ...
Page 399: ...ST program 11 3 Single axis Operation WUME GM1RTXOP 01 11 37 ...
Page 407: ...11 4 Synchronous Operation WUME GM1RTXOP 01 11 45 ...
Page 418: ... Preinterpolation tab 11 5 Multi axis Operation 11 56 WUME GM1RTXOP 01 ...
Page 419: ... Table editor tab 11 5 Multi axis Operation WUME GM1RTXOP 01 11 57 ...
Page 421: ... Common tab Build tab 11 5 Multi axis Operation WUME GM1RTXOP 01 11 59 ...
Page 422: ... Access Control tab 11 5 Multi axis Operation 11 60 WUME GM1RTXOP 01 ...
Page 462: ... MEMO 11 100 WUME GM1RTXOP 01 ...
Page 479: ...ST program 12 5 PWM Output WUME GM1RTXOP 01 12 17 ...
Page 526: ... MEMO 12 64 WUME GM1RTXOP 01 ...
Page 587: ...Implementation section ST programming language 14 1 SD Card Access WUME GM1RTXOP 01 14 5 ...
Page 588: ...Implementation section LD programming language 14 1 SD Card Access 14 6 WUME GM1RTXOP 01 ...
Page 591: ...Implementation section LD programming language 14 1 SD Card Access WUME GM1RTXOP 01 14 9 ...
Page 598: ... MEMO 14 16 WUME GM1RTXOP 01 ...
Page 646: ... MEMO App 4 WUME GM1RTXOP 01 ...
Page 648: ... MEMO WUME GM1RTXOP 01 ...
Page 649: ... MEMO WUME GM1RTXOP 01 ...
Page 650: ...Panasonic Corporation 2021 February 2021 WUME GM1RTXOP 01 ...