
Bar (Customer) asked a question.
Hello,
I was wondering if it is possible to simulate the high speed accumulator on the Do-More simulator? I see that WX0 can be simulated. Thanks for your help!

Bar (Customer) asked a question.
Hello,
I was wondering if it is possible to simulate the high speed accumulator on the Do-More simulator? I see that WX0 can be simulated. Thanks for your help!
Sorry, no. The .Acc field is read-only, so you cannot write to it.
If we ever wanted to add functionality to the Simulator to manipulate a High Speed Counter, how would you envision that would work?
I guess it could just be tied to the I/O on the simulator, so just the push buttons for X0, X1, etc.? What would be useful to someone who is trying to simulate an HSIO card in a "soft" PLC?
Or you just want to simulate counts by writing to the .Acc readonly register? Basically your own "process" simulator inside a user task or program code block to manipulate the read-only fields in the $HsCtrTmr structure?
Or ???

OK, Thanks for the quick reply. As far as possible options to implement it. Perhaps if the .acc is changed from read only to able to be written to. So the "change value" or "Force element" would work for that.
If done in the simulator perhaps something similar to the horizontal slider for the Analog inputs. Since the .acc accumulators are not restricted to 4095, if you could enter in a maximum number (That you want to test) and then use the slider to change the values up to that maximum (or minimum value). In addition an arrow for finer control. And perhaps a way to enter a value that is close. Lets say I wanted to test 200, 400, 600 in the acc. If 195 is entered, and then an arrow up/down button would allow it to get to 199, and then 200.
Thanks!
Copyright © 1999-2023 AutomationDirect. ALL RIGHTS RESERVED
Sorry, no. The .Acc field is read-only, so you cannot write to it.
If we ever wanted to add functionality to the Simulator to manipulate a High Speed Counter, how would you envision that would work?
I guess it could just be tied to the I/O on the simulator, so just the push buttons for X0, X1, etc.? What would be useful to someone who is trying to simulate an HSIO card in a "soft" PLC?
Or you just want to simulate counts by writing to the .Acc readonly register? Basically your own "process" simulator inside a user task or program code block to manipulate the read-only fields in the $HsCtrTmr structure?
Or ???