# How to simulate value using counter

**URL:** <https://forum.inductiveautomation.com/t/how-to-simulate-value-using-counter/19664>\
**Category:** Ignition\
**Created:** [September 13, 2018, 9:32pm UTC](https://forum.inductiveautomation.com/t/how-to-simulate-value-using-counter/19664 "2018-09-13T21:32:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaushik.shah](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@kaushik.shah](https://forum.inductiveautomation.com/u/kaushik.shah)\
**Post date:** [September 13, 2018, 9:32pm UTC](https://forum.inductiveautomation.com/t/how-to-simulate-value-using-counter/19664/1 "2018-09-13T21:32:33Z")

</div>

I am simulating the PLC code in Ignition. I basically count the number up and down to pretend the PLC that sensor is sending different signal. How could I manipulate the number with timer ?  
Suggestion please…

---

<div class="post-metadata">

**Author:** ![ethomason](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ethomason/32/43338_2.png) [@ethomason](https://forum.inductiveautomation.com/u/ethomason)\
**Post date:** [September 13, 2018, 9:57pm UTC](https://forum.inductiveautomation.com/t/how-to-simulate-value-using-counter/19664/2 "2018-09-13T21:57:04Z")

</div>

[https://docs.inductiveautomation.com/display/DOC79/Client+and+Gateway+Event+Scripts#ClientandGatewayEventScripts-TimerScripts](https://docs.inductiveautomation.com/display/DOC79/Client+and+Gateway+Event+Scripts#ClientandGatewayEventScripts-TimerScripts)
