User Tools

Site Tools


plc:spindle_speed_control_through_-10v_dac_channel_et10

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
plc:spindle_speed_control_through_-10v_dac_channel_et10 [2017/05/22 23:27]
skirillov
plc:spindle_speed_control_through_-10v_dac_channel_et10 [2017/10/16 12:44] (current)
skirillov
Line 32: Line 32:
 command=0x32;//EXT_ET5_DAC_OFFSET              //setup command register (var00) for DAC register access command=0x32;//EXT_ET5_DAC_OFFSET              //setup command register (var00) for DAC register access
 parameter=dac_value+(2<<12);                   //setup parameter register (var01), DAC channel is #2 parameter=dac_value+(2<<12);                   //setup parameter register (var01), DAC channel is #2
-texit=timer+2;do{timer++;}while(timer<texit);  //2ms delay ti push the message +texit=timer+2;do{timer++;}while(timer<texit);  //2ms delay to push the message 
 </code> </code>
  
plc/spindle_speed_control_through_-10v_dac_channel_et10.txt ยท Last modified: 2017/10/16 12:44 by skirillov