Setup CNC Bender to Switch Pressure to LOW Automatically
From ATTWiki
This is the most efficient way to allow CNC Bender to automatically switch to LOW PRESSURE AUTOMATICALLY after some time of inactivity.
Constant Run Processlist
The Constant Run Processlist is good for tasks that should run ever 3/4 of a second. The process is reserved for non-motion type commands.
This is an example of watching for the high pressure output, and time beyond the last cycle:
[if] and, BeyondPowerOnTime=2000, BeyondLastCycleTime=5000, BeyondLastCycleTime=not(6000), output=Output_High_Pressure [display]AUTOMATIC HIGH to LOW PRESSURE After 5 Seconds LowPressureOn [end]
In the example above, the LowPressureOn command will run...
- When master motor power has been on for at least 2 seconds
- The high pressure output is ON.
- And the processor has been idle for between 5 and 6 seconds.
The "and" keyword in the [if] statement means that ALL of these conditions in the parameter line must be true. If they are true, then the LowPressureOn command is called.
Other Pages
- See CNC Bender
- See CNC Bender Tutorials