{"id":44883,"date":"2021-05-20T15:31:19","date_gmt":"2021-05-20T07:31:19","guid":{"rendered":"https:\/\/www.tm-robot.com\/?post_type=docs&p=44883"},"modified":"2025-09-18T09:26:05","modified_gmt":"2025-09-18T01:26:05","slug":"modbus-communication-setup","status":"publish","type":"docs","link":"https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/","title":{"rendered":"[Modbus] Communication Setup"},"content":{"rendered":"

Examples are valid for:
\nTMflow Software version: 2.20 or above.
\nTM Robot Hardware version: All
\nOther specific requirements: None
\nNote that older or newer software versions may have different results.<\/p>\n


\n

Modbus Communications Protocol<\/h1>\n

You can use Modbus Master Command to read\/write the parameter such as position, pose, etc. in a register and use the parameter to edit the project or monitor the robot.
\nTM robot provides TCP\/RTU communications protocol. The user can adjust according to the actual status. (Refer to chapter 2)
\nTM robot can have both TCP and RTU status. The user can obtain an external device of Modbus or robot register data. Third parties can also use an external device such as IPC, PLC, etc. to be the
\nmaster to send the command to obtain relevant information.<\/p>\n

Note: In this Instruction page, Client is called Master; Server is called Slave.
\nRemark: Modbus table can be downloaded in the bottom of the page.<\/p>\n

On the HMI (human-machine interface) setting page, click on Communication to enter the “Modbus Slave” page<\/p>\n

\"\"<\/a><\/p>\n

Modbus TCP Architecture<\/h2>\n

Modbus TCP communicates via RJ-45. There is only one RJ-45 connector that can be utilized to communicate in the control box. The setting page can check the IP filter and Modbus status.<\/p>\n

Modbus RTU Architecture<\/strong><\/h2>\n

in Modbus slave page, make sure the parameters of setting and external device are synchronized. if the setting is correct, the user can enable modbus RTU to communicate with the Modbus Slave or Modbus Master.<\/p>\n

Modbus RTU communicates via serial port. The setting interface can check the status, baud rate, port number, slave id, etc.<\/p>\n


\n<\/a>
\"\"<\/a><\/p>\n

Add a TCP Device<\/h3>\n

TCP Device Setting<\/h3>\n

Click the “Project Function”\u00a0 button and select”Modbus Device”<\/p>\n

Click Edit (pencil icon) next to the TCP localhost selection , select “Add Setting”<\/p>\n

\"\"<\/a><\/p>\n

Set the parameters of the TCP device such as:<\/p>\n

    \n
  1. Input a device name,<\/li>\n
  2. \u00a0Slave ID, modbus address, type.<\/li>\n<\/ol>\n

    Press the OK<\/strong> button to save the parameters.\"\"<\/a><\/p>\n

    \"\"<\/p>\n

    Simple Read Values Example by Modbus Register<\/h1>\n

    The following example will show how to access the X<\/em> Coordinate of the TM robot when editing flow. Users must create a variable for storing the X<\/em> coordinate value of the register.
    \nCreate a ‘Set’ node and click on the pencil icon<\/p>\n

    First, user must create a variable for storing the X-coordinate value of the register. In this example, create a float variable type<\/p>\n

    \"\"<\/a><\/p>\n

     <\/p>\n

    In order to make the variable “var_Position_X” automatically obtain the coordinate value of TM Robot in the X direction, configure the Modbus read function as follows :<\/p>\n

    \"\"<\/a><\/p>\n

    \"\"<\/a><\/p>\n

    Add Display Node<\/p>\n

    Users can see the value through display node and verify whether the value from Modbus colide with the X coordinate of the TM Robot<\/p>\n

    \"\"<\/a><\/p>\n

    Play the project and see the result<\/p>\n

    \"\"<\/a><\/p>\n

     <\/p>\n

    \"\"<\/a><\/p>\n

    Attached File(s)<\/h1>\n

    modbus-instruction_en<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

    Examples are valid for: TMflow Software version: 2.20 or above. TM Robot Hardware version: All Other specific requirements: None Note that older or newer software versions may have different results. Modbus Communications Protocol You can use Modbus Master Command to read\/write the parameter such as position, pose, etc. in a register and use the parameter […]<\/p>\n","protected":false},"author":3205,"featured_media":0,"parent":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"doc_category":[4144,4700],"doc_tag":[2505,2499],"acf":[],"yoast_head":"\n[Modbus] Communication Setup | Techman Robot<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Modbus] Communication Setup | Techman Robot\" \/>\n<meta property=\"og:description\" content=\"Examples are valid for: TMflow Software version: 2.20 or above. TM Robot Hardware version: All Other specific requirements: None Note that older or newer software versions may have different results. Modbus Communications Protocol You can use Modbus Master Command to read\/write the parameter such as position, pose, etc. in a register and use the parameter […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/\" \/>\n<meta property=\"og:site_name\" content=\"Techman Robot\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-18T01:26:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/modbus2.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.tm-robot.com\/ko\/#organization\",\"name\":\"Techman Robot\",\"url\":\"https:\/\/www.tm-robot.com\/ko\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.tm-robot.com\/ko\/#logo\",\"inLanguage\":\"ko-KR\",\"url\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png\",\"contentUrl\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png\",\"width\":221,\"height\":196,\"caption\":\"Techman Robot\"},\"image\":{\"@id\":\"https:\/\/www.tm-robot.com\/ko\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.tm-robot.com\/ko\/#website\",\"url\":\"https:\/\/www.tm-robot.com\/ko\/\",\"name\":\"Techman Robot\",\"description\":\"Intelligent Cobots for a World of Applications\",\"publisher\":{\"@id\":\"https:\/\/www.tm-robot.com\/ko\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.tm-robot.com\/ko\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/#primaryimage\",\"inLanguage\":\"ko-KR\",\"url\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/modbus2.png\",\"contentUrl\":\"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/modbus2.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/#webpage\",\"url\":\"https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/\",\"name\":\"[Modbus] Communication Setup | Techman Robot\",\"isPartOf\":{\"@id\":\"https:\/\/www.tm-robot.com\/ko\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/#primaryimage\"},\"datePublished\":\"2021-05-20T07:31:19+00:00\",\"dateModified\":\"2025-09-18T01:26:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.tm-robot.com\/ko\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\/\/www.tm-robot.com.cn\/ko\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"[Modbus] Communication Setup\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Modbus] Communication Setup | Techman Robot","robots":{"index":"noindex","follow":"follow"},"og_locale":"ko_KR","og_type":"article","og_title":"[Modbus] Communication Setup | Techman Robot","og_description":"Examples are valid for: TMflow Software version: 2.20 or above. TM Robot Hardware version: All Other specific requirements: None Note that older or newer software versions may have different results. Modbus Communications Protocol You can use Modbus Master Command to read\/write the parameter such as position, pose, etc. in a register and use the parameter […]","og_url":"https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/","og_site_name":"Techman Robot","article_modified_time":"2025-09-18T01:26:05+00:00","og_image":[{"url":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/modbus2.png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.tm-robot.com\/ko\/#organization","name":"Techman Robot","url":"https:\/\/www.tm-robot.com\/ko\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/www.tm-robot.com\/ko\/#logo","inLanguage":"ko-KR","url":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png","contentUrl":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2018\/09\/logo.png","width":221,"height":196,"caption":"Techman Robot"},"image":{"@id":"https:\/\/www.tm-robot.com\/ko\/#logo"}},{"@type":"WebSite","@id":"https:\/\/www.tm-robot.com\/ko\/#website","url":"https:\/\/www.tm-robot.com\/ko\/","name":"Techman Robot","description":"Intelligent Cobots for a World of Applications","publisher":{"@id":"https:\/\/www.tm-robot.com\/ko\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tm-robot.com\/ko\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ko-KR"},{"@type":"ImageObject","@id":"https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/#primaryimage","inLanguage":"ko-KR","url":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/modbus2.png","contentUrl":"https:\/\/tm-robot.oss-cn-hongkong.aliyuncs.com\/wp-content\/uploads\/2021\/05\/modbus2.png"},{"@type":"WebPage","@id":"https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/#webpage","url":"https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/","name":"[Modbus] Communication Setup | Techman Robot","isPartOf":{"@id":"https:\/\/www.tm-robot.com\/ko\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/#primaryimage"},"datePublished":"2021-05-20T07:31:19+00:00","dateModified":"2025-09-18T01:26:05+00:00","breadcrumb":{"@id":"https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.tm-robot.com.cn\/ko\/docs\/modbus-communication-setup\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.tm-robot.com\/ko\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/www.tm-robot.com.cn\/ko\/docs\/"},{"@type":"ListItem","position":3,"name":"[Modbus] Communication Setup"}]}]}},"_links":{"self":[{"href":"https:\/\/www.tm-robot.com.cn\/ko\/wp-json\/wp\/v2\/docs\/44883"}],"collection":[{"href":"https:\/\/www.tm-robot.com.cn\/ko\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.tm-robot.com.cn\/ko\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.tm-robot.com.cn\/ko\/wp-json\/wp\/v2\/users\/3205"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tm-robot.com.cn\/ko\/wp-json\/wp\/v2\/comments?post=44883"}],"version-history":[{"count":9,"href":"https:\/\/www.tm-robot.com.cn\/ko\/wp-json\/wp\/v2\/docs\/44883\/revisions"}],"predecessor-version":[{"id":131135,"href":"https:\/\/www.tm-robot.com.cn\/ko\/wp-json\/wp\/v2\/docs\/44883\/revisions\/131135"}],"wp:attachment":[{"href":"https:\/\/www.tm-robot.com.cn\/ko\/wp-json\/wp\/v2\/media?parent=44883"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.tm-robot.com.cn\/ko\/wp-json\/wp\/v2\/doc_category?post=44883"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.tm-robot.com.cn\/ko\/wp-json\/wp\/v2\/doc_tag?post=44883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}