====== FrameControls ====== [[http://www.openhardsoftware.de/ | Open Hard- & Software]] [[http://www.openhardsoftware.de/dokuwiki | DokuWiki]] [[http://www.openhardsoftware.de/dokuwiki/doku.php?id=module:module | Module]] [[http://www.openhardsoftware.de/dokuwiki/doku.php?id=module:programming:programming | Programming]] ===== Abstract ===== * Definition von UserControls * hier: * TwoStateButton: FrameCoolant * ThreeStateButton: FrameSpindle * Position-Control * Spindle-Control * Gruppierung einer Control-Group in einem Frame * Callback-Events bei OnClick-Funktionen ===== ToDo ===== ===== Done ===== ==== 221116 ==== * Callback-Pointer: OnMoveAbsolute(positionactual, positiontarget) für X/Y/Z * Callback-Pointer: OnMoveRelative(positionactual, positiontarget) für X/Y/Z * Callback-Pointer: OnRotateIdle() für Spindle * Callback-Pointer: OnRotateCW(speed) für Spindle * Callback-Pointer: OnRotateCCW(speed) für Spindle * Download : {{:module:programming:framecontrols:2211161629_framecontrols_01v06.zip | 2211161629_FrameControls_01V06.zip}} [1]runfile.. X : Move Absolute : PA[2.0]mm PT[5.0]mm Y : Move Absolute : PA[2.0]mm PT[10.0]mm Z : Move Absolute : PA[2.0]mm PT[-10.0]mm S : Rotate CW[6000.0]rpm S : Rotate Idle X : Move Relative : PA[2.0]mm PT[3.0]mm Y : Move Relative : PA[2.0]mm PT[8.0]mm Z : Move Relative : PA[2.0]mm PT[-12.0]mm S : Rotate Idle S : Rotate CCW[8000.0]rpm S : Rotate Idle Ausgabe der Callback-Funktionen ==== 221115 ==== * Neugestaltung des Spindle-Controls * überflüssig: bisheriges Spindle-Control * Spindle-Container: FrameSpindles * Download : {{:module:programming:framecontrols:2211152228_framecontrols_01v05.zip | 2211152228_FrameControls_01V05.zip}} {{:module:programming:framecontrols:2211152228_framecontrols_01v05.png?400 | 2211152228_FrameControls_01V05.png}} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ ==== 221115 ==== * Position-Container: FramePositions * X/Y/Z-Position-Controls in einem Frame * Position Target/Actual * Umschaltung rechte Maustaste: MoveAbsolute <-> MoveRelative * automatische Neuberechnung PositionTarget bei Umschaltung MA<->MR * Download : {{:module:programming:framecontrols:2211151957_framecontrols_01v04.zip | 2211151957_FrameControls_01V04.zip}} {{:module:programming:framecontrols:2211151958_framecontrols_01v04.png?400 | 2211151958_FrameControls_01V04.png}} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ ==== 221114 ==== {{:module:programming:framecontrols:2211141951_framestatedual_off.png?400 | 2211141951_FrameStateDual_off.png}} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ {{:module:programming:framecontrols:2211141952_framestatedual_on.png?400 | 2211141952_FrameStateDual_on.png}} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ {{:module:programming:framecontrols:2211141952_framestatedual_third.png?400 | 2211141952_FrameStateDual_third.png}} \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ * Download : {{:module:programming:framecontrols:2211141851_framecontrols_01v03_dualtri.zip | 2211141851_FrameControls_01V03_dualtri.zip}} \\ \\ ----- [[http://www.openhardsoftware.de/ | Open Hard- & Software]] [[http://www.openhardsoftware.de/dokuwiki | DokuWiki]] [[http://www.openhardsoftware.de/dokuwiki/doku.php?id=module:module | Module]] [[http://www.openhardsoftware.de/dokuwiki/doku.php?id=module:programming:programming | Programming]]