<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to  access device without mapping</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dad02d6d7c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dad02d6d7c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/dad02d6d7c/</id><updated>2022-06-14T15:23:07.249000Z</updated><subtitle>Recent posts to  access device without mapping</subtitle><entry><title> access device without mapping</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dad02d6d7c/?limit=250#0ab1" rel="alternate"/><published>2022-06-14T15:23:07.249000Z</published><updated>2022-06-14T15:23:07.249000Z</updated><author><name>h-hermsen</name><uri>https://forge.codesys.com/u/hermsen/</uri></author><id>https://forge.codesys.come326e4f856922e3ce46e1600439d6209652056da</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;yes, SP18 has such a functionality. It allows you to access the IO Devices without a predefined mapping.&lt;br/&gt;
image something like this:&lt;/p&gt;
&lt;p&gt;xCh1 := EK1202.iCh1;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title> access device without mapping</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dad02d6d7c/?limit=25#8505" rel="alternate"/><published>2022-06-10T18:52:12.220000Z</published><updated>2022-06-10T18:52:12.220000Z</updated><author><name>spfollen</name><uri>https://forge.codesys.com/u/spfollen/</uri></author><id>https://forge.codesys.com92c5df2d709f0d5b00dcc47f1c746f23d36c8298</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I would also like to do something very similar.  Is there a way to get the device data using the name rather than mapping to words?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title> access device without mapping</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dad02d6d7c/?limit=25#5611" rel="alternate"/><published>2021-10-18T17:06:16.693000Z</published><updated>2021-10-18T17:06:16.693000Z</updated><author><name>julspower</name><uri>https://forge.codesys.com/u/julspower/</uri></author><id>https://forge.codesys.com4391e7fcf253c8f65208e4da3cf997c5a5aa7424</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have tried __VarInfo on the device but couldn't locate the data within.&lt;br/&gt;
I also look the iecaccessvar library but not enough documentation there to be able to use that&lt;br/&gt;
any idea?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title> access device without mapping</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dad02d6d7c/?limit=25#312c" rel="alternate"/><published>2021-10-14T18:30:34.734000Z</published><updated>2021-10-14T18:30:34.734000Z</updated><author><name>julspower</name><uri>https://forge.codesys.com/u/julspower/</uri></author><id>https://forge.codesys.com1f46defb2dba050a080d60b4bd5ce6c6d5eaafde</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;br/&gt;
Im using machine expert from schneider (based on codesys)&lt;br/&gt;
I have a device on a modbus ioscanner (a generic device with some io channel added)&lt;br/&gt;
Currently I have a function block that I pass the first address of the input and the first address of the output of that device, which I control in that function block.&lt;br/&gt;
But to make things nicer I would like to pass only the device name to that function block (type: IoDrvModbusSerial.ModbusSerialSlave). My question is how do I access the data of that device using the device name, so I wont have to map the first in and first out and pass it as parameter to the function block??&lt;/p&gt;
&lt;p&gt;Do I have to define a device completly instead of a generic device with io channels? if so how?&lt;/p&gt;
&lt;p&gt;thank you all&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>