User Tools

Site Tools


plc:plc_height_map

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plc:plc_height_map [2019/02/21 10:41] skirillovplc:plc_height_map [2023/12/07 09:55] (current) ivan
Line 1: Line 1:
 ===== Getting a Height Map ===== ===== Getting a Height Map =====
 +//**
 +Related articles:**// 
 +  * [[mycnc:height_mapping|3D Height Mapping]]
 +
 +----
  
 myCNC control software has API to record Height Map log file for further height adjustment. myCNC control software has API to record Height Map log file for further height adjustment.
Line 22: Line 27:
 | GVAR_POSITION_LOG_DATA | 5730 | If Logging is stopped, writing to this register does not have an effect. \\ If the Logging is started, writing any value to this register \\ will add current position \\ to the Log data array. \\ Beside of storing into the Log Array, \\ The Log position is stored into Global Variables 5731-5736 as well \\ #5731 - X, #5732 - Y, #5733 - Z \\ #5734 - A, #5735 - B, #5736 - C  | | GVAR_POSITION_LOG_DATA | 5730 | If Logging is stopped, writing to this register does not have an effect. \\ If the Logging is started, writing any value to this register \\ will add current position \\ to the Log data array. \\ Beside of storing into the Log Array, \\ The Log position is stored into Global Variables 5731-5736 as well \\ #5731 - X, #5732 - Y, #5733 - Z \\ #5734 - A, #5735 - B, #5736 - C  |
 | GVAR_POSITION_LOG_CMD | 5740 | Begin/Eng Height Map Log \\ Writing "1" to this register will start logging \\ Writing "0" to this register will stop logging \\ All the collected data will be stored in a log file \\ with given filename and time stamp | | GVAR_POSITION_LOG_CMD | 5740 | Begin/Eng Height Map Log \\ Writing "1" to this register will start logging \\ Writing "0" to this register will stop logging \\ All the collected data will be stored in a log file \\ with given filename and time stamp |
 +
 +Other options for the global variable 5740:
 +  * 0 = saveZMapX, 
 +  * 100 = loadZMap, 
 +  * ival==1, ival==101 = clearZMap
 +  * (ival==102) = saveZMap
 +  * (ival==200) = doPlateRotation()
 +  * (ival==201) = doPlateRotation3(0)
 +  * (ival==202) = doPlateRotation3(1)
 +  * (ival==333) = doPlateRotation3_Test
 +  * (ival==999) = clearHCCalibration
 +  * (ival==998) = saveHCCalibration
  
  
plc/plc_height_map.1550763706.txt.gz · Last modified: 2019/02/21 10:41 by skirillov

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki