{"id":235,"date":"2017-06-20T09:40:16","date_gmt":"2017-06-20T07:40:16","guid":{"rendered":"http:\/\/www.igatamus.com\/bgc\/?p=235"},"modified":"2017-06-20T09:47:04","modified_gmt":"2017-06-20T07:47:04","slug":"system-words-for-safety-4040s-plcs","status":"publish","type":"post","link":"https:\/\/www.igatamus.com\/bgc\/2017\/06\/20\/system-words-for-safety-4040s-plcs\/","title":{"rendered":"M580 Safety System Words"},"content":{"rendered":"<p>M580 Safety System Words<script language=\"JavaScript\" type=\"text\/javascript\" src=\"wz_tooltip.js\"><\/script> <script src=\"metahelp.js\"><\/script> <script>\n\t\t    function popup(Adresse) {\n\t\t      window1 = window.open(Adresse, \"popup\", \"resizable=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,toolbar=0,left=100,top=100,width=370,height=370\");\n\t\t      window1.focus();\n        }\n\t    <\/script> <script src=\"metahelp.js\"><\/script><\/p>\n<div id=\"bodytext\" style=\"overflow: auto; height: 620px; width: 794px; margin-left: 0px; top: 122px;\">\n<div class=\"alignleft\">\n<table class=\"Table\" width=\"100%\">\n<tbody>\n<tr class=\"Table\">\n<th class=\"Table\" align=\"left\" valign=\"top\">\n<div class=\"pentryfirst\">Word<\/div>\n<\/th>\n<th class=\"Table\" align=\"left\" valign=\"top\">\n<div class=\"pentryfirst\">Function<\/div>\n<\/th>\n<th class=\"Table\" align=\"left\" valign=\"top\">\n<div class=\"pentryfirst\">Type<\/div>\n<\/th>\n<\/tr>\n<tr class=\"Table\">\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">%SW4<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">Period of the SAFE task defined in the configuration. The period is not modifiable by the operator.<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">R<\/div>\n<\/td>\n<\/tr>\n<tr class=\"Table\">\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">%SW12<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"liststementry\">Indicates the operating mode of the Copro module:<\/div>\n<ul>\n<li>\n<div class=\"pentryfirst\">16#A501 = maintenance mode<\/div>\n<\/li>\n<li>\n<div class=\"pentryfirst\">16#5AFE = safety mode<\/div>\n<\/li>\n<\/ul>\n<div class=\"pentry\">Any other value is interpreted as a detected error.<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">R<\/div>\n<\/td>\n<\/tr>\n<tr class=\"Table\">\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">%SW13<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"liststementry\">Indicates the operating mode of the CPU:<\/div>\n<ul>\n<li>\n<div class=\"pentryfirst\">16#501A = maintenance mode<\/div>\n<\/li>\n<li>\n<div class=\"pentryfirst\">16#5AFE = safety mode<\/div>\n<\/li>\n<\/ul>\n<div class=\"pentry\">Any other value is interpreted as a detected error.<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">R<\/div>\n<\/td>\n<\/tr>\n<tr class=\"Table\">\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">%SW42<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">SAFE task current time. Indicates the execution time of the last cycle of the SAFE task (in ms).<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">R<\/div>\n<\/td>\n<\/tr>\n<tr class=\"Table\">\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">%SW43<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">SAFE task max time. Indicate the longest task execution time of the SAFE task since the last cold start (in ms).<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">R<\/div>\n<\/td>\n<\/tr>\n<tr class=\"Table\">\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">%SW44<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">SAFE task min time. Indicate the shortest task execution time of the SAFE task since the last cold start (in ms).<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">R<\/div>\n<\/td>\n<\/tr>\n<tr class=\"Table\">\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">%SW124<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"liststementry\">Contains the cause of the detected error in the M580 Safety PAC:<\/div>\n<ul>\n<li>\n<div class=\"pentryfirst\">0x5AF2: RAM detected error in memory check.<\/div>\n<\/li>\n<li>\n<div class=\"pentryfirst\">0x5AFB: Safety firmware code error detected.<\/div>\n<\/li>\n<li>\n<div class=\"pentryfirst\">0x5AF6: Safety watchdog overrun error detected on CPU.<\/div>\n<\/li>\n<li>\n<div class=\"pentryfirst\">0x5AFF: Safety watchdog overrun error detected on coprocessor.<\/div>\n<\/li>\n<li>\n<div class=\"pentryfirst\">0x5B01: Coprocessor not detected at start-up.<\/div>\n<\/li>\n<\/ul>\n<div class=\"note\">\n<div class=\"innote\"><span class=\"emph\">NOTE: <\/span>The above does not constitute a complete list. Refer to the <span class=\"emphitalic\">Unity Pro System Bits and Words Reference Manual<\/span> for more information.<\/div>\n<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">R<\/div>\n<\/td>\n<\/tr>\n<tr class=\"Table\">\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">%SW125<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"liststementry\">Contains the cause of the detected error in the M580 Safety PAC:<\/div>\n<ul>\n<li>\n<div class=\"pentryfirst\">0x5AF3: Comparison error detected by main CPU.<\/div>\n<\/li>\n<li>\n<div class=\"pentryfirst\">0x5AFC: Comparison error detected by coprocessor.<\/div>\n<\/li>\n<li>\n<div class=\"pentryfirst\">0x5AFD: Internal error detected by coprocessor.<\/div>\n<\/li>\n<li>\n<div class=\"pentryfirst\">0x5AFE: Synchronization error detected between CPU and coprocessor.<\/div>\n<\/li>\n<li>\n<div class=\"pentryfirst\">0x9690: Application program checksum error detected.<\/div>\n<\/li>\n<\/ul>\n<div class=\"note\">\n<div class=\"innote\"><span class=\"emph\">NOTE: <\/span>The above does not constitute a complete list. Refer to the <span class=\"emphitalic\">Unity Pro System Bits and Words Reference Manual<\/span> for more information.<\/div>\n<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">R<\/div>\n<\/td>\n<\/tr>\n<tr class=\"Table\">\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">%SW126<\/div>\n<\/td>\n<td class=\"Table\" rowspan=\"2\" valign=\"top\">\n<div class=\"pentryfirst\">These two system words contain information that is for Schneider Electric internal use to help analyze a detected error in more detail.<\/div>\n<\/td>\n<td class=\"Table\" rowspan=\"2\" valign=\"top\">\n<div class=\"pentryfirst\">R<\/div>\n<\/td>\n<\/tr>\n<tr class=\"Table\">\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">%SW127<\/div>\n<\/td>\n<\/tr>\n<tr class=\"Table\">\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">%SW128<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"liststementry\">Force time synchronization between internal CPU time and Safe time into the safe IO modules and Safe CPU task:<\/div>\n<ul>\n<li>\n<div class=\"pentryfirst\">Value change from 16#1AE5 to 16#E51A forces synchronization.<\/div>\n<\/li>\n<li>\n<div class=\"pentryfirst\">Other sequences and values do not force synchronization.<\/div>\n<\/li>\n<\/ul>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">R\/W<\/div>\n<\/td>\n<\/tr>\n<tr class=\"Table\">\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">%SW142<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">Contains the safety COPRO firmware version in 4 digits BCD: for example firmware version 21.42 corresponds to %SW142 = 16#2142.<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">R<\/div>\n<\/td>\n<\/tr>\n<tr class=\"Table\">\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">%SW148<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">Count of error correcting code (ECC) errors detected by the CPU.<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">R<\/div>\n<\/td>\n<\/tr>\n<tr class=\"Table\">\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">%SW169<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">AppId. Contains an ID of the safety code part of the application. The ID is automatically modified when the safe application code is modified.<\/div>\n<div class=\"note\">\n<div class=\"innote\"><span class=\"emph\">NOTE: <\/span>The SAFE program unique identifier can be read using the <span class=\"icode\">SAID<\/span> output of the <span class=\"icode\">S_SYST_STAT_MX<\/span> system function block.<\/div>\n<\/div>\n<\/td>\n<td class=\"Table\" valign=\"top\">\n<div class=\"pentryfirst\">R<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>M580 Safety System Words Word Function Type %SW4 Period of the SAFE task defined in the configuration. The period is not modifiable by the operator. R %SW12 Indicates the operating mode of the Copro module: 16#A501 = maintenance mode 16#5AFE = safety mode Any other value is interpreted as a detected error. R %SW13 Indicates &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.igatamus.com\/bgc\/2017\/06\/20\/system-words-for-safety-4040s-plcs\/\" class=\"more-link\">Continuer la lecture<span class=\"screen-reader-text\"> de &laquo;&nbsp;M580 Safety System Words&nbsp;&raquo;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.igatamus.com\/bgc\/wp-json\/wp\/v2\/posts\/235"}],"collection":[{"href":"https:\/\/www.igatamus.com\/bgc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.igatamus.com\/bgc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.igatamus.com\/bgc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.igatamus.com\/bgc\/wp-json\/wp\/v2\/comments?post=235"}],"version-history":[{"count":4,"href":"https:\/\/www.igatamus.com\/bgc\/wp-json\/wp\/v2\/posts\/235\/revisions"}],"predecessor-version":[{"id":239,"href":"https:\/\/www.igatamus.com\/bgc\/wp-json\/wp\/v2\/posts\/235\/revisions\/239"}],"wp:attachment":[{"href":"https:\/\/www.igatamus.com\/bgc\/wp-json\/wp\/v2\/media?parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.igatamus.com\/bgc\/wp-json\/wp\/v2\/categories?post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.igatamus.com\/bgc\/wp-json\/wp\/v2\/tags?post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}