Setup CNC Bender to Switch Pressure to LOW Automatically
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 Example
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 IF block of code was extracted from the "ConstantRun.cncprocesslist" file in the c:\cnc\config\ folder.
[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.
EDITING the Code
Load the ConstantRun processlist into a text editor like "Notepad++", then modify the values in the code, then save the changes to the file.
Other Pages
- See CNC Bender
- See CNC Bender Tutorials