User Tools

Site Tools


mycnc:rtcp_setup

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
mycnc:rtcp_setup [2018/03/24 18:34] skirillovmycnc:rtcp_setup [2023/09/29 14:17] (current) ivan
Line 11: Line 11:
 Switching RTCP Enable/Disable should be done in the vertical position (A=0, B=0) only. Real machine position with and without RTCP correction is the same for vertical. In this case, machine position will not be changed while RTCP switching. Switching RTCP Enable/Disable should be done in the vertical position (A=0, B=0) only. Real machine position with and without RTCP correction is the same for vertical. In this case, machine position will not be changed while RTCP switching.
  
-We used M101.plc procedure to disable(off) RTCP correction+We used M101.plc procedure to disable(**OFF**) RTCP correction
 <code C M101.plc> <code C M101.plc>
 #include pins.h #include pins.h
Line 28: Line 28:
 </code> </code>
  
-and M102.plc procedure to enable(on) RTCP correction+and M102.plc procedure to enable(**ON**) RTCP correction
 <code C M102.plc> <code C M102.plc>
 #include pins.h #include pins.h
Line 38: Line 38:
  
   command=0x80; //RTCP Control register   command=0x80; //RTCP Control register
-  parameter=2;  //RTCP OFF+  parameter=2;  //RTCP ON
   message=PLCCMD_SET_CNC_VAR;   message=PLCCMD_SET_CNC_VAR;
   timer=50; do{timer--;}while(timer>0);//50msec pause   timer=50; do{timer--;}while(timer>0);//50msec pause
Line 73: Line 73:
  
 </code> </code>
 +// 
 +Note: See [[mycnc:gcodes_list#g0g53_vs_g1g2g3_commands|comments]] on G0G53 usage.// 
  
mycnc/rtcp_setup.txt · Last modified: 2023/09/29 14:17 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki