Difference between revisions of "CNCProcessor.cfg"

From ATTWiki
Jump to: navigation, search
(Sections)
(Properties Definition)
 
(12 intermediate revisions by one user not shown)
Line 1: Line 1:
__toc__
+
[[image:cncbender_logo.jpg|400px]]
 +
 
 +
__NOTOC__
  
 
===What is It?===
 
===What is It?===
Line 9: Line 11:
 
<pre>[Machine Lube]</pre>
 
<pre>[Machine Lube]</pre>
  
===Properties for Older Versions of CNC Bender===
+
===Property Values===
 +
Each of the sections can contain multiple property values like this:
  
Example properties for an axis:
+
<pre>Machine Lube Duration=</pre>
  
<pre>
 
[Intervals]
 
  
Machine Lube Duration= 5000
+
 
Lube Machine At Bend Count= 1000
+
===Example Configuration Setup===
 +
 
 +
This is an example configuration setup:
 +
<pre>
 +
[Machine Lube]
 +
Machine Lube Duration=5000
 +
Lube Machine At Bend Count=100
 +
Pulse Machine Lube Pump=1
 +
Watch For Machine Lube Complete Input=0
  
 
[CIO]
 
[CIO]
CIO Name Of Input Clamp Die Close=Input_ClampIsClosed_Begin
+
CIO Name Of Input Clamp Die Close=Input_ClampIsClosed_End
 
CIO Name Of Input Pressure Die Home=Input_PressureDieIsHome_End
 
CIO Name Of Input Pressure Die Home=Input_PressureDieIsHome_End
CIO Name Of Input Pressure Die Close=Input_PressureDieIsClosed_Begin
+
CIO Name Of Input Pressure Die Close=Input_PressureDieIsClosed_End
 
CIO Name Of Input Carriage Cross Slide Advance=Input_CarriageCrossSlideIsAdvanced_End
 
CIO Name Of Input Carriage Cross Slide Advance=Input_CarriageCrossSlideIsAdvanced_End
CIO Name Of Input Release  Button= Input_Release_Button_End
+
CIO Name Of Input Release  Button=Input_Release_Button_End
CIO Name Of Output Release Illuminate= Output_Release_Illuminate
+
CIO Name Of Output Release Illuminate=Output_Release_Illuminate
CIO Name Of Boost Bottom Advance= Output_BoostBottom_Advance
+
CIO Name Of Boost Bottom Advance=Output_BoostBottom_Advance
CIO Name Of Boost Top Advance= Output_BoostTop_Advance
+
CIO Name Of Boost Top Advance=Output_BoostTop_Advance
CIO Name Of Bend Positive= MOVE_BEND_POS_RELATIVE
+
CIO Name Of Bend Positive=MOVE_BEND_POS_RELATIVE
 
CIO Name Of Output Machine Lube=Output_MachineLube_Repeat
 
CIO Name Of Output Machine Lube=Output_MachineLube_Repeat
 +
CIO Name of Input Machine Lube Complete=Input_MachineLubeComplete_End
 +
CIO Name Of Output Bend Head Down1=Output_HeadShiftDown1_Repeat
 +
CIO Name Of Output Bend Head Down2=Output_HeadShiftDown2_Repeat
 +
CIO Name Of Output Bend Head Center1=Output_HeadShiftCenter1_Repeat
 +
CIO Name Of Output Bend Head Center2=Output_HeadShiftCenter2_Repeat
 +
CIO Name Of Output Bend Head Up1=Output_HeadShiftUp1_Repeat
 +
CIO Name Of Output Bend Head Up2=Output_HeadShiftUp2_Repeat
  
  
Line 43: Line 59:
 
AM=auto_mode.wav
 
AM=auto_mode.wav
 
SMMF=switch_to_manual_mode_first.wav
 
SMMF=switch_to_manual_mode_first.wav
 +
 +
[Loop]
 +
Power Off Manual Mode Pause=5
 +
Power On Manual Mode Pause=5
 +
Cycle Hold Pause=5
 +
 +
[Opcode]
 +
Transform 2031 Enabled=0
 +
Transformed 2031=2023
  
 
[PRIORITY]
 
[PRIORITY]
Line 48: Line 73:
  
 
</pre>
 
</pre>
 +
<br>
  
 +
===Editing the [[CNCProcessor.cfg]] File===
 +
The CNC Processor configuration file contains the values necessary to adjust the machine lube settings.
 +
<br><br>
  
Note that remarks may be added to the file with lines preceded by double forward slashes.
+
====Where to find it in CNC Bender====
 +
The configuration is displayed in an editor in the Low Level menu, CNC Processor CFG tab.<br>
  
<pre>// How long does the machine loop output enable?</pre>
+
[[image:cncbender_cncprocessor_config_file.jpg|600px]]
  
 +
If you edit the values in this editor, be sure to keep the equals signs in the setup, and be careful to enter valid values.  For example, for duration values, enter only whole numbers (no text).
  
<br>
+
Then save the data to disk in order to store the changes made.
 +
 
 +
====Where to find it on the Hard Disk====
 +
The file is available in the c:\cnc\config folder in the file "CNCProcessor.cfg".  A text editor can be used to change the file.  Only change the file this way when CNC Bender is closed.
 +
 
 +
====Remarks and Notes in the Configuration File====
 +
Note that remarks may be added to the file with lines preceded by double forward slashes.
 +
 
 +
<pre>// This setting was adjusted by Michael Cone on January 28, 2009</pre>
  
 
===Properties Definition===
 
===Properties Definition===
 +
 
Read about individual properties:<br>
 
Read about individual properties:<br>
  
These two properties control the [[Auto Lube]] feature:<br>
+
 
 +
These four properties control the [[Auto Lube]] feature:<br>
 
[[Machine Lube Duration]]<br>
 
[[Machine Lube Duration]]<br>
 
[[Lube Machine At Bend Count]]<br>
 
[[Lube Machine At Bend Count]]<br>

Latest revision as of 21:06, 28 January 2009

Cncbender logo.jpg


What is It?

The CNCProcessor.cfg file exists in the c:\cnc\config folder. It contains setup information for the CNC Processor.

Sections

Each of the sections in the CNCProcessor.cfg is set apart with values in square brackets like this:

[Machine Lube]

Property Values

Each of the sections can contain multiple property values like this:

Machine Lube Duration=


Example Configuration Setup

This is an example configuration setup:

[Machine Lube]
Machine Lube Duration=5000
Lube Machine At Bend Count=100
Pulse Machine Lube Pump=1
Watch For Machine Lube Complete Input=0

[CIO]
CIO Name Of Input Clamp Die Close=Input_ClampIsClosed_End
CIO Name Of Input Pressure Die Home=Input_PressureDieIsHome_End
CIO Name Of Input Pressure Die Close=Input_PressureDieIsClosed_End
CIO Name Of Input Carriage Cross Slide Advance=Input_CarriageCrossSlideIsAdvanced_End
CIO Name Of Input Release  Button=Input_Release_Button_End
CIO Name Of Output Release Illuminate=Output_Release_Illuminate
CIO Name Of Boost Bottom Advance=Output_BoostBottom_Advance
CIO Name Of Boost Top Advance=Output_BoostTop_Advance
CIO Name Of Bend Positive=MOVE_BEND_POS_RELATIVE
CIO Name Of Output Machine Lube=Output_MachineLube_Repeat
CIO Name of Input Machine Lube Complete=Input_MachineLubeComplete_End
CIO Name Of Output Bend Head Down1=Output_HeadShiftDown1_Repeat
CIO Name Of Output Bend Head Down2=Output_HeadShiftDown2_Repeat
CIO Name Of Output Bend Head Center1=Output_HeadShiftCenter1_Repeat
CIO Name Of Output Bend Head Center2=Output_HeadShiftCenter2_Repeat
CIO Name Of Output Bend Head Up1=Output_HeadShiftUp1_Repeat
CIO Name Of Output Bend Head Up2=Output_HeadShiftUp2_Repeat


[SOUND]
INIT=cncbender_initialized.wav
AE=all_axes_enabled.wav
AD=all_axes_disabled.wav
WRE=warning_range_error_encountered.wav
CH=cycle_hold.wav
CS=cycle_start.wav
MM=manual_mode.wav
SM=step_mode.wav
AM=auto_mode.wav
SMMF=switch_to_manual_mode_first.wav

[Loop]
Power Off Manual Mode Pause=5
Power On Manual Mode Pause=5
Cycle Hold Pause=5

[Opcode]
Transform 2031 Enabled=0
Transformed 2031=2023

[PRIORITY]
Master Loop Priority=10000


Editing the CNCProcessor.cfg File

The CNC Processor configuration file contains the values necessary to adjust the machine lube settings.

Where to find it in CNC Bender

The configuration is displayed in an editor in the Low Level menu, CNC Processor CFG tab.

Cncbender cncprocessor config file.jpg

If you edit the values in this editor, be sure to keep the equals signs in the setup, and be careful to enter valid values. For example, for duration values, enter only whole numbers (no text).

Then save the data to disk in order to store the changes made.

Where to find it on the Hard Disk

The file is available in the c:\cnc\config folder in the file "CNCProcessor.cfg". A text editor can be used to change the file. Only change the file this way when CNC Bender is closed.

Remarks and Notes in the Configuration File

Note that remarks may be added to the file with lines preceded by double forward slashes.

// This setting was adjusted by Michael Cone on January 28, 2009

Properties Definition

Read about individual properties:


These four properties control the Auto Lube feature:
Machine Lube Duration
Lube Machine At Bend Count