Difference between revisions of "CNC Bender v11-20090609"

From ATTWiki
Jump to: navigation, search
(25px New: BUILT IN - SEAM DETECT OPTION)
(25px REPAIRED - Redesigned Processor Floating Message Window)
 
(32 intermediate revisions by one user not shown)
Line 2: Line 2:
 
[[image:Operatorstation_model.jpg|right]]
 
[[image:Operatorstation_model.jpg|right]]
  
__TOC__
+
__NOTOC__
 +
===[[image:Check.jpg|25px]] NEW - MORE Automatic Chuck Close Modes===
  
 +
There are more modes in automatic chuck close that allow you control when the automatic chuck close occurs.
 +
<br><br>
 +
[[image:cncbender_autochuckclose_mode.jpg|400px]]<br>
  
 
===[[image:Check.jpg|25px]] NEW - Seam Detect Mode in PreBend Dynamic Options===
 
===[[image:Check.jpg|25px]] NEW - Seam Detect Mode in PreBend Dynamic Options===
 +
The '''seam detect logic''' was ported into the latest version of CNC Bender from the older LiteControl platform.  This logic allows for seam detection logic modes including the capability of rotating the tube in the rotation spindle until the seam/scribe/etch is located.<br><br>
  
[[image:Seamdetect_application.jpg|300px]]
+
Please see [[CNC Bender Seam Detection]] for details.
[[image:Seamdetect_diagram.jpg|500px|right]]
+
<table>
 +
<tr>
 +
<td>[[image:Seamdetect_application.jpg|300px]]</td>
 +
<td>[[image:Seamdetect_diagram.jpg|300px|right]]</td>
 +
</tr>
 +
</table>
  
The '''seam detect logic''' was ported into the latest version of CNC Bender from the older LiteControl platform.  It uses a secondary process list that runs in parallel to the main process list in order to detect a seam.<br><br>
 
  
The diagram on the right shows the main process in the orange box on the left.  This is the actual bend program process.
+
<br>
<br><br>
+
The box on the right is the secondary process called SEAM_DETECT_ROTATE_AXIS.  It causes the rotate axes to spin until the seam is located and the seam detect input is ACTIVE.  (This process can be modified for your application.)
+
<br><br>
+
When the seam is detected, then the SEAM_DETECT_ROTATE_AXIS process STOPS RUNNING, causing the ROTATION JOG to also STOP.
+
<br><br>
+
Then the main process detects that the seam detect input is ACTIVE and  moves to the next step (See "3" in the orange box).<br>
+
  
===[[image:Check.jpg|25px]] New: BUILT IN - SEAM DETECT OPTION  ===
+
===[[image:Check.jpg|25px]] NEW - PreEnable Process List===
  
 +
The Pre Enable Proceslist allows for setting PID values BEFORE the axes are enabled.  This allows the customer to quickly change the In Position Band value of any axis before the axis is enabled.
 +
The first application of this is to allow for quick changing of the in position band of the bend axis from 1 degree In Position Band to 0.5 or 0.25 degrees.
 +
<br>
 +
<pre>
 +
//====================================================
 +
//** PID Setup Section **
 +
//  Choose only one of three
 +
//====================================================
  
The new feature can be switched on with the Seam Detect option in the PreBend option:<br><br>
+
//[display] PID Bend Axis - Set to 0.5 Degree Precision
 
+
PID Bend Axis Full Degree Precision
[[image:cncbender_seamdetect_rotateaxis.jpg|500px]]<br>
+
//PID Bend Axis Half Degree Precision
 
+
//PID Bend Axis High Precision
Set the mode to Rotate Axis to include seam detection logic that will spin the rotate axis until a seam/scribe/etch is located.
+
<br><br>
+
If enabled, the new commands for seam detection are added to the process list between the chuck close and the run button logic.  This is a sample of what is inserted.  (What you see here represents the commands for STEPS 1 and 2 in the orange box in the image above.)
+
<br><br>
+
[[image:seamdetect_processlist.jpg]]
+
 
+
<br><br>
+
The new "seam_detect_rotate_axis.cncprocesslist" is a secondary multitasking processlist that is configurable to work with the application.
+
 
+
===[[image:Check.jpg|25px]] NEW: INTERNAL COMMANDS  '''[direct_axis_jog]''' and '''[direct_axis_jog_halt]''' ===
+
 
+
==== [direct_axis_jog] ====
+
 
+
This processlist internal command will allow the process to direct-jog and axis as if a user had pressed a jog button.  Configure the command by including parameters like this:
+
 
+
<pre>
+
[direct_axis_jog] servo_controller_module_1, 2, 1
+
 
</pre>
 
</pre>
  
Each parameter is separated by commas and are defined as:
+
===[[image:Check.jpg|25px]] NEW - Added Operators to the [IF] and [IFNOT] Blocks in the Process Lists===
  
#PARAMETER 1: The first parameter is the name of the SERVO module
+
When using the pos() command in an IF block of code, the following operators are now allowed:
#PARAMETER 2: The second parameter is the axis of the SERVO module (1 or 2)
+
#PARAMETER 3: The third parameter indicates direction.  "1" means positive jog.  "-1" means negative jog.
+
<br><br>
+
  
==== [direct_axis_jog_halt] ====
+
# <
 +
# >
 +
# <=
 +
# >=
 +
# =
  
This processlist command uses no parameters. It halts all jog motion.
+
When using two character operators, it is important that there are no spaces between the two characters, or preceding the first character.  Here is an example:
 
+
==== Sample of How Used ====
+
 
+
These commands can be used to move, for example, the rotate axis until a seam is detected by a device which actives an input.  Examine the "seam_detect" processlist to see how this works:
+
  
 
<pre>
 
<pre>
 
+
[IF] or, pos(1)<= 100
[direct_axis_jog] servo_controller_module_1, 2, 1
+
   DO This
 
+
[END]
[if] and, input=Input_SeamDetect_End
+
   // Seam detected - Disable the rotate jog now
+
  [direct_axis_jog_halt]
+
  [SECONDARY_PROCLIST] seam_detect, disable
+
[end]
+
 
</pre>
 
</pre>
 +
<br>
  
The jog command rotates the 2nd axis of the first servo module in the positive direction. This is the rotate axis.  The motion continues until the seam detect input activates.  At that point the jog is halted with the second command, and the secondary processlist disables itself.
+
===[[image:Check.jpg|25px]] NEW - Inputs that are TIMERS can now be a TYPE of "BEGIN"===
  
 +
END-style timers pause after all outputs have been activated in a COMDEF.  They cause the COMDEF to pause before the next step begins.  The new BEGIN-style input timers pause BEFORE any outputs or servo commands are activated in the COMDEF.  The timers are always set from the beginning of the COMDEF.
 +
<br>
  
 +
===[[image:Check.jpg|25px]] REPAIRED - Manual Time Out Values Controlled By Low Level Hydraulic Value===
  
===[[image:Check.jpg|25px]] NEW: CIOs and COMDEFs ===
+
The manual timeout values were always set to 6 seconds. Now they are set to whatever is programmed in the Low Level Compiler tab.
 +
<br><br>
  
# '''Input_SeamDetect_End''' is a standard CIO added for this feature.
 
# '''WaitForSeamDetect''' is the name used for the new COMDEF in the main process list that waits for the seam detect to go active.
 
  
<br><br>
+
===[[image:Check.jpg|25px]] REPAIRED - Redesigned Processor Floating Message Window===
 +
[[image:cncbender_floating_processor_message_window2.jpg|400px]]<br><br>
 +
The floating message window used to show processes in action has been resized to be less obtrusive to other screens.<br><br>
 +
[[image:cncbender_floating_processor_message_window.jpg|400px]]
  
 
=Other Pages=
 
=Other Pages=

Latest revision as of 02:44, 13 June 2009

Cncbender logo pushbending.png

Operatorstation model.jpg


Check.jpg NEW - MORE Automatic Chuck Close Modes

There are more modes in automatic chuck close that allow you control when the automatic chuck close occurs.

Cncbender autochuckclose mode.jpg

Check.jpg NEW - Seam Detect Mode in PreBend Dynamic Options

The seam detect logic was ported into the latest version of CNC Bender from the older LiteControl platform. This logic allows for seam detection logic modes including the capability of rotating the tube in the rotation spindle until the seam/scribe/etch is located.

Please see CNC Bender Seam Detection for details.

Seamdetect application.jpg
Seamdetect diagram.jpg



Check.jpg NEW - PreEnable Process List

The Pre Enable Proceslist allows for setting PID values BEFORE the axes are enabled. This allows the customer to quickly change the In Position Band value of any axis before the axis is enabled. The first application of this is to allow for quick changing of the in position band of the bend axis from 1 degree In Position Band to 0.5 or 0.25 degrees.

//====================================================
//** PID Setup Section **
//   Choose only one of three
//====================================================

//[display] PID Bend Axis - Set to 0.5 Degree Precision
PID Bend Axis Full Degree Precision
//PID Bend Axis Half Degree Precision
//PID Bend Axis High Precision

Check.jpg NEW - Added Operators to the [IF] and [IFNOT] Blocks in the Process Lists

When using the pos() command in an IF block of code, the following operators are now allowed:

  1. <
  2. >
  3. <=
  4. >=
  5. =

When using two character operators, it is important that there are no spaces between the two characters, or preceding the first character. Here is an example:

[IF] or, pos(1)<= 100
  DO This
[END]


Check.jpg NEW - Inputs that are TIMERS can now be a TYPE of "BEGIN"

END-style timers pause after all outputs have been activated in a COMDEF. They cause the COMDEF to pause before the next step begins. The new BEGIN-style input timers pause BEFORE any outputs or servo commands are activated in the COMDEF. The timers are always set from the beginning of the COMDEF.

Check.jpg REPAIRED - Manual Time Out Values Controlled By Low Level Hydraulic Value

The manual timeout values were always set to 6 seconds. Now they are set to whatever is programmed in the Low Level Compiler tab.


Check.jpg REPAIRED - Redesigned Processor Floating Message Window

Cncbender floating processor message window2.jpg

The floating message window used to show processes in action has been resized to be less obtrusive to other screens.

Cncbender floating processor message window.jpg

Other Pages