{}

Våra varumärken

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

Välkommen till Schneider Electrics webbplats

Välkommen till vår webbplats.
Hur kan vi hjälpa dig idag?
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

Schneider Electric Sverige