How can we help you today?

How to establish communication between a TM251MESE and a Preventa XPSMCM

Issue:
How to establish communication between a TM251MESE and a Preventa XPSMCM

Product Line:
Preventa XPSMCM, SoMachine

Resolution:
I have attached a sample program using Modbus TCP, Ethernet/IP and CANOpen.
It allows to exchange data between XPSMCM and a SoMachine controller via MODBUS-TCP, ETHERNET/IP or CANopen.
Inside the attached SoSafe project report, you will find the chapter Fieldbus Output bytes description with the following content:
Byte 00 - Modular Safety Controller Status
Bit 0: Modular Safety Controller on line
Bit 1: Diagnostic present
Byte 01 - CP0802 Input Bit 0: Function Block 1 Light Curtain CP0802
Byte 18 - Field bus Probe (00÷07) Bit 0: Field bus Probe 0
Byte 20 - OSSD (00÷07) Bit 0: OUTPUT1

To verify the values inside the SoMachine project, you can use the strcuture variable StatusEIP from sample project in the following way:
  • Light Curtain Input:    StatusEIP.stCM.byInputState00.0
  • Light Curtain Error:    StatusEIP.stCM.wFieldBusProbe.0
  • OSSD Output1          StatusEIP.stCM.wOutputState.0

Schneider Electric Thailand

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more

Explore more

Need help?

Product Selector

Quickly and easily find the right products and accessories for your applications.

Get a Quote

Start your sales inquiry online and an expert will connect with you.

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Center

Find support resources for all your needs, in one place.