<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to addressing other memories than register memory</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/f8f57f169e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/f8f57f169e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/f8f57f169e/</id><updated>2020-02-27T23:16:03.669000Z</updated><subtitle>Recent posts to addressing other memories than register memory</subtitle><entry><title>addressing other memories than register memory</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/f8f57f169e/?limit=25#6eae" rel="alternate"/><published>2020-02-27T23:16:03.669000Z</published><updated>2020-02-27T23:16:03.669000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com29fe4a04c25f7845f5e5dc8565fbea3128d9deb4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; tw0face&lt;/p&gt;
&lt;p&gt;awsome  thanx for ur reply it helped alot, now i can define variable in that memory, put anything i need there and read it with jamod &lt;/p&gt;
&lt;p&gt;u made my day &lt;/p&gt;
&lt;p&gt;thanx again!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>addressing other memories than register memory</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/f8f57f169e/?limit=25#dd65" rel="alternate"/><published>2020-02-27T23:15:59.127000Z</published><updated>2020-02-27T23:15:59.127000Z</updated><author><name>Uwe</name><uri>https://forge.codesys.com/u/uwe/</uri></author><id>https://forge.codesys.com937cb6bc43b94bbd9994c40b9d80ad0b80a48f42</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello tw0face,&lt;/p&gt;
&lt;p&gt;i don’t know the jamod library but i think you use modbus TCP.&lt;/p&gt;
&lt;p&gt;With modbus you have access for some memory areas.&lt;/p&gt;
&lt;p&gt;If you want to get a variable from the plc then you have to place this variable at &lt;/p&gt;
&lt;p&gt;a defined memory address.&lt;/p&gt;
&lt;p&gt;Example&lt;/p&gt;
&lt;p&gt;VAR&lt;/p&gt;
&lt;p&gt;speed   AT%MW0   :    INT;&lt;/p&gt;
&lt;p&gt;temp    AT%MW1   :    INT:&lt;/p&gt;
&lt;p&gt;END_VAR&lt;/p&gt;
&lt;p&gt;Note : &lt;/p&gt;
&lt;p&gt;You have to administrate the used addresses by yourself and &lt;/p&gt;
&lt;p&gt;you have to pay attention for the wordalignment. &lt;/p&gt;
&lt;p&gt;With your jamod library you have access to the %M area from address 12288 (0x3000)  up to&lt;/p&gt;
&lt;p&gt;16383 (0x3FFF)  means  %MW0 …%MW4095  &lt;/p&gt;
&lt;p&gt;For more information see the follow link&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://www.wago.com/wagoweb/documentation/app_note/a3000/a300003e.pdf" rel="nofollow"&gt;http://www.wago.com/wagoweb/documentation/app_note/a3000/a300003e.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Uwe&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>addressing other memories than register memory</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/f8f57f169e/?limit=25#0251" rel="alternate"/><published>2020-02-27T23:15:57.467000Z</published><updated>2020-02-27T23:15:57.467000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comc465a6386e8419df2ff66a879e2aa1fc069b31cc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; tw0face&lt;/p&gt;
&lt;p&gt;hello&lt;/p&gt;
&lt;p&gt;im a new into all this kind of stuff so ill try to explain my problem the best i can. we have a few wago modules so far. and we are developing our own application to work with it. &lt;/p&gt;
&lt;p&gt;our goal is to be able to read anything from the wago itself. i managed to get working the jamod library, so now i can read/write digital/analog registers. this is very good, but what is more, i need to be able to also read (somehow, anyhow) the variables of program running in wago. meaning, that i made a program in codesys, that's measuring temperature for example. i put this value into some retain variable, but dont put it on some register. &lt;/p&gt;
&lt;p&gt;my question is, how can i read the variable in retain memory, i think its a different type of memory then the one u can address like %IX2.0 etc..&lt;/p&gt;
&lt;p&gt;as well as any other type of memory thats included in wago modules..&lt;/p&gt;
&lt;p&gt;im sure there is a way how u can do this, because codesys itself reads the variable for example from retain memory when u open the program, connect to wago and run it..&lt;/p&gt;
&lt;p&gt;well..i hope i made sense &lt;/p&gt;
&lt;p&gt;please i really need your help!&lt;/p&gt;
&lt;p&gt;thanx in advance!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>