Nirtec Studio Forum

General Category => Machines Simulator => Topic started by: koburg on October 23, 2023, 01:46:08 PM

Title: Invert Sensor Logic
Post by: koburg on October 23, 2023, 01:46:08 PM
Hello

if it was possible to invert sensor logic for the components it would be very very NICE.

im not able to se any options to do this if already possible please show me how?

example:

photocell Normally closed signal or normally open signal.
Title: Re: Invert Sensor Logic
Post by: EasyPLC_Master on October 23, 2023, 02:55:44 PM
Yes of course!
In the sensor property PLC_IN_SIGNAL, let it disable to -1
Click the Sensor Graph Controller button and create a node graph like the one shown in the image, then the logic will be reversed.
Title: Re: Invert Sensor Logic
Post by: koburg on October 24, 2023, 01:42:43 PM
Thank you that did the trick :D

If i want to copy this photocell and make a UDC Copy im not able to load it back in
the editor when creating new scene.

Title: Re: Invert Sensor Logic
Post by: EasyPLC_Master on October 24, 2023, 02:10:33 PM
You can export/import any component between scenes: https://nirtec.com/forum/index.php?topic=594.0 (https://nirtec.com/forum/index.php?topic=594.0)