Ask our Experts
Didn't find what you are looking for? Ask our experts!
Share Your Feedback – Help Us Improve Search on Community! Please take a few minutes to participate in our Search Feedback Survey. Your insights will help us deliver the results you need faster and more accurately. Click here to take the survey
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-04-29 12:34 AM
Hello everyone,
I’m currently working on a BMS project where an AS-P controller is used to manage lighting and monitor alarms. For this, I’m using a Modicon M221 (TM221CE24R) with two I/O extension modules:
TM3DI16 (digital inputs)
TM3DI32K (digital inputs as well).
This is my first time working with the M221, and I need it to communicate with the AS-P via Modbus TCP so that the AS-P can read the input states and possibly write commands.
Here are my main questions:
How do I configure the M221 as a Modbus TCP slave?
How can I create and expose Modbus points (coils, registers) in the M221 program so they can be accessed by the AS-P?
Is there a default addressing table, or do I need to manually assign each point I want to expose?
Thank you in advance for your support, advice, or any example of a similar configuration!
Best regards,
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-04-29 11:04 PM
You have to activate manually Modbus TCP Server
And you have to map all IOs to %MW for 16Bit values (Holding Register) oder %M for (Coil).
Attached a program were I do exactly the same, but I use Modbus RTU instead.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.