Modbus over Micrologix 1400 B series

sinusterror

Member
Join Date
Sep 2017
Location
asuncion
Posts
6
Hello people!, I finally was able to get the job done with modbus in my AB ML 1400, now my question is, I´m receiving correctly the information from modbus TCP to my MSG table in RSLOGIX, but when the data that I´m reading suddenly change, the data doesnt change in my MSG table unless i reboot the AB unit, any clues?
 
Hello OkiePC, acutally my logic isnt pretty much developed, I´m just testing the MODBUS, its only a input bit NC, that is activating a MSG, the thing is that I´m sending updated values with my arduino with MODBUS, and only rebooting the PLC will update the table.
 
Hello OkiePC, acutally my logic isnt pretty much developed, I´m just testing the MODBUS, its only a input bit NC, that is activating a MSG, the thing is that I´m sending updated values with my arduino with MODBUS, and only rebooting the PLC will update the table.

This is a guess, but it sounds like your MSG instruction is only happening once each time the PLC goes to run mode. You need logic to cause the MSG to repeat.
 
mmm, I thought the loop of the ladder itself might do the magic, but seems I´m wrong, do you have an basic example of how to keep a MSG alive all the time OkiePC? in advance thank you very much for the support.
 
I normally monitor the ER and DN bits from the message instruction to know that it either completed or failed and then move on to the next message.

It is often useful to have some delay between each message. You don't want to overwhelm the port with requests.

So in your case, you could do something like this. I didn't test this logic, just whipped it out real quick, so there could be a mistake:

REPEAT_MSG.png
 

Similar Topics

I want to learn about modbus communication and I saw on another thread about inexpensive modbus relay units so I found it on Amazon along with a...
Replies
46
Views
7,225
I have a spare Micrologix 1400 Series B I bought used on Ebay awhile back. I had thought of it as a spare PLC for my train project but I screwed...
Replies
4
Views
1,254
Good Day! Would anyone be able to explain what is happening with the COP's and MOV's in this Modbus poll routine? If anything I am confused by...
Replies
6
Views
1,731
I been tasked with setting up communication between a heating cooling unit manufactured by Advantage Engineering and a Microloagix 1400 plc. The...
Replies
6
Views
2,508
Hi, I am trying to communicate between a MicroLogix 1400 and a Click PLC. There is a great video from AD that shows the simplicity of...
Replies
2
Views
1,766
Back
Top Bottom