<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for jsaxin</title><link href="https://forge.codesys.com/u/jsaxin/activity/" rel="alternate"/><id>https://forge.codesys.com/u/jsaxin/activity/</id><updated>2020-10-15T10:16:50.206000Z</updated><subtitle>Recent activity for jsaxin</subtitle><entry><title>jsaxin posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d77de10193/?limit=25#fef2/4318/0495" rel="alternate"/><published>2020-10-15T10:16:50.206000Z</published><updated>2020-10-15T10:16:50.206000Z</updated><author><name>jsaxin</name><uri>https://forge.codesys.com/u/jsaxin/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/d77de10193/?limit=25#fef2/4318/0495</id><summary type="html">Alas, it turns out references cannot be put into arrays.</summary></entry><entry><title>jsaxin posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d77de10193/?limit=25#fef2/4318/0e46" rel="alternate"/><published>2020-10-15T09:22:22.328000Z</published><updated>2020-10-15T09:22:22.328000Z</updated><author><name>jsaxin</name><uri>https://forge.codesys.com/u/jsaxin/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/d77de10193/?limit=25#fef2/4318/0e46</id><summary type="html">Thank you. I will look into references.</summary></entry><entry><title>jsaxin posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d77de10193/?limit=25#fef2" rel="alternate"/><published>2020-10-15T08:31:17.995000Z</published><updated>2020-10-15T08:31:17.995000Z</updated><author><name>jsaxin</name><uri>https://forge.codesys.com/u/jsaxin/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/d77de10193/?limit=25#fef2</id><summary type="html">I have found that I never actually initiated the pointer. Please delete this thread.</summary></entry><entry><title>jsaxin modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d77de10193/?limit=25#7570" rel="alternate"/><published>2020-10-13T12:05:10.464000Z</published><updated>2020-10-13T12:05:10.464000Z</updated><author><name>jsaxin</name><uri>https://forge.codesys.com/u/jsaxin/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/d77de10193/?limit=25#7570</id><summary type="html">I have made an array of pointers to places in memory I would like to write to while treating them as a continuous block. But I cannot find the syntax for doing this as all examples of dereferencing has the pointer to the value being copied and not the one being overwritten. This triggers a runtime error at the assignment: IF xFirstCycle THEN apwPointers[0] := ADR(LagerD.Evaporator1.iDefrostHour1); xFirstCycle := FALSE; END_IF IF Slave.udiWriteAccessCounter &lt;&gt; udiWriteCounter THEN apwPointers[Slave.wWriteAddress]^...</summary></entry><entry><title>jsaxin posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d77de10193/?limit=25#7570" rel="alternate"/><published>2020-10-13T11:30:39.478000Z</published><updated>2020-10-13T11:30:39.478000Z</updated><author><name>jsaxin</name><uri>https://forge.codesys.com/u/jsaxin/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/d77de10193/?limit=25#7570</id><summary type="html">I have made an array of pointers to places in memory I would like to write to while treating them as a continuous block. But I cannot find the syntax for doing this as all examples of dereferencing has the pointer to the value being copied and not the one being overwritten. This triggers a runtime error: IF Slave.udiWriteAccessCounter &lt;&gt; udiWriteCounter THEN apwPointers[Slave.wWriteAddress]^ := awHoldingRegisters[Slave.wWriteAddress]; udiWriteCounter := Slave.udiWriteAccessCounter; END_IF</summary></entry></feed>