我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
How to read an explicit language object associated with the application-specific function of a BMXNOM0200 module of an M580 with the READ_STS function?

Context

For a reason X or Y, depending on the needs of the user, it sometimes happens that we want to make use of information in the program which is only available on the explicit language objects associated with a business function (For Modbus example) of the BMXNOM0200 communication module. This information is very often intended to be displayed in an HMI or a supervision or even according to its value triggered certain actions in the user program.

As the saying goes, a sketch is worth a thousand words: below is a table showing explicit exchange objects for Modbus master or slave communication of a BMXNOM0200 module.

Table of explicit language objects of the BMXNOM200

Below, in explicit exchange the step-by-step procedure for reading the %MWr.m.c.5 language object relating to the number of responses received with a CRC error:

A.First choose Topological as the I/O data type, when adding the BMXNOM0200.2 module to the rack

Addition of the BMXNOM200 on the local rack of the M580

B. From the CE variables editor, create an IODDT variable of the T_COM_MB_BMX type with the address %CHr.m.c (r=rack on which the BMXNOM0200 module is installed, m=the slot of the module on the rack, c=module communication channel number).

Selection of the type of the IODDT associated with the variable to be created in the editor

Addressing the IODDT type variable created

C. Executed the EF (Elementary Function) READ_STS with the IODDT type variable created previously as input

Calling the read_sts ef in the code section

D. From the variable’s editor, initialize the animation table or a new animation table with %MWr.m.c.5.

Display of the explicit language object in the animation table of CE

Note 1 : it is possible to obtain the information from the debug tab of the BMXNOM0200 module in online mode.

Note 2 : When adding the BMXNOM0200 module to the rack, if Device DDT has been chosen as the I/O data type then in this case the READ_STS_MX EFB must be used instead of READ_STS

Product Line
BMXNOM0200, M580 Standalone, M340

Environment
Windows Pro 10, EcoStruxure Control Expert V15.2

施耐德電機Taiwan

  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 施耐德電機社群
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings