User Tools

Site Tools


Sidebar

Home



PlanetCNC TNG


Introduction
Overview
Installation


User Interface


Main Window

File Menu

View Menu

Program Menu

Machine Menu

Help Menu


Settings



Parameters


Position
  _x, _y, _z
  _a, _b, _c
  _u, _v, _w
  _work_axis

  _machine_x, _machine_y, _machine_z
  _machine_a, _machine_b, _machine_c
  _machine_u, _machine_v, _machine_w
  _machine_axis

Probe & Measure
  _probe
  _probe_x, _probe_y, _probe_z
  _probe_a, _probe_b, _probe_c
  _probe_u, _probe_v, _probe_w
  _probe_axis

  _measure

  _measure_validxy
  _measure_x, _measure_y, _measure_z
  _measure_axis

  _measure_validxysize
  _measure_sizex, _measure_sizey, _measure_sizez
  _measure_size_axis

  _measure_rot

Interpreter State
  _motion
  _units
  _unitsname
  _plane
  _planename
  _distancemode
  _distancemode_ijk
  _distancemode_abc
  _polarmode
  _cyclereturnmode
  _lathemode

  _blendmode
  _blend_tol

  _toolcomp
  _toolcomp_dia

  _feedmode
  _feedspeed
  _feedspeed_upm
  _feedspeed_upr

  _spindlemode
  _spindlespeed
  _spindlespeed_rpm
  _spindlespeed_css

  _coordsys
  _coordsys_name

  _selected_tool
  _selected_toolname
  _current_tool
  _current_toolname
  _toolchangename

Spindle & Coolant
  _spindle
  _spindle_on
  _spindle_cw
  _spindle_ccw
  _mist
  _mist_on
  _flood
  _flood_on

Input/Output
  _input

  _output

  _extin1
  _extin2

  _extout1
  _extout2

Work Offset
  _workoff_isset
  _workoff_x, _workoff_y, _workoff_z
  _workoff_a, _workoff_b, _workoff_c
  _workoff_u, _workoff_v, _workoff_w
  _workoff_axis

Coordinate System Offset
  _coordsys_isset
  _coordsys_x, _coordsys_y, _coordsys_z
  _coordsys_a, _coordsys_b, _coordsys_c
  _coordsys_u, _coordsys_v, _coordsys_w
  _coordsys_axis
  _coordsys_rot

Tool Offset
  _tooloff_isset
  _tooloff
  _tooloff_x, _tooloff_y, _tooloff_z
  _tooloff_a, _tooloff_b, _tooloff_c
  _tooloff_u, _tooloff_v, _tooloff_w
  _tooloff_axis
  _tooldia

Axis Offset
  _axisoff_isset

  _axisoff
  _axisoff_x, _axisoff_y, _axisoff_z
  _axisoff_a, _axisoff_b, _axisoff_c
  _axisoff_u, _axisoff_v, _axisoff_w
  _axisoff_axis

  _axisscale
  _axisscale_x, _axisscale_y, _axisscale_z
  _axisscale_xval, _axisscale_yval, _axisscale_zval
  _axisscale_u, _axisscale_v, _axisscale_w
  _axisscale_uval, _axisscale_vval, _axisscale_wval

  _axisrot
  _axisrot_x, _axisrot_y, _axisrot_z
  _axisrot_ang
  _axisrot_u, _axisrot_v, _axisrot_w
  _axisrot_anguvw

Trans & Warp
  _trans_en
  _trans_a0, _trans_b0, _trans_c0
  _trans_a1, _trans_b1, _trans_c1
  _trans_a2, _trans_b2, _trans_c2
  _trans_a3, _trans_b3, _trans_c3

  _trans_shift_x, _trans_shift_y, _trans_shift_z
  _trans_rot_x, _trans_rot_y, _trans_rot_z
  _trans_scale_x, _trans_scale_y, _trans_scale_z

  _kin_en

  _warp_en
  _warp_cnt
  _warp_offset

Coordinate System Table
  _coordsystem_exists
  _coordsystem_name

  _coordsystem_x, _coordsystem_y, _coordsystem_z
  _coordsystem_a, _coordsystem_b, _coordsystem_c
  _coordsystem_u, _coordsystem_v, _coordsystem_w
  _coordsystem_rot

