Carlo Gavazzi wm40-96 with

MiLo28

Member
Join Date
Aug 2018
Location
Manila
Posts
5
Hi, I just need some help.
i've been trying to communicate a power meter to rslogix5000.

carlo gavazzi wm40-96 with comm module MC EI ETHERNET/IP PORT MODULE.

the provider of the power meter had given me an EDS named WM30 with MCEI.eds

if I use that, the module can connect properly but the only this that I can see on the ready is a connectionfaulted bool type data. NO other data.
 
Hi Milo,

I was wondering whether you got your powermeter going in your system.

We do have 3 Carlo Gavazzi Powermeters in our plant.
The part number is WM40-96-AV5. It has a MCETH module.
The configuration of the Ethernet module is as follows:
IP address: 10.163.215.7
Subnet Mask: 255.255.255.0
Gateway Address: 10.163.215.1
Port: 502 (Modbus), I also tried to use 80 and 2222 but without success.

Our controller is a 1756-L82ES GuardLogix 5580 from Allen Bradley.

We would like to read some data into the PLC to show it on the SCADA.
I asked the supplier whether they would have an EDS file or even an AOP for
that power meter for Contrologix, but they don't.

I have got a documentation that talks somehow about classes and instances and attributes.
As far as I know, the message instruction uses classes, instances and attributes.

I just don't know what the exact setup would be, to get the values from the powermeter.
I have used the same path configuration that has been used in other messages (comms to other PLCs, 2, 10.163.215.9)


Thanks for any reply.
 
carlo gavazzi setup

hello ByteCruncher,

I hope i can still help.

what I did is i didn't use any EDS anymore.
for some reason its not working.

I manually did it using Messaging.

If you can ping your Power Meters on the network that would be good.

next thing you download this file and you can see here the addresses of the data that you want to see in your scada. https://www.enika.cz/data/files/produkty/energy%20m/CP/WM30-WM40%20CP-EtherNet_IP%20V1.1%2021052015.pdf

1st ping your PM if the network can see it.

check the pdf go to page 14. (this is just an example)
giving you an ex of the instantaneous variables (voltage and current)
notice that the CIP Assy. Inst 101d.

that is the address that you will use in messaging
and I created a tag which is real and has [12] arrays.

2nd setup your Messaging
you message type is CIP generic
service type is get attribute single
automatically Service code will be e.
class would be 4 and attribute is 3. (i forgot the reason why i use this digits.)
now the instance is the group name you will input there 101 instead of 101d.

destination is the variable where you going to put the read data.
ex. VolandCur[0] (i created 12 of this so its from 0 to 11).
you will use the VolandCur[0] so that it will start there.

3rd communication getting the path.
if your using an AEN2TR OR ENBT anything actually.
what you should do is use the name of the Enet device.
ex if you named it Gateway use Gateway, 2, (ip address)


4th tag.
just the name of the Messaging.

if that doesnt have an error go to your tags and then go to your destination tag and you will notice its reading data now.

i very hope this will help you.

its been too long.
 
Last edited:
Hi Milo,

Thanks for replying so soon.

I did have that document but could not make out which numbers I needed to put in which box
in the message instruction. I was sure there was a way to make it work with the message instruction.
Thanks for showing how you have acccomplished that task and thanks for sharing.
Just a question, what port number did you set in the powermeter?
The default was 502, which is for Modbus TCP/IP.

At the time I was not able to get any data with the message instruction.
So I tried the Modbus TCP/IP way. As I found out, Rockwell came up with a new Add-On instruction.
There is the raC_Opr_NetModbusTCPClient and raC_Opr_NetModbusTCPServer instruction.
I had to use the client instruction to make it work.
You can find the files and documentation on the Rockwell Knowledgebase Document QA58718.

Thanks.
 

Similar Topics

Hello! I have made connection in TIA portal with an energy analyzer(Carlo Gavazzi EM26-96) using Modbus RTU. What I am mainly looking for is...
Replies
13
Views
785
Hello, We're trying to connect to carlo gavazzi wm14-96 using tia portal. But we couldn't find any gsd file for it. Could you please help? Thanks
Replies
3
Views
1,120
Hi guys. I have a power meter (Carlo Gavazzi WM14-96) communicated to the PLC (AB CompactLogix L35E) via profibus. I have gotten the values, but I...
Replies
7
Views
3,388
Hi, I'm working on a PLC project including Duplines from Carlo Gavazzi, the specifik model-number are: Type G 3496 0003 I'm working on two...
Replies
0
Views
2,164
Hi all, I have a machine with a PLC ELC2001 from Carlo Gavazzi wich is stopped and I need to chech the program but I don't have neither the...
Replies
0
Views
2,696
Back
Top Bottom