Browse Source

most things work now

xhcb04
ton, LinuxCNCMESA 4 years ago
parent
commit
2ab8d36604
  1. 14
      custom.hal
  2. 114
      mesa_2019.clp
  3. 66
      mesa_2019.ini
  4. 21
      mesa_2019.pref
  5. 10
      mesa_2019.var
  6. 10
      mesa_2019.var.bak
  7. 8
      tool.tbl

14
custom.hal

@ -29,13 +29,19 @@ net spindle-at-speed => spindle.0.at-speed
net estop-loop iocontrol.0.user-enable-out => iocontrol.0.emc-enable-in
net estop-ext <= hm2_7i96.0.gpio.010.in_not
#net estop-out <= iocontrol.0.user-enable-out
#net estop-ext => iocontrol.0.emc-enable-in
# external estop
loadrt estop_latch
addf estop-latch.0 servo-thread
####loadrt estop_latch
####addf estop-latch.0 servo-thread
#net estop-loopout iocontrol.0.emc-enable-in <= estop-latch.0.ok-out
#net estop-loopin iocontrol.0.user-enable-out => estop-latch.0.ok-in
net estop-reset iocontrol.0.user-request-enable => estop-latch.0.reset
net remote-estop estop-latch.0.fault-in <= hm2_7i96.0.gpio.010.in
####net estop-reset iocontrol.0.user-request-enable => estop-latch.0.reset
####net remote-estop estop-latch.0.fault-in <= hm2_7i96.0.gpio.010.in
####net estop-out <= iocontrol.0.user-enable-out
####net estop-ext => iocontrol.0.emc-enable-in

114
mesa_2019.clp

@ -1,114 +0,0 @@
_FILES_CLASSICLADDER
_FILE-symbols.csv
#VER=1.0
_/FILE-symbols.csv
_FILE-modbusioconf.csv
#VER=1.0
_/FILE-modbusioconf.csv
_FILE-com_params.txt
MODBUS_MASTER_SERIAL_PORT=
MODBUS_MASTER_SERIAL_SPEED=9600
MODBUS_ELEMENT_OFFSET=0
MODBUS_MASTER_SERIAL_USE_RTS_TO_SEND=0
MODBUS_MASTER_TIME_INTER_FRAME=100
MODBUS_MASTER_TIME_OUT_RECEIPT=500
MODBUS_MASTER_TIME_AFTER_TRANSMIT=0
MODBUS_DEBUG_LEVEL=0
MODBUS_MAP_COIL_READ=0
MODBUS_MAP_COIL_WRITE=0
MODBUS_MAP_INPUT=0
MODBUS_MAP_HOLDING=0
MODBUS_MAP_REGISTER_READ=0
MODBUS_MAP_REGISTER_WRITE=0
_/FILE-com_params.txt
_FILE-timers_iec.csv
1,0,0
1,0,0
1,0,0
1,0,0
1,0,0
1,0,0
1,0,0
1,0,0
1,0,0
1,0,0
_/FILE-timers_iec.csv
_FILE-timers.csv
1,0
1,0
1,0
1,0
1,0
1,0
1,0
1,0
1,0
1,0
_/FILE-timers.csv
_FILE-counters.csv
0
0
0
0
0
0
0
0
0
0
_/FILE-counters.csv
_FILE-sections.csv
#VER=1.0
#NAME000=Prog1
000,0,-1,0,0,0
_/FILE-sections.csv
_FILE-arithmetic_expressions.csv
#VER=2.0
_/FILE-arithmetic_expressions.csv
_FILE-rung_0.csv
#VER=2.0
#LABEL=
#COMMENT=
#PREVRUNG=0
#NEXTRUNG=0
0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0
0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0
0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0
0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0
0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0
0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0 , 0-0-0/0
_/FILE-rung_0.csv
_FILE-ioconf.csv
#VER=1.0
_/FILE-ioconf.csv
_FILE-monostables.csv
1,0
1,0
1,0
1,0
1,0
1,0
1,0
1,0
1,0
1,0
_/FILE-monostables.csv
_FILE-sequential.csv
#VER=1.0
_/FILE-sequential.csv
_FILE-general.txt
PERIODIC_REFRESH=50
SIZE_NBR_RUNGS=100
SIZE_NBR_BITS=500
SIZE_NBR_WORDS=100
SIZE_NBR_TIMERS=10
SIZE_NBR_MONOSTABLES=10
SIZE_NBR_COUNTERS=10
SIZE_NBR_TIMERS_IEC=10
SIZE_NBR_PHYS_INPUTS=15
SIZE_NBR_PHYS_OUTPUTS=15
SIZE_NBR_ARITHM_EXPR=100
SIZE_NBR_SECTIONS=10
SIZE_NBR_SYMBOLS=100
_/FILE-general.txt
_/FILES_CLASSICLADDER

66
mesa_2019.ini

@ -15,7 +15,7 @@ ENCODERS = 1
SSERIAL_PORT = 1
[DISPLAY]
DISPLAY = axis
DISPLAY = gmoccapy
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = COMMANDED
MAX_FEED_OVERRIDE = 1.6
@ -72,7 +72,7 @@ MAX_VELOCITY = 55
MAX_ACCELERATION = 80
[AXIS_Z]
MIN_LIMIT = -10
MIN_LIMIT = -40
MAX_LIMIT = 40
MAX_VELOCITY = 20
MAX_ACCELERATION = 30
@ -181,8 +181,8 @@ HOME_IGNORE_LIMITS = False
[JOINT_3]
AXIS = Z
MIN_LIMIT = -10
MAX_LIMIT = 40
MIN_LIMIT = -40
MAX_LIMIT = 42
MAX_VELOCITY = 20
MAX_ACCELERATION = 30
TYPE = LINEAR
@ -206,65 +206,9 @@ BIAS = 0
MAX_OUTPUT = 0
MAX_ERROR = 0.0127
HOME = 11
HOME_OFFSET = 11
HOME_OFFSET = 40
HOME_SEARCH_VEL = -2
HOME_LATCH_VEL = -1
HOME_SEQUENCE = 0
HOME_USE_INDEX = False
HOME_IGNORE_LIMITS = False
[SPINDLE]
SPINDLE_TYPE = openLoop
SCALE = 12000
PWM_FREQUENCY = 21000
MAX_RPM = 24000
MIN_RPM = 1000
DEADBAND = 0
P = 0
I = 0
D = 0
FF0 = 1
FF1 = 0
FF2 = 0
BIAS = 0
MAX_ERROR = 0
[INPUTS]
# DO NOT change the input text
INPUT_0 = Home
INPUT_JOINT_0 = 0
INPUT_1 = Home
INPUT_JOINT_1 = 1
INPUT_2 = Home
INPUT_JOINT_2 = 2
INPUT_3 = Home
INPUT_JOINT_3 = 3
INPUT_4 = None
INPUT_JOINT_4 = False
INPUT_5 = None
INPUT_JOINT_5 = False
INPUT_6 = None
INPUT_JOINT_6 = False
INPUT_7 = None
INPUT_JOINT_7 = False
INPUT_8 = None
INPUT_JOINT_8 = False
INPUT_9 = Probe
INPUT_JOINT_9 = False
INPUT_10 = E-Stop In
INPUT_JOINT_10 = False
[OUTPUTS]
# DO NOT change the output text
OUTPUT_0 = None
OUTPUT_1 = E-Stop Out
OUTPUT_2 = Spindle On
OUTPUT_3 = None
OUTPUT_4 = None
[OPTIONS]
MANUAL_TOOL_CHANGE = True
HALUI = True
PYVCP = False
GLADEVCP = False
LADDER = False

21
mesa_2019.pref

