To Read Voltage And Current Values through RS 485 Communication

Join Date
Oct 2017
Location
Cochin
Posts
4
Hai Everybody,


I have a doubt about How to read Voltage and Current values from a multifunction meter to Allen Bradley SLC 500 PLC through RS 485 Communication.Multifunction Meter too have Rs 485 Communication port.
I am using Conzerv EM6400 with RS 485 Communication.

Thanks And Regards.
jessops.
 
RS485 doesn't tell you about the type of communications, just the physical and electrical method of transmitting data. The bit you need to research is Modbus RTU protocol. I haven't used the Allen Bradley SLC 500 PLC and know nothing about it, but to talk to the Conzerv EM6400 it will have to have a Modbus Master communications function and obviously an RS485 port available.
 
RS485 is the "electrical protocol" for the communication, Modbus is the means (or how) the data will be understood.

Modbus will use various Addresses that hold data values. Example: address 5602 might hold a 16 bit word that would equal the line voltage in a VFD Drive.
 
For some decades, the SLC did not have 'native' Modbus Master fuctionality. Prosoft was A-B's partner for communications modules, that's probably still the case today. The Prosoft module was not inexpensive.

An alternative might be to use your HMI panel or software as the Modbus master to communicate to the energy meter. HMI panels or HMI software frequently have Modbus master functionality and an RS-485 port.

Caveat emptor; Modbus is never plug-and-play, it is always a project.

A couple of universal issues people run across when implementing Modbus RTU (over RS-485)

1) RS-485 drive lines are labeled differently by different vendors +/-, A/B, D/Dnot. Most simply, one line is (+), the other (-). But one vendor's (+) can be another vendor's (-), so when comm doesn't work, the first thing to do is to swap the (+) and (-) lines on one end.

2) Half duplex, 2 wire RS-485 is mis-named. RS-485 should hae a signal ground, a third wire. Some vendors ground the RS-485 to chassis ground which can have common mode difference in ground potential creating a ground loop, requiring anRS-485 isolator. This rarely shows up on a bench test, but frequently appears when the slave (energy meter is 300m away from the master.

3) Serial settings on both sides must be the same. Many devices do not support no parity/2 stop bits even though it is technically the Modbus spec.

4) Cabling should be shielded twisted pair.

5) Termination resistors across the (-) and (-) driver lines at both ends is good practice, but comm at 9600 or 19.2k on the bench with short cabling will always work without termination.

6) Getting serial to connect and communicate can be frustrating; so doing initial testing is easiest on a bench, as opposed to when the stuff installed in the field some distance away from each other.

My suggestions is to use a generic Windows Modbus Master like Modscan32 or Simply Modbus or any of the dozen-or-so freebie Masters to read a known, non-zero value from a register. Then you can move onto using the master to read that same known, non-zero value from the slave.

7) Some programmers start counting from zero. Real people start counting from one. Modbus register addressing suffers from having some addressing be zero-based, other addressing one-based. A one based register (4)0004 is zero based 00003. If the master has to use whatever addressing the slave has because the slave addressing is fixed.

8) Getting the master to interpret the data it has read from the slave is its own challenge, especially for floating point (real) values. There are two commonly used word/byte orders for 32 bit, two register values and getting the master to interpret the word/byte order can be a challenge. Any decent Modbus master will have a selection for one or the other byte word order (sometimes called Big or Little Endian, or byte swap or ) except for some of the freebie masters which have only one.
 
Hai Everybody,


I would like to thank you everybody for your valuble informations.
I also was trying to make a ladder through Allen Bradely Ascii commands command ,will this do?


Warm Regards,
Jessops.
 
No. Whilst you could in theory byte-bash the protocol together, the cost of your time will certainly outweigh the cost of an interface module.

I've used a RedLion Datastation Plus to interface between an SLC and a Modicon PLC talking modbus. Hardware cost less than $1k NZD and took me about 10 minutes to set up.

I think the Prosoft modbus module for an SLC is around 2k.
 
If you use the RedLion DSP as I suggested then you don't need to write a single rung of ladder. The DSP can be configured to read the values from your power meter and then write them into a data table in the SLC.

Here is a link to a Youtube video. They are doing the other way round (DF1 to modbus) but the principle is the same.

https://youtu.be/4iEePkPE9a0
 
Definitely go with the RedLion DSP, used one last week for the first time to connect an Idec PLC to and AB PLC. Once I had connected the USB and got it configured, everything worked very well, and you can even create data tags to monitor what you are reading/writing.
 

Similar Topics

Hi, The hardware is: Click Plc model # CO-O1DD1-O HMI model # S3ML-R magnetic-inductive flow meter model # FMM100-1001. I will set the flow meter...
Replies
4
Views
172
Is there a way to use the FAL instruction to do +=2 instead of +=1? I have an array that is organized with alternating "data" and "flag" values...
Replies
5
Views
132
Hi everyone i have a customer, who wants to show an alarm on the machine, if the I/O forces are enabled and set, on at ControlLogix L81E with...
Replies
3
Views
269
Hi Iam using monitouch hmi(V9 soft) with omron plc cj2m (CX programmer). In this I want to read a data from hmi to plc. The data was like...
Replies
0
Views
106
Hi everyone. Quick questions. On UnityPro, I want to open and quickly read tags from a .STA files witouth opening the program. I have 30 plc...
Replies
2
Views
155
Back
Top Bottom