<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to set ReadOnly tag values when in simulation mode. in Kepware</title>
    <link>https://www.ptcusercommunity.com/t5/Kepware/How-to-set-ReadOnly-tag-values-when-in-simulation-mode/m-p/983822#M2483</link>
    <description>&lt;P&gt;Hello raiskumar!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did end up using addresses like USER_DATA, ID_DOWNLOAD and PSET_PROGRAM_WRITE&lt;/P&gt;&lt;P&gt;(Since I am not connecting to an actual device, this should be fine)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've managed to finangle it so I have enough values, (Some have the wrong data type, but there are simply not enough write-able values.)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I do wish there was a better solution, but thank you. This will have to work for now.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 03:26:24 GMT</pubDate>
    <dc:creator>AS_12348596</dc:creator>
    <dc:date>2024-11-15T03:26:24Z</dc:date>
    <item>
      <title>How to set ReadOnly tag values when in simulation mode.</title>
      <link>https://www.ptcusercommunity.com/t5/Kepware/How-to-set-ReadOnly-tag-values-when-in-simulation-mode/m-p/983370#M2474</link>
      <description>&lt;P&gt;Currently I am using the Torque Tool Ethernet driver, in KEPServerEX 6.&lt;BR /&gt;The device I am testing for, is a PowerFocus 6000 that is communicating via Revision 2.0 of OpenProtocol.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a number of things I need to test and simulate, and this means I need to also set ReadOnly values. This is so that I can bug test my code, and confirm it can retrieve correct values at the correct time. For example, when LTR_NEWDATA is set to 1 by the device, or when LTR_TORQUE_STATUS outputs a NG status value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is as follows:&amp;nbsp; LTR_TORQUE_STATUS is a ReadOnly tag. So I am under the impression that I cannot manually set the value for testing. This appears to be the same for other TORQUE tags like LTR_TORQUE_VALUE.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I tried to set the data address to something like "901.00001" or "1202.00001", while keeping the tag name the same. My program only looks for tag names. So I was hoping that I could set a different address for testing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I understand both 901 and 1202 are intended to be used for variable data, and are therefore, read-only)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two primary questions:&lt;/P&gt;&lt;P&gt;#1: Is it possible to set values for Read-Only tags? (For example, when using OPC Quick Client in simulation mode)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Alternatively, #2: Are there any extra addresses that are read and write-able, which I can use in this context? This would be appreciated as a workaround, which would let me write values to the tag names for testing.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;An answer to either #1, or #2 would be greatly appreciated!&lt;/P&gt;&lt;P&gt;Thankyou in advance,&lt;BR /&gt;Azu&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 01:57:20 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Kepware/How-to-set-ReadOnly-tag-values-when-in-simulation-mode/m-p/983370#M2474</guid>
      <dc:creator>AS_12348596</dc:creator>
      <dc:date>2024-11-13T01:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to set ReadOnly tag values when in simulation mode.</title>
      <link>https://www.ptcusercommunity.com/t5/Kepware/How-to-set-ReadOnly-tag-values-when-in-simulation-mode/m-p/983464#M2475</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can use “DYNAMIC_JOB_REQUEST” or “ALARM_NEWDATA” or any other tag address option that has write access, as per the&lt;A href="https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/c8eb7b695f0e45fdbe1b1de056ae51c7?v=75eb2f36&amp;amp;_gl=1*j25wb6*_gcl_au*MTU3OTc1OTM1OC4xNzI3MTgwMjkz*_ga*MTc0OTM3NzE2NS4xNzE5NDAzMjAz*_ga_7NMP2MSYPM*MTczMTQ5NzM2OS4xNjguMS4xNzMxNDk5MjA5LjE4LjAuMA.." target="_blank" rel="noopener"&gt; driver manual&lt;/A&gt;. Hope this helps.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajskumar_0-1731499466854.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/114098iC8B6D8F1EC833C29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rajskumar_0-1731499466854.png" alt="rajskumar_0-1731499466854.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 12:07:18 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Kepware/How-to-set-ReadOnly-tag-values-when-in-simulation-mode/m-p/983464#M2475</guid>
      <dc:creator>rajskumar</dc:creator>
      <dc:date>2024-11-13T12:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to set ReadOnly tag values when in simulation mode.</title>
      <link>https://www.ptcusercommunity.com/t5/Kepware/How-to-set-ReadOnly-tag-values-when-in-simulation-mode/m-p/983822#M2483</link>
      <description>&lt;P&gt;Hello raiskumar!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did end up using addresses like USER_DATA, ID_DOWNLOAD and PSET_PROGRAM_WRITE&lt;/P&gt;&lt;P&gt;(Since I am not connecting to an actual device, this should be fine)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've managed to finangle it so I have enough values, (Some have the wrong data type, but there are simply not enough write-able values.)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I do wish there was a better solution, but thank you. This will have to work for now.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 03:26:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Kepware/How-to-set-ReadOnly-tag-values-when-in-simulation-mode/m-p/983822#M2483</guid>
      <dc:creator>AS_12348596</dc:creator>
      <dc:date>2024-11-15T03:26:24Z</dc:date>
    </item>
  </channel>
</rss>

