{}

Our Brands

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

Welcome to the Schneider Electric Website

Welcome to our website.
Search FAQs
How do you set up an XXMIT Read function on a Momentum CPU with Control Expert?
Issue:
Establishing communication with XXMIT

Product Line:
Modicon Momentum

Environment:
EcoStruxure Control Expert

Resolution:
When using a Momentum CPU with Control Expert, first, you must make sure the cabling is correct. You will need to refer to the wiring of your server device for the wiring diagram.
The wiring of the Momentum CPU for both RS-232 and RS-485 are shown in the attachment "Momentum Modbus Pinout".

The next thing to keep in mind is that the Serial settings need to be the same between the Client and Server devices.
Double check the following configuration settings.
-Physical Line
-Signals
-Transmission speed
-Delay
-Data
-Stop bits
-Parity

You will also want to make note of the Channel you are using and that the Modbus Node addresses are unique for each Server device.

When setting up the XXMIT block, you will want to apply the settings you noted and apply them to the inputs of the XXMIT as well as adding the response timeout and constructing the MSG_OUT and the size of MSG_IN.

The MSG_IN must be at least 1 greater than the number of registers you are reading or you will get an error. Also, the MSG_OUT must be an array of 6 elements and the MSGLen to 5 or you will get an error. Only the first 5 registers in the MSG_OUT array are used, the last one is not used.
The first register holds the Modbus function code.
The second register has the number of registers you are accessing.
The third register holds the Modbus node address of the server device.
The forth register represents the register where the data in the client is located.
The fifth register represents the register where the data in the server is located.
Because of this, for a Modbus Read, the data being read can be found in both the MSG_IN array and the memory location shown in the fifth word of the MSG_OUT.

The start of the XXMIT should be triggered by a R_trig. The XXMIT will keep the Active bit as 1 while it is processing the request. The Active will go to 0 and either DONE or ERROR will be produced when the process is complete and the data will appear in the MSG_IN and specified memory location. The attachment XXMIT_EXAMPLE illustrates this.


If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.

If you are not located in North America, please contact your local Customer Care Center for assistance:
Support | Schneider Electric Global (se.com)

Schneider Electric Nigeria

Attachment(s)
xxmit_example.zip [1.52 KB]
Momentum Modbus Pinout.jpg [61.47 KB]
Explore more
Range:
Articles that might be helpful Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range: