Difference between revisions of "CNC Bender v11-20090609"

From ATTWiki
Jump to: navigation, search
(25px NEW - Seam Detect Mode in PreBend Dynamic Options)
(25px New: BUILT IN - SEAM DETECT OPTION)
Line 21: Line 21:
  
 
===[[image:Check.jpg|25px]] New: BUILT IN - SEAM DETECT OPTION  ===
 
===[[image:Check.jpg|25px]] New: BUILT IN - SEAM DETECT OPTION  ===
 
  
 
The new feature can be switched on with the Seam Detect option in the PreBend option:<br><br>
 
The new feature can be switched on with the Seam Detect option in the PreBend option:<br><br>
Line 27: Line 26:
 
[[image:cncbender_seamdetect_rotateaxis.jpg|500px]]<br>
 
[[image:cncbender_seamdetect_rotateaxis.jpg|500px]]<br>
  
Set the mode to Rotate Axis to include seam detection logic that will spin the rotate axis until a seam/scribe/etch is located.
+
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>
 
<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.)
 
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.)

Revision as of 22:47, 12 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).

Check.jpg New: BUILT IN - SEAM DETECT OPTION

The new feature can be switched on with the Seam Detect option in the PreBend option:

Cncbender seamdetect rotateaxis.jpg

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.

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

Seamdetect processlist.jpg



The new "seam_detect_rotate_axis.cncprocesslist" is a secondary multitasking processlist that is configurable to work with the application.

Check.jpg 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:

[direct_axis_jog] servo_controller_module_1, 2, 1

Each parameter is separated by commas and are defined as:

  1. PARAMETER 1: The first parameter is the name of the SERVO module
  2. PARAMETER 2: The second parameter is the axis of the SERVO module (1 or 2)
  3. PARAMETER 3: The third parameter indicates direction. "1" means positive jog. "-1" means negative jog.



[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:


[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]

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.


Check.jpg NEW: CIOs and COMDEFs

  1. Input_SeamDetect_End is a standard CIO added for this feature.
  2. WaitForSeamDetect is the name used for the new COMDEF in the main process list that waits for the seam detect to go active.



Other Pages