Difference between revisions of "CNC Bender v11-20090609"

From ATTWiki
Jump to: navigation, search
Line 22: Line 22:
  
 
See [[CNC Bender Seam Detection]] for details.
 
See [[CNC Bender Seam Detection]] for details.
 
===[[image:Check.jpg|25px]] New: BUILT IN - SEAM DETECT MODE DYNAMIC OPTION  ===
 
 
The new feature can be switched on with the Seam Detect option in the PreBend option:<br><br>
 
 
[[image:cncbender_seamdetect_rotateaxis.jpg|500px]]<br>
 
 
Set the mode to Rotate Axis BEFORE or AFTER run buttons 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>
 
 
Each parameter is separated by commas and are defined as:
 
 
#PARAMETER 1: The first parameter is the name of the SERVO module
 
#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.
 
 
==== 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>
 
 
[direct_axis_jog] servo_controller_module_1, 2, 1
 
 
[if] and, input=Input_SeamDetect_End
 
  // Seam detected - Disable the rotate jog now
 
  [direct_axis_jog_halt]
 
  [SECONDARY_PROCLIST] seam_detect, disable
 
[end]
 
</pre>
 
 
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: CIOs and COMDEFs ===
 
 
# '''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>
 
<br><br>

Revision as of 01:38, 13 June 2009

Cncbender logo pushbending.png

Operatorstation model.jpg

Contents


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

Seamdetect application.jpg

Seamdetect diagram.jpg

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.

The diagram on the right shows the main process in the orange box on the left. This is the actual bend program process.

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.)

When the seam is detected, then the SEAM_DETECT_ROTATE_AXIS process STOPS RUNNING, causing the ROTATION JOG to also STOP.

Then the main process detects that the seam detect input is ACTIVE and moves to the next step (See "3" in the orange box).


See CNC Bender Seam Detection for details.



Other Pages