User Tools

Site Tools


mycnc:mycnc_configuration_dialogs

MyCNC Configuration Dialogs

Preferences Tab

Common

  • Character Encoding. -

myCNC software uses Unicode Text encoding system. If input g-code files contain symbols encoded in other Encoding system, this system should be set in Character Encoding. combobox to show local symbols correctly in myCNC software

  • NC code folders -

In File Open Dialog and DXF Import Dialog software search nc-files in folders provided in input lines NC code folders

For example, if set NC code folders as “~/DNC” and “/media” -

Only this folders will be available to open g-codes or dxf files -

Start/Stop

  • Cutting ON commands
  • Cutting OFF commands
  • Soft stop time
  • Limit Stop time
  • After Stop Handler (on developing)
  • Check Soft Limits for the full toolpath -

(V) - (checked) - myCNC tests the full toolpath if any of toolpath points going outside of Working Area (Soft Limits test) and does not start running if it is true. However, for very long g-code files this testing may take a very long time.

( ) - (clear) - The software tests for Soft Limits only a part toolpath file (which is about 2000 lines).

  • Toolpath Position checking, axes - The control software knows Current Tool Position and Current Program Position (the position when a program was stopped or start program position in case g-code just loaded). When Start button pressed myCNC tests for each selected axis if “Current Tool” and “Current Program” positions are the same and block running if Not.

For example, X and Y axes are selected to check for Plasma Cutting

Screen

3D Visualisation

G-code settings

Profile

XML configuration

Macros

Macro List

Macro Wizard

Probing wizard

Probing config

Probing macro wizard

PLC Builder

Hardware PLC

Hardware PLC: XML configs

Software PLC

PLC Configuration

Axes/Motors

The main axes-motors parameters can be configured in the dialog

1. Enabled. Each of axes X,Y,Z,A,B,C,U,W,V can be enabled or disabled. If any axis is disabled the software ignores All coordinates for this axis and does not send any motion to this axis. It is convenient to disable axes you don't use on the machine.

2. Pulses per unit. This parameter set number of pulses controller sends to the motor drivers to move on 1 unit (the unit depends on CNC configuration can be either “mm” or “inch”)

3. MaxSpeed - CNC control will limit machine speed for each axis with this value. Note that MaxSpeed does not count override % value. Be caution if you use override values more than 100%

4. Backlash - Backlash value in units (mm/inch) for each axis

5. Axes Mapping - Toolpath planner uses this setting for tool motion speed calculation. Possible settings are-

  • “X”, “Y”, “Z”, “U”, “V”, “W” - linear axes X, Y, Z, U, V, W
  • “A1”, “B1”, “C1” - rotation around axes X, Y, Z. Tooltip makes a circle-like motion on a material surface while A/B/C axis turning. An example is a rotary table, 4th rotary axis.
  • “A2”, “B2”, “C2” - tilt around axes X,Y,Z. Tooltip position is not changed while A/B/C axis turning. Tool orientation changed only. An example is rotating tangential knife or 3D plasma bevel head.
  • “Linear axis” - additional linear axis (any linear axis which behaviour cannot be described as X/Y/Z/U/V/W axis)
  • “Rotary axis” - additional rotary axis (any rotary axis which behaviour cannot be described as A/B/C axis)

