Advertisement
Guest User

Untitled

a guest
May 2nd, 2020
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.14 KB | None | 0 0
  1. rene@debvm:~/dev/linuxcnc/tests/remap/introspect$ ./test.sh
  2. executing
  3. 1 N..... USE_LENGTH_UNITS(CANON_UNITS_MM)
  4. 2 N..... SET_G5X_OFFSET(1, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
  5. 3 N..... SET_G92_OFFSET(0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
  6. 4 N..... SET_XY_ROTATION(0.0000)
  7. 5 N..... SET_FEED_REFERENCE(CANON_XYZ)
  8. 6 N..... ON_RESET()
  9. 7 N..... MESSAGE(" before introspect: call_level= 0.000000")
  10. 8 N..... SELECT_TOOL(3)
  11. 9 N..... START_CHANGE()
  12. 10 N..... STOP_SPINDLE_TURNING(0)
  13. 11 N..... CHANGE_TOOL(3)
  14. 12 N..... SET_FEED_RATE(200.0000)
  15. 13 N..... SET_SPINDLE_SPEED(0, 3000.0000)
  16. 14 N..... START_SPINDLE_CLOCKWISE(0)
  17. debug: 1073741824 logging: 0
  18. call_level= 1
  19. argc= 4
  20. args=( 1.00000 2.00000 3.00000 3.14159 )
  21. param # 0 = 1.0
  22. param # 1 = 2.0
  23. param # 2 = 3.0
  24. param # 3 = 3.14159
  25. current oword subname= introspect
  26. m_modes[0]= -1
  27. g_modes[0]= -1
  28. current tool= 3.0 3.0
  29. feed= 200.0
  30. speed= 3000.0
  31. global parameter set in test.ngc: 47.11
  32. parameter set via test.ini: 3.14159
  33. locals: ['a_new_local']
  34. globals: ['_a', '_a_global_set_in_test_dot_ngc', '_a_new_global', '_absolute', '_adaptive_feed', '_b', '_c', '_call_level', '_ccomp', '_coord_system', '_current_pocket', '_current_tool', '_feed', '_feed_hold', '_feed_override', '_flood', '_ijk_absolute_mode', '_imperial', '_incremental', '_ini[example]variable', '_inverse_time', '_lathe_diameter_mode', '_lathe_radius_mode', '_line', '_metric', '_mist', '_motion_mode', '_plane', '_remap_level', '_retract_old_z', '_retract_r_plane', '_rpm', '_selected_pocket', '_selected_tool', '_speed_override', '_spindle_css_mode', '_spindle_cw', '_spindle_on', '_spindle_rpm_mode', '_task', '_tool_offset', '_u', '_units_per_minute', '_units_per_rev', '_v', '_value', '_value_returned', '_vmajor', '_vminor', '_w', '_x', '_y', '_z', 'foo']
  35. params(): ['a_new_local', '_a', '_a_global_set_in_test_dot_ngc', '_a_new_global', '_absolute', '_adaptive_feed', '_b', '_c', '_call_level', '_ccomp', '_coord_system', '_current_pocket', '_current_tool', '_feed', '_feed_hold', '_feed_override', '_flood', '_ijk_absolute_mode', '_imperial', '_incremental', '_ini[example]variable', '_inverse_time', '_lathe_diameter_mode', '_lathe_radius_mode', '_line', '_metric', '_mist', '_motion_mode', '_plane', '_remap_level', '_retract_old_z', '_retract_r_plane', '_rpm', '_selected_pocket', '_selected_tool', '_speed_override', '_spindle_css_mode', '_spindle_cw', '_spindle_on', '_spindle_rpm_mode', '_task', '_tool_offset', '_u', '_units_per_minute', '_units_per_rev', '_v', '_value', '_value_returned', '_vmajor', '_vminor', '_w', '_x', '_y', '_z', 'foo']
  36. 15 N..... MESSAGE(" after introspect: return value=2.718280 call_level= 0.000000")
  37. 16 N..... SET_G5X_OFFSET(1, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
  38. 17 N..... SET_XY_ROTATION(0.0000)
  39. 18 N..... SET_FEED_MODE(0, 0)
  40. 19 N..... SET_FEED_RATE(0.0000)
  41. 20 N..... STOP_SPINDLE_TURNING(0)
  42. 21 N..... SET_SPINDLE_MODE(0 0.0000)
  43. 22 N..... PROGRAM_END()
  44. 23 N..... ON_RESET()
  45. rene@debvm:~/dev/linuxcnc/tests/remap/introspect$ ./test.sh > foo.txt
  46. rene@debvm:~/dev/linuxcnc/tests/remap/introspect$ cat foo.txt
  47. executing
  48. debug: 1073741824 logging: 0
  49. call_level= 1
  50. argc= 4
  51. args=( 1.00000 2.00000 3.00000 3.14159 )
  52. param # 0 = 1.0
  53. param # 1 = 2.0
  54. param # 2 = 3.0
  55. param # 3 = 3.14159
  56. current oword subname= introspect
  57. m_modes[0]= -1
  58. g_modes[0]= -1
  59. current tool= 3.0 3.0
  60. feed= 200.0
  61. speed= 3000.0
  62. global parameter set in test.ngc: 47.11
  63. parameter set via test.ini: 3.14159
  64. locals: ['a_new_local']
  65. globals: ['_a', '_a_global_set_in_test_dot_ngc', '_a_new_global', '_absolute', '_adaptive_feed', '_b', '_c', '_call_level', '_ccomp', '_coord_system', '_current_pocket', '_current_tool', '_feed', '_feed_hold', '_feed_override', '_flood', '_ijk_absolute_mode', '_imperial', '_incremental', '_ini[example]variable', '_inverse_time', '_lathe_diameter_mode', '_lathe_radius_mode', '_line', '_metric', '_mist', '_motion_mode', '_plane', '_remap_level', '_retract_old_z', '_retract_r_plane', '_rpm', '_selected_pocket', '_selected_tool', '_speed_override', '_spindle_css_mode', '_spindle_cw', '_spindle_on', '_spindle_rpm_mode', '_task', '_tool_offset', '_u', '_units_per_minute', '_units_per_rev', '_v', '_value', '_value_returned', '_vmajor', '_vminor', '_w', '_x', '_y', '_z', 'foo']
  66. params(): ['a_new_local', '_a', '_a_global_set_in_test_dot_ngc', '_a_new_global', '_absolute', '_adaptive_feed', '_b', '_c', '_call_level', '_ccomp', '_coord_system', '_current_pocket', '_current_tool', '_feed', '_feed_hold', '_feed_override', '_flood', '_ijk_absolute_mode', '_imperial', '_incremental', '_ini[example]variable', '_inverse_time', '_lathe_diameter_mode', '_lathe_radius_mode', '_line', '_metric', '_mist', '_motion_mode', '_plane', '_remap_level', '_retract_old_z', '_retract_r_plane', '_rpm', '_selected_pocket', '_selected_tool', '_speed_override', '_spindle_css_mode', '_spindle_cw', '_spindle_on', '_spindle_rpm_mode', '_task', '_tool_offset', '_u', '_units_per_minute', '_units_per_rev', '_v', '_value', '_value_returned', '_vmajor', '_vminor', '_w', '_x', '_y', '_z', 'foo']
  67. 1 N..... USE_LENGTH_UNITS(CANON_UNITS_MM)
  68. 2 N..... SET_G5X_OFFSET(1, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
  69. 3 N..... SET_G92_OFFSET(0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
  70. 4 N..... SET_XY_ROTATION(0.0000)
  71. 5 N..... SET_FEED_REFERENCE(CANON_XYZ)
  72. 6 N..... ON_RESET()
  73. 7 N..... MESSAGE(" before introspect: call_level= 0.000000")
  74. 8 N..... SELECT_TOOL(3)
  75. 9 N..... START_CHANGE()
  76. 10 N..... STOP_SPINDLE_TURNING(0)
  77. 11 N..... CHANGE_TOOL(3)
  78. 12 N..... SET_FEED_RATE(200.0000)
  79. 13 N..... SET_SPINDLE_SPEED(0, 3000.0000)
  80. 14 N..... START_SPINDLE_CLOCKWISE(0)
  81. 15 N..... MESSAGE(" after introspect: return value=2.718280 call_level= 0.000000")
  82. 16 N..... SET_G5X_OFFSET(1, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
  83. 17 N..... SET_XY_ROTATION(0.0000)
  84. 18 N..... SET_FEED_MODE(0, 0)
  85. 19 N..... SET_FEED_RATE(0.0000)
  86. 20 N..... STOP_SPINDLE_TURNING(0)
  87. 21 N..... SET_SPINDLE_MODE(0 0.0000)
  88. 22 N..... PROGRAM_END()
  89. 23 N..... ON_RESET()
  90. rene@debvm:~/dev/linuxcnc/tests/remap/introspect$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement