Sick CSM color sensor.
Latest Version: 1.0.0
Size: 4 KB
Publisher: ProtoTwin (contact@prototwin.com)
The SickCSM component simulates a SICK CSM color sensor using a graphics raycast.
It compares the detected surface color against up to eight configured colors. Each color has an individual sensitivity, and multiple colors may match at the same time.
Fine: 10%Medium: 20%Coarse: 50%null when no configured color matches.true when programmed color 1 matches.true when programmed color 2 matches.The ProcessData output uses the lower eight bits, with bits 8 through 15 remaining zero:
| Bit | Signal |
|---|---|
| 0 | QL1 |
| 1 | QL2 |
| 2 | QL3 |
| 3 | QL4 |
| 4 | QL5 |
| 5 | QL6 |
| 6 | QL7 |
| 7 | QL8 |
The Q1 and Q2 outputs mirror bits 0 and 1 respectively. Without IO-Link, a PLC can use Q1 and Q2 as standard digital inputs. With IO-Link, it can decode all eight color matches from the ProcessData word.
Initial release.