Skip to main content
12-Amethyst
February 7, 2025
Solved

How to simulate value in KEPServerEX for temporary testing.

  • February 7, 2025
  • 1 reply
  • 1019 views

Is there a way to temporarily force a value in KEPServerEX for tags readding their value from a real field device?

 

Seems the only way is to recreate all the tags in a new project in a sim driver.

Best answer by AKshara

As you mentioned, the tags have not yet been added to the downstream devices, causing KEPServerEX to pull them from the upstream device, resulting in an error. To prevent this, you may need to disable the missing tags in Kepware. However, this can be a time-consuming task if there are a large number of tags, while it would be quicker if the count is smaller. The effort required depends entirely on the number of missing tags in the device.

 

So to do so:

 

KEPSEerverEX Administration Utility > Settings >Security Policies>Permission Assigned to Anonymous Clients (Expand) > Browsing (click arrow head) > Custom permission > Choose device and expand it further till you select tag , click arrow head > Deny

 

 

 

 

 

1 reply

14-Alexandrite
February 7, 2025
  • KEPServerEX does not provide a built-in "force" feature to override live tag values while still reading from a real device.
  • If required, recreate the tags in a Simulation Driver instead of the actual device driver.
  • Assign forced values into the new project.
Tanquen12-AmethystAuthor
12-Amethyst
February 11, 2025

That can work for us in initial testing when we want to force all values to a known value. I can just swap to different projects leaving all the channel, device and point name the same.

 

But we currently have a few points on each device that are waiting to be added to the field device so they are causing errors.

I don't a way to deal with these points. I cant add a Simulation Driver with the same point and device name.

Not sure what we can do. 

AKshara14-AlexandriteAnswer
14-Alexandrite
February 13, 2025

As you mentioned, the tags have not yet been added to the downstream devices, causing KEPServerEX to pull them from the upstream device, resulting in an error. To prevent this, you may need to disable the missing tags in Kepware. However, this can be a time-consuming task if there are a large number of tags, while it would be quicker if the count is smaller. The effort required depends entirely on the number of missing tags in the device.

 

So to do so:

 

KEPSEerverEX Administration Utility > Settings >Security Policies>Permission Assigned to Anonymous Clients (Expand) > Browsing (click arrow head) > Custom permission > Choose device and expand it further till you select tag , click arrow head > Deny