Cancel
Showing results for 
Search instead for 
Did you mean: 

Mechatronics Concept Designer collision sensor

Experimenter
Experimenter

Hi Community,

 

i hope someone can help me with this problem:

 

If a collision body on a transport surface passes the collision sensor, the sensor is triggered once. If there is a jam on the transport surface the collision sensor is triggered permanently.

 

I want an operation (emergency stop or jam breaker) in the sequence editor to start if the collision sensor is triggered longer then, for example, 4 seconds. How can i do that?

 

Best regards

Patrick

2 REPLIES

Re: Mechatronics Concept Designer collision sensor

Siemens Legend Siemens Legend
Siemens Legend

Hi Patrick,

there are several ways to do it in MCD.

One of the easiest way is to use a "Expression Block".

In this "Expression Block" dialog you can define a simple time counter that will count up when the sensor is triggered and set to zero if the sensor is not triggered.

2_MCD_Sensor_Triggered_Time_Counter.pngMCD Time Counter for Sensors

Here is also a Video and a NX Part file as reference:

 

(view in My Videos)

You could even define it as a reuseable XML Template if you want.

Best regards

Viktor

Re: Mechatronics Concept Designer collision sensor

Experimenter
Experimenter

Hi Viktor,

 

thats exactly what i was looking for. Thank you very much.

 

But the use of the "Expression Block" leads me to another question. There are so many possibilities to implement features. When do I need (or should use) an "Expression Block" or an "Runtime Expression" or the "Signal Adapter"?

 

At the moment i use the "Signal Adapter" to combine different signals and i use the combined signal as a condition object in the sequence editor. But i am not sure if thats the way it was meant to be.

 

Best regards

Patrick