<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Modbus Function Code 15, writing multiple coils</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1eedd6c558/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1eedd6c558/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/1eedd6c558/</id><updated>2025-02-26T09:35:10.832000Z</updated><subtitle>Recent posts to Modbus Function Code 15, writing multiple coils</subtitle><entry><title>Modbus Function Code 15, writing multiple coils</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1eedd6c558/?limit=25#f13e" rel="alternate"/><published>2025-02-26T09:35:10.832000Z</published><updated>2025-02-26T09:35:10.832000Z</updated><author><name>atcprojectteam</name><uri>https://forge.codesys.com/u/atcprojectteam/</uri></author><id>https://forge.codesys.com2098909621df7350d4faeddfbf4cb55a204ecfa2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi all, I am using an RSTI-EP I/O card along with the EPXMBE101 Modbus/TCP network adapter. I have a Control Standard L license. I successfully connected to the I/O card via Modbus and can read inputs without any issues. However, when I try to write to the digital output modules using function code 15, I am unable to make any changes.&lt;/p&gt;
&lt;p&gt;Here’s what I have done so far:&lt;/p&gt;
&lt;p&gt;I created a small project using Structured Text.&lt;br/&gt;
I set up Modbus channels (as shown in the attached image) and mapped the pins. When I use cyclic mode, the connection results in an error. However, when I use the rising edge, the connection works, but I don’t see any changes on the I/O card.&lt;br/&gt;
For the output module, I assigned one bit to high.&lt;br/&gt;
After that, I ran CODESYS Control Win V3. (Should I be running the PLC as well?)&lt;br/&gt;
I built the program, but I am not receiving any response from the I/O card.&lt;br/&gt;
Could you please advise on what might be causing this issue?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>