Difference between revisions of "Controlling Deadband"

From ATTWiki
Jump to: navigation, search
(STEP 3: Insert the COMDEF Name in the PreEnable.cncprocesslist File)
 
(6 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 36: Line 38:
 
<tr>
 
<tr>
 
<td width=500>
 
<td width=500>
The PreEnable file will run commands before enabling any axis:<br>
+
 
 +
 
 +
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>
 
<pre>
Line 45: Line 54:
 
</pre>
 
</pre>
  
The file is found in c:\cnc\config\cncprocesslist
+
 
 +
 
 +
</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>
Line 57: Line 87:
  
 
* Back to [[CNC Bender Tutorials]]
 
* Back to [[CNC Bender Tutorials]]
 +
* See [[Modicon Momentum]] for details on the servo module.
 
* Back to [[CNC Bender]]
 
* 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