Schnieder vijeo communication via ethernet tcp/ip

jagjag1

Member
Join Date
Jan 2012
Location
Codesys
Posts
17
Hi I'm using a Magelis HMIGTO6310 and want to communicate with an barcode scanner. The scanner I'm using is a Leuze and it supports Ethernet TCP/IP and the string that i will send is 13 chars. The scanner have the possibility to be ether server or client. In Vijeo I'm looking for a function where I just need to define an IP number and the port number. I have found the function where you can use a generic driver (IO manager/new driver..../Generic drivers/EIP explicit equipment) but when it comes to the class, instance, attribute(see the attached picture) and so on I'm a bit unsure.
I'm using Vijeo v6.1.3.3084 sp3.1

Thanks in advance Daniel

ScreenShot001.jpg
 
I don't know about the Leuze device, but I doubt you have the correct driver in the Magelis. The one you have selected is for EtherNet/IP, which is a fieldbus protocol managed by ODVA. It has a particular format and structure and is complex. I have used this driver and it's capability is quite low for EIP communications.

You'll have better luck if you describe the Leuze device more. I'd look at the spec sheet to see what it supports, but don't know the model number.

It sounds as if your issue is similar to this one?

http://www.plctalk.net/qanda/showthread.php?t=87495
 
Hi and thank you for your quick response. I posted this link that you attached. It was the same with the lmc058 plc. Schneider said that the plc is only compatible with modbus or EtherNet/IP protocol. So I started using the codesys code and the scanner is working with the plc. The problem İ'm facing is that randomly the plc crashes and Schneider can't explain why. Even while not communicating with the scanner via Ethernet Tcp/IP prtocol it still crashes. This is why I'm searching for an alternative way to get the value from the scanner to the plc.

You are correct it states that the hmi is for EtherNet/IP or modbus. But if you want to use this hmi with 3rd party plc it can communicate via Ethernet Tcp/IP prtocol, for example with Mitsubishi, Siemens or Allan bradly and so on.
 
Schneider said that the plc is only compatible with modbus or EtherNet/IP protocol.

OK - maybe they only support these protocols, but I have used the Network Variables feature, and the link I shared has raw-UDP communication through the function blocks, so clearly it is compatible. Did you send Schneider support their very own advertisement? If they don't support it, why are they advertising it?

So I started using the codesys code and the scanner is working with the plc. The problem İ'm facing is that randomly the plc crashes and Schneider can't explain why.

Let me guess... this communication profile is not supported, so they won't help you?

Even while not communicating with the scanner via Ethernet Tcp/IP prtocol it still crashes.

Sounds like you have bigger problems than scanner communications. If it still crashes, not sure how another communication method solves your whole problem... maybe you need a new PLC vendor?

You are correct it states that the hmi is for EtherNet/IP or modbus. But if you want to use this hmi with 3rd party plc it can communicate via Ethernet Tcp/IP prtocol, for example with Mitsubishi, Siemens or Allan bradly and so on.

True, but just claiming 'Ethernet TCP/IP' is not sufficient to determine communications capability. I am sorry this is so, but in fact, it is.

ModbusTCP uses Ethernet and TCP/IP.
EtherNet/IP uses Ethernet and TCP/IP.
Profinet uses Ethernet and in most cases uses TCP/IP (I think IRT uses raw Ethernet frames, so may not use TCP/IP at all - but confirm with a Profinet expert)
etc...

So claiming 'Ethernet and TCP/IP' is necessary, but not sufficient, to determine if these devices can talk.

Now the Magelis may have raw Ethernet TCP/IP capability; I don't know. My point was only that the EtherNet/IP explicit driver you selected would not work. The Magelis driver selection is not huge, but they have some. Schneider HMI guys should be able to inform you of this if no one hear knows? I only use Magelis when I have to, I prefer other brands. There is nothing wrong with it, I just prefer others. For instance, Redlion HMIs can do this.
 

Similar Topics

Rs485 module then 2 wire belden 9841, modbus network picking up electric meters. Does this need to be wired as a ring or a radial? Thankyou
Replies
1
Views
88
Hi All, Not done too much with Schnieder PLC's before and on the few I have there has always been a ethernet port, however have come across an...
Replies
2
Views
935
hello i wanto asking the setting and program for communication modbus The plc that i use is CJ2m cpu31 i use extra communication module...
Replies
0
Views
1,700
I'm working with Ecostruxture Control Expert software and I have a ramp at constant rate that doesn't do anything. This is existing code that used...
Replies
1
Views
1,298
Hello all, I have a Siemens 1200 plc which I am trying to get to communicate with a schnieder atv320 inverter with a profinet card. I have the...
Replies
4
Views
2,135
Back
Top Bottom