Tool Table
  _tool_exists
  _tool_name

  _tool_ismill
  _tool_isdrill
  _tool_isturn
  _tool_isprobe
  _tool_islaser
  _tool_isother

  _tool_dia

  _tool_off_x, _tool_off_y, _tool_off_z
  _tool_off_a, _tool_off_b, _tool_off_c
  _tool_off_u, _tool_off_v, _tool_off_w

  _tool_tc_x, _tool_tc_y, _tool_tc_z
  _tool_tc_a, _tool_tc_b, _tool_tc_c
  _tool_tc_u, _tool_tc_v, _tool_tc_w

  _tool_slot

  _tool_so_x, _tool_so_y, _tool_so_z

  _tool_skipmeasure
  _tool_skipchange

  _tool_par1, _tool_par2, _tool_par3
  _tool_par4, _tool_par5, _tool_par6
  _tool_par7, _tool_par8, _tool_par9

  _tool_spdfeed
  _tool_spdfeedz
  _tool_spdspnd

Home
  _home1_x, _home1_y, _home1_z
  _home1_a, _home1_b, _home1_c
  _home1_u, _home1_v, _home1_w

  _home2_x, _home2_y, _home2_z
  _home2_a, _home2_b, _home2_c
  _home2_u, _home2_v, _home2_w

PointList
  _point_cnt
  _point_x, _point_y, _point_z
  _point_a, _point_b, _point_c
  _point_u, _point_v, _point_w

Operator
  _operator_x, _operator_y, _operator_z
  _operator_a, _operator_b, _operator_c
  _operator_u, _operator_v, _operator_w
  _operator_axis

Camera
  _cam_offset_x, _cam_offset_y

THC
  _thcen
  _thc

Program
  _prog_file
  _prog_size
  _prog_loaded
  _prog_loadtime

  _prog_linecnt
  _prog_line

  _prog_totallen
  _prog_totaltime
  _prog_totaltimeraw
  _prog_totaltimeworst
  _prog_totaltimebest

  _prog_linelimit
  _prog_looplimit

  _prog_min_x, _prog_min_y, _prog_min_z
  _prog_min_a, _prog_min_b, _prog_min_c
  _prog_min_u, _prog_min_v, _prog_min_w

  _prog_max_x, _prog_max_y, _prog_max_z
  _prog_max_a, _prog_max_b, _prog_max_c
  _prog_max_u, _prog_max_v, _prog_max_w

  _prog_mintrav_x, _prog_mintrav_y, _prog_mintrav_z
  _prog_mintrav_a, _prog_mintrav_b, _prog_mintrav_c
  _prog_mintrav_u, _prog_mintrav_v, _prog_mintrav_w

  _prog_maxtrav_x, _prog_maxtrav_y, _prog_maxtrav_z
  _prog_maxtrav_a, _prog_maxtrav_b, _prog_maxtrav_c
  _prog_maxtrav_u, _prog_maxtrav_v, _prog_maxtrav_w

  _prog_minfeed_x, _prog_minfeed_y, _prog_minfeed_z
  _prog_minfeed_a, _prog_minfeed_b, _prog_minfeed_c
  _prog_minfeed_u, _prog_minfeed_v, _prog_minfeed_w

  _prog_maxfeed_x, _prog_maxfeed_y, _prog_maxfeed_z
  _prog_maxfeed_a, _prog_maxfeed_b, _prog_maxfeed_c
  _prog_maxfeed_u, _prog_maxfeed_v, _prog_maxfeed_w

  _prog_minspeed
  _prog_maxspeed
  _prog_minspindle
  _prog_maxspindle

  _prog_iscomplex

UI
  _libpath

  _profilename
  _profilepath
  _profiledesc

  _version
  _versionvalid
  _licensevalid

  _isuiready

  _ui_width
  _ui_height

  _isestopenabled
  _isstopenabled
  _ispauseenabled
  _isstartenabled
  _isoutputenabled
  _iscodeenabled
  _iscodeexenabled
  _isopenenabled
  _iscloseenabled

  _ovrdspeed_enabled
  _ovrdspindle_enabled
  _pause_enabled
  _pause_optional

  _progress
  _progress_timetoend
  _progress_loop
  _progress_loopcnt

  _start_loops
  _start_firstline
  _start_lastline

  _selected_gcode_line
  _selected_gcode
  _selected_gcode_x, _selected_gcode_y, _selected_gcode_z
  _selected_gcode_a, _selected_gcode_b, _selected_gcode_c
  _selected_gcode_u, _selected_gcode_v, _selected_gcode_w

  _mark_line
  _mark
  _mark_x, _mark_y, _mark_z
  _mark_a, _mark_b, _mark_c
  _mark_u, _mark_v, _mark_w

Other
  _return
  _expr
  _cexit
  _debug

HW
  _iscontrollerready
  _iscontrollerrunning

  _hw_isinit
  _hw_serial
  _hw_version
  _sw_version
  _hw_sim

  _hw_buffavail
  _hw_buffempty
  _hw_buffutil
  _hw_bufflimit

  _hw_idle
  _hw_run
  _hw_estop
  _hw_stop
  _hw_pause
  _hw_isprog
  _hw_iscmd
  _hw_isjog

  _hw_cmdbufffull
  _hw_cmdbufffree
  _hw_cmdbuffunread
  _hw_cmdlevel

  _hw_speed
  _hw_accel

  _hw_spindle
  _hw_spindle_dir
  _hw_spindle_idx
  _hw_spindle_enc
  _hw_spindle_ui

  _hw_mist
  _hw_flood

  _hw_motorraw_x, _hw_motorraw_y, _hw_motorraw_z
  _hw_motorraw_a, _hw_motorraw_b, _hw_motorraw_c
  _hw_motorraw_u, _hw_motorraw_v, _hw_motorraw_w
  _hw_motorraw_axis

  _hw_motor_x, _hw_motor_y, _hw_motor_z
  _hw_motor_a, _hw_motor_b, _hw_motor_c
  _hw_motor_u, _hw_motor_v, _hw_motor_w
  _hw_motor_axis

  _hw_work_x, _hw_work_y, _hw_work_z
  _hw_work_a, _hw_work_b, _hw_work_c
  _hw_work_u, _hw_work_v, _hw_work_w
  _hw_work_axis

  _hw_srcidx
  _hw_linenum

  _hw_dist_xyz
  _hw_dist_abc
  _hw_dist_uvw
  _hw_dist_x, _hw_dist_y, _hw_dist_z
  _hw_dist_a, _hw_dist_b, _hw_dist_c
  _hw_dist_u, _hw_dist_v, _hw_dist_w
  _hw_dist_axis

  _hw_output

  _hw_output_freq
  _hw_output_duty

  _hw_extin1
  _hw_extin2
  _hw_extout1
  _hw_extout2

  _hw_input
  _hw_limit
  _hw_jog
  _hw_jogpot
  _hw_ctrl
  _hw_aux

  _hw_error
  _hw_motors_en
  _hw_limits_en
  _hw_axislock

  _hw_ctrlspindleidx_rpm
  _hw_ctrlspindleidx_val

  _hw_ctrlspindle_rpm
  _hw_ctrlspindle_dir
  _hw_ctrlspindle_val

  _hw_ctrlmpg_rpm
  _hw_ctrlmpg_dir
  _hw_ctrlmpg_val
  _hw_ctrlmpg_velocity

  _hw_ctrlenc_rpm
  _hw_ctrlenc_dir
  _hw_ctrlenc_val

  _hw_mpg_mode
  _hw_mpg_axis
  _hw_mpg_key
  _hw_mpg_delta
  _hw_mpg_value
  _hw_mpg_axisnum
  _hw_mpg_velocity
  _hw_mpg_custom
  _hw_mpg_macro

  _hw_returnparam

PoKeys
  _pk_digital
  _pk_analog

Settings - General
  _set_units

Settings - User Interface/Speed
  _ovrd_speedfeed_min
  _ovrd_speedfeed_max
  _ovrd_speedfeed_stp
  _ovrd_speedtraverse_min
  _ovrd_speedtraverse_max
  _ovrd_speedtraverse_stp
  _ovrd_spindle_min
  _ovrd_spindle_max
  _ovrd_spindle_stp

Settings - Motors
  _motoroutputorder_1
  _motoroutputorder_2
  _motoroutputorder_3
  _motoroutputorder_4
  _motoroutputorder_5
  _motoroutputorder_6
  _motoroutputorder_7
  _motoroutputorder_8
  _motoroutputorder_9
  _motoroutputorder_axis

  _motoroutputreverse_1
  _motoroutputreverse_2
  _motoroutputreverse_3
  _motoroutputreverse_4
  _motoroutputreverse_5
  _motoroutputreverse_6
  _motoroutputreverse_7
  _motoroutputreverse_8
  _motoroutputreverse_9
  _motoroutputreverse_axis

Settings - Motors/StepsPerUnit
  _motorspu_x
  _motorspu_y
  _motorspu_z
  _motorspu_a
  _motorspu_b
  _motorspu_c
  _motorspu_u
  _motorspu_v
  _motorspu_w
  _motorspu_axis

Settings - Motors/Speed
  _motorspeed_x
  _motorspeed_y
  _motorspeed_z
  _motorspeed_a
  _motorspeed_b
  _motorspeed_c
  _motorspeed_u
  _motorspeed_v
  _motorspeed_w
  _motorspeed_axis

Settings - Motors/Acceleration
  _motoracc_x
  _motoracc_y
  _motoracc_z
  _motoracc_a
  _motoracc_b
  _motoracc_c
  _motoracc_u
  _motoracc_v
  _motoracc_w
  _motoracc_axis

  _motordec_x
  _motordec_y
  _motordec_z
  _motordec_a
  _motordec_b
  _motordec_c
  _motordec_u
  _motordec_v
  _motordec_w
  _motordec_axis

Settings - Motors/Limits
  _motorlimit_en

  _motorlimit_xn
  _motorlimit_yn
  _motorlimit_zn
  _motorlimit_an
  _motorlimit_bn
  _motorlimit_cn
  _motorlimit_un
  _motorlimit_vn
  _motorlimit_wn

  _motorlimit_xp
  _motorlimit_yp
  _motorlimit_zp
  _motorlimit_ap
  _motorlimit_bp
  _motorlimit_cp
  _motorlimit_up
  _motorlimit_vp
  _motorlimit_wp

  _motorlimit_xn_en
  _motorlimit_yn_en
  _motorlimit_zn_en
  _motorlimit_an_en
  _motorlimit_bn_en
  _motorlimit_cn_en
  _motorlimit_un_en
  _motorlimit_vn_en
  _motorlimit_wn_en

  _motorlimit_xp_en
  _motorlimit_yp_en
  _motorlimit_zp_en
  _motorlimit_ap_en
  _motorlimit_bp_en
  _motorlimit_cp_en
  _motorlimit_up_en
  _motorlimit_vp_en
  _motorlimit_wp_en

Settings - Motors/Limit Switch
  _limitpin_xn
  _limitpin_yn
  _limitpin_zn
  _limitpin_an
  _limitpin_bn
  _limitpin_cn
  _limitpin_un
  _limitpin_vn
  _limitpin_wn
  _limitpin_n_axis

  _limitpin_xp
  _limitpin_yp
  _limitpin_zp
  _limitpin_ap
  _limitpin_bp
  _limitpin_cp
  _limitpin_up
  _limitpin_vp
  _limitpin_wp
  _limitpin_p_axis

Settings - Motion
  _motion_maxspeed
  _motion_maxacc
  _motion_maxdec

Settings - Jogging
  _jog_speeddef
  _jog_stepdef
  _jog_rounddef

  _jog_speed
  _jog_step
  _jog_round

  _jog_speedkbd

Settings - IO/Spindle
  _spindle_pin_mode
  _spindle_pin_cw
  _spindle_pin_ccw
  _spindle_pin_speed
  _spindle_speed_min
  _spindle_speed_max
  _spindle_delay_start
  _spindle_delay_stop

  _spindle_freq_mode

  _spindle_usefreq
  _spindle_freq_min
  _spindle_freq_max
  _spindle_freq_stepwidth

  _spindle_usepwm
  _spindle_pwm_freq

  _spindle_userc
  _spindle_rc_lo
  _spindle_rc_hi

Settings - IO/Coolant
  _mist_pin
  _flood_pin

Settings - THC
  _thc_axis
  _thc_rangemin
  _thc_rangemax
  _thc_speed
  _thc_pindec
  _thc_pininc
  _thc_pinok

Settings - Program Options
  _program_units
  _program_plane
  _program_distmode
  _program_distmodeijk
  _program_distmodeabc
  _program_cyclereturn
  _program_lathemode
  _program_blendmode

  _speed_traverse
  _speed_traverseabc
  _speed_feed
  _speed_spindle

  _ovrd_speedfeed
  _ovrd_speedtraverse
  _ovrd_spindle

