Hardkeys definition.

 

Binary inputs can be used as Pendant control buttons. Number of functions can be assigned flexibly to any of binary input,  "Button-Press" and/or "Button-Release" events.

Dialog for hardkey assignment helps to add assignments, chnage binary input number, "presse" or "release" event and select Slot Procedure to run.

 

  1. "Undo" button. Till "Save" button wasn't pressed it's possible to roll-back to previous saved hardkeys settings by pressing this button.
  2. "Add" button. Press this button to add new hardjey configuration line. After new line added, it should be configured and saved. myCNC softwrae should be resterted to hardkey configuration takes effect.
  3. "Remove" button. Press this button to remove selected hardkey configuration from hardkeys list.
  4. "Save" button. Press this button to save hardkeys configuration to disk. Please notice that changes will take effect after myCNC software restart.
  •  Input Number - binary input number assigned as Hardkey
  • "Pressed" - select this checkbox if "Key-Press" event should be handled
  • "Released" - select this checkbox if "Key-Release" event should be handled
  • "Slot" - handler procedure
  • "Parameters" - if handle procedure requires parameters it can be set in this edit line

 Slot List

Slot name Slot description
CNC Variable: Switch Switch CNC variable between several predefined values.
Parameters divided by ";". The first parameter is CNC variable address (Index in global array). Rest parameters are values list. If slot activated (hardkey pressed/released) CNC variable value will be switched between given values
 

 

By pressing key attached to binary input#0, CNC variable #115 will be changed between values "50", "100", "200", "500"

CNC Variable: Clear Clear (Rreset to "0") given CNC variable. Parameters contains address of CNC Variable in Global variables array.
CNC Variable: Set Set (Write "1") given CNC variable. Parameters contains address of CNC Variable in Global variables array.
 

If Key attached to binary input#0 is pressed, "0" value is written to CNC variable #7150,
If Key is released, "1" value is written to CNC variable #7150.

CNC Variable: Toggle Switch CNC variable between values "0", "1".
Parameters contains address of CNC Variable in Global variables array. If slot activated (hardkey pressed/released) CNC variable value will be switched between given values
CNC Variable: Change Write to CNC variable given value.
Parameters contains address of CNC Variable in Global variables array and the value should written to. Parameters divided by ";"
 

If Key #0 pressed, value "777" will be written to CNC Variable #7150
Each time Key #1 pressed, CNC Variable #7150 value will be switched between "0" and "1".

File Open

Open File Open dialog
File Open DXF/HPGL
 
Open dialog for import DXF/HPGL files
Job: Play 1 line Play (Run) 1 line from current NC line number.
Job: Play 1 line backward Play (Run) 1 line from current NC line number in backward direction.
Job: Run G-code Run G-code commands given in Parameters. Several G-code lines are divided by ";"
 

Pressing "Key #0" will run Homing Z, X, Y procedure (which is macro M138), then move to position (1000,1000)
Pressing "Key #1" will run "probing and find center" procedure (which is macro M440)

Job: Start running Play (Run) NC (g-code) program from current NC line.
Job: Start running backward Play (Run) NC (g-code) program from current NC line in backward direction.
Job: Stop running Stop (Pause) running NC program.
Job: Reset current pointer Reset Current NC line (NC pointer) to the first position.
 

Pressing "Key #0" - start running G-code program from current NC line
Pressing "Key #1" - Stop (Pause) running G-code program.
Pressing "Key #2" - Reset current NC line number to "0" (Reset NC-line number).

Jog: X-
Jog: X+
Jog: Stop X
Jog: Y-
Jog: Y+
Jog: Stop Y
Jog: Z-
Jog: Z+
Jog: Stop Z
Jog: A-
Jog: A+
Jog: Stop A
Jog: B-
Jog: B+
Jog: Stop B
Jog: C-
Jog: C+
Jog: Stop C

Start Jog in X- direction
Start Jog in X+ direction
Stop Jog in X direction
Start Jog in Y- direction
Start Jog in Y+ direction
Stop Jog in Y direction
Start Jog in Z- direction
Start Jog in Z+ direction
Stop Jog in Z direction
Start Jog in A- direction
Start Jog in A+ direction
Stop Jog in A direction
Start Jog in B- direction
Start Jog in B+ direction
Stop Jog in B direction
Start Jog in C- direction
Start Jog in C+ direction
Stop Jog in C direction
 

Keys attached to binary inputs #4, #5, #6, #7 are programmed as XY Joystick for Jog in XY direction.
Key#4 - Jog X- if pressed, Stop Jog X if released.
Key#5 - Jog X+ if pressed, Stop Jog X if released.
Key#6 - Jog Y- if pressed, Stop Jog X if released.
Key#7 - Jog Y+ if pressed, Stop Jog X if released.

Jog Speed Override: inc
Jog Speed Override: dec
Increase "Jog Override" variable
Decrease "Jog Override" variable
Speed Override: inc
Speed Override: dec
 
Spindle Speed: inc
Spindle Speed: dec
 
PLC: Run procedure Direct run PLC procedure. Parameters contain PLC name and Parameter value divided by "/"
PLC: Run external unit procedure If using multi-device configuration, direct run PLC procedure from additional controller.
Parameters contain device ID number, PLC name and Parameter value divided by "/"
 

 

Press Key#0 to turn ON relay #1 (PLC procedure M62 turn ON binary output, Parameter=1 defines output number to turn ON)
Release Key#0 to turn OFF relay #1 (PLC procedure M63 turn OFF binary output, Parameter=1 defines output number to turn OFF)
Press Key#1 to turn ON spindle (PLC procedure M03 - turn ON spindle, Parameter #5524 is link to Global Variables array, Defaulr Spindle Speed variable).
Release Key#1 to turn OFF spindle (PLC procedure M05 - turn OFF spindle, Parameter "0" doesn't matter, however any value should be given to meet syntax requirements).

Pendant: Axis (*) Cycle switch "Pendant Control" Axis select between axes X, Y, Z, A, B, C. If "Max value reached (Axis C), next will me Min value (Axis X)
Pendant: Mul (*) Cycle switch "Pendant Control" Step select between "0.001", "0.01", "0.1", "1". If Max value ("1") reached, next will be Min value ("0.001")
Pendant: Wheel CW Emulate rotation Hand Wheel CW 1 step
Pendant: Wheel CCW Emulate rotation Hand Wheel CCW 1 step
Pendant: Mul increment
Pendant: Mul decrement
Increase "Pendant Control" Step between "0.001", "0.01", "0.1", "1". Max value is ("1"), no changed if press more.
Decrease "Pendant Control" Step between "1", "0.1", "0.01", "0.001". Min value is ("0.001"), no changed if press more.
Pendant: Axis change+
Pendant: Axis change-
Change "Pendant Control" Axis between OFF, X, Y, Z, A, B, C. If "C" reached, no change if press more.
Change "Pendant Control" Axis between C, B, A, Z, Y, X, OFF. If "OFF" reached, no change if press more.
Pendant0: x0.001
Pendant0: x0.01
Pendant0: x0.1
Pendant0: x1
Set "Pendant Control" Step value to "0.001".
Set "Pendant Control" Step value to "0.01".
Set "Pendant Control" Step value to "0.1".
Set "Pendant Control" Step value to "1".
Pendant0: Axis Off
Pendant0: Axis X
Pendant0: Axis Y
Pendant0: Axis Z
Pendant0: Axis A
Pendant0: Axis B
Pendant0: Axis C
Set "Pendant Control" Axis to "OFF".
Set "Pendant Control" Axis to "X".
Set "Pendant Control" Axis to "Y".
Set "Pendant Control" Axis to "Z".
Set "Pendant Control" Axis to "A".
Set "Pendant Control" Axis to "B".
Set "Pendant Control" Axis to "C".
   
Show: Pendant control widget
Show: MDI widget
Show: Config widget
Show Pendant control emulation window
Show MDI (Manual data input) window
Show User configuration window
 

Pendant window shown.

MDI window shown

User settings window shown.

Show: Editor widget
Show: Work widget
 Show Editor window
Show Main Work window
   
Show: Library Shape widget
Show: Diagnostic widget
Show: User widget
Show: Centring widget
Show: Rotation widget
Show: Saw Cutting widget
Show Library Shapes window
Show Custom-Defined Diagnostic window
Show Custom-Defined User Window
Show Centring (Center Probing) window
Show Rotate NC program window
Show Saw Cutting macro generator window
   
Show: Custom widget by name
Toggle: Custom widget by name
Hide: Custom widget by name
Show custom wnidow defined in cnc-screen.xml by name ID
Toggle (switch hide-show-hide-..) custom window defined in cnc-screen.xml by name ID
Hide custom window defined in cnc-screen.xml by name ID
   
   

Move to Toolpath
Tie Toolpath position to current work position

 
   
Toggle Machine/Work DRO (if applicable)
Toggle Jog enable/disable
Toggle Jog mode unlimited/step
Toggle Soft Limits enable/disable
Toggle Flood On/Off
Toggle Spindle On/Off
Toggle Constant Velocity (CV) On/Off