<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to A few quick Ethernet/IP and ModBus questions</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/faa776fb2a/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/faa776fb2a/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/faa776fb2a/</id><updated>2021-02-22T14:53:31.447000Z</updated><subtitle>Recent posts to A few quick Ethernet/IP and ModBus questions</subtitle><entry><title>A few quick Ethernet/IP and ModBus questions</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/faa776fb2a/?limit=25#0fab" rel="alternate"/><published>2021-02-22T14:53:31.447000Z</published><updated>2021-02-22T14:53:31.447000Z</updated><author><name>skyefire</name><uri>https://forge.codesys.com/u/skyefire/</uri></author><id>https://forge.codesys.com4c7c6da94d946e4e7a93b19880181fd944c4fbb0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hm... I have Winpcap installed (as part of WireShark) already.&lt;/p&gt;
&lt;p&gt;If I lacked some critical component, would CodeSys generate any warnings?  B/c so far, I only get "device not found" in the EIP Scanner Log.&lt;/p&gt;
&lt;p&gt;As a test, I connected the module as an EIP Adapter to a Fanuc robot.  This doesn't use an EDS file, just basic settings: Product Code, Manufacturer Code, Major/Minor Revs, and number of Bytes In/Out.  It worked fine.&lt;/p&gt;
&lt;p&gt;So I went back to CodeSys, and tried creating a Generic EIP Adapter under the Scanner, using the same "generic" settings that worked on the robot.  Still no luck.&lt;/p&gt;
&lt;p&gt;I've also tried connecting this module to my Raspberry Pi running CodeSys, and get the same failure.&lt;/p&gt;
&lt;p&gt;This is &lt;em&gt;really&lt;/em&gt; frustrating.  I can't figure out what I'm doing wrong here.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>A few quick Ethernet/IP and ModBus questions</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/faa776fb2a/?limit=25#96ba" rel="alternate"/><published>2021-02-21T16:21:53.216000Z</published><updated>2021-02-21T16:21:53.216000Z</updated><author><name>hence.persson</name><uri>https://forge.codesys.com/u/hence-persson/</uri></author><id>https://forge.codesys.com982c909546019d8d069c0ec93236ea02a38cbd7d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Winpcap was it.. Needed for control win runtime not needed for rte. Needed at least for profinet unsure about ethernet/ip&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>A few quick Ethernet/IP and ModBus questions</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/faa776fb2a/?limit=25#5a0e" rel="alternate"/><published>2021-02-20T09:14:24.312000Z</published><updated>2021-02-20T09:14:24.312000Z</updated><author><name>hence.persson</name><uri>https://forge.codesys.com/u/hence-persson/</uri></author><id>https://forge.codesys.comaad2fdad4317aec0c5b3da71d8001e5a5b66217f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Regarding win runtime.&lt;/p&gt;
&lt;p&gt;From what I remember modbus tcp works out of the box. Profinet needs to install a free software don't remember the name. Maybe the same is true for ethernet ip ?&lt;/p&gt;
&lt;p&gt;I have tested profinet in the demo runtime and that worked but ad I said needed to install some software first.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>A few quick Ethernet/IP and ModBus questions</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/faa776fb2a/?limit=25#738e" rel="alternate"/><published>2021-02-20T07:50:39.701000Z</published><updated>2021-02-20T07:50:39.701000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com96c5acb8942d3ead07866384ecaedc9ded1de5e7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;if you read the product description:&lt;br/&gt;
&lt;a href="https://store.codesys.com/codesys-control-win-sl.html" rel="nofollow"&gt;https://store.codesys.com/codesys-control-win-sl.html&lt;/a&gt;&lt;br/&gt;
&lt;strong&gt;you see what is included (and licensed)&lt;/strong&gt;&lt;br/&gt;
Fieldbus support&lt;/p&gt;
&lt;p&gt;With the delivery of the Runtime Package the following fieldbuses are supported:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;CODESYS&lt;/span&gt; &lt;span class="n"&gt;CANopen&lt;/span&gt; &lt;span class="n"&gt;Manager&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;Device&lt;/span&gt;

&lt;span class="n"&gt;CODESYS&lt;/span&gt; &lt;span class="n"&gt;EtherCAT&lt;/span&gt; &lt;span class="n"&gt;Master&lt;/span&gt;

&lt;span class="n"&gt;CODESYS&lt;/span&gt; &lt;span class="n"&gt;EtherNet&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;IP&lt;/span&gt; &lt;span class="n"&gt;Scanner&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;Adapter&lt;/span&gt;

&lt;span class="n"&gt;CODESYS&lt;/span&gt; &lt;span class="n"&gt;J1939&lt;/span&gt;

&lt;span class="n"&gt;CODESYS&lt;/span&gt; &lt;span class="n"&gt;Modbus&lt;/span&gt; &lt;span class="n"&gt;TCP&lt;/span&gt; &lt;span class="n"&gt;Master&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;Slave&lt;/span&gt;

&lt;span class="n"&gt;CODESYS&lt;/span&gt; &lt;span class="n"&gt;Modbus&lt;/span&gt; &lt;span class="nb"&gt;Serial&lt;/span&gt; &lt;span class="n"&gt;Master&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;Slave&lt;/span&gt;

&lt;span class="n"&gt;CODESYS&lt;/span&gt; &lt;span class="n"&gt;PROFIBUS&lt;/span&gt; &lt;span class="n"&gt;Master&lt;/span&gt;

&lt;span class="n"&gt;CODESYS&lt;/span&gt; &lt;span class="n"&gt;PROFINET&lt;/span&gt; &lt;span class="n"&gt;Controller&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="n"&gt;Device&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;extra license is needed for:&lt;/strong&gt;&lt;br/&gt;
Product options&lt;/p&gt;
&lt;p&gt;The product can be extended by the following chargeable product options:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;CODESYS&lt;/span&gt; &lt;span class="n"&gt;BACnet&lt;/span&gt; &lt;span class="n"&gt;SL&lt;/span&gt;

&lt;span class="n"&gt;CODESYS&lt;/span&gt; &lt;span class="n"&gt;KNX&lt;/span&gt; &lt;span class="n"&gt;SL&lt;/span&gt;

&lt;span class="n"&gt;CODESYS&lt;/span&gt; &lt;span class="n"&gt;SoftMotion&lt;/span&gt; &lt;span class="n"&gt;SL&lt;/span&gt;

&lt;span class="n"&gt;CODESYS&lt;/span&gt; &lt;span class="n"&gt;SoftMotion&lt;/span&gt; &lt;span class="n"&gt;CNC&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="n"&gt;Robotics&lt;/span&gt; &lt;span class="n"&gt;SL&lt;/span&gt;

&lt;span class="n"&gt;CODESYS&lt;/span&gt; &lt;span class="n"&gt;TargetVisu&lt;/span&gt;

&lt;span class="n"&gt;CODESYS&lt;/span&gt; &lt;span class="n"&gt;WebVisu&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>A few quick Ethernet/IP and ModBus questions</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/faa776fb2a/?limit=25#145b" rel="alternate"/><published>2021-02-19T14:41:31.177000Z</published><updated>2021-02-19T14:41:31.177000Z</updated><author><name>skyefire</name><uri>https://forge.codesys.com/u/skyefire/</uri></author><id>https://forge.codesys.com6acba61f81d850fd9453bd0c31a2cac417f94080</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It occurs to me that, so far, all my &lt;em&gt;successes&lt;/em&gt; with EIP and ProfiNet have been on a licensed runtime -- my failures have been on my desk machine, running the "demo" mode 2hrs at a time.&lt;/p&gt;
&lt;p&gt;The demo mode does ModBus fine, but is it limited on EIP or PN?  I've heard elsewhere that the demo mode can't run PN, but &lt;em&gt;will&lt;/em&gt; run EIP, but I haven't found a definitive answer.&lt;/p&gt;
&lt;p&gt;Does anyone know where there might be an official CodeSys document that details just what the "demo" mode can/can't do?  (aside from the 2hr run time limit)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>A few quick Ethernet/IP and ModBus questions</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/faa776fb2a/?limit=25#12c1" rel="alternate"/><published>2021-02-18T14:15:44.353000Z</published><updated>2021-02-18T14:15:44.353000Z</updated><author><name>skyefire</name><uri>https://forge.codesys.com/u/skyefire/</uri></author><id>https://forge.codesys.com320febede28e050950cef03c5916e39af86db5c1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The plot thickens...&lt;/p&gt;
&lt;p&gt;The two "production" ModBus modules I've been trying to connect to are proving to be very stubborn (despite working fine on an RS-Logix PLC) -- my customer is looking into replacing them with EIP modules instead.  EIP on this CodeSys PC (Win64, non-RTE) has been working effortlessly (so far) on a big Numatics G3 valve/input module stack.&lt;/p&gt;
&lt;p&gt;In the meantime, I've been using a Turck TBEN multi-protocol I/O module on my lab bench to experiment with.  I've been &lt;em&gt;completely&lt;/em&gt; unable to get CodeSys to connect to this module via EIP.  But when I switched the module to ModBus, I was able to connect with no trouble at all.  Is CodeSys's FieldBus implementation just really finicky?&lt;/p&gt;
&lt;p&gt;This TBEN module will also do ProfiNet -- I guess I'll try that next.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>A few quick Ethernet/IP and ModBus questions</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/faa776fb2a/?limit=25#f466/7c8e" rel="alternate"/><published>2021-02-17T17:14:47.780000Z</published><updated>2021-02-17T17:14:47.780000Z</updated><author><name>Morberis</name><uri>https://forge.codesys.com/u/morberis/</uri></author><id>https://forge.codesys.com40e979cc8d08398229d8cf8b6c55c56cddadaf3b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Heh, it's probably too late to switch your modbus TCP/IP acromag modules to profinet module? Are you using the module with i20?&lt;/p&gt;
&lt;p&gt;Unfortunately the few times I've used modbus tcp/ip it's just worked so I don't have much advice for you. Have you tried the modbus communication with the EIP communication removed?&lt;/p&gt;
&lt;p&gt;If you're spending hours trying to get it to run if you have the authority or can get permission I would recommend buying a support ticket.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>A few quick Ethernet/IP and ModBus questions</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/faa776fb2a/?limit=25#f466" rel="alternate"/><published>2021-02-15T15:08:13.283000Z</published><updated>2021-02-15T15:08:13.283000Z</updated><author><name>skyefire</name><uri>https://forge.codesys.com/u/skyefire/</uri></author><id>https://forge.codesys.coma54ff17a55d691b2a2b59c68e23ad09c86bab1d1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;So, a few updates, for posterity.  :P&lt;/p&gt;
&lt;p&gt;My production Ethernet/IP connection worked instantly, just by importing the EDS file.  It was for a complex Numatics G3 valve&amp;amp;I/O setup.  So my test-bench problems with the much simpler Turck adapters remains a mystery.&lt;/p&gt;
&lt;p&gt;My &lt;em&gt;ModBus&lt;/em&gt; connection, OTOH... I've had no luck connecting to my two ModBus I/O modules:&lt;br/&gt;
(https://www.acromag.com/shop/signal-conditioning-network-i-o/ethernet-io-modules/ethernet-digital-i-o/xt1120-16-channel-discrete-ethernet-i-o-modules-with-sourcing-outputs/)&lt;br/&gt;
The ModBus log just shows "socket error."  Nothing more.  I've confirmed I can ping the modules from my CodeSys runtime computer.  And I spent hours playing with the Connection settings, without any luck -- I couldn't even get a different error!&lt;/p&gt;
&lt;p&gt;And I was informed that this CodeSys will &lt;em&gt;also&lt;/em&gt; be running ProfiNet.  So now I may have &lt;em&gt;three&lt;/em&gt; bus protocols running on the same ethernet port.  All fairly low-traffic, so hopefully it will work, but....&lt;/p&gt;
&lt;p&gt;I've been told that the "free" 2hr runtime will do &lt;em&gt;all&lt;/em&gt; the FieldBusses &lt;em&gt;except&lt;/em&gt; Profinet, for some odd reason (probably Siemens Licensing, I would guess).  I have yet to try this for myself.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>A few quick Ethernet/IP and ModBus questions</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/faa776fb2a/?limit=25#3f94" rel="alternate"/><published>2021-02-04T15:11:18.493000Z</published><updated>2021-02-04T15:11:18.493000Z</updated><author><name>sgronchi</name><uri>https://forge.codesys.com/u/sgronchi/</uri></author><id>https://forge.codesys.com31d108902d8047c3b0190516f13241c0560ad221</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I cannot help you about EIP because I never used it (just know something about it).&lt;/p&gt;
&lt;p&gt;Simulation mode works inside the IDE, and it executes 61131 code and visualizations (with some differences to the real TargetVisu). No communication with the external world.&lt;/p&gt;
&lt;p&gt;The other is the real Windows SoftPLC, which needs a license to work, full featured.&lt;/p&gt;
&lt;p&gt;But if you are developing for a PLC that's not x86-based (ARM, POWER, Aurix, ...) like I usually do, if you want to test your logic locally the two ways are&lt;br/&gt;
1) testing in simulation;&lt;br/&gt;
2) maintaining a second project or a second device in the tree targeting Windows SoftPLC replicating your logic;&lt;br/&gt;
The second one is time-consuming.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>A few quick Ethernet/IP and ModBus questions</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/faa776fb2a/?limit=25#deb3" rel="alternate"/><published>2021-02-04T15:05:40.024000Z</published><updated>2021-02-04T15:05:40.024000Z</updated><author><name>skyefire</name><uri>https://forge.codesys.com/u/skyefire/</uri></author><id>https://forge.codesys.comf138fb677efb2d091352896725d7ac2b6220652c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Addendum:  I get exactly the same issue connecting these modules to my Raspberry Pi CodeSys engine, and I've checked that these modules function on a regular Allen-Bradley PLC.  So there &lt;em&gt;must&lt;/em&gt; b something I'm doing wrong in CodeSys, and doing wrong consistently.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>