tng:settings:settings-inputoutput_spindle

Input/Output - Spindle

This group of settings configures output pins for Spindle and Coolant control and spindle synchronization.

For spindle control, user can set CW/CCW or ON/OFF & Direction functionality.

In a case of CW/CCW, controller output pins will alternate between CW(M3) or CCW pin(M4). This is for spindle drives(VFD's) that use separate inputs for CW and CCW control.

With ON/OFF and Direction, next to output pin for spindle ON, additionally Direction pin will be activated in a case of M4.

Output Pin – CW

Assigns output pin for spindle clockwise control (g-code commands M3/M5) . Digital output pin is selected trough drop down menu.

Output Pin – CCW

Assigns output pin for spindle counter clockwise control (g-code commands M4/M5). Digital output pin is selected trough drop down menu.

Output Pin – ON/OFF

Assigns output pin for spindle ON/OFF control (g-code commands M3/M5) . Digital output pin is selected trough drop down menu.

Output Pin – Direction

Assigns output pin for spindle direction control (g-code commands M4/M5). Digital output pin is selected trough drop down menu.

Output Pin – Speed

Dedicated controller output pins can generate Frequency, PWM and RC servo signal.

Speed

Min

Inserted value is min value of spindle RPM. Meaning, when g-code e.g. S1200 will be executed in program, controller speed pin will be generating min value of either output frequency, PWM modulated signal or RC Servo signal.

Max

Inserted value is max value of spindle RPM. Meaning, when g-code e.g. S24000 will be executed in program, controller speed pin will be generating max value of either output frequency, PWM modulated signal or RC Servo signal.

Delay

Start Delay

Delay period allowing the spindle to ramp up to its RPM value. This value is in seconds.

Stop Delay

Delay period allowing the spindle to stop rotating. This value is in seconds.

Frequency

Use Frequency

When enabled, Speed Pin will generate frequency signal. Freq. Min, Freq. Max and Step Width parameters will be considered.

Freq Min

Frequency value of generated speed signal when S gcode Min. value is used in program.

Freq Max

Frequency value of generated speed signal when S gcode Max. value is used in program.

Step Width

Entered value is pulse width of generated speed signal. When set at 0, duty cycle of generated speed signal is at 50%.

PWM

When enabled, Speed Pin will generate PWM signal.

Frequency

Value of PWM base frequency.

RC

Use RC Servo

When enabled, Speed Pin will generate RC Servo signal. RC Servo Lo-Hi parameters will be considered.

RC Servo Lo

Minimum value of RC servo speed range.

RC Servo Hi

Encoder

These settings apply to encoder connected to CTRL pins: EN4A and EN4B for Mk3 controller and ENC A and ENC B for Mk3/4 controller.

PPR

PPR value of your encoder. We recommend 100 PPR encoder for best results.

Invert: Inverts encoder inputs

Reverse: Enables reverse direction of encoder.


Index PPR

Number of index signals per one revolution of encoder.

Invert: Inverts Index input


Debounce

Debounce time value for encoder signals.

Synchronisation

Enable

Enables synchronisation


Spindle RPM

As Set: Value of spindle speed (RPM) used for synchronisation move speed will be the one using current spindle speed value.

From Index: Value of spindle speed (RPM) used for synchronisation move speed will be calculated using Index signal.

From Encoder: Value of spindle speed (RPM) used for synchronisation move speed will be calculated using Encoder signals.


Sync Signal

Sync Signal: If None is enabled, then machine does not use neither, index signal or encoder signals for spindle synchronisation. Sync signal is not used.

From Index: Index signal will be used for determining starting point of first synchronisation move, e.g. threading cycle.

From encoder: Encoder signals will be used for determining starting point of first synchronisation move, e.g. threading cycle.

tng/settings/settings-inputoutput_spindle.txt · Last modified: 2024/01/23 12:44 by andrej

Page Tools