Skip to main content
13-Aquamarine
June 20, 2024
Solved

Setting Data Type and Scaling Values On Tag Using Kepware Configuration API

  • June 20, 2024
  • 1 reply
  • 1813 views

Hi all,

Been using the Kepware Configuration API for a few weeks and am trying to create tags where I customize scaling values (need to divide value by 10).

 

I try to set:

"servermain.TAG_SCALING_SCALED_HIGH": 100
 
The tag gets created and 201 created message is given, but it still shows the default scaling value of 1000. 
 
Wondering what I am doing wrong here and what else I need to do to get the scaling to set correctly for a Kepware tag from the API.
 
Any advice is appreciated, thanks!
Best answer by cmorehead

@JK_10744682 

 

Please take a look at the Kepware knowledge base article provided in the following link:

 

Article - CS291338 - How to scale data from a PLC in PTC Kepware Products

 

You will see there is a dependency to set the Hi and Lo values for the scaling to work.  If the instructions in the article do not resolve your issue, I recommend opening a support ticket with the Kepware team to analyze your specific set up. Here is a link to the login page where a ticket can opened:

 

Log In | My Kepware

 

Thanks,

*Chris

1 reply

cmorehead13-AquamarineAnswer
13-Aquamarine
June 24, 2024

@JK_10744682 

 

Please take a look at the Kepware knowledge base article provided in the following link:

 

Article - CS291338 - How to scale data from a PLC in PTC Kepware Products

 

You will see there is a dependency to set the Hi and Lo values for the scaling to work.  If the instructions in the article do not resolve your issue, I recommend opening a support ticket with the Kepware team to analyze your specific set up. Here is a link to the login page where a ticket can opened:

 

Log In | My Kepware

 

Thanks,

*Chris