{"id":6203,"date":"2021-11-12T02:21:22","date_gmt":"2021-11-12T02:21:22","guid":{"rendered":"https:\/\/www.qec.tw\/?p=6203"},"modified":"2021-12-28T09:26:14","modified_gmt":"2021-12-28T09:26:14","slug":"how-to-package-ethercat-slave-data-into-mysql-and-send-it-out-using-the-network-on-the-arduino-platform","status":"publish","type":"post","link":"https:\/\/www.qec.tw\/ja\/ethercat\/how-to-package-ethercat-slave-data-into-mysql-and-send-it-out-using-the-network-on-the-arduino-platform\/","title":{"rendered":"How to package EtherCAT Slave data into MySQL and send it out using the network on the Arduino platform?"},"content":{"rendered":"<p class=\"translation-block\">The QEC uses the <a href=\"https:\/\/www.vortex86.com\/products\/Vortex86EX2\" target=\"_self\">Vortex86EX2 processor<\/a>. The Vortex86EX2 divides the internal architecture into two blocks, CPU Master and CPU Slave. The CPU Master and CPU Slave are used to exchanging data between the CPUs via Inter-process Communication.<br>\r\n<em>* The architecture of the QEC system is configured with Redundancy.<\/em><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-6204 size-full\" src=\"https:\/\/www.qec.tw\/wp-content\/uploads\/2021\/11\/QEC-ArduinoSQL8.jpg\" alt=\"QEC-ArduinoSQL8\" width=\"1280\" height=\"720\" srcset=\"https:\/\/www.qec.tw\/wp-content\/uploads\/2021\/11\/QEC-ArduinoSQL8.jpg 1280w, https:\/\/www.qec.tw\/wp-content\/uploads\/2021\/11\/QEC-ArduinoSQL8-300x169.jpg 300w, https:\/\/www.qec.tw\/wp-content\/uploads\/2021\/11\/QEC-ArduinoSQL8-1024x576.jpg 1024w, https:\/\/www.qec.tw\/wp-content\/uploads\/2021\/11\/QEC-ArduinoSQL8-768x432.jpg 768w, https:\/\/www.qec.tw\/wp-content\/uploads\/2021\/11\/QEC-ArduinoSQL8-600x338.jpg 600w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<h3>\u2022 CPU Master:<\/h3>\n<p>The CPU Master collects the data from the CPU Slave and connects it to an external network via Ethernet. The CPU Master collects the data from CPU Slave and uploads it to a remote server or database (e.g., Apache, MySQL, MariaDB) via Ethernet.<\/p>\n<h3>\u2022 CPU Slave:<\/h3>\n<p>The CPU Slave is the core of the EtherCAT Master operation. It uses the Ethernet to connect to an external EtherCAT Slave device to collect real-time data from the EtherCAT Slave and send it back to the CPU Master.<\/p>","protected":false},"excerpt":{"rendered":"<p>The QEC uses the Vortex86EX2 processor. The Vortex86EX2 divides the internal architecture into two blocks, CPU Master and CPU Slave. The CPU Master and CPU [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6205,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[53],"tags":[162,54,157],"class_list":["post-6203","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ethercat","tag-86duino","tag-ethercat","tag-sql"],"_links":{"self":[{"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/posts\/6203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/comments?post=6203"}],"version-history":[{"count":0,"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/posts\/6203\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/media\/6205"}],"wp:attachment":[{"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/media?parent=6203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/categories?post=6203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qec.tw\/ja\/wp-json\/wp\/v2\/tags?post=6203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}