Softing edgePlug SINUMERIK CNC User Guide
ಜಾಹಿರಾತು
ಜಾಹಿರಾತು
User Guide
edgePlug SINUMERIK CNC
Version: EN-032023-1.10
© Softing Industrial Automation GmbH
Disclaimer of liability
The i nforma ti on conta i ned i n thes e i ns tructi ons corres ponds to the techni ca l s ta tus a t the ti me of pri nti ng of i t a nd i s pa s s ed on wi th the bes t of our knowl edge. Softi ng does not wa rra nt tha t thi s document i s error free. The i nforma ti on i n thes e i ns tructi ons i s i n no event a ba s i s for wa rra nty cl a i ms or contra ctua l a greements concerni ng the des cri bed products , a nd ma y es peci a l l y not be deemed a s wa rra nty concerni ng the qua l i ty a nd dura bi l i ty purs ua nt to Sec. 443 Germa n Ci vi l Code.
We res erve the ri ght to ma ke a ny a l tera ti ons or i mprovements to thes e i ns tructi ons wi thout pri or noti ce. The a ctua l des i gn of products ma y devi a te from the i nforma ti on conta i ned i n the i ns tructi ons i f techni ca l a l tera ti ons a nd product i mprovements s o requi re.
Trademarks
SINUMERIK i s a regi s tered ma rk of Si emens AG, Germa ny.
OpenSource
To compl y wi th i nterna ti ona l s oftwa re l i cens i ng terms , we offer the s ource fi l es of open s ource s oftwa re us ed i n our products . For deta i l s s ee https ://opens ource.s ofti ng.com/
If you a re i nteres ted i n our s ource modi fi ca ti ons a nd s ources us ed, pl ea s e conta ct: i nfo@s ofti ng.com
Softing Industrial Automation GmbH
Richard-Reitzner-Allee 6
85540 Haar / Germany https://industrial.softing.com
+ 49 89 4 56 56-340 [email protected]
https://industrial.softing.com/support/support-form
Scan the QR code to find the latest documentation on the product web page under Downloads.
Table of Contents
Table of Contents
...................................................................................... 8
Version EN-032023-1.10
3
Table of Contents
4 Version EN-032023-1.10
Chapter 1 - About this guide
1 About this guide
1.1
Read me first
Please read this guide carefully before using the device to ensure safe and proper use. Softing does not assume any liability for damages due to improper installation or operation of this product.
This document is not warranted to be error-free. The information contained in this document is subject to change without prior notice. To obtain the most current version of this guide, visit the product website .
1.2
Target audience
This guide is intended for experienced operation personnel and network specialists configuring and maintaining field devices in a Siemens network environment. Before installing and operating the edgePlug SINUMERIK CNC make sure that you have read and fully understood the safety requirements and working instructions in this guide.
1.3
Typographic conventions
The following typographic conventions are used throughout Softing customer documentation:
Keys, buttons, menu items, commands and other elements involving user interaction are set in bold font and menu sequences are separated by an arrow
Buttons from the user interface are enclosed in brackets and set to bold typeface
Coding samples, file extracts and screen output is set in Courier font type
Filenames and directories are written in italic
Open Start à Control Panel à Programs
Press [Start] to start the application
MaxDlsapAddressSupported=23
Device description files are located in C:
\<Application name>\delivery\software\Device Description files
CAUTION
CAUTION indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury.
Note
This symbol is used to call attention to notable information that should be followed during installation, use, or servicing of this device.
1.4
Document history
Document version
1.00
1.10
Changes since last version
§ first version
§ support to define own NC and PLC variables in the IIH configurator
Version EN-032023-1.10
5
edgePlug SINUMERIK CNC - User Guide
1.5
Related documentation
The following links direct you to additional product information .
You will find the user manuals and release notes of the Siemens Industrial Edge system in the
Documents section of the Siemens Industrial Edge Hub.
1.6
Document feedback
We would like to encourage you to provide feedback and comments to help us improve the documentation. You can write your comments and suggestions to the PDF file using the editing tool in Adobe Reader and email your feedback to [email protected]
.
If you prefer to write your feedback directly as an email, please include the following information with your comments:
§ document name
§ document version (as shown on cover page)
§ page number
6 Version EN-032023-1.10
Chapter 2 - About edgePlug SINUMERIK CNC
2 About edgePlug SINUMERIK CNC
The Softing edgePlug SINUMERIK CNC is a Linux-based containerized software application running on a Docker engine. It has been designed to stream SINUMERIK 840D CNC data to the Siemens
Industrial Edge applications.
2.1
Intended use
The edgePlug SINUMERIK CNC integrates smoothly into the Siemens Industrial Edge connectivity and are designed to utilize all services and features of the Siemens connectivity suite.
2.2
Features and benefits
§ Access to SINUMERIK 840D CNC machine tool data for the Siemens Industrial Edge
§
No change of CNC program needed
§ No data point configuration needed with pre-defined standard namespace
§ Tight integration into Siemens Industrial Edge
§
Use the IIH configurator to configure the edgePlug connectivity
§ CS Databus Gateway makes the controller data available at the IE Databus
§ Existing applications which use the IE Databus can consume the data provided by the edgePlug without changes
2.3
Technical data
Supported CNCs
Tested with
Siemens SINUMERIK 840D Solution Line, Software Version >=
V2.7
Siemens SINUMERIK 840D Power Line, Software Version >=
V5.3
Siemens Industrial Edge V1.10.3
Siemens Industrial Information Hub V1.4
Siemens IPC227E
Minimal Hardware Requirements 256 MB free disk space, 32 MB RAM
Licensing Over Siemens Industrial Marketplace
Software Siemens Industrial Edge Application
2.4
System requirements
The edgePlug SINUMERIK CNC is a connector for the Siemens Industrial Information Hub. You must have the Siemens Industrial Infomation Hub (IIH) installed on a Siemens Industrial Edge Device to use the edgePlug SINUMERIK CNC.
Version EN-032023-1.10
7
8 edgePlug SINUMERIK CNC - User Guide
3 Installation
The edgePlug SINUMERIK CNC can be purchased and installed over the Siemens Industrial Edge marketplace.
3.1
Prerequisites
To be able to work with edgePlug SINUMERIK CNC you need a Siemens Industrial Edge Hub Account, a Siemens Industrial Edge Management installation and at least one Siemens Industrial Edge device.
Please have a look at the “Industrial Edge Management - Getting Started” manual from Siemens which explains the installation of the Siemens Industrial Edge environment.
3.2
Copying edgePlug to IEM
After you have purchased edgePlug SINUMERIK CNC in the Siemens marketplace check the user manual of the IE Hub for further details on how to copy your edgePlug SINUMERIK CNC to IEM .
1.
Select the edgePlug SINUMERIK CNC app icon.
2.
Select the IEM instances in the displayed dialog to where the app should be copied.
3.
Click Copy latest version to IEM(s) .
The edgePlug SINUMERIK CNC will be installed to the catalog of the IEM.
Version EN-032023-1.10
3.3
Installing edgePlug to IED
1.
Double-click the edgePlug SINUMERIK CNC icon in the catalog of the IEM.
Chapter 3 - Installation
2.
Click [Install] .
3.
Open the to Install App dialog.
4.
Click [Next] on the Configurations page and select the IED to which you want to install the App.
5.
Click [Install Now] to install the App on the device.
Version EN-032023-1.10
9
edgePlug SINUMERIK CNC - User Guide
3.4
Updating edgePlug to IED
If an application is installed and you want to update to a new version of the product, do the following:
1.
Double-click the edgePlug SINUMERIK CNC icon in the catalog of the IEM.
2.
Click [Install] .
3.
Click [Update] on the Configurations page.
4.
Click [Install] on the popup page.
10 Version EN-032023-1.10
Chapter 3 - Installation
3.5
Physical connection to SINUMERIK 840D controller
The SINUMERIK 840D variants offer two types of physical connection. SINUMERIK 840D SL variant has
3 Ethernet interfaces while SINUMERIK 840D PL variant only provides MPI access.
3.5.1
SINUMERIK 840D SL
§ Ethernet interface X120 for the device connection to HMIs and keyboards
§ Ethernet interface X130 for the company network
§
Ethernet interface X127 for service purposes
Version EN-032023-1.10
11
edgePlug SINUMERIK CNC - User Guide
12
Ethernet interface Description
X120
X127
X130
This interface is used for connecting the automation network
(operator panel interface). The interface is not isolated by a firewall.
Ideally, the Softing dataFEED edgeConnector 840D should therefore be operated using this interface.
This interface uses the fixed IP address 192.168.214.1. For connecting to the machine network the gateway then should be configured using a fixed IP address as well(e.g. an IP address higher than
192.168.214.250).
This interface serves exclusively as a service socket (service interface). It cannot be used for connection purposes.
This interface connects the controller to the factory network
(company Ethernet).
This interface can be used as an alternative interface for connecting the dataFEED edgeConnector 840D. Here, however, the NCU firewall
(port TCP/102) has to be enabled to allow for SIMATIC S7 communication.
The Softing dataFEED edgeConnector 840D uses the SIMATIC S7 communication protocol (TCP/102) of
SINUMERIK 840D SL. By default, this protocol is available at the X120 interface. Alternatively, it can be enabled for the X130 interface.
The host PC running the dataFEED edgeConnector 840D therefore needs either a physical connection to the X120 interface and a unique IPv4 address within the corresponding network or a physical connection to the X130 interface, a unique IPv4 address within the corresponding network as well as the SIMATIC S7 communication protocol explicitly enabled for this interface.
Version EN-032023-1.10
Chapter 3 - Installation
3.5.2
SINUMERIK 840D PL
As the SINUMERIK 840D PL does not have an Ethernet interface, a D-Sub 9 connector is required for connectivity purposes to map the SINUMERIK 840D PL-specific communication to Ethernet communication.
The Softing product echolink S7-compact supports the PG/MPI to Ethernet conversion. The Ethernetto-MPI converter translates the RFC-1006 TSAP addresses to MPI addresses. As a result the default
SINUMERIK 840D PL MPI addresses are translated into the following TSAP settings:
§ TSAP NCK (powerline): 03 03
§
TSAP PLC (powerline): 03 02
It must be ensured that the SINUMERIK 840D PL has been switched on and its communication settings are correct. Ensure that a valid MPI address is assigned and that it is not assigned twice in the configuration. Individually configured addresses can be determined by checking the hardware configuration of the SIMATIC STEP 7 project. As MPI address 30 is typically not used it can be assigned toecholink S7-compact.
Ethernet interface
X122
X101
Description
This interface is used for connecting a programming or remote maintenance device (PG interface) and is recommended for the echolink S7-compact. It requires its own 24 V power supply, since the connector X122 does not provide any voltage.
If a connector is connected echolink S7-compact can be plugged on top or in between.
It is used for connecting the control panel/operating panel (control panel interface) and is not recommended for communication via echolink S7-compact .
Version EN-032023-1.10
13
edgePlug SINUMERIK CNC - User Guide
Configure echolink S7-compact
The echolink S7-compact configuration is performed in the appropriate configuration page (see the figure below).
The important echolink S7-compact settings include:
Variable
IP Address
Baudrate
Own Station Address
Set Default Bus
Parameter
Description
Address for reaching echolink S7-compact.
The IP address is freely selectable (e.g. 192.168.214.XXX), but has to be located in the same network as the MACHINE network of dataFEED edgeConnector 840D.
The transmission speed has to be set to 187.5 kBit/s.
MPI address of echolink S7-compact.
Important : This address must not be used by another station.
Select MPI and use the default parameters.
14 Version EN-032023-1.10
Chapter 4 - Configuration
4 Configuration
4.1
Prerequisites
§
The IED along with the installed edgePlug SINUMERIK CNC is connected over Ethernet to a
SINUMERIK 840D CNC controller.
4.2
IIH Configurator
1.
Click the Apps page i n the user interface of the IED to run the IIH configurator .
The browser will open a new tab displaying the configurator.
2.
See the Connector Configuration page for a list of installed and running connectors.
3.
Select the edgePlug SINUMERIC CNC.
4.2.1
Data source configuration
1.
Open the Tags tab of the edgePlug SINUMERIK CNC.
2.
Click Add Data Source .
3.
See the Connector Configuration page for a list of installed and running connectors.
4.
Enter the data source connection parameters into the Add Data Source dialog fields.
5.
Click [Save] .
Version EN-032023-1.10
15
edgePlug SINUMERIK CNC - User Guide
16
Field
PLC Type
Name
IP Address or hostname
Enable NCU Alarm
NCK Tooling Access
Log Level
Description
840D SL for SINUMERIK 840D Solution Line controllers
840D PL for SINUMERIK 840D Power Line controllers
Name of the connection used within the IE applications
The IP address or hostname of the SINUMERIK CNC
Enable the monitoring of NCU alarms.
This creates an additional communication load on the CNC.
Enable the monitoring of NCU tooling data.
This creates an additional communication load on the CNC.
The level of generated logs
0 = Only Error logs
1 = Error and Warning logs
2 = Error, Warning and Information logs
3 = Error, Warning, Information and Debug logs
6.
Select the data source and press [Deploy] to write the configuration to the edgePlug SINUMERIK
CNC.
Version EN-032023-1.10
Chapter 4 - Configuration
4.2.2
Data point configuration
840D SL
All accessible data points of the default configuration are listed below the connection on the "Tags" page. You can add your own data points. However, by adding your own data points all default data points will be removed.
840D PL
All accessible data points of the default configuration are listed below the connection on the "Tags" page. You can add your own data points. However, by adding your own data points all default data points will be removed.
Note
To see the data points after the configuration of the data source, close the IIH
Configurator and reopen it after 30 seconds.
Note
With the V1.2 of the IIH Configurator the configuration of the Databus Gateway is only possible for one connector.
Note
If you wish to see that the default data points have been removed after adding your own data points, close the IIH Configurator and reopen it.
Version EN-032023-1.10
17
edgePlug SINUMERIK CNC - User Guide
4.2.3
NC data points
4.2.3.1
Default NC data points
§ Ch1_ProgPfadName: Workpiece and program name
§
Ch1_LineNumber: Line number of current NC instruction (start:1)
§ Ch1_LineContent: Part program blocks from the current operation
§
Ch1_ToolIdent: Identifier of active tool
§ Ch1_actSpeed_S1: Spindle speed, actual value
§ BAG1_opMode: Active mode
§
Ch1_actOverride: Interpolation feedrate, override
§ Axis n o Ch1_actFeedRate_AXn: Actual value of axis-specific feedrate o Ch1_actPos_MCS_AXn: Act tool base position o Ch1_actPos_WCS_AXn: Act tool base position o Ch1_lag_AXn: Following error
§ Drive n o Vn_Drv_op_display_r0002: Drive operating display / Drv op_display o Vn_n_act_smooth_r0021: CO: Actual speed smoothed / n_act smooth o Vn_Vdc_smooth_r0026: CO: DC link voltage smoothed / Vdc smooth o Vn_Mod_depth_smth_r0028: Modulation depth smoothed / Mod_depth smth o Vn_Iq_act_smooth_r0030: Current actual value torque-generating smoothed / Iq_act smooth o Vn_M_act_smooth_r0031: Actual torque smoothed / M_act smooth o Vn_Mot_temp_r0035: CO: Motor temperature / Mot temp
18 Version EN-032023-1.10
Chapter 4 - Configuration
4.2.4
PLC data points
4.2.4.1
Own NC data points
If you do not enter any NC data point, the edgePlug SINUMERIK CNC app will automatically provide a default-set of NC data points. But if at least one user defined data point is configured, then the default-set of NC data points is disabled.
To use none-default NC data points, an .awl file needs to be created with the desired data points.
The .awl
file is created by the Siemens NC-VAR-Selektor software, which is part of SINUMERIK
Toolbox (6FC5851-1XC45-4YA8). The content of a generated .awl
file has the following structure:
=========
DATA_BLOCK DB 120
VERSION : 0.0
STRUCT
Ch1_ProgPfadName:
STRUCT
SYNTAX_ID : BYTE := B#16#82;
bereich_u_einheit : BYTE := B#16#41;
spalte : WORD := W#16#10;
zeile : WORD := W#16#1;
bausteintyp : BYTE := B#16#7D;
ZEILENANZAHL : BYTE := B#16#1;
typ : BYTE := B#16#13;
laenge : BYTE := B#16#A0;
END_STRUCT ;
Ch1_LineNumber:
STRUCT
SYNTAX_ID : BYTE := B#16#82;
bereich_u_einheit : BYTE := B#16#41;
spalte : WORD := W#16#9;
zeile : WORD := W#16#1;
bausteintyp : BYTE := B#16#7D;
ZEILENANZAHL : BYTE := B#16#1;
typ : BYTE := B#16#7;
laenge : BYTE := B#16#4;
END_STRUCT ;
Ch1_LineContent:
STRUCT
SYNTAX_ID : BYTE := B#16#82;
bereich_u_einheit : BYTE := B#16#41;
spalte : WORD := W#16#4;
zeile : WORD := W#16#2;
bausteintyp : BYTE := B#16#7D;
ZEILENANZAHL : BYTE := B#16#1;
typ : BYTE := B#16#13;
laenge : BYTE := B#16#42;
END_STRUCT ;
END_STRUCT ;
BEGIN
END_DATA_BLOCK
==========
Version EN-032023-1.10
19
edgePlug SINUMERIK CNC - User Guide
Where :
§ The NC address definition starts with the name of the data point followed by the double colon (:)
§ followed by the keyword STRUCT
§ followed by the address definition itself
§ ending with the keyword END_STRUCT
How to insert an NCK data point
1. Click [Add tag] in the data point overview of a connection.
2. Enter the name of the data point in the name field of the IIH-configurator.
For example insert Ch1_ProgPfadName from the .awl example above.
20
3. Copy the NCK address beginning with the keyword STRUCT and ending with the END_STRUCT into the text editor.
Version EN-032023-1.10
Chapter 4 - Configuration
4. Enter the NCK address into the address field of the IIH-configurator. Any new line should be automatically removed by this copy&paste operation.
So with the example Ch1_ProgPfadName the content of the address field should look like this:
STRUCT SYNTAX_ID : BYTE := B#16#82; bereich_u_einheit : BYTE :=
B#16#41; spalte : WORD := W#16#10; zeile : WORD := W#16#1; bausteintyp : BYTE := B#16#7D; ZEILENANZAHL : BYTE := B#16#1; typ
: BYTE := B#16#13; laenge : BYTE := B#16#A0; END_STRUCT ;
5. Click [Save] .
6. Select all data points and deploy the connection configuration.
24 on how to do this.
Version EN-032023-1.10
21
edgePlug SINUMERIK CNC - User Guide
4.2.4.2
Default PLC data points
Data point Description
E_NCKalarm
E_ProgRunn
NCK alarm is active
The Sinumerik program is running
E_ProgWait
E_ProgStop
The Sinumerik program is waiting
TheSinumerik program is stopped
E_ProgInterrupt The Sinumerik program is interrupted
E_ProgrAborted The Sinumerik program is aborted
4.2.4.3
Own PLC data points
If you do not enter any PLC data point, then the edgePlug Sinumerik CNC app will automatically provide a default-set of PLC data points. But if at least one user defined data point is configured, then the default-set of PLC data points is disabled.
To use none-default PLC data points, the addresses of the data points need to be provided in DB syntax as shown below:
Alphabetical code of the areas
Data point
AO
P
I or E
Q , A , or O
M or F
DB
DI
Area
Analog Output
Peripheral Addressing
Inputs
Outputs
Marker or Flags
Data Blocks (must be followed by the DB number and an optional dot).
Instance Data Blocks (must be followed by the DB number and an optional dot).
Specifier of the data type
Data type
X
B
C
W
I
R
S
D
DW
DI
Specifier
Boolean
Byte
Char
Word
Integer
Real
String
Double
Double Word
Double Integer
Start address
The numerical start address of the data point within the given area.
22 Version EN-032023-1.10
Bit-number in case of Boolean type
A dot . followed by bit number (0 to 7) in case of Boolean type
Chapter 4 - Configuration
Version EN-032023-1.10
23
edgePlug SINUMERIK CNC - User Guide
4.2.5
Databus gateway
1.
Select the data points you want to make available on the IE Databus.
2.
Double-click each data point you want to make available.
The selected data point will appear with framed dropdown list followed by a checkbox and the icons and .
3.
Tick the checkbox Publish to IE Databus
4.
Choose an Acquisition cycle from the list.
.
5.
Click the green apply icon at the end of the line.
The data point configuration is confirmed. The icons blue checkbox the icon will appear.
and will disappear and instead of the
6.
Select the variables that are to be deployed.
7.
Press [Deploy] .
This will reconfigure and restart the Databus Gateway and will make the data points available on the IE Databus.
24 Version EN-032023-1.10
Chapter 4 - Configuration
Version EN-032023-1.10
25
edgePlug SINUMERIK CNC - User Guide
4.3
Diagnosis
The Softing Support Team will assist you in troubleshooting your edgePlug SINUMERIK CNC.
1.
Open the IIH Configurator and set the Log Level of one of the configured data sources to 3 and deploy it.
This will give you a complete set of diagnostic data.
2.
Contact Softing support and email our team the diagnostics of your edgePlug SINUMERIK CNC.
3.
Open the Apps page.
4.
Click the 3 dots of the edgePlug SINUMERIK CNC and select the Download Logs menu.
The Log file is downloaded to the Downloads folder of your PC.
26 Version EN-032023-1.10
Chapter 5 - Connecting with External Databus
5 Connecting with External Databus
The easiest way to access the data points on the IE Databus is by using External Databus.
5.1
How to configure the External Databus
1.
Download the User Manual of the External Bus by pressing the icon Show Support
Documentation .
The User Manual describes how to configure the External Databus.
2.
Select a user .
Version EN-032023-1.10
27
edgePlug SINUMERIK CNC - User Guide
3.
Select a topic.
4.
Select the required security mechanism.
5.
Define the direction on each topic for communicating between External Databus and IE
Databus.
28
6.
Select the preferred Data Persistency option for your project.
Version EN-032023-1.10
Chapter 5 - Connecting with External Databus
Version EN-032023-1.10
29
edgePlug SINUMERIK CNC - User Guide
5.2
How to connect an MQTT client
You can use a standard MQTT client like MQTTX as shown in the screenshot to connect to the IE MQTT
Connector. The URL for the connection is: mqtt://<IP Address of the IED>:9883
1.
Use the configured user credentials (softing user an password) in the configuration mask.
2.
Subscribe to the „ie/#“ topic tree.
30
You will receive MQTT messages on the following topics:
§ ie/s/j/simatic/v1/edgeplug-sinumerik-cnc-20/status
Status messages of the Databus Gateway regarding the edgePlug connector
§ ie/m/j/simatic/v1/edgeplug-sinumerik-cnc-20/dp
Metadata of the Databus Gateway for the edgePlug connector. This includes information about subscribed data points
§ ie/d/j/simatic/v1/edgeplug-sinumerik-cnc-20/dp/r/<Connection Name>
Change notifications for the values of the subscribed data points
Version EN-032023-1.10
6 Glossary
Terms & Abbreviations
CNC
IED
IEM
MQTT
OPC UA
PL
PLC
SaaS
SL
Definition
Computerized Numerical Control
Industrial Edge Device
Industrial Edge Management
Message Queuing Telemetry Transport
OPC Unified Architecture
Power Line
Programmable Logic Controller
Software as a Service
Solution Line
Chapter 6 - Glossary
Version EN-032023-1.10
31
Softing Industrial Automation GmbH
Richard-Reitzner-Allee 6
85540 Haar / Germany https://industrial.softing.com
+ 49 89 45 656-340
+ 49 89 45 656-488 [email protected]
ಡೌನ್ಲೋಡ್ ಮಾಡಿ
ಜಾಹಿರಾತು