{}

Our Brands

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

Schneider Electric USA Website

Welcome to our website.
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 USA

Attachment(s)
SoMachine application to communicate with SoSafe controller XPSMCM.zip [5.74 MB]
SoSafe.jpg [86.9 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: