{"id":1007,"date":"2020-08-14T08:51:52","date_gmt":"2020-08-14T06:51:52","guid":{"rendered":"http:\/\/www.embedded-communication.com\/?p=1007"},"modified":"2020-08-19T07:47:19","modified_gmt":"2020-08-19T05:47:19","slug":"canopen-object-code","status":"publish","type":"post","link":"https:\/\/www.embedded-communication.com\/en\/canopen\/canopen-object-code\/","title":{"rendered":"CANopen Object Code"},"content":{"rendered":"<p>To answer the constant question whether Array or Record is 8 or 9, this article provides an explanation of CANopen object codes.<\/p>\n<p>All data of a CANopen device, which are accessible via CANopen, are stored in objects in the object dictionary. The objects have different object codes based on the their internal structure. <\/p>\n<h2>Variable<\/h2>\n<p>An object with the object code &#8216;variable&#8217; is a single variable like e.g. a variable in the programming language C. It has a data type and various attributes.<\/p>\n<h2>Array<\/h2>\n<p>An object with the object code &#8216;array&#8217; is a structured data set like e.g. an array in the programming language C. All elements of this array (sub-index 0 not included) have the same data type.<\/p>\n<h2>Record<\/h2>\n<p>An object with the object code &#8216;record&#8217; is a structured data set like e.g. a struct in the programming language C. All elements of this record (sub-index 0 not included) may have different data type.<\/p>\n<h2>CANopen Object Code definitions<\/h2>\n<ul>\n<li>7 &#8211; Variable<\/li>\n<li>8 &#8211; Array<\/li>\n<li>9 &#8211; Record<\/li>\n<\/ul>\n<p>A few additional values are listed in the <a href=\"https:\/\/www.can-cia.org\/groups\/specifications\/\">CANopen specification CiA 301.<\/a><br \/>\nThe object code definitions are called object type in EDS files (CiA 306) and XDD files (CiA 1311). <\/p>","protected":false},"excerpt":{"rendered":"<p>To answer the constant question whether Array or Record is 8 or 9, this article provides an explanation of CANopen object codes. All data of a CANopen device, which are accessible via CANopen, are stored in objects in the object dictionary. The objects have different object codes based on the their internal structure. Variable An &hellip; <a href=\"https:\/\/www.embedded-communication.com\/en\/canopen\/canopen-object-code\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;CANopen Object Code&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[18],"class_list":["post-1007","post","type-post","status-publish","format-standard","hentry","category-canopen","tag-canopen"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>(English) CANopen Object Code - basic properties of CANopen objects<\/title>\n<meta name=\"description\" content=\"(English) 7 means VAR, 8 means ARRAY and 9 means Record. 2 is DOMAIN and others are rarely implemented in real devices.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"(English) CANopen Object Code - basic properties of CANopen objects\" \/>\n<meta property=\"og:description\" content=\"(English) 7 means VAR, 8 means ARRAY and 9 means Record. 2 is DOMAIN and others are rarely implemented in real devices.\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/\" \/>\n<meta property=\"og:site_name\" content=\"embedded communication\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-14T06:51:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-19T05:47:19+00:00\" \/>\n<meta name=\"author\" content=\"Torsten Gedenk\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@EmbeddedComm\" \/>\n<meta name=\"twitter:site\" content=\"@EmbeddedComm\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Torsten Gedenk\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/\"},\"author\":{\"name\":\"Torsten Gedenk\",\"@id\":\"http:\/\/www.embedded-communication.com\/#\/schema\/person\/8f0fcf033edee00b06d4dd4cf196680e\"},\"headline\":\"CANopen Object Code\",\"datePublished\":\"2020-08-14T06:51:52+00:00\",\"dateModified\":\"2020-08-19T05:47:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/\"},\"wordCount\":229,\"publisher\":{\"@id\":\"http:\/\/www.embedded-communication.com\/#organization\"},\"keywords\":[\"CANopen\"],\"articleSection\":[\"CANopen\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/\",\"url\":\"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/\",\"name\":\"(English) CANopen Object Code - basic properties of CANopen objects\",\"isPartOf\":{\"@id\":\"http:\/\/www.embedded-communication.com\/#website\"},\"datePublished\":\"2020-08-14T06:51:52+00:00\",\"dateModified\":\"2020-08-19T05:47:19+00:00\",\"description\":\"(English) 7 means VAR, 8 means ARRAY and 9 means Record. 2 is DOMAIN and others are rarely implemented in real devices.\",\"breadcrumb\":{\"@id\":\"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"http:\/\/www.embedded-communication.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CANopen Object Code\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.embedded-communication.com\/#website\",\"url\":\"http:\/\/www.embedded-communication.com\/\",\"name\":\"embedded communication\",\"description\":\"A blog about embedded communcation protocols.\",\"publisher\":{\"@id\":\"http:\/\/www.embedded-communication.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.embedded-communication.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/www.embedded-communication.com\/#organization\",\"name\":\"embedded communication\",\"url\":\"http:\/\/www.embedded-communication.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.embedded-communication.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2016\/08\/embedded-communication.png\",\"contentUrl\":\"https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2016\/08\/embedded-communication.png\",\"width\":240,\"height\":240,\"caption\":\"embedded communication\"},\"image\":{\"@id\":\"http:\/\/www.embedded-communication.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/EmbeddedComm\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.embedded-communication.com\/#\/schema\/person\/8f0fcf033edee00b06d4dd4cf196680e\",\"name\":\"Torsten Gedenk\",\"url\":\"https:\/\/www.embedded-communication.com\/en\/author\/ged\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"(English) CANopen Object Code - basic properties of CANopen objects","description":"(English) 7 means VAR, 8 means ARRAY and 9 means Record. 2 is DOMAIN and others are rarely implemented in real devices.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/","og_locale":"en_US","og_type":"article","og_title":"(English) CANopen Object Code - basic properties of CANopen objects","og_description":"(English) 7 means VAR, 8 means ARRAY and 9 means Record. 2 is DOMAIN and others are rarely implemented in real devices.","og_url":"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/","og_site_name":"embedded communication","article_published_time":"2020-08-14T06:51:52+00:00","article_modified_time":"2020-08-19T05:47:19+00:00","author":"Torsten Gedenk","twitter_card":"summary_large_image","twitter_creator":"@EmbeddedComm","twitter_site":"@EmbeddedComm","twitter_misc":{"Written by":"Torsten Gedenk","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/#article","isPartOf":{"@id":"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/"},"author":{"name":"Torsten Gedenk","@id":"http:\/\/www.embedded-communication.com\/#\/schema\/person\/8f0fcf033edee00b06d4dd4cf196680e"},"headline":"CANopen Object Code","datePublished":"2020-08-14T06:51:52+00:00","dateModified":"2020-08-19T05:47:19+00:00","mainEntityOfPage":{"@id":"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/"},"wordCount":229,"publisher":{"@id":"http:\/\/www.embedded-communication.com\/#organization"},"keywords":["CANopen"],"articleSection":["CANopen"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/","url":"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/","name":"(English) CANopen Object Code - basic properties of CANopen objects","isPartOf":{"@id":"http:\/\/www.embedded-communication.com\/#website"},"datePublished":"2020-08-14T06:51:52+00:00","dateModified":"2020-08-19T05:47:19+00:00","description":"(English) 7 means VAR, 8 means ARRAY and 9 means Record. 2 is DOMAIN and others are rarely implemented in real devices.","breadcrumb":{"@id":"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.embedded-communication.com\/canopen\/canopen-object-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"http:\/\/www.embedded-communication.com\/"},{"@type":"ListItem","position":2,"name":"CANopen Object Code"}]},{"@type":"WebSite","@id":"http:\/\/www.embedded-communication.com\/#website","url":"http:\/\/www.embedded-communication.com\/","name":"embedded communication","description":"A blog about embedded communcation protocols.","publisher":{"@id":"http:\/\/www.embedded-communication.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.embedded-communication.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/www.embedded-communication.com\/#organization","name":"embedded communication","url":"http:\/\/www.embedded-communication.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.embedded-communication.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2016\/08\/embedded-communication.png","contentUrl":"https:\/\/www.embedded-communication.com\/wp-content\/uploads\/2016\/08\/embedded-communication.png","width":240,"height":240,"caption":"embedded communication"},"image":{"@id":"http:\/\/www.embedded-communication.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/EmbeddedComm"]},{"@type":"Person","@id":"http:\/\/www.embedded-communication.com\/#\/schema\/person\/8f0fcf033edee00b06d4dd4cf196680e","name":"Torsten Gedenk","url":"https:\/\/www.embedded-communication.com\/en\/author\/ged\/"}]}},"_links":{"self":[{"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/posts\/1007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/comments?post=1007"}],"version-history":[{"count":6,"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/posts\/1007\/revisions"}],"predecessor-version":[{"id":1013,"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/posts\/1007\/revisions\/1013"}],"wp:attachment":[{"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/media?parent=1007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/categories?post=1007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.embedded-communication.com\/en\/wp-json\/wp\/v2\/tags?post=1007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}