Light Barrier

Top  Previous  Next

*

Light barriers within TrySim are only covered by dynamics. As there might be a lot of these elements within the machine, the checking whether the light barriers might be covered by one of them, can cost a great deal of computing time. Therefore the light barriers are standardized in such a way that they are only sensitive in one point of the middle of the ray. If you need sensitivity along the whole length you can increase the number of the watched dots within the field ‘Reality degree’.

 

In TrySim designations like ‘limit switch’ and ‘light barrier’ should not be taken literally. Use limit switches every time you need to detect elements of the machine and light barriers every time to detect dynamics.

 

Light barriers can be configured as NO or NC contacts. When a ‘1’ has been reported to the PLC, the little square will be colored red at one end. You can also configure a light barrier as a switch, then it will change its state with every actuation. In the example ‘wedge’ a light barrier is used in this fashion.

 

The most frequent mistake when using light barriers is that during the creation the light barrier lays on the ground initially (what cannot be seen within the XY-top-view) and so the dynamics pass over it. The editing tool cross helps to avoid this problem.

 

To change the orientation of the light barrier with the mouse you have to point with the mouse cursor near to one end of it and wait until the mouse cursor changes to a cross.

 

The light barrier can also detect the track that is created by a continuous generator.

See also:

Common properties

Static elements of simulation

Light barrier

Limit switch

Connection to PLC

 

Tabsheet: Sensors