# Group of (binary) CheckBoxes to Num Data?

**URL:** <https://tech-community.robotics.abb.com/t/group-of-binary-checkboxes-to-num-data/3875>\
**Category:** ScreenMaker\
**Created:** [October 21, 2010, 3:58pm UTC](https://tech-community.robotics.abb.com/t/group-of-binary-checkboxes-to-num-data/3875 "2010-10-21T15:58:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbaumg](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tbaumg](https://tech-community.robotics.abb.com/u/tbaumg)\
**Post date:** [October 21, 2010, 3:58pm UTC](https://tech-community.robotics.abb.com/t/group-of-binary-checkboxes-to-num-data/3875/1 "2010-10-21T15:58:12Z")

</div>

Hello,

I?\_Tm considering using ScreenMaker to rewrite some of our custom Flex Pendant screens for spray robot applications. I?\_Tve figured out how to call .NET functions to interface with my own code, but I wonder is it possible to read/write the state of controls from the ScreenMaker toolbox directly in .NET?

One of my current screens has 16 CheckBox?_Ts on it?_" I use them to read/write a binary coded number between 0-65535 to a PERS num datatype. I already have C# code to handle this, but can?\_Tt find an easy way to do this in Screen Maker. It looks like I would have to link each of the 16 boxes to an application variable and then read/write those variables to a .NET function (that’s a LOT of work in ScreenMaker).

Any suggestions on an easier way to convert a group of (binary) CheckBoxes into a num data would be greatly appreciated. Also, I was able to this same thing many years ago with the S4C+ version of ScreenMaker.

Thanks in advance,

Toby

---

<div class="post-metadata">

**Author:** ![osku](https://avatars.discourse-cdn.com/v4/letter/o/dfb087/32.png) [@osku](https://tech-community.robotics.abb.com/u/osku)\
**Post date:** [October 25, 2010, 9:01am UTC](https://tech-community.robotics.abb.com/t/group-of-binary-checkboxes-to-num-data/3875/2 "2010-10-25T09:01:28Z")

</div>

Hi

Have you tried to create a virtual IO board and define 16 digital outputs (0-15) and one group output (mapping 0-15). This way you can bind each of your CheckBoxes to one digital output in ScreenMaker and use your group output to read the numeric value in the Rapid code. It’s a workaround but seems to work…

-Osku

---

<div class="post-metadata">

**Author:** ![tbaumg](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tbaumg](https://tech-community.robotics.abb.com/u/tbaumg)\
**Post date:** [October 26, 2010, 4:50pm UTC](https://tech-community.robotics.abb.com/t/group-of-binary-checkboxes-to-num-data/3875/3 "2010-10-26T16:50:56Z")

</div>

Osku,

Yes I thought about doing it that way, but like you mentioned, it?\_Ts a workaround. I actually have 64 total check boxes in the screens that need to be coded from binary, it doesn?\_Tt seem like a clean way to handle it. I would much rather keep all of the code in the application, but I don’t yet know enough about how the .NET code ties into ScreenMaker.

---

<div class="post-metadata">

**Author:** ![Abhishek\_PM](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@Abhishek\_PM](https://tech-community.robotics.abb.com/u/Abhishek_PM)\
**Post date:** [October 27, 2010, 8:26am UTC](https://tech-community.robotics.abb.com/t/group-of-binary-checkboxes-to-num-data/3875/4 "2010-10-27T08:26:59Z")

</div>

Hello,

You are interested in re-creating a screen from FPSDK in ScreenMaker.  
Take look at this posting, it gives some details:  
[http://forums.robotstudio.com/forum\_posts.asp?TID=3683](http://forums.robotstudio.com/forum_posts.asp?TID=3683)

This could be an option, provided your screen is not too complex and is referring to lot more external components(dll).

Just give it a try. Hope this helps.

Regarding how the .NET code ties with ScreenMaker, refer to this post:  
[http://forums.robotstudio.com/forum\_posts.asp?TID=2903](http://forums.robotstudio.com/forum_posts.asp?TID=2903)

Thanks

---

<div class="post-metadata">

**Author:** ![tbaumg](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tbaumg](https://tech-community.robotics.abb.com/u/tbaumg)\
**Post date:** [October 27, 2010, 9:41pm UTC](https://tech-community.robotics.abb.com/t/group-of-binary-checkboxes-to-num-data/3875/5 "2010-10-27T21:41:37Z")

</div>

Thank you. I was able to add one of my own FPSDK screens into ScreenMaker, I?\_Tll work more with that to see if I can get the rest of my application to work that way.

I’m going to post another topic about how to create ?_oThird-Party Controls?_\_ in Screen Maker. Hopefully you can share some links on that.

Thanks again,  
Toby
