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:
To verify the values inside the SoMachine project, you can use the strcuture variable StatusEIP from sample project in the following way:
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
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