@ -2,13 +2,13 @@
blockheight = 0.0
spindle_start_rpm = 300.0
scale_jog_vel = 27.0
scale_spindle_override = 3.0
scale_spindle_override = 1
scale_feed_override = 1
scale_rapid_override = 1
hide_turtle_jog_button = False
turtle_jog_factor = 20
dro_size = 28
open_file =
open_file = /home/ton/linuxcnc/nc_files//examples/3D_Chips.ngc
screen1 = window
x_pos = 40
y_pos = 30
@ -37,8 +37,8 @@ show_keyboard_on_offset = False
show_keyboard_on_tooledit = False
show_keyboard_on_edit = False
show_keyboard_on_mdi = False
spindle_bar_min = 600.0
spindle_bar_max = 24000.0
spindle_bar_min = 800.0
spindle_bar_max = 6000.0
x_pos_popup = 45.0
y_pos_popup = 55
width_popup = 250.0
@ -51,9 +51,9 @@ use_toolmeasurement = False
reload_tool = True
blockdel = False
opstop = False
enable_dro = False
show_offsets = False
show_dtg = False
enable_dro = True
show_offsets = True
show_dtg = True
view_tool_path = True
view_dimension = True
gremlin_view = rbt_view_p
@ -61,7 +61,7 @@ run_from_line = no_run
unlock_way = no
unlock_code = 123
show_preview_on_offset = False
use_keyboard_shortcuts = False
use_keyboard_shortcuts = True
abs_color = #0000FF
rel_color = #000000
dtg_color = #FFFF00
@ -69,5 +69,8 @@ homed_color = #00FF00
unhomed_color = #FF0000
dro_digits = 3
toggle_readout = True
tool_in_spindle = 0
tool_in_spindle = 24
offset_axis_x = 0.0
offset_axis_y = 0.0
offset_axis_z = 0.0

10
mesa_2019.var

@ -27,9 +27,9 @@
5218 0.000000
5219 0.000000
5220 1.000000
5221 0.000000
5222 0.000000
5223 0.000000
5221 270.000000
5222 290.000000
5223 11.000000
5224 0.000000
5225 0.000000
5226 0.000000
@ -37,8 +37,8 @@
5228 0.000000
5229 0.000000
5230 0.000000
5241 0.000000
5242 0.000000
5241 270.000000
5242 290.000000
5243 0.000000
5244 0.000000
5245 0.000000

10
mesa_2019.var.bak

@ -27,9 +27,9 @@
5218 0.000000
5219 0.000000
5220 1.000000
5221 0.000000
5222 0.000000
5223 0.000000
5221 270.000000
5222 290.000000
5223 11.000000
5224 0.000000
5225 0.000000
5226 0.000000
@ -37,8 +37,8 @@
5228 0.000000
5229 0.000000
5230 0.000000
5241 0.000000
5242 0.000000
5241 270.000000
5242 290.000000
5243 0.000000
5244 0.000000
5245 0.000000

8
tool.tbl

@ -1,2 +1,6 @@
;
T1 P1
T0 P0 X0.0 Y0.0 Z0.0 A0.0 B0.0 C0.0 U0.0 V0.0 W0.0 D0.0 I0.0 J0.0 Q0.0 ;
T0 P0 X0.0 Y0.0 Z0.0 A0.0 B0.0 C0.0 U0.0 V0.0 W0.0 D0.0 I0.0 J0.0 Q0.0 ;
T0 P0 X0.0 Y0.0 Z0.0 A0.0 B0.0 C0.0 U0.0 V0.0 W0.0 D0.0 I0.0 J0.0 Q0.0 ;
T1 P1 X0.0 Y0.0 Z0.0 A0.0 B0.0 C0.0 U0.0 V0.0 W0.0 D0.0 I0.0 J0.0 Q0.0 ;
T42 P42 X1.0 Y1.0 Z1.0 A0.0 B0.0 C0.0 U0.0 V0.0 W0.0 D6.35 I0.0 J0.0 Q0.0 ;added 20190422
T24 P24 X0.0 Y0.0 Z0.0 A0.0 B0.0 C0.0 U0.0 V0.0 W0.0 D6.35 I0.0 J0.0 Q0.0 ;comment

Loading…
Cancel
Save