{}

Our Brands

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

Welcome to the Schneider Electric Website

Welcome to our website.

Search FAQs

You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.

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 Vietnam

Attachment(s)

SoMachine application to communicate with SoSafe controller XPSMCM.zipSoMachine application to communicate with SoSafe controller XPSMCM.zip [5.74 MB]
SoSafe.jpgSoSafe.jpg [86.9 KB]
Explore more
Range:
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: