cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Write a constant string value to a tag

WH_11011145
1-Newbie

Write a constant string value to a tag

Hi,

Is it possible to permanently write a constant value (in my case a string value) to a tag within Kepware?

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
ntripathi
13-Aquamarine
(To:WH_11011145)

Greetings @WH_11011145 

 

In Kepware, you can write a constant value (such as a string) to a tag. Please follow the steps:-

 

1. Tag Configuration:

  • First, ensure that you have the appropriate tag set up in Kepware. This tag should be associated with the device or data source you’re working with.

2. Tag Value Assignment:

  • Once you have the tag configured, assign the constant value (string) to it:
    • Locate the tag in Kepware’s tag list.
    • Edit the tag properties.
    • Look for a field where you can set the value. Depending on the tag type, this field might be labeled “Value,” “Initial Value,” or something similar.
    • Enter your desired constant string value.
  • Test the setup by monitoring the tag value in Kepware and verifying that it matches the constant string you assigned.
  • Also, check the PLC side to ensure that the value has been successfully written.

View solution in original post

1 REPLY 1
ntripathi
13-Aquamarine
(To:WH_11011145)

Greetings @WH_11011145 

 

In Kepware, you can write a constant value (such as a string) to a tag. Please follow the steps:-

 

1. Tag Configuration:

  • First, ensure that you have the appropriate tag set up in Kepware. This tag should be associated with the device or data source you’re working with.

2. Tag Value Assignment:

  • Once you have the tag configured, assign the constant value (string) to it:
    • Locate the tag in Kepware’s tag list.
    • Edit the tag properties.
    • Look for a field where you can set the value. Depending on the tag type, this field might be labeled “Value,” “Initial Value,” or something similar.
    • Enter your desired constant string value.
  • Test the setup by monitoring the tag value in Kepware and verifying that it matches the constant string you assigned.
  • Also, check the PLC side to ensure that the value has been successfully written.
Top Tags