wasm-port: broaden native LinuxCNC interpreter probes

This commit is contained in:
2026-06-07 05:49:34 +08:00
parent 5025b0c1a1
commit eb261462c1
49 changed files with 1276 additions and 798 deletions

View File

@@ -0,0 +1,13 @@
canon_event=STRAIGHT_TRAVERSE line=1 x=0 y=0 z=0 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=COMMENT: interpreter: IJK distance mode changed to incremental
canon_event=SET_FEED_RATE rate=60
canon_event=ARC_FEED line=3 first_end=1 second_end=1 first_axis=1 second_axis=0 rotation=-1 axis_end_point=0 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=COMMENT: interpreter: IJK distance mode changed to absolute
canon_event=ARC_FEED line=5 first_end=0 second_end=0 first_axis=0 second_axis=1 rotation=1 axis_end_point=0 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=ARC_FEED line=6 first_end=1 second_end=0 first_axis=0.5 second_axis=-3.06162e-17 rotation=-1 axis_end_point=0 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=STRAIGHT_TRAVERSE line=7 x=0 y=0 z=0 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=ARC_FEED line=9 first_end=1 second_end=1 first_axis=0 second_axis=1 rotation=-1 axis_end_point=0 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=STRAIGHT_TRAVERSE line=10 x=0 y=0 z=0 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=ARC_FEED line=11 first_end=1 second_end=1 first_axis=0 second_axis=1 rotation=1 axis_end_point=0 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=STRAIGHT_TRAVERSE line=12 x=0 y=0 z=0 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=ARC_FEED line=13 first_end=1 second_end=0 first_axis=0.5 second_axis=0.866025 rotation=-1 axis_end_point=2 a=0 b=0 c=0 u=0 v=0 w=0

View File

@@ -0,0 +1,11 @@
canon_event=SET_SPINDLE_SPEED spindle=0 speed=1200
canon_event=START_SPINDLE_CLOCKWISE spindle=0 wait_for_at_speed=1
canon_event=STOP_SPINDLE_TURNING spindle=0
canon_event=SET_SPINDLE_SPEED spindle=0 speed=900
canon_event=START_SPINDLE_COUNTERCLOCKWISE spindle=0 wait_for_at_speed=1
canon_event=STOP_SPINDLE_TURNING spindle=0
canon_event=MIST_ON
canon_event=FLOOD_ON
canon_event=MIST_OFF
canon_event=FLOOD_OFF
canon_event=DWELL seconds=0.25

View File

@@ -0,0 +1,7 @@
canon_event=MESSAGE: named global=42.5000
canon_event=MESSAGE: named local=7.2500
canon_event=MESSAGE: exists global=1 local=1 missing=0
canon_event=MESSAGE: ini velocity=35
canon_event=MESSAGE: hal pin=1 signal=98.2500 param=-17
canon_event=MESSAGE: hal u32=123456789 s64=-9000000000 u64=9000000000
canon_event=MESSAGE: hal disconnected=12.5000 missing_exists=0

View File

@@ -0,0 +1,3 @@
canon_event=MESSAGE: numbered p1=12.5000 p2=15.5000 exists1=1 exists5602=0
canon_event=STRAIGHT_TRAVERSE line=6 x=2 y=3 z=4 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=MESSAGE: numbered pos x=2.0000 y=3.0000 z=4.0000

View File

@@ -0,0 +1,3 @@
STRAIGHT_TRAVERSE line=4 x=0 y=0 z=0
SET_FEED_RATE rate=100
STRAIGHT_FEED line=2 x=2 y=3 z=0

View File

@@ -0,0 +1,11 @@
canon_event=SELECT_TOOL tool=2
canon_event=MESSAGE: tool selected=2 selected_pocket=2
canon_event=STOP_SPINDLE_TURNING spindle=0
canon_event=CHANGE_TOOL
canon_event=MESSAGE: tool after_m6 current_pocket=2 current_tool=2
canon_event=USE_TOOL_LENGTH_OFFSET x=0 y=0 z=1.25 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=MESSAGE: tool g43 offset=1 x=0.0000 y=0.0000 z=1.2500
canon_event=USE_TOOL_LENGTH_OFFSET x=0 y=0 z=0 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=MESSAGE: tool g49 offset=0 x=0.0000 y=0.0000 z=0.0000
canon_event=CHANGE_TOOL_NUMBER pocket=0
canon_event=MESSAGE: tool after_m61 current_pocket=0 current_tool=2