Ask our Experts
Didn't find what you are looking for? Ask our experts!
Launch of Consumer/Home Owner registration process! We are pleased to announce the commencement of the Consumer/Home Owner Registration Process on Community. Consumers/Home Owners may now proceed to register by clicking on Login/Register. The process is straightforward and designed to be completed in just a few steps.
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.
Search in
Posted: 2019-11-25 01:58 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-11-25 01:58 PM
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
What is the easier way to do that?
Thanks in advance.
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: 2019-11-25 03: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).
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.