Step-By-Step Machine Connectivity Guideline
This guide describes how to set up 3YOURMIND’s machine connectivity.
- 1 Prerequisites
- 2 1. Obtaining IP address and port
- 3 2. Machine specific connection information
- 3.1 Ultimaker
- 3.2 Octoprint/BigRep
- 3.3 Formlabs Rest API
- 3.4 Carbon3D Rest API
- 3.5 EOS
- 3.6 MT Connect Stratasys
- 3.7 HP
- 3.8 Markforged
- 3.9 Renishaw
- 4 3. Obtain API Token and Agile MES Service ID
- 4.1 API Token
- 4.2 Service ID
- 5 4. Create a configuration
- 5.1 Machines
- 5.2 MES services
- 6 5. Deploy the Aggregator
- 7 6. Activate Machine Connectivity in the Agile MES
Prerequisites
Check which machines are currently supported.
Make sure the current version of MES and the Aggregator package you downloaded are compatible.
Assure that the machines are connected to the network. (LAN / WLAN)
3YOURMIND’s Aggregator must be downloaded and available in the network. Alternatively a cloud version of the aggregator must be enabled. See below for more details.
Access to 3YOURMIND’s Agile MES Admin and Service Panel. (minimum of version 3.14)
Assure that all system requirements are met.
Steps to connect machines:
Gather a list of machines including: IP address and port
Obtain machine specific connection information, i.e. authentication. The information required depends on the machine model.
Obtain API token and Agile MES Service ID.
Configure the Aggregator.
Start the Aggregator.
1. Obtaining IP address and port
Ultimaker
Ultimaker connectivity is achieved through the Ultimaker cluster API. At the moment we do not offer Ultimaker Cloud powered connectivity. The only supported deployment option for reaching Ultimaker printers is Aggregator On Windows.
On the onboard UI of the machine go to System → Network → Connection Status to obtain the IP address and port.
BigRep
On the onboard UI of the machine click on the Settings button in the top right corner of the screen. Click on Printer information to see the IP address and port. Also refer to section two in this BigRep support article.
Formlabs
See the Installation And Usage Instructions manual that came with your machine on how to connect it to the internet.
Create an account on https://formlabs.com and follow the instructions to register the machine with your account.
Carbon3D
Make sure the machine has access to the internet.
Contact Carbon3D to create an account for https://print.carbon3d.com/users/sign_in.
EOS
Access the machine's API documentation at https://si2381/api, replace si2381 with the actual ID of the machine. Navigate to the OPC UA Documentation and look for the Endpoint URL.
You must have purchased the EOSCONNECT Core license (40194). The purchased license will be activated on the machine after its first setup. To acquire additional licenses, or renew existing ones that are about to expire, contact your EOS field service technician.
Stratasys
Open the Stratasys Control Center
Navigate to the Services tab and click on Manage FDM Systems
The IP Address will be in the second column from the right
HP
Either:
Obtain the IP address of the device that is running the HP SmartStream 3D Command Center Server and append the port
8443
.
Or:
Install the HP SmartStream 3D Command Center Client which is able to detect Command Center Servers within the network. The hostname/IP address can be found in the Network connectivity tab.
Renishaw
Once you log into your InfiniAM app you will be redirected to
{base_url}/app/#!/current-status
.Use
{base_url}
asurl
in the configuration.
2. Machine specific connection information
Certain machines require additional information before they can be connected. The highlighted
values mentioned below are needed for the configuration of the Aggregator.
Ultimaker
Option 1:
On the onboard UI of the machine go to System → Network → Connection Status to get the printer name. You will need to enter this name as the
unique_name
during Aggregator configuration.
Option 2:
Navigate to
http://[IP address]:[port]/api/v1/system/hostname
in a web browser.
Example: "ultimakersystem-cc3ad300c4h5a"
Octoprint/BigRep
Navigate to the URL of the machine in a web browser, this should bring up the OctoPrint Settings.
Obtain either the global api key or a user bound api key:
Click on Api in the left menu and note the
Apikey
.Click on Access Control, create a new user or note the
Apikey
of an existing one that has at least STATUS permissions.
Formlabs Rest API
Obtain developer API credentials in the form of
client_id
andclient_secret
by contacting Formlabs at gtl@formlabs.com.Note the
username
andpassword
of your https://formlabs.com account.
Carbon3D Rest API
Generate an API Key at https://print.carbon3d.com/api_keys by clicking the Create API Key button. This will automatically download a
secret.json
file.The
unique_name
of the machine is displayed as serial number on https://print.carbon3d.com/queue. In this example it is 2B001W.It is also visible on the screen of the machine.
EOS
Obtain
username
andpassword
at https://si2381/gui/auth, replace si2381 with the actual ID of the machine. This page is secured with a login and you will need to use your EOScada credentials to access it. Only EOScada credentials that have the role of Supervisor can add new clients.
MT Connect Stratasys
Obtain a (free of charge) MTConnect license from Stratasys support. They will need your machine’s serial number.
Install the license file provided by Stratasys according to their instructions.
HP
No specific information is needed.
Markforged
Create an API token. See https://www.eiger.io/developer#section/Getting-Started for instructions.
Use the API Access Key as
username
and the API Secret Key aspassword
in the below configuration.
Renishaw
Obtain an account with API access rights on your InfiniAM instance.
Use the Email address as
username
together with yourpassword
in the below configuration.
3. Obtain API Token and Agile MES Service ID
API Token
Setup a user
Login to the 3YOURMIND Platform as a user that has access to the organisation and admin panel.
Go to User Panel > Users.
Click on Invite User.
Fill it with those infos (Make sure that “Send invitation via E-Mail…” is unchecked):
(The E-Mail Address does not need to exist)
Click on Save.
Provide access to the organization's fulfillment partners
Go to the 3YOURMIND admin panel.
Go to Fulfillment partner.
Open each service under the Fulfillment partner List.
Add the user you created to the list of users.
Click on Save.
Create API token
Go back to the homepage of the admin panel.
Go to Users under Authentication and Authorization.
Search for the user you created.
Click on Create Token.
Note that this is sensitive information.
Service ID
Login to the 3YOURMIND Platform with a user that has access to the service panel.
Option 1:
Visit the dashboard of the service panel
The number in the URL represents the service id. E.g. https://[your-domain]/service-panel/1/dashboard/ (service
id
would be "1")
Option 2:
Visit https://[your-domain]/api/v2.0/service-panel/services/.
Note the
id
of the service.
4. Create a configuration
Create a text file with the content as shown below. The file must follow the JSON notation (with comments). We recommend using a text editor like Visual Studio Code or Notepad++.
{
"machines": [
// ... please visit the machine configuration pages below for details
],
"mes_services": [
{
"id": 1,
"url": "https://print.3yourmind.com/api/v2.0/machine/730/",
"token": "28c1610a1240ecc5e9eae9b2e3a0554e64e8eeaf"
}
],
"aggregator_id": "my aggregator"
}
If you are planning on deploying our Aggregator on a Windows server then you can use the config.sample.json that come with the download as a basis for your configuration.
Machines
In the machine section, you will need to configure the URL(s) of the machine(s), give them a name of your choice, define their type, and provide a list of mes_service
identifiers you want to send data to. Please refer to the tables below to see the configuration details of our supported machines/interfaces:
BigRep PRO Machine Configuration
Carbon3D Machine Configuration
EOS Connect Machine Configuration
Formlabs Machine Configuration
Markforged Machine Configuration
MTConnect Machine Configuration
Octoprint Machine Configuration
Renishaw Machine Configuration
Ultimaker Machine Configuration
MES services
Each mes_service
contains the Agile MES URL, a service ID and an API token. The following data must be set:
id
: This identifier is used to match Agile MES services and machines within the config.json. You can use any positive number, as long as it is unique.url
: This is the Agile MES URL in the formathttps://[your-domain]/api/v2.0/machine/[service ID]
token
: This is the API token of the user in the 3YOURMIND software created in step 3.
Example:
with 730
as serviceId
:
{
"id": 1,
"url": "https://print.3yourmind.com/api/v2.0/machine/730/",
"token": "28c1610a1240ecc5e9eae9b2e3a0554e64e8eeaf"
}
5. Deploy the Aggregator
For shared-cloud customers
Aggregator On Windows is the only supported option for shared-cloud customers.
For dedicated-cloud customers
Aggregator On Windows covers all connectivity cases, but requires manual installation and maintenance.
Aggregator In Docker is a low maintenance option that can be used if all machines have an internet connection and a cloud API. Reach out to our customer support team to enable the Aggregator for your deployment.
For on-premise customers
Aggregator In Docker is part of our installation package and is the recommended option if the 3YOURMIND MES and all machines are in the same network.
Aggregator On Windows covers all connectivity cases, but requires manual installation and maintenance.
6. Activate Machine Connectivity in the Agile MES
Login to the 3YOURMIND Platform with a user that has access to the Service Panel. If you do not have access to the service panel, please look at Service Panel.
Open the Service Panel.
Go to Settings > Workstations.
Select the workstation that the machine should get connected to.
Select the machine in the Machine Connectivity section.
Click on Connect Machine.