SmartComponent: How to set a group output by a positive edge?

EricHEricH Germany
edited February 13 in RobotStudio
Hi, I would like to output with a smart component different numbers in a group output. I want to do something similar to:

array of specific numbers = [11,12,13,14];

IF(input1 has a positive edge) THEN
IF(group output is 14) set group output to 11;
IF(group output is less than 14) set group output +1;
ENDIF
Anyone has an idea? I tried a lot without success.

Answers

Sign In or Register to comment.