Simulate pressure ramp with KepServer simulation tag

Hi,

I am creating a simulation of a pressure test in Ignition Vision 8.1.
As a new Ignition user I tried to increment a tag write in a loop, which freezes the client, as everyone said it would in previous posts I now see!
My Ignition is connected to Kepserver so I created a ramp simulator tag and can see the value change in Ignition okay.
So, I thought I would be able to grab the Kepserver address of the tag, RAMP (120, 35, 100, 4), and zero it before the simulated test starts, then write a new address based on the recipe for the pressure test when the test starts. But, using tagConfig = system.tag.getConfiguration(tagPath) I can see everything but the address!!
Is it possible what I want to achieve?
And before I go down the wrong path, how would I script this?
Regards.

I thought I could answer this myself..... just create a string tag and point it to the Kepserver tag address value.

image

However, all Kepserver simulations can not be set to read and write!!!! Even when creating a new tag entirely from Ignition script!

So, I still do not know how to simulate a ramp tag value for a pressure increase simulation.

You can also download @pturmel simulation aid's module. It has a ramp function like you're looking for and he provides a sample project where he uses it to simulate tag values.

1 Like

Thank you, can you point me to this module?

There's a link to the documentation inthe above as well.

When you click on buy (its free), scroll down until you see Simulation Aids and download for the appropriate version of Ignition you are using

I managed to simulate a pressure test using Gateway timer scripts and then forcing the expressions in expression tags to follow the timer... or not.
Thank you for your help also - I will check this out. Much appreciated.

1 Like