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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Write a constant string value to a tag

WH_11011145
2-Explorer

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!

ACCEPTED SOLUTION

Accepted Solutions
ntripathi
14-Alexandrite
(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
14-Alexandrite
(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.
Announcements


Top Tags