Indice

Plugin Industry 4.0

Dear Customer,
To meet the requirements of Industry 4.0 a dedicated plugin for RosettaCNC has been developed.
With this plugin your CNC can:

Using the OPC-UA protocol almost all CNC data can be read from a standard OPC-UA client.

Need help ?
Write in the forum on the www.rosettacnc.com site or send an email to the following address: support@rosettacnc.com, the RosettaCNC development team will be happy to answer you in a short time.


All rights reserved on this manual. No part of this document can be copied or reproduced in any form without prior written authorisation. RosettaCNC Motion® does not insure or guarantee its contents and explicitly declines all liability related to the guarantee of its suitability for any purpose. The information in this document can be changed without notice. RosettaCNC Motion® shall not be held liable for any error or omission in this document. RosettaCNC Motion® is a registered trademark.

1. Settings overview

The plugin works in background and can be executed automatically at startup.
Its settings can be controlled clicking on the tray icon.

After clicking on Settings the a window with multiple tabs will be displayed.

Server tab

The tab contains the OPC-UA server information.

(1) We have tested RosettaCNC OPC-UA server with a few client such as the generic one provided for free by Unified Automation https://www.unified-automation.com/downloads/opc-ua-clients.html.

Board tab

The tab contains the information about your RosettaCNC board.
Please consider that the IP Address of your RosettaCNC board should be set for the plugin to work properly, while the name can be freely chosen and will be used for email notifications and for the OPC-UA Address Space.

Files tab

The tab contains the files settings:

Log tab

The tab contains two buttons to handle the log file.
RosettaCNC log file is a CSV file that is used to store all the actions performed by your CNC.

The file has the following format

Date 		; Time 		; Category 	; Event 		; Info
12.04.2019 	; 10:30:15 	; Info		; Logger switched on
12.04.2019 	; 10:30:17 	; Warning 	; CNC Board connected
12.04.2019 	; 10:30:19 	; Info 		; Machine state INIT 	;
12.04.2019 	; 10:30:22 	; Info 		; Machine state IDLE 	;
12.04.2019 	; 10:31:40 	; Info 		; Machine state RUN 	; program name atomic_circle.ngc ; estimated duration 00:00:30
11.04.2019 	; 13:16:25 	; Info 		; Machine state PAUSE 	;
11.04.2019 	; 13:16:26 	; Info 		; Machine state RUN 	; program execution continue
12.04.2019 	; 10:32:11 	; Info 		; Machine state IDLE 	; program atomic_circle.ngc completed successfully
11.04.2019 	; 15:36:32 	; Warning 	; CNC Board disconnected

Notifications tab

The tab contains the notifications settings.
The user can simply type its own address in Recipient Addresses and test the notifications immediately clicking on Send test email.
Example: to send every notification to two addresses set Recipient Addresses to Mario <mariocnc@gmail.com>, John <john.smith@yahoo.com>

The default notifications@rosettacnc.com address is provided but the user can freely use a private one.
To use a private address the following data should be set:

2. OPC-UA Address Space Overview

The OPC-UA Address Space represents the set of objects and related information that the OPC-UA server makes available to clients.
RosettaCNC OPC-UA server publishes the following variables: Program related variables

General variables

(1) Methods are showed as pink buttons on UaExpert client.

How to connect using UaExpert

Open UaExpert application Right click on “Servers” and then on “Add…”

Click on “Double click to Add Server …”

Type the address displayed on the first tab of the plugin settings (see above).

Type your credentials or chose the anonymous access

To connect to the client:

  1. double click on the desired client
  2. ignore possible warning windows, clicking on accept
  3. chose the communication mode and type your credentials or chose the anonymous access

3. FTP/FTPES Support

The folder Shared programs directory specified Files Tab can be reached from an FTP client installed in another computer.
This folder has the following structure:

How to send a G-code program using FileZilla FTP

Filezilla provides a popular FTP client that can be downloaded from https://filezilla-project.org/download.php?type=client.

In order to connect to RosettaCNC from another PC using a clint such as Filezilla you need to set:

4. RosettaCNC Widget

RosettaCNC Plugin uses the secure industrial protocols OPC-UA and FTPES to be able to communicate with all compatible clients.
To test the communication or when a complete integration is not needed it is possible to use the RosettaCNC Widget to communicate between the CNC and every Windows PC connected to the local industrial network.