Rockwell E/IP Instance Datatypes

Join Date
Oct 2012
Location
Richfield, Ohio
Posts
465
Not a Rockwell guy, but will be setting up a Yaskawa controller to work with a ControlLogix PLC via Ethernet/IP. The Yaskawa controller can mix datatypes, but it appears that the Rockwell side can't. Is that true? If I want to send DINT's and REAL's, do I have to put them in different instances? Using both Implicit and Explicit messaging in the application.
 
On the Rockwell side, if you developed a UDT for the transfer, you can mix data types in the UDT. I often create UDT's like this for produced/consumed tags in CLX. Have 10 DINTS, followed by 20 Reals for example.
 
Highland:
Last week I made my first interface with yaskawa A1000 drive and CompactLogix.
It had messages and AOI, if you want a copy just let me know your email via PM.
 
Originally posted by Highland Controls:

The Yaskawa controller can mix datatypes, but it appears that the Rockwell side can't.

This is correct. Any given generic I/O instance will need to use all the same data type for the instance.

Ken Moore talks about the way I usually handle this kind of thing. However, you will need to use a COP or CPS to get the I/O data into the UDT. The Logix processors don't support the concept of a union. The MOV instruction will preserve the value of a tag across datatypes, which you don't want. A COP is a byte-for-byte copy of one memory area to another. This is what will allow you to put the bit pattern of a REAL into a DINT and get it back into a REAL.

You can do this same thing element by element without the UDT but the UDT method takes care of the whole data set in one instruction.

Keith
 
Is it an ordinary Sigma7iec drive, or the "SigmaLogic 7" version ? SigmaLogic is a lot more tightly integrated with Rockwell than the IEC controllers.

In general a cyclic I/O connection can be a block of one datatype, and an MSG instruction can use a payload of one datatype.

A common workaround is (as posted) to "pack" data bytes into the other data type and "unpack" them on the other side. This has been a solution (and a headache) on all platforms for decades, as anyone who has transferred a floating-point value in a Modbus register can tell you.
 

Similar Topics

Hey! I couldn't find any answer for my question anywhere, so maybe You can help me. Most of the time I was working with Siemens. I created an AOI...
Replies
4
Views
1,224
I have a PH meter that I am trying to bring its data into 1756-L81. I have downloaded the Rockwell MODBUS AOI kit, but I am not sure if I need to...
Replies
2
Views
52
Hi all. Customer wants analog faceplates really bad, even if we explained that it doesn't make much sense in his process. What he wants to see...
Replies
5
Views
82
Hello, recently I saw a graphic from any Rockwell App, I cant identify which one is. Attached a SS. Its used to see dashboard from datapoints and...
Replies
2
Views
127
I'm working with a project that contains some routines in ST but mostly in ladder. Am I correct in assuming this 'rung': DB1001DO._01AV55_OPEN :=...
Replies
4
Views
112
Back
Top Bottom