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.
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
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).
C. Executed the EF (Elementary Function) READ_STS with the IODDT type variable created previously as input
D. From the variable’s editor, initialize the animation table or a new animation table with %MWr.m.c.5.
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
게시 대상: 슈나이더 일렉트릭 Korea
도움이 필요하신가요?
제품 선택기
애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.
견적 받기
영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.
구매처
해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.
지원 센터
한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.