In this video we're going to teach you how to configure a PLX31 Ethernet/IP
Modbus 4. So we're going to go ahead and right-click on the module,
filter it by PLX30.
And choose the PLX31 EIP-MBS4.
Now we're going to go ahead and expand the tree and right-click on the ethernet
configuration, go down to configure
and here we're going to change the IP address of the module that we're going
to download to. So I'm just going to change this to 10.1.2.250 and I'm going
to also change the gateway to 10.1.2.1 and we'll just click OK
and we'll go up to the module name right click on it and we'll go to download
from pc to device. Now once this is done we're going to select browse devices and
this will launch our ProSoft Discovery Service. Here we can right click on the
module and go ahead and configure the IP address to the actual module so we can
download via ethernet and i'll just change it to 10.1.2.250 as well.
And once we're done here we just click OK and close that out. Now we'll go ahead
and download to the destination address which is 10.1.2.250 which is the
ethernet/ip modbus4.
Now we're going to bring in the EDS file using RSLinx
Classic, so I open up RSLinx Classic and I click connections, RS Who, open up
ethernet IP and choose our device which is going to be 10.1.2.250.
Now once we see our device we'll right-click on it and choose Upload EDS from module.
Now we'll open up the EDS wizard the first step it's going to test the EDS and it's
going to show that the tests were successful, there's no errors just going
to show the graphic of our module and the last step it's actually going to
register the EDS file. And now this is all done now we can just click finish
and our EDS is now uploaded and now you will notice that the image of our
gateway shows up in RS Who in RSLinx Classic
Okay now we'll go over the EIP Class 1 connections: number of connections may
vary depending upon your module. They also have a 248 word input size and 248
word output size and they increment by 250 words at a time starting at input at
0 and output at 2,000 and just increment for values of 250 there I'm going to go
ahead and leave all these as is.
Now we're going to configure an IO
connection to a ControlLogix processor version 20 or newer so we're going to go
ahead and choose revision 20 and we're going to give it the name of ProSoft
Training. I have a seven slot chassis.
So we'll select ok and we'll go down to the
1756 backplane
Select new module and we're going to filter it by type and we're going to
choose communication and we're going to drill down to the 1756 ENBT.
Select this module and click create and name it ENBT
and give it the IP address of 10.1.2.110 and we'll go ahead and leave that in
slot 1. Select ok and close this dialog box. Now we'll just right-click on the
ethernet backplane select new module and this is where we're going to choose the
add-on profile from ProSoft.
This is where we'll choose the EDS add-on
profile that we uploaded in step one and it'll be filtered by vendors so just go
ahead and choose ProSoft Ttechnology and select the PLX 31 ethernet/ip module.
Now we'll give it the name plx 30 and we'll give it the IP address of the plx module
which is 10.1.2.250.
Now here's what we're going to add IO connections so
here we can add multiple connections your connections may vary depending on
your module and we'll select OK and we'll choose Yes to accept and click OK.
Now this is where it brings in all the input and output for each one of your
connections and that's really about it for adding i/o connections to a version
20 processor or newer
We'll right-click on Modbus port one and click configure.
First option is enabled we're going to choose Yes and here's the RS interface
we're going to choose RS-485 for this application.
The type is going to be a master.
And protocol is going to be RTU.
Baud rate: we're going to be 9600.
Parity: none, data bits: eight, stop bits is going to be one.
Response timeout we can leave that a thousand, that seems appropriate.
Retry count will just knock this down to zero.
If we're going to be missing a command there's no sense in
retrying it, it'll just grab it again on the next queue.
Here's some delays if you need to add them, and now we'll just click OK.
Next we'll go in and configure the port 1 commands
and this we're going to actually build a command for this port 1.
So we'll click add a row and then edit that row
First one is going to be continuous because we want this command to just
continue to pole, internal database: we're going to choose 3000, we'll leave the poll
interval at zero, register count: going to go ahead and grab 20 words,
swap code: we'll just leave this at no change, node address: will be 4 and here's all the
function codes and we're just going to choose function code 3.
The Modbus address and device this is going to be the address in the device that
we're looking at and that address is 201
We're just going to click OK and this
will complete adding a command to Modbus port 1
Now we're going to go over using the data map, so we'll select common map and
go to data map and right-click and click configure add a row and then edit that row.
Now the data map is where you can move data back and forth in the internal
database now we're going to move in some status data from the Modbus master
serial port so here's where we're going to map in some status data for each one
of the ports. Now we're going to map in status data for port one and we're
going to move that to address 3900 of our internal database and the rest of
that is how many registers we want to move if we need to swap to correct any
data and with the interval to move that data around and this concludes the
configuration overview of the PLX31 gateway module.
For any more information on this product or any of our other products please visit us at our website
at www.prosoft-technology.com and as always, happy training!