{"id":6051,"date":"2025-11-05T10:55:54","date_gmt":"2025-11-05T09:55:54","guid":{"rendered":"https:\/\/cncgraf.com\/?page_id=6051"},"modified":"2026-02-07T12:27:30","modified_gmt":"2026-02-07T11:27:30","slug":"cnc-milling-machine-siemens-s7-communication","status":"publish","type":"page","link":"https:\/\/cncgraf.com\/en\/cnc-fraese-siemens-s7-kommunikation\/","title":{"rendered":"Connect CNC milling machine with Siemens PLC - Siemens S7 communication"},"content":{"rendered":"<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h1 class=\"wp-block-heading has-text-align-center has-large-font-size\">Connect CNC milling machine with Siemens PLC - Siemens S7 communication<\/h1>\n\n\n\n<p class=\"translation-block\">Our software offers a flexible and powerful interface for <strong>TCP server\/client<\/strong> and <strong>Modbus TCP client<\/strong> communication. This allows you to connect your CNC machine directly to <strong>Siemens PLC<\/strong> - easily, reliably and in real time.<\/p>\n\n\n\n<p class=\"translation-block\">Set-up is particularly simple and takes just <strong>two steps<\/strong>:<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\">1. define data channels<\/h2>\n\n\n\n<p class=\"translation-block\">Using the <strong>administration of the data channels<\/strong> (menu: <em>Extras \u2192 Data channels<\/em>), you can define in just a few steps which information should be sent or received. For example, you can automatically transmit the current X-position of the CNC machine or receive external commands such as \u201eStart job\u201c and execute them immediately <em>(see Fig. 1)<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"233\" src=\"https:\/\/cncgraf.com\/wp-content\/uploads\/2025\/09\/datenkanal.png\" alt=\"\" class=\"wp-image-6055\" srcset=\"https:\/\/cncgraf.com\/wp-content\/uploads\/2025\/09\/datenkanal.png 677w, https:\/\/cncgraf.com\/wp-content\/uploads\/2025\/09\/datenkanal-300x103.png 300w, https:\/\/cncgraf.com\/wp-content\/uploads\/2025\/09\/datenkanal-18x6.png 18w, https:\/\/cncgraf.com\/wp-content\/uploads\/2025\/09\/datenkanal-600x206.png 600w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/figure>\n\n\n\n<p>The following commands are currently available:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Transmit position values of the CNC machine (X, Y, Z, A, B, C)<\/li>\n\n\n\n<li>Send status code of the CNC machine<\/li>\n\n\n\n<li>Send file name<\/li>\n\n\n\n<li>Send G-code line<\/li>\n\n\n\n<li>Send value of a G-code R parameter<\/li>\n\n\n\n<li>Start job on receipt of the value<\/li>\n\n\n\n<li>Stop job on receipt of the value<\/li>\n\n\n\n<li>Execute reference run on receipt of the value<\/li>\n\n\n\n<li>Move to zero point on receipt of the value<\/li>\n\n\n\n<li>Move to parking point on receipt of the value<\/li>\n\n\n\n<li>Execute macro<\/li>\n\n\n\n<li>Receive change of a G-Code-R parameter<\/li>\n\n\n\n<li>Reduce speed in the status bar by 10 %<\/li>\n\n\n\n<li>Increase speed in the status bar by 10 %<\/li>\n\n\n\n<li>Send current speed value of the status bar in per cent<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading has-text-align-left has-large-font-size\">2. Siemens S7 communication (JSON-based)<\/h2>\n\n\n\n<p class=\"translation-block\">Siemens S7 controllers can be connected directly via S7 communication. Data is exchanged via data blocks and is fully JSON-configurable. Ideal for structured automation solutions. Siemens S7 PLC <strong>(S7-200, S7-300, S7-400, S7-1200, S7-1500)<\/strong> are supported.<\/p>\n\n\n\n<p class=\"translation-block\">The function is available from <a href=\"https:\/\/cncgraf.com\/en\/download-cncgraf-cnc-control-software\/\" data-type=\"page\" data-id=\"24\" target=\"_self\">cncGraF version 8.0.108<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-large-font-size\">Set up Modbus TCP Client<\/h3>\n\n\n\n<p class=\"translation-block\">The connection is created in the dialogue <em>\u201eTCP Server\/Client and Modbus TCP Client\u201c<\/em> and the desired data channel is assigned via filters <em>(see Fig. 2)<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"579\" src=\"https:\/\/cncgraf.com\/wp-content\/uploads\/2025\/09\/tcpserver-client-modbus-1024x579.png\" alt=\"\" class=\"wp-image-6056\" srcset=\"https:\/\/cncgraf.com\/wp-content\/uploads\/2025\/09\/tcpserver-client-modbus-1024x579.png 1024w, https:\/\/cncgraf.com\/wp-content\/uploads\/2025\/09\/tcpserver-client-modbus-300x170.png 300w, https:\/\/cncgraf.com\/wp-content\/uploads\/2025\/09\/tcpserver-client-modbus-768x434.png 768w, https:\/\/cncgraf.com\/wp-content\/uploads\/2025\/09\/tcpserver-client-modbus-18x10.png 18w, https:\/\/cncgraf.com\/wp-content\/uploads\/2025\/09\/tcpserver-client-modbus-600x339.png 600w, https:\/\/cncgraf.com\/wp-content\/uploads\/2025\/09\/tcpserver-client-modbus.png 1099w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\"><strong>Highlights<\/strong>:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Simple configuration of TCP and Modbus connections<\/li>\n\n\n\n<li class=\"translation-block\">Direct integration with <strong>Siemens PLC<\/strong> and other control systems<\/li>\n\n\n\n<li>Flexible package definition with customised separators and markers<\/li>\n\n\n\n<li>Support for Modbus holding registers and coils<\/li>\n<\/ul>\n\n\n\n<p class=\"translation-block\">Whether machine control, process monitoring or automation: With our solution, you can connect your CNC milling machine securely and conveniently via <strong>TCP\/IP or Modbus TCP<\/strong>.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>","protected":false},"excerpt":{"rendered":"<p>CNC-Fr\u00e4se mit Siemens SPS verbinden \u2013 Siemens S7 Kommunikation Unsere Software bietet eine flexible und leistungsf\u00e4hige Schnittstelle f\u00fcr die TCP-Server\/Client&#8211; und Modbus TCP-Client-Kommunikation. Damit k\u00f6nnen Sie Ihre CNC-Maschine direkt mit Siemens SPS verbinden &#8211; einfach, zuverl\u00e4ssig und in Echtzeit. Die Einrichtung ist besonders einfach und erfolgt in nur zwei Schritten: 1. Datenkan\u00e4le definieren \u00dcber die [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-6051","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/pages\/6051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/comments?post=6051"}],"version-history":[{"count":0,"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/pages\/6051\/revisions"}],"wp:attachment":[{"href":"https:\/\/cncgraf.com\/en\/wp-json\/wp\/v2\/media?parent=6051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}