Settings - Probe & Measure
  _probe_pin_1
  _probe_pin_2

  _probe_speed
  _probe_speed_low
  _probe_swdist

  _probe_sizez
  _probe_sizex
  _probe_sizey
  _probe_size_axis

  _probe_offx
  _probe_offy
  _probe_off_axis

  _probe_overedge
  _probe_trav
  _probe_length
  _probe_use_tooltable
  _probe_safeheight
  _probe_estop

Settings - Home
  _home_speed
  _home_speed_low
  _home_speedabc
  _home_speedabc_low

  _home_swdist

  _home_order_x
  _home_order_y
  _home_order_z
  _home_order_a
  _home_order_b
  _home_order_c
  _home_order_u
  _home_order_v
  _home_order_w
  _home_order_axis

  _home_dir_x
  _home_dir_y
  _home_dir_z
  _home_dir_a
  _home_dir_b
  _home_dir_c
  _home_dir_u
  _home_dir_v
  _home_dir_w
  _home_dir_axis

  _home_swpos_x
  _home_swpos_y
  _home_swpos_z
  _home_swpos_a
  _home_swpos_b
  _home_swpos_c
  _home_swpos_u
  _home_swpos_v
  _home_swpos_w
  _home_swpos_axis

  _home_moveto_x
  _home_moveto_y
  _home_moveto_z
  _home_moveto_a
  _home_moveto_b
  _home_moveto_c
  _home_moveto_u
  _home_moveto_v
  _home_moveto_w
  _home_moveto_axis

Settings - Tool Offset
  _tooloff_speed
  _tooloff_speed_low
  _tooloff_swdist
  _tooloff_safeheight
  _tooloff_rapidheight
  _tooloff_sensorx
  _tooloff_sensory
  _tooloff_sensorz

Settings - Work Offset
  _workoff_speed
  _workoff_speed_low
  _workoff_swdist
  _workoff_size
  _workoff_useprobe

Settings - Tool Change
  _tc_enable
  _tc_skipsame
  _tc_spindlecheck
  _tc_safeheight_en
  _tc_safeheight
  _tc_pos_en
  _tc_pos_x
  _tc_pos_y
  _tc_pos_z
  _tc_action
  _tc_toolmeasure
  _tc_tooloff_en
  _tc_autoreturn

  _tc_atc_en
  _tc_atc_speed
  _tc_atc_speed2

  _tc_unload_in1_x
  _tc_unload_in1_y
  _tc_unload_in1_z

  _tc_unload_in2_x
  _tc_unload_in2_y
  _tc_unload_in2_z

  _tc_unload_pin1
  _tc_unload_pin1set1
  _tc_unload_pin1delay1
  _tc_unload_pin1set2
  _tc_unload_pin1delay2

  _tc_unload_pin2
  _tc_unload_pin2set1
  _tc_unload_pin2delay1
  _tc_unload_pin2set2
  _tc_unload_pin2delay2

  _tc_unload_out1_x
  _tc_unload_out1_y
  _tc_unload_out1_z

  _tc_unload_out2_x
  _tc_unload_out2_y
  _tc_unload_out2_z

  _tc_load_in1_x
  _tc_load_in1_y
  _tc_load_in1_z

  _tc_load_in2_x
  _tc_load_in2_y
  _tc_load_in2_z

  _tc_load_pin1
  _tc_load_pin1set1
  _tc_load_pin1delay1
  _tc_load_pin1set2
  _tc_load_pin1delay2

  _tc_load_pin2
  _tc_load_pin2set1
  _tc_load_pin2delay1
  _tc_load_pin2set2
  _tc_load_pin2delay2

  _tc_load_out1_x
  _tc_load_out1_y
  _tc_load_out1_z

  _tc_load_out2_x
  _tc_load_out2_y
  _tc_load_out2_z

Settings - Gantry Square
  _gantrysquare_speed
  _gantrysquare_axis
  _gantrysquare_dir
  _gantrysquare_move_u
  _gantrysquare_move_v

tng:parameters:param-_work_axis

_work_axis

Read Only

Current work position from G-code Interpreter.

Note that because Interpreter is reading G-Code ahead, this is not true position of machine.

Examples

x = _work_axis|0;
y = _work_axis|1;
z = _work_axis|2;
a = _work_axis|3;
b = _work_axis|4;
c = _work_axis|5;
u = _work_axis|6;
v = _work_axis|7;
w = _work_axis|8;

See also

tng/parameters/param-_work_axis.txt · Last modified: 2024/06/18 22:52 by andrej

Page Tools