Nirtec Studio Forum

General Category => Machines Simulator => Troubleshooting => Topic started by: Andoni Etxezarreta on December 17, 2024, 10:06:25 AM

Title: Red/Green Color sensor
Post by: Andoni Etxezarreta on December 17, 2024, 10:06:25 AM
Hello, I´m working on a digital twin with Machine Simulator and Codesys. All the interfaces work well, but I am not able to make the color sensor detect a green or red element. How should I define the controller?
Thank you very muchc.
Title: Re: Red/Green Color sensor
Post by: EasyPLC_Master on December 17, 2024, 10:26:37 AM
The color sensor must to target to the WorkPart to analyze.
It returns the detect color using three analog PLC inputs, one for the amount of red color, other for the green and other for the blue.