RL DataStation setup help

cncsparky

Member
Join Date
Dec 2014
Location
Ks
Posts
98
First Modbus project, rookie question I hope.

Modbus device -> DSPLE -> Control Logix L72 via Ethernet I/P

Need to read 5 Modbus registers. Four are 16 bit, one is 32 bit.

I have a block set up in the DSP with a size of 5 and mapped the appropriate Modbus registers.

My question is for the input instance of the Generic Ethernet module, what do I set the 32 bit size to?

I'm confused as to how the DSP moves the 16 bit words to the 32 bit tags. Will it only use two tags for the four 16 bit words, or will it use four tags and fill in the first 16 bits of the each tag? The 32 Modbus register I'm assuming will move to a single tag in the control logix.

Thanks!
 
Can you post your Crimson Code? Zip it first.

You will need 6 Gateway blocks reading 6 registers in the Modbus device. Modbus uses 16 bit registers max. So for floating point or long integers (32 bit) you have to read 2 16 bit registers and combine them in a Data Station Tag.

I am not sure how to answer your questions about a Generic Ethernet Module. Can you explain what module you are talking about? You shouldnt need anything more than a standard Ethernet Module to talk to the DSPLE and get your data.
 
The DSP is added to the 5000 project as a generic ethernet module. Data type is DINT, set an input and output instance, and a size. Does the 6 gateway blocks in the DSP = 6 DINTs in the logix project? Or would it be 3 DINTs?
 
I wouldn't add it as a generic module. I am not even sure if you can do that. Just give the DSP a IP that is in your control network. Then you set up the DSP to read the Modbus Registers you need and place that data into your PLC Tags. It is really pretty simple nothing special needs to be set up.

Here is a Youtube video that does a pretty good job explaining protocol conversion in the DSP https://www.youtube.com/watch?v=uLk5AdbPW2A

As for your question each Gateway Block will have only 16 bits of data (INT). So for each DINT you will need to read 2 consecutive registers. Same for a Real data type. So in your case with 4 INT's and 1 DINT you would need 6 Modbus Registers.

You can have the DSP write the INT data from the Modbus device to a DINT in the PLC if you want. I dont think it will affect anything. It will just write to the lower 16 bits of the 32 bit register.
 
Thanks. I think this answers my questions. One Modbus register = one logix tag. The input instance for my Ethernet module will have a size of 6, same as number of Modbus registers.

As for your question each Gateway Block will have only 16 bits of data (INT). So for each DINT you will need to read 2 consecutive registers. Same for a Real data type. So in your case with 4 INT's and 1 DINT you would need 6 Modbus Registers.

You can have the DSP write the INT data from the Modbus device to a DINT in the PLC if you want. I dont think it will affect anything. It will just write to the lower 16 bits of the 32 bit register.
 

Similar Topics

Does anyone know if the Red Lion Datastation range can do Profinet? Basically we have a machine with a PN/PN coupler serving the data we need...
Replies
5
Views
1,906
Any Red Lion Graphite Edge Controller users here ? I have an application where Prosoft MVI46-GSC Generic Serial modules were used with an SLC-500...
Replies
8
Views
3,235
I am having a problem with communication Ethernet /Ip. The relay time in transmitting information is roughly 6 seconds From PLC to redlion to...
Replies
2
Views
2,954
I'm having problems getting the red lion to talk to a GE 90/70 through the 742 card via TCP/IP Master SRTP driver. We've been able to get it to...
Replies
1
Views
1,381
I have a RedLion datastation logging data to a CF card. When i disconnected the PLC, it seems to keep logging the last read data. Is there a way...
Replies
4
Views
2,046
Back
Top Bottom