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 revision Previous revision
mycnc:rtcp_setup [2018/03/24 18:34]
skirillov
mycnc:rtcp_setup [2018/03/26 00:13] (current)
skirillov
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
mycnc/rtcp_setup.txt ยท Last modified: 2018/03/26 00:13 by skirillov