Difference between revisions of "CNC Bender v10-20080319"

From ATTWiki
Jump to: navigation, search
(Purpose)
(How to Enable or Disable)
Line 37: Line 37:
 
<br><br>
 
<br><br>
 
The second field allows you to set the new opcode to use.  For now, the value should be 2032 or 2031 as those are the only two that are logical.
 
The second field allows you to set the new opcode to use.  For now, the value should be 2032 or 2031 as those are the only two that are logical.
 +
<br>
 +
<br>
  
 
===[[image:Check.jpg|25px]] New - Internal Process List Queuing To Resolve Overlapping Processes  ===
 
===[[image:Check.jpg|25px]] New - Internal Process List Queuing To Resolve Overlapping Processes  ===

Revision as of 23:55, 19 March 2008

Cncbender logo.jpg

Operatorstation model.jpg



CHANGES to CNC PROCESSOR

Check.jpg New - Recognition of the New 2032 OpCode

The 2032 command is a new type of incremental move command that instructs the controller to move the axis a relative motion from its current position. (2031 moves from the goal position, which may not be the current position)

This resolves an issue with direct axes jogging where an axis stops moving at a hard-stop, but the controller continues to track the position as if the axis is still moving. MOBUS command 2032 overcomes this potential problem.

Only controls upgraded by SMT technicians can use the 2032 command. If this feature is enabled before the control firmware is updated the incremental or relative motion will not work properly.


Check.jpg New - Automatic Transformation of 2031 MODBUS Commands to 2032

Purpose

The purpose of allowing for transformation is to allow for easy upgrade of legacy controls without having to adjust the CIO Dictionary setup of every upgraded bender.

How to Enable or Disable

The transformation is enabled and setup in the CNCProcessor.cfg file in a Modbus section that looks like this:

[Modbus]
Transform 2031 Enabled= 1
Transformed 2031= 2032

The text in these fields before the "=" must appear exactly as shown above for the values to take effect in CNC Processor. (They are not case-sensitive.)

The "Enabled = 1" indicates that the feature is enabled. Set th value to 0 to disable the feature.

The second field allows you to set the new opcode to use. For now, the value should be 2032 or 2031 as those are the only two that are logical.

Check.jpg New - Internal Process List Queuing To Resolve Overlapping Processes

When a motion fault (like a timeout) occurs in CNC Bender, the software runs the Post Fault and Post Halt process lists. However, those process lists could, in certain circumstances, be overtaken by the De-Initialize process list. When this occurs, the Post Fault or Post Halt lists are supplanted mid-operation by the list that is overrunning. The initial lists never finish their process, confusing the logic in CNC Processor which often creates erratic motion.

This resolves that issue by using a new queuing process where these process lists (like De-Initialize) are made to wait in the queue behind earlier running or already waiting process lists.

This queuing effects these process lists:

  • All Controlled Jogs
  • De-Initialize
  • Post Halt
  • Post Fault
  • Home Machine
  • Post Home Machine


The Initialize Process List

The only maintenance process list that is not made to wait in a Queue is the Initialize process list, which should always run first after the Cycle Start button is pressed.