forum.cncdrive.com • View topic - UCCNC test releases posted in this thread (2024)

UCCNC version 1.2114 is ready for testing.
The download link:

http://www.cncdrive.com/UCCNC/setup_1.2114.exe

Bug fixes and changes:

UCCNC core:
- New USB driver for UC100 (original one had digital signature problems for new Windows 10 security)
- M30 macro was not executed on M30 g-code file end code.
- MDI had some problems if line numbers were inserted into the code, fixed.
- Mandatory homing option was implemented. If enabled then no motion is generated until the machine gets homed.
- Loadprofile function had problems, now it restarts the software when a new profile is loaded to fix the issues.
- M47 macro call was added which calls the M47 macro on M47 code.
- Few minor changes in the plugin interface, few new functions were added.

Plugins:

Auto backup profile 1.3
- New Informplugin function: "backup:<file>" to create a backup of any file.
- New file (.Restore.ini) in backup folder will be used for automatic restore. (Prepared only.)
- Minor fixes.

C76 Fault Reporting
- Minor fixes.

CNC4PC Pendant (new)

Console 2.5
- Right-click menu.
- Filter by source if lines begin with "<source>".
- Debug switch for plugins. New plugin template has the framework for debugging.
- Full window.
- Save position and size of debug window.
- Selectable opacity.
- System info.
- Quick menu for selected line if line begins with "<source>".

Fault signals 1.4
- Minor fixes.

LightBurn loader 1.0 (new)
- New plugin to convert LightBurn files for UCCNC compatibility.

Messages 1.1 (new)
- New plugin to show messages or dialogs.
- Window and font is scaled up on high resolution displays.
- See sample macro for details.

Modbus master 1.5.3
- Fixed Informplugin function CheckAllConnections: with disabled connection/function the result was bad.
- Browse existing serial connections.
- Minor fixes.

Pin mapping 2.7.3
- Spindle index pin was missing, fixed
- "CurrHi-Pre-1.21xx" pin added as warning for old settings (Stepcraft).
- Minor fixes.

Probing 1.3.4
- Toggle type button 858 (Goto ref.)
- Reference current as workpiece: G10 L2 P0 fixed.
- New: an offset can be set for tool numbers with MobileToolOffset<tool>=X,Y,Z,A,B,C in the profile. Must be set manually editing the profile.
- FixtureChangedEvent now updates FixtureNo (G10 L2 P0 problem).
- Disabled auto layer change for Confirm/Pause if not the standard screensets are in use.
- New: SaveProbeSettings button 885 (not used by default).
- New: LED 310 ProbeInProgress.
- Minor fixes.

On-screen keyboard 2.1
- ? added to text input
- Password input (informplugin: password).
- Shift/mode button added.
- [UCCNC_OSK]/TextFields=<fieldnumber>[,<fieldnumber>...] added to set field(s) as textfield.
- [UCCNC_OSK]/MDIFields=<fieldnumber>[,<fieldnumber>...] added to set field(s) as MDI type.
- Switchable keyboard click for touchscreen.
- In UCCNC_OSK.ini: [OSK]/ClickTone=<frequency>,<lenght in ms> added.
- Multi-display support.

UCR201 1.8
- Enable rewind with stop checkbox.
- Safety button mode to select MPG/keys/all.
- Tabbed window.
- Double-click on function button fields (F1..F5) to pop up a list of functions.
- Probe button can be configured to call M31 or Start probing.
- MPG mode button function can be selected (velocity+step/velocity/step).
- Axis button function can be selected (axis+FRO+SRO/axis).
- Holding the Axis button the axis/FRO/SRO can be selected with the MPG.
- SafeZ button now calls screen button 216 (which calls the M216 macro).
- [UCR201]/SafetyButtonLED=<LED number> can be set in profile to show safety button state.
- GetUSBDevice exception handled.
- Minor fixes.

WHB04BPendant (new)

Sample macro to test the Messages plugin:

Code: Select all
// ================================================================================================
// Test and demo macro for Messages plugin
// ================================================================================================

bool isRunning = false;
DialogResult result;
object returnValue;

// First check if the plugin is running

returnValue = exec.Informplugin("Messages.dll", (object)null);
if (returnValue is bool) isRunning = (bool)returnValue;
if (!isRunning)
{
// If the plugin is not running then exit macro with error message in status
exec.AddStatusmessage("Messages plugin is not running");
return;
}

// Call samples: (object)"dialogtype:text" where
// dialogtype can be OK, OKCancel, YesNo and YesNoCancel (not case sensitive)
// dialogtype can be started with ! for warning, # for error, * for close on reset
// text can contain title followed by | and more lines separated by \n or [nl]

returnValue = exec.Informplugin("Messages.dll", (object)"OK:Hello test!");
if (returnValue is DialogResult)
{
result = (DialogResult)returnValue;
exec.AddStatusmessage("You selected " + result.ToString());
}

returnValue = exec.Informplugin("Messages.dll", (object)"!OKCancel:Warning title|Hello test!");
if (returnValue is DialogResult)
{
result = (DialogResult)returnValue;
exec.AddStatusmessage("You selected " + result.ToString());
}

returnValue = exec.Informplugin("Messages.dll", (object)"#*YesNo:More lines with error|Hello test!\nSecond line\n(This will close on reset)");
if (returnValue is DialogResult)
{
result = (DialogResult)returnValue;
exec.AddStatusmessage("You selected " + result.ToString());
}

returnValue = exec.Informplugin("Messages.dll", (object)"YesNoCancel:Much more lines|Hello test![nl]2[nl]Third line[nl]4[nl]Plus one...[nl]6[nl]

7[nl]8[nl]9[nl]10");
if (returnValue is DialogResult)
{
result = (DialogResult)returnValue;
exec.AddStatusmessage("You selected " + result.ToString());
}

returnValue = exec.Informplugin("Messages.dll", (object)"OK:Hello test! This is a very long line with a lot of blah-blah to resize the window.");
if (returnValue is DialogResult)
{
result = (DialogResult)returnValue;
exec.AddStatusmessage("You selected " + result.ToString());
}

// You can display messages from the profile (also system messages from the Messages section), e.g.:
// [MsgTest]
// Msg1="Write text in quotes...|... to prevent problems in profile![nl]More lines are supported!"

returnValue = exec.Informplugin("Messages.dll", (object)"!OK:[MsgTest:Msg1]");
if (returnValue is DialogResult)
{
result = (DialogResult)returnValue;
exec.AddStatusmessage("You selected " + result.ToString());
}

// Sample for YesNo with code

returnValue = exec.Informplugin("Messages.dll", (object)"!YesNo:Warning! File changed|Your file has been changed.\nDo you want to save?");
if (returnValue is DialogResult)
{
result = (DialogResult)returnValue;
if (result == DialogResult.Yes)
{
exec.AddStatusmessage("You selected Yes");
// Do your stuff here to save the file
}
else
{
exec.AddStatusmessage("You selected No: game over, haha!");
}
}

forum.cncdrive.com • View topic - UCCNC test releases posted in this thread (2024)
Top Articles
Latest Posts
Article information

Author: Jonah Leffler

Last Updated:

Views: 6268

Rating: 4.4 / 5 (65 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Jonah Leffler

Birthday: 1997-10-27

Address: 8987 Kieth Ports, Luettgenland, CT 54657-9808

Phone: +2611128251586

Job: Mining Supervisor

Hobby: Worldbuilding, Electronics, Amateur radio, Skiing, Cycling, Jogging, Taxidermy

Introduction: My name is Jonah Leffler, I am a determined, faithful, outstanding, inexpensive, cheerful, determined, smiling person who loves writing and wants to share my knowledge and understanding with you.