6. Speed profile - additional settings to optimize Speed profile for rotary axes

  • “Constant surface speed” - Tooltip is moving on the surface of turning material. Turning speed is calculated depends on given F-feedrate and cutting speed of tooltip on the surface (It's supposed Tooltip moving on the arc with radius depends on current XYZ position).
  • “Slave Of XYZ” - Current speed calculated for X,Y,Z axes depends on given F-feed rate. Turning speeds for rotary axes adjusted to get synchronous motion.
  • “Spherical correction” - Settings for 3D bevel cutting head and RTCP kinematic correction.

7. Scan along rotational axis - special purpose settings if Y-axis is used as a rotary axis for tube cutting configuration. Obsolete

8. Attach to axis. Any of 6/8 motor output can be attached to any axis. Here you can select what axis is used for every motor outputs.

9. Inversion - Put checkbox if need to change rotation direction for any axis.

For Dual axis configuration just attach one axis simultaneously to two (or more) motor outputs. 
For example, on a picture Motor outputs #0 and #1 are used for X-axis. 
Invertion is selected for Output #1, so both motors connected to Output#0 and Output#1 
will be rotated simultaneously, but in opposite direction

Inputs/Sensors

Alarms

myCNC software supports a number of Alarm input.

Any of myCNC controller binary input can be programmed as Alarm input. Alarm inputs setup is available in Alarms configuration dialog. In the dialog -

  • Each Alarm can be enabled or disabled
  • Any binary input can be assigned as selected Alarm
  • Input type Normally opened or Normally closed can be selected to the alarm.

MyCNC software has different Handlers for Alarm.

Emergency Button

If Emergency button Alarm is triggered, the myCNC software stops running any Motion program or Jogging and Run PLC Handler for Emergency alarm - “EST.plc” PLC procedure. “Emergency button pressed. Program stopped!” message will be shown in the messages list

A user can define any behaviour for Emergency Stop event like -

  • Power off servo-drivers
  • Power off Spindle/Plasma power source
  • Switch Off coolant, mist, air
  • etc.

PLC procedure “EST.plc” is available in PLC Builder/Hardware PLC

If Emergency button activated, all further Job running, or jogging will be locked. “Emergency button pressed.” message will be shown on the main screen

Example of Emergency button configuration is shown in a picture below

  • Emergency button is enabled
  • Binary input #53 is used as an Emergency key
  • Emergency button is Normally closed, an Emergency event will be activated if the button is open

Limits

To configure software limits -

  • Set “Soft Limits Enabled” checkbox
  • Set checkboxes for each axis you like to enable software limits
  • Set Minimum and Maximum range for each axis
  • Press “Save” button to save the settings

It's possible to reduce jog speed near the limits. If operator jogs toward the software limit, jog speed will be reduced on given distance from limit to given value (in % of normal jog speed). To enable this option -

  • Set “Jog slow down” checkbox
  • for each axis -
    • “Slow down distance” - distance from software limit when jog speed will be slow down
    • “Slow down value, %” - Slow Jog speed (in % of normal jog speed)
  • Press “Save” button to save the settings

For example

Slow distance = 50, Slow value= 20% - 
If jog toward software limit and distance to limit less than 50mm, 
jog speed will be 5 times less normal jog speed (20%)
Slow distance = 10, Slow value= 100%  - 
No reducing speed (because slow value is 100% of jog speed)

Hardware limits can be configured in myCNC software besides of software limits. There is a limit switch for negative and positive direction for each axis reserved in myCNC software. Any switch can be enabled, assigned to any of CNC control board binary input and configured as “Normally Open” or “Normally Closed”. To enable hardware limit for selected axis -

  • Choose the axis (X, Y, Z, A, B, C) and side (positive or negative) and set respected checkbox;
  • Set binary input number where hardware limit connected;
  • Choose sensor type “Normally Open” or “Normally closed” in Combobox;
  • Press “Save” button to save the settings

Triggers

MPG through binary inputs

Jog through ADC inputs

I/O Expand cards mapping

ADC mapping

Technology

PWM PIDs

Plasma Cutting

Plasma settings

Hypertherm communication

Hypertherm diagnostics

Cutcharts

THC

Lathe

Tools

Spindle

Gas/Oxyfuel

Multi Head

3D Printer

Multi-device

Multi-devices/Inputs

Multi-devices/Test

Multi-devices/PID Config

MaxLaser

Laser control

Circular Saw

Tangential Knife

Modbus Servo

Exhaust/Extraction control

Network

Camera

5 axes RTCP

Panel/Pendant

Wireless Pendant/XHC

Operator Panel

  1. Enable - Enable Operator Panel through Serial Port (UART) communication
  2. Serial Port - choose serial port Operator Panel connected
  3. Serial Speed - choose UART speed communication
  4. Serial Debug - Enable debug information while communication with operator panel.
    ET7 Operator panel board id connected by default and does not use Serial communication settings above
  5. Key configuration settings
    1. Key Number Key ID
    2. Pressed - select checkbox to define Handler for Press event
    3. Release - select checkbox to define Handler for Release event (2 Handlers will be displayed if both Press and Release checkbox selected)
    4. Shift - select checkbox if Shift button should be pressed with the button to activate Handler
    5. Slot - Combobox with the Handler name
    6. Parameters - Optional parameters line for the Handler

Panel/Pendand/Hardkeys/Hotkeys Handler List

Handler name Description
CNC Action Custom defined action
CNC Variable: Switch Switch Global gariable value betweek given list of values. Parameters contain variable Number, “/“ separator, values list separated by ”;”.
Example:
CNC Variable: Switch Parameters: 5522/0.001;0.01;0.1;1.0;10
CNC Variable: Toggle Toggle Global gariable value. Parameter contains variable Number.
Example:
CNC Variable: Toggle Parameters: 5522
CNC Variable: Change Add to Global gariable value given “delta”. Parameter contains variable Number and Delta value separated by symbol “/“.
Example:
CNC Variable: Change Parameters: 5522/-0.2
CNC Variable: Change Parameters: 5522/0.01
CNC Variable: Clear Clear Global gariable value (=0). Parameter contains variable Number.
Example:
CNC Variable: Clear Parameters: 5522
CNC Variable: Set Set to “1” Global gariable value (=1). Parameter contains variable Number.
Example:
CNC Variable: Set Parameters: 5522
CNC Variable: Assign Assign Global gariable to given value. Parameter contains variable Number and the value separated by symbol ”/“.
Example:
CNC Variable: Assign Parameters: 5522/0.01
CNC Variable: Assign Parameters: 5522/0.1
CNC Variable: Assign Parameters: 5522/1.0
File: Open Show “File Open” dialog
File: Open DXF/HPGL Show “DXF/HPGL File Open” dialog
File: Refresh Reload current g-code file
Hardware: Direct Binary Set Set given output pin (write “1”). Parameter contains Pin Number.
Example:
Hardware: Direct Binary Set Parameters: 15
Hardware: Direct Binary Clear Clear given output pin (write “0”). Parameter contains Pin Number.
Example:
Hardware: Direct Binary Clear Parameters: 15
Hardware: Direct DAC Set Write to DAC register given value. Parameters contain DAC Channel# and the value separated by symbol ”/“.
Example:
Hardware: Direct DAC Set Parameters: 0/2048
Hardware: Direct PWM Set Write to PWM register given value. Parameters contain PWM Channel# and the value separated by symbol ”/“.
Example:
Hardware: Direct PWM Set Parameters: 2/1024
Hide: Custom widget by name
Job: Play 1 line
Job: Play 1 line backward
Job: Run G-code
Job: Run G-code with Confirmation
Job: Start running
Job: Start Cutting from Edge
Job: Start running backward
Job: Stop running
Job: Reset current pointer
Job: Back To Path
Job: Skip Forward
Job: Skip Backward
Job: Skip Forward 10
Job: Skip Backward 10
Jog: X-
Jog: X+
Jog: Stop X
Jog: X- Y-
Jog: X- Y+
Jog: X+ Y-
Jog: X+ Y+
Jog: All Stop
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
Jog: X- && Key:
Jog: X+ && Key:
Jog: Y- && Key:
Jog: Y+ && Key:
Jog: Z- && Key:
Jog: Z+ && Key:
Jog: A- && Key:
Jog: A+ && Key:
Jog: B- && Key:
Jog: B+ && Key:
Jog: C- && Key:
Jog: C+ && Key:
Jog: Stop X
Jog: Stop Y
Jog: Stop Z
Jog: Stop A
Jog: Stop B
Jog: Stop C
Jog: Shift Set
Jog: Shift Clear
Jog: Shift Toggle
Jog: Ctrl Set
Jog: Ctrl Clear
Jog: Ctrl Toggle
Jog Speed Override: inc
Jog Speed Override: dec
Key Press:
Key Release:
(Dlg)Key Press: Shift
(Dlg)Key Release: Shift
(Dlg)Key Press: Up
(Dlg)Key Press: Down
(Dlg)Key Press: Left
(Dlg)Key Press: Right
(Dlg)Key Press: Escape
(Dlg)Key Press: Enter
(Dlg)Key Press: Dot
(Dlg)Key Press: Delete
(Dlg)Key Press: Backspace
(Dlg)Key Press: 0
(Dlg)Key Press: 1
(Dlg)Key Press: 2
(Dlg)Key Press: 3
(Dlg)Key Press: 4
(Dlg)Key Press: 5
(Dlg)Key Press: 6
(Dlg)Key Press: 7
(Dlg)Key Press: 8
(Dlg)Key Press: 9
Move to Toolpath
Parking Position: Save
Parking Position: Move To
Pendant: Axis (*)
Pendant: Mul (*)
Pendant: Wheel CW
Pendant: Wheel CCW
Pendant: Mul increment
Pendant: Mul decrement
Pendant: Axis change+
Pendant: Axis change-
Pendant0: x0.001
Pendant0: x0.01
Pendant0: x0.1
Pendant0: x1
Pendant0: Axis Off
Pendant0: Axis X
Pendant0: Axis Y
Pendant0: Axis Z
Pendant0: Axis A
Pendant0: Axis B
Pendant0: Axis C
Pendant: Work Coordinate Half
Pendant: Work Coordinate Reset
PLC: Run procedure
PLC: Run external unit procedure
Run Numpad:
Show: Pendant control widget
Select Axis
Show: MDI widget
Show: Config widget
Show: Editor widget
Show: Work widget
Show: Library Shape widget
Show: Diagnostic widget
Show: User widget
Show: Centring widget
Show: Rotation widget
Show: Rotation tab
Show: Saw Cutting widget
Show: Log widget
Show: Report widget
Show: Support widget
Show: Custom widget by name
Speed Override: inc
Speed Override: dec
Speed Override: Set %
Spindle Speed: inc
Spindle Speed: dec
Spindle Speed: Set
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 Spindle CCW On/Off
Toggle Constant Velocity (CV) On/Off
Toggle Virtual Keyboard
Toggle: Custom widget by name
View: Zoom In
View: Zoom Out
View: Fit to Window
Work Coordinate: Set
Work Coordinate: Reset
Work Coordinate: 1/2

Gamepad

Hotkeys

Hardkeys

Hardware

Common Hardware Settings

  • Output bits inversion - any of output bits 0…63 can be inverted by setup checkbox
  • Input bits inversion - any of input bits 0…63 can be inverted by setup checkbox
  • ADC inputs inversion - any of ADC inputs 0…7 can be inverted by setup checkbox
  • Pulse width - Pulse width for PULSE outputs can be adjusted by changing the combo box value.

Control boards ET6, ET7 -

(A) Combo Box represents motor outputs 0,1,2,3;
(B) Combo Box represents channels 4,5.

Control boards ET1, ET10 -

(A) combo box is used to setup pulse width.
(B) combo box should be set to "0"
  • Pulse width - selection pulses format - either PULSE/DIR or CW/CCW

Encoders

Analogue Closed Loop

Pulse-dir Closed Loop

ET2/ET4

Advanced

Config Manager

(Obsolete settings)

Load default settings

It's possible to select and set to default value some of settings like

  • absolute/incremental programming(absolute)
  • Feedrate dimension (unit/min)
  • Linear programming unit (mm)
  • Some of Tab Widgets visible state (Library, Diagnose, Settings, Editor, ROtate, Curtcharts)

Debug

Enable log of keys pressed by operator.

UI settings

mycnc/mycnc_configuration_dialogs.txt · Last modified: 2018/05/09 17:59 by skirillov