How to establish communication between a TM251MESE and a Preventa XPSMCM
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:
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
Publié pour: Schneider Electric Belgium




Besoin d'aide ?
Sélectionnez le bon produit
Trouvez rapidement et facilement les produits et accessoires adaptés à vos applications.
Obtenir un devis
Effectuez une demande de renseignements en ligne et un expert vous contactera.
Où acheter ?
Trouvez facilement le distributeur Schneider Electric local le plus proche.
Centre d'aide
Trouvez des ressources de support pour tous vos besoins, en un seul endroit.