Difference between revisions of "Controlling Deadband"

From ATTWiki
Jump to: navigation, search
(STEP 1: Create a new CIO)
 
(16 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
__NOTOC__
 +
 
Deadband can be controlled by taking these steps.
 
Deadband can be controlled by taking these steps.
  
Line 14: Line 16:
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
 +
==STEP 2: Create a new COMDEF with the new CIO ==
 +
 +
<table>
 +
<tr>
 +
<td width=500>
 +
Create a new COMDEF like this:<br>
 +
[[image:cncbender_comdef_deadband.png]]<br><br>
 +
</td>
 +
<td width=300>
 +
 +
</td>
 +
</tr>
 +
</table>
 +
 +
 +
 +
==STEP 3: Insert the COMDEF Name in the PreEnable.cncprocesslist File ==
 +
 +
<table>
 +
<tr>
 +
<td width=500>
 +
 +
 +
Load the PreEnable file into a text editor.  This file contains commands that run before CNC Processor enables any axis.<br>
 +
 +
The file name and location: c:\cnc\config\cncprocesslist\PreEnable.cncprocesslist
 +
<br><br>
 +
 +
Insert the command somewhere in the file like this:
 +
 +
<pre>
 +
Set Bend Axis Deadband
 +
Clear Drive Faults On
 +
InputTimer= tim0:250
 +
Clear Drive Faults Off
 +
</pre>
 +
 +
 +
 +
</td>
 +
<td width=300>
 +
 +
</td>
 +
</tr>
 +
</table>
 +
 +
 +
==STEP 4: Start CNC Bender To Test ==
 +
 +
<table>
 +
<tr>
 +
<td width=500>
 +
Start CNC Bender and move the axis to test the result.<br><br>
 +
 +
Close CNC Bender, load the CIO editor, edit the value, save the value, start CNC Bender, and test again.<br><br>
 +
 +
16000 is the maximum digital value for max voltage sent to control an axis.  Use a value much smaller than 16000 to control deadband around zero.<br><br>
 +
 +
You can read details of the deadband command in the [http://www.advancedtubular.com/cncbender/ifc220e_manual.pdf I2T IFC220E Manual].<br><br>
 +
 +
</td>
 +
<td width=300>
 +
 +
</td>
 +
</tr>
 +
</table>
 +
 +
==Other Pages==
 +
 +
* Back to [[CNC Bender Tutorials]]
 +
* See [[Modicon Momentum]] for details on the servo module.
 +
* Back to [[CNC Bender]]

Latest revision as of 15:07, 9 August 2013


Deadband can be controlled by taking these steps.

STEP 1: Create a new CIO

Create a new CIO for the servo module in the CIO Editor like this:
Cncbender cio deadband.png

STEP 2: Create a new COMDEF with the new CIO

Create a new COMDEF like this:
Cncbender comdef deadband.png


STEP 3: Insert the COMDEF Name in the PreEnable.cncprocesslist File


Load the PreEnable file into a text editor. This file contains commands that run before CNC Processor enables any axis.

The file name and location: c:\cnc\config\cncprocesslist\PreEnable.cncprocesslist

Insert the command somewhere in the file like this:

Set Bend Axis Deadband
Clear Drive Faults On
InputTimer= tim0:250
Clear Drive Faults Off



STEP 4: Start CNC Bender To Test

Start CNC Bender and move the axis to test the result.

Close CNC Bender, load the CIO editor, edit the value, save the value, start CNC Bender, and test again.

16000 is the maximum digital value for max voltage sent to control an axis. Use a value much smaller than 16000 to control deadband around zero.

You can read details of the deadband command in the I2T IFC220E Manual.

Other Pages