Difference between revisions of "CNCProcessor.cfg"

From ATTWiki
Jump to: navigation, search
(Properties Definition)
 
(23 intermediate revisions by one user not shown)
Line 1: Line 1:
__toc__
+
[[image:cncbender_logo.jpg|400px]]
 +
 
 +
__NOTOC__
  
 
===What is It?===
 
===What is It?===
The CNCProcessor.cfg file exists in the c:\cnc\configfolder.  It contains setup information for the [[CNC Processor]].
+
The CNCProcessor.cfg file exists in the c:\cnc\config folder.  It contains setup information for the [[CNC Processor]].
  
 
===Sections===
 
===Sections===
Each of the sections in the CNCProcessor.cfg is set apart with an axis section label like this:
+
Each of the sections in the CNCProcessor.cfg is set apart with values in square brackets like this:
  
<pre>[Intervals]</pre>
+
<pre>[Machine Lube]</pre>
  
 +
===Property Values===
 +
Each of the sections can contain multiple property values like this:
  
===Properties===
+
<pre>Machine Lube Duration=</pre>
  
Example properties for an axis:
 
  
<pre>
 
[Intervals]
 
// Maximum Idle Time controls when
 
// the processor will run IdleMachine.runlist
 
// Use it to switch hydraulics OFF after a short time period
 
// if the machine is not in STEP or AUTO mode
 
  
// This is not necessary in this bender
+
===Example Configuration Setup===
Maximum Idle Time=108000000
+
 
+
// Master Motor Maximum Idle Time controls when
+
// the processor will shut the Master Motor Power OFF
+
// after it senses a period of inactivity.  This
+
// inactivity is reset only by jogs and cycles.
+
 
+
// 20030425 - This is now controlled primarily in the CONSTANT Run List
+
// which gives us more flexibility than this built-in procedure
+
// set this higher than the value in the constant run list
+
Master Motor Maximum Idle Time=108000000
+
 
+
// How many accumulated parts run before
+
// CNC Processor lubes the machine?
+
Lube Machine At Part Count= 500
+
Use Bend Count For Machine Lube= 1
+
Lube Machine At Bend Count= 1000
+
 
+
 
+
// How many accumulated parts run before
+
// CNC Processor lubes the machine?
+
Lube Machine At Part Count= 100
+
  
 +
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 70: 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 75: 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===<br>
 
 
Read about individual properties:<br>
 
Read about individual properties:<br>
[[Lube Machine At Part Count]]<br>
 
[[Use Bend Count For Machine Lube]]<br>
 
[[Lube Machine At Bend Count]]<br>
 
  
  
--[[User:Mcone|Mcone]] 23:18, 19 July 2006 (EDT)
+
These four properties control the [[Auto Lube]] feature:<br>
 +
[[Machine Lube Duration]]<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