Siemens SINUMERIK: Difference between revisions

From Knowledge Base
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 14: Line 14:
# Check the "Set" box for the option if it is not already checked and then press the Back button at the bottom right.[[File:OPC-UA enabled.webp|none|frame]]
# Check the "Set" box for the option if it is not already checked and then press the Back button at the bottom right.[[File:OPC-UA enabled.webp|none|frame]]
# If the option was not already enabled, restart the control.
# If the option was not already enabled, restart the control.
=== Configuring the OPC-UA server ===
TK


== OnTakt configuration ==
== OnTakt configuration ==
Line 23: Line 20:
* '''System:''' OPC-UA
* '''System:''' OPC-UA
* '''Model:''' SINUMERIK 840D sl
* '''Model:''' SINUMERIK 840D sl
* '''NC URL:''' <code>opc.tcp://IP:PORT</code>, where <code>IP</code> is the IP address of the control and <code>PORT</code> is the configured OPC-UA server port. The port defaults to 4840 if omitted.
* '''NC URL:''' <code>opc.tcp://IP:PORT</code>, where <code>IP</code> is the IP address of the control and <code>PORT</code> is the configured OPC-UA server port. The port defaults to 4840 if omitted. No path is necessary after the port number.
* '''NC authentication:''' <code>username:password</code>, where <code>username</code> and <code>password</code> are the OPC-UA username and password configured in the OPC-UA settings on the control. If this has not been changed, it's probably <code>OpcUaClient:OpcUaClient</code>.
* '''NC authentication:''' <code>username:password</code>, where <code>username</code> and <code>password</code> are the OPC-UA username and password configured in the OPC-UA settings on the control. If this has not been changed, it's probably <code>OpcUaClient:OpcUaClient</code>.


== Part counting ==
=== Variable part counting ===
Instead of using the built-in part counters, OnTakt can also read an R-variable and interpret it as a part counter. This way, the part program can increment the part counter by incrementing an R-variable. For example, the statement <code>R5=R5+1</code> increments R-variable number 5.
[[Category:OnTakt User Guide]]
[[Category:OnTakt User Guide]]

Latest revision as of 17:53, 29 October 2024

Control configuration

Enabling the OPC-UA server

  1. Press the MENU SELECT key.
  2. Switch to the the Setup interface at the bottom of the screen.
    Setup softkey.webp
  3. Press the softkey page button at the bottom right of the screen.
    Softkey switcher.webp
  4. Open the Licenses softkey.webp window.
  5. Switch to the "All options" tab at the top right.
    License all options.webp
  6. Press the Search > button to the right of the screen.
  7. Enter "OPC" in the search field.
    Search opc.webp
  8. Press OK at the bottom right of the screen.
  9. When "Access MyMachine / OPC UA" is highlighted, press the Cancel button at the bottom right of the screen.
    Search result.webp
  10. Check the "Set" box for the option if it is not already checked and then press the Back button at the bottom right.
    OPC-UA enabled.webp
  11. If the option was not already enabled, restart the control.

OnTakt configuration

Set the following options in the machine setup area:

  • System: OPC-UA
  • Model: SINUMERIK 840D sl
  • NC URL: opc.tcp://IP:PORT, where IP is the IP address of the control and PORT is the configured OPC-UA server port. The port defaults to 4840 if omitted. No path is necessary after the port number.
  • NC authentication: username:password, where username and password are the OPC-UA username and password configured in the OPC-UA settings on the control. If this has not been changed, it's probably OpcUaClient:OpcUaClient.

Part counting

Variable part counting

Instead of using the built-in part counters, OnTakt can also read an R-variable and interpret it as a part counter. This way, the part program can increment the part counter by incrementing an R-variable. For example, the statement R5=R5+1 increments R-variable number 5.