# Simulated Bit and Byte Arrays

**URL:** <https://forum.inductiveautomation.com/t/simulated-bit-and-byte-arrays/38428>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [September 5, 2020, 2:57am UTC](https://forum.inductiveautomation.com/t/simulated-bit-and-byte-arrays/38428 "2020-09-05T02:57:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel.thomson](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@daniel.thomson](https://forum.inductiveautomation.com/u/daniel.thomson)\
**Post date:** [September 5, 2020, 2:57am UTC](https://forum.inductiveautomation.com/t/simulated-bit-and-byte-arrays/38428/1 "2020-09-05T02:57:16Z")

</div>

Has anyone successfully used the ignition 8 programmable device simulator to simulate reading and writing to a bit of an integer? I have some alarms that are integers to enums that I would like to try to mock up first along with the rest of my tags – the programmable device sim does a great job of tags, except I can’t seem to write back to a bit of an int with it…anyone try anything like this? Plan b is to use a bool array memory tag for any of my enums for testing.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 24, 2020, 9:11pm UTC](https://forum.inductiveautomation.com/t/simulated-bit-and-byte-arrays/38428/2 "2020-09-24T21:11:12Z")

</div>

The simulator doesn’t accept bit writes or recognize whatever syntax you may be trying to use.

You’d have to use a scripting function to read/manipulate/write a whole new int value to the simulator tag.
