OK. Hi, everyone. Today
we're going to be looking at the productivity 1000 series PLC click Ethernet IP remote IO
Now detailed information contained in the video can be found at AC C automation dot ca
The link has been put in the description below. If you have not watched the other videos yet, there will be links in the description
below. We'll start you with video one, there will be links to the rest of the videos in the series as well
So we will now utilize Ethernet IP to connect a Click PLC to remote IO on a productivity system
Now, a productivity series of controllers can use explicit and implicit messaging techniques of Ethernet IP
which is the protocol and this will optimize data exchanges across the network
Now, explicit messaging means that the data messages that are transmit will contain everything needed in order to respond or decode the message
It is normal. It is normally a client server relationship with instructions explicitly spelled out in the data messages
Now this communication happens at times that the client requests the information
So typically what you'll see is for explicit would be as part of your program you would ask for information at certain times
Now, implicit messaging, which we will do today means data messages are streamlined and the device is configured ahead
of time to know what to do with the data. And this is used for time critical messages and it functions like a typical scanner
adapter relationship. So we're more what IO like we're going to be doing
Implicit messages is real time and its ability to copy data with minimal additional information because both ends already know exactly what each bite and
bit will do. Now click PLC can be set up as a remote distributed inputs and outputs for our productivity 1000 controller and implicit Ethernet
IP will be set up and the click will be Ethernet IP adapter and the productivity will be the Ethernet IP scanner
So let's get started and up on my screen. You'll see that we have open the click PC programming software
So the first thing we'll do is go to the setup and we can look at the system configuration for her current network
Here we go. And you can see here that we have our power supply
We have our CPU and we have an og card. So what I'm interested in here is the inputs and outputs that we are going
to be reading and writing are allowing our activity to actually use as remote IO
So in this case, here we have X one to X eight and we have Y one to Y six that will be used for
our input and output IO that are on board here. The CPU then we have our og card
our og card, we use inputs DF one to DF four and I put DF five
DF six under the config you will see here that this is where we get the values from
We can actually program that into the card and it will do scaling from 0 to 100%
OK. So that, so that is how we get our um inputs and outputs and where they are
So now next we go again under set up system variation or sorry
Uh We'll close that down and we'll go set up and then we will go our comport settings and under our comport settings
we will go to port number one, which is our Ethernet port and we'll hit set up and under set up
You'll see that we have manually set or used a static IP address for our information or for our address
for this click PLC. We need to use a static. In order for that, the scanner can actually see our adapter that we're programming here
So 1 92 1 68 11 30 is our IP address with a Subnet mask of 2 55 2 55 2 55 0
Now, default gateway really doesn't matter in our case because it's on the network
but we can have that anyway, and then we have our time outs
So does it cancel there? So that is our port setup. You can't saw that one
And then next under setup, we can see our Ethernet IP setup
This is what this is where we're going to actually program in what we want to be exposed onto the network
So our productivity can actually see this information. So the first thing we're going to do is it defaults number two or one connection
But we're going to put two connections in. You'll see why. And internet, you'll see our connection
One, we have two tabs connection, one connection, two, our input scanner is here and then we have an output there
So on our input for connection one, we have our block, we're going to do XD zero to XD zero
This gives me 32 bits that represent my inputs that I have on my click PC
So you see the start as one byte and the end is byte four
So we have a total of four bytes for our input. And you'll also notice that our instant or our connection point I should say
is one and one. Now this is important in order to connect using our implicit communication
So 101 is what we use for our inputs. Then we go to our output part of their scanner
We're going to do a block of YD zero to YD zero again
32 bits right even though we're only controlling the first one. So that's how it maps into the io of our click
And again, we have four bytes of information here and our connection point is 102
In this case here, notice that we've hit the clear. So if we lose communication or we're not communicating anymore using Ethernet
IP it will actually clear or zero those inputs and outputs out
Now on connection number two, our input, again, our connection point automatically defaults to 103
We have our og input, which is DF one to DF four
So we have uh 16 bytes of information here. And then on our output side to our scanner
then what we have is DF five and DF six, which is the output og values
And again, we go from 1 to 8. So we have eight bytes of information here
Again, the clearest set that we've left everything else is the default values
So is it OK for that? And we can actually view our address mapping
So here's our address mapping for our click Ethernet IP adapter. So we have our inputs
outputs, input two, output two. So you see here our input one and output one are hex values which represent our actual
digital input and digital output. And then we have our og in DF 1 to 4
And then we have og out DF five DF six. So we can just close that down
So we hit OK for that. And what we'll do is we've already had this into our controller
but we can actually then write this information into our connected CPU and we said
OK, we'll do a, a run time. And what you'll see is we've also put just an end statement up here
So now this program is in our controller. Next thing, what we'll do is take a look at our set up and we'll go to
our uh scan time and this displays our scan time. You'll see that our current scan time is around one milliseconds
less than milliseconds. Our minute is zero. Our maximum scan time that it actually ever reached was six milliseconds
So what that's gonna do is we're gonna set our update time for this remote IO as about 10 milliseconds
this will allow us enough time in order to do all the communications that we need
OK. So currently right now we have our um adapter now set to run
So let's just uh maybe move this over a little bit. OK
And let's call up our productivity software and under our productivity software
we'll go again to set up hardware configuration and we'll look at our CPU first here
the CPU, we'll look at our Ethernet here and we'll just double click the port or the
on the CPU itself and you will see what comes up. We'll hit the Ethernet port tab and under that
you can see that again, we've set up a static IP address for this system
And it's important to use static IP addresses when you have a fixed network here like we do
So our address is 1 92 1 68 1 40 our subnet mask 2 55 2 55 225
which matches exactly what the click had is it? OK. And coming back here
you'll also now see that once we have that we can set up our Ethernet IP and we can double click
This is our Ethernet IP now tab and normally this would be blank
We had set up here. We call this a click scanner. You can either double click on the generic Ethernet or generic client or we
can click and drag it over to our screen here. So if we call this up
these are our properties that we have for Ethernet client. So we've used the structure
it says it's called quite a quick scanner. We call a device name as click scanner
We put the IP IP address in for the click PLC which is 192 168 1 130
We left the default default IP TCP port number. Then what we did was we hit plus and we added our IO scanner
which then added message number one IO Now our IO scanner means that's going to be implicit messaging that we're going to be doing
So this is our enable and then we look at our three tabs for message number one
we have our inputs, we have our outputs and we have our config. So first of all our inputs
what we're going to do is our RP I OK. And our IP I uh which represents our
our time in which we are gonna update, which is the request package interval
We're gonna be sending to 10 milliseconds and then our assembly instant or connection point that we did before for our actual inputs
These are the first digital inputs. There's going to be 101 and that comes directly from our scanner or our adapter that we just did
for Click PLC that our message size, we're gonna have four bytes like we
we had before on our click, we're gonna call it click input and we're setting up one element 32 bits
So that's set there. Then if we go to our output, you'll see that we are again
our request package interval is for 10 milliseconds. Our, our connection point is 102
This time for outputs again, it's going to be four bytes long 32 bits
And we're going to say click output and we have one element. Then when we add our message number two
the last thing I mentioned, number one is our configuration data, the configuration data
In our case here, we do not need it. So we make sure that that is unchecked
So message number two, then what we do is we can now say on our input
this is now for the og again, our update time is going to be 10 milliseconds
The connection point is 103 this time. And we're going to do
we're going to call this data array click input float. And we're going to have four elements for four inputs each 32 bit and that's
gonna be 16 bytes total. So which exactly matches what we set up in our Click PLC
On our output side, we have again, 10 milliseconds. We have the connection point of 104
And this time here we have click output flow, we have two elements
So and 30 a bit each. So we have eight bytes of information on our configuration
We ensure that the is not enabled so that we're all set here on our scanner
Yeah. So once we have that all set, we can close that down
And what we're gonna do is we're gonna um first of all enable our uh message
message number one and message number two. And then what we'll do is take our first input here of our simulator and turn on the
first output click. So that just shows you that physically we can connect to the click PLC and it'll be controlling the inputs and outputs
So that's all set. Then what we can do is transfer that down to our unit
So There we go. Let's transfer that down. And once again, we can take a look at our CPU and we can look at our
scan time. In this case here, we have a scan type of 1.1 milliseconds
So well below our 10 milliseconds that we have for update time
So everything should work exactly as we've planned. Let's close that down
So once again, let's just look at the hardware once more time and here we go
And one of the other thing we can do is have a monitor and we have monitor
we can actually add this Ethernet IP scanner to our data view and we've already done that
So just wanna let you know how you can get that onto there and slide out
So now we are actually um connected to our, our units. And what we'll do now is just physically take a look at
our hardware that we have here. Here we go. So here's our click CPU we have AC 0-11
DRE dash D and we have our P 1-5 40 um productivity series um productivity
1000 series and with a simulator here and card here. So we are now communicating and
functioning. So let's take a look if I were to uh move my screen a
a little around a little bit here. Oh, um The first thing we'll do is call up our data
view and our data view here will show us some of the IHO points
So there it is for the click and let's call that up for the productivity
My date of you, there we go. And there's the data view for the productivity
You can see everything is here. Um You'll see that we have the enable and it's currently on because of our programs being scanned
And it's saying turn it on as well as uh message that's message one enabled and message two enabled as well
So here's our actual og signals coming in from our click and we can actually go ahead and write an output signal to our click
You got 45 uh 45.123 in there. And you can see right up here for 45 123
So exactly what we expected. Uh We change that put 75.12 and
what we can do is hand write that over and it put 7512 right in here and this is doing it uh 100 times a
second or 10, every 10 milliseconds. We're, we're updating this information. So next thing
what we'll do is take a look at our actual um there's our inputs and there's our outputs
And um what we can do is edit this and let's put in the value of say seven and
we'll write that over. And what you'll notice is that it turns on only the first two because my program of my uh productivity
is actually telling me that the first uh bit here is actually being controlled by the switch
So if I took my switch turned it on now it turns on that first output there
So very simple and very easy to uh create our um Ethernet IP network and
using the click as remote IO on this network. So if you enjoyed this video
please hit the like button below. If you have any questions about the video, please leave a comment below and I'll do my best to
answer it. If you want more information about us or you want our free ebooks on numbering systems or robust data logging
Please click on the link in the description below to get it. A new video is put out every Monday
So make sure you hit the subscribe button. So you get more videos like this in the future. Remember to click the bell beside your
subscription to actually receive those notifications. Thanks so much for watching. I'll see you next time. Stay safe