Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively.Register now to secure your spot!
Modbus TCP Input bits on Modicon M340
Modicon PAC Forum
A forum for topics related to the scope of Modicon PAC offers and ecosystem along the whole lifecycle: Modicon M580 and 340, EcoStruxure Control Expert, EcoStruxure Process Expert (Unity Pro) and more.
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-03-1610:22 PM
Traditional ModBus addressing vs IEC ModBus addressing
In all cases, note that the traditional ModBus address starts at 1 and the IEC ModBus address starts at 0.
Input bits 1xxxx1 become %1xxxx0
Input words 3xxxx1 become %IWxxxx0
Output bits 0xxxx1 become %Mxxxx0
Output words 4xxxx1 become %MWxxxx0
Input bits and input words can only be read by an external device.
If you wish to simulate/ manipulate these values in your application you can do this using the Simulation function blocks. Refer to the Help file for WRITE_INPUT_EBOOL as an example.
Output bits and output words are Read/ Write capable.