Need help for modbus communication in ML1200

JaiDutt

Member
Join Date
Jan 2013
Location
Lucknow
Posts
22
Hello everyone,
M using micrologix 1200 and it is connected to net-aic using pm02 cable, then net-aic is connected to my laptop using pm02 and a serial to usb convertor, i have connected the energy meter to net-aic using single pair shielded cable at RS485 port. now m trying to read data from meter using msg instruction bt m not able to get the data. m attaching pic of my program . please help me out,

thanks

program pic.jpg meter register list.jpg
 
Hi,

There may be other things you need to check, but the first thing is your port settings. It doesn't look like you have set your channel to Modbus Master. I posted a couple of screen shots a couple of days ago that may point you in the right direction...

Rob
 
Thanks bt still no success

I have made a few changes in configuration as the images attached....
please tell me where i m going wrong.

thanks

img1.JPG img2.jpg img3.jpg img4.JPG img5.JPG
 
Hi,

You will need to check the protocol settings of your Slave device (Baud Rate/Parity/Stop Bits etc) and then when prompted during the download 'Apply' these settings. I presume you are connecting to the 2nd port (HMI/Programming) of the ML1200 with your laptop/PC?

Regards,

Rob
 
then

img1 = plc type
img2 = channel 0 config
img3 = program
img4 = msg setup screen
img5 = error while downloading

i pressed dont apply
program got downloded and it showed error as in img6

img6.jpg
 
Hi,

Are you saying you only have one port on the Micrologix 1200? If so, you are going to find this a little tricky to achieve! There is a dual port ML1200 that has a fixed 2nd port (DF1/19.2K) that you would use as your programming port and the other port would be set to your Modbus parameters. If you only have one port and you apply your protocol settings you will inhibit all communication via your laptop...

Regards,

Rob
 
Hi,

I'm not sure of budgets etc and why the ML1200 was selected, but if it needs to be AB and you can change the base unit, you will find the ML1100 far easier to work with. It has an RS485 port (so no AIC needed) and also has an ethernet port so programming is very accessible while CH0 is configured for Modbus...

Regards,

Rob
 
earlier i had done this with ml1400 it also has 3 ports so dat was a success. now m stuck with this. is it possible to do this with one port
 
Hi,

Once you set the port to Modbus, you will no longer be able to communicate with RSLogix500.

Regards,

Rob
 

Similar Topics

Title summarizes the overview of the problem. I am trying to make AVEVA Edge 2020 and a Schneider TM241CE40R to talk to each other via Modbus...
Replies
18
Views
2,091
Hello, I need some help/advice. I have a Micrologix 1400 series B on surface at a mine site. Underground I need to read hart data from a flow...
Replies
6
Views
2,351
Hi all, Im working on a tank filling project where a pump is started remotely which fills a tank locally. At the remote location I have a...
Replies
5
Views
3,322
I want connect MODBUS RTU device with AB ML1100 PLC to read the holding registers of MODBUS device. In RSLogix 500 I have already configured the...
Replies
13
Views
8,507
Hi, I Have a TSX Premium with ethernet card and a Siemens PLC with a CP343-1 ethernet card. Both can speak Modbus. Anyone who have done this...
Replies
5
Views
5,287
Back
Top Bottom