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: 2019-11-2501:58 PM
Modbus TCP M340
Hello all,
I m beginner with Modbus communication. My task is to all digital inputs from PLC put in register and enable communication with BMS center. People from BMS center can just read state of inputs, not change. I want to create register with information as below:
%I0.1.0 %MW10.0 40011: bit 0 %I0.1.1 %MW10.1 40011: bit 1 %I0.1.2 %MW10.2 40011: bit 2
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-11-2503:21 PM
Hey,
I would create an integer variable with the correct Modbus address and do the mapping in a ST program (see attachment). If you were using a M580 you do this all in one go with Alias'. You would map the IO card drop, slot and channel to the variable in the 'Alias of' column and but the desired Modbus address in the 'Address' column. But you can't do this with the M340 I am pretty sure (could be wrong, I mostly work with the M580).