Today we're going to be setting up this FX5U CPU to control this Mitsubishi E-800 inverter. Here's my setup. I have my FX5U CPU connected to an ethernet switch. On the other side, I have my PC connected through this cable. We're going to be running another ethernet cable to connect to the E-800 series inverter, and then we're going to be setting up the parameters both on the inverter and on the FX5U to allow them to communicate over CC-Link IE Field Basic.
The first thing that we're going to want to do is set up the parameters on our inverter. You want to make sure your inverter is in PU mode. That stands for parameter unit. That will allow us to set the parameters using the buttons on the face of the unit. Note that this is an E-800 E Series inverter. This is the part number. This E in the EPA stands for ethernet, allowing this module to be controlled by ethernet. To set the parameters, we're going to press the mode button to get to this parameter set screen.
The first parameter that we need to set is parameter 1429, so let's hold the up button until we get to 1429. This parameter sets the communication mode of the inverter. Hit set, the default value is set for this to communicate over CC-Link IE TSN. We're going to need to change it to a different number to allow it to communicate over CC-Link IE Field Basic. The number that we want is 61450. There's only a few allowed options, so just hit the up button twice until you get to 61450 for CC-Link IE Field Basic and press set. It’s flashing letting us know it's set to that value. Set again will allow us to increment the parameter.
Next, parameters 1434 through 1437 set the IP address of our inverter. 1434, we can view the value here. It's set at 192. This is the first octet of our IP address. We're going to leave it at that. 168 is the second octet. Parameter 1436 is the next octet, that is set at 50. Now in order to communicate with our CPU over here, they're going to need to be on the same network, so we're going to set this to the 192.168.3 network. So far, 192.168.3. It’s flashing let us know we set it. And then the last one is set to a default of 1. That'll work for us. The IP address we just set to 192.1168.3.1. Finally, we need to set up the IP address of the device that's going to be controlling or sending ethernet commands to this inverter. That is going to be parameters 1449 through 1452. Parameter 1449, we can see, is set at zero - by default these will all be zeros, meaning it will not accept ethernet commands from any source. We want it to be set up to the IP address of the CPU module, which is going to be 192.168.3.250. 192, set, flashing letting us know we set it, and the next parameter, 192.168.3, and then 250, which happens to be the default IP address of the FX5U CPU.
Our parameters are all set! We first set the communication mode of the inverter. We then set the IP address of the inverter, and then we set the ethernet command source IP address, which is the same IP address as our FX5U CPU. The numbers look like they're cycling here, I think that's just an effect of my camera's frame rate. This is supposed to be solid.
Now that we've set those parameters, the next thing we need to do - and this is very important - is power cycle the inverter so that these parameters are taken into effect. They're not applied immediately when they're set, you have to power cycle before they will come into effect. So we're going to turn off power. while the power is off, this is a convenient time to remove the front cover and connect the ethernet cable screw here will allow you to remove the front cover the front. here we can see two ethernet ports for an RJ45 connector. I’ll grab my ethernet cord here, connect it to either of the ports, and then we'll connect the other side to our switch, which we’re using here. You may connect it directly to your FX5U CPU, or an Ethernet module. We're going to be running through a switch today so that I can program and monitor it from my PC without having to disconnect anything. For safety, we should always replace this front cover whenever we have the inverter powered on. Then we're going to turn the power back on.
Now we are all ready to program the CPU module, so let's switch over to the PC. We want to open up GX Works3 and start a new project. In our new project we'll open up parameter, open up FX5UC CPU, and open up module parameter. We're looking for ethernet port.
Let's set up the IP address of our FX5U CPU. We're going to use the default 192.168.3.250, and subnet mask we'll leave at 255.255.255.0. Next, to use or not to use CC-Link IE Field Basic setting - that is the question. I'm going to use it.
Next, we’ll set up our network configuration settings. In this screen what we're looking to do is add on the FR E-800 inverter. If you do not see it in your module list on the right, if you do not see the FR E-800 inverter, then you'll need to register the inverter's profile.
To do that, you're going to close your project. We will go ahead and discard to changes we made. go to tool profile management, register, now you'll need to download this CSPP file for the FR E-800 inverter. You can find this online, and we'll post a link to it as well. Register the profile, it'll tell you it's complete, and now we can get back into our project. Open up your project if you saved it, or a new one, we didn't get far. Again, parameter, FX5U CPU, module parameter, ethernet port. I'm going to set up the IP address again of the FX5UC CPU, 192.168.3.250, and then the subnet mask of 255.255.255.0. To use or not to use CC-Link IE Field Basic, we want to use it. Network configuration settings, now you should have the FR E-800 available if you didn't before. We’re going to drag and drop it next to our host station here. We're going to see up in this table that we have now an FR E-800, and we should confirm that the IP address is the same as the one we set before: 192.168.3.1. Everything looks good! We're going to close with reflecting the setting, and click yes.
Our next setting is the refresh settings. This is how we're going to sync the registers from the FX5U CPU with the FR E-800 inverter. It's going to want us to set up starting addresses for each of these devices: remote X, remote Y, remote W read, and remote W write. We're going to set “Specify Device”. You can use any of these registers, we're going to use X here. The most important thing is that this doesn't conflict with any other currently used addresses. So we'll use X for the remote X and we'll start it at 100 to avoid conflicting with the inputs that exist on the FX5U CPU module. For remote Y, we'll use Y starting at 100 and then for these we'll go ahead and use D. We'll start it at 1,000 and why don't we start this at 2,000. Now you can see the remote X inputs takes up 64 points, but you may notice this doesn't add up to 164, it's actually 177. The FX5U CPU, for its input and outputs, uses an octal numbering system, meaning that each digit only goes up to a maximum of seven. So in octal, this 77 is actually the same as 64 in decimal notation. For the D register, that limitation doesn't apply, so 32 points from 1000 to 1031, 32 points from 2000 to 2031.
We're going to go ahead and check - no error was found, we set everything up correctly. The most important thing is to click apply. This will not go into effect if you do not apply. Alright, we can go ahead and close out of this, or switch back to our main tab here. Next thing we need to do is convert the program. Now, I've set up some device comments so we can tell what's going on in this program, just to walk you through what everything does. We'll go ahead and watch. For example, I have these watch windows set up with each of the inputs and outputs that we'll be looking at today. To get these settings to apply to the FX5U CPU, we need to convert and then write the program. It's asking us to reset the CPU. We'll go ahead and flick the switch on the CPU real quick.
Instead of writing a control scheme that you're not going to use, we're just going to use the watch windows to show you the effect that each input and output has. We'll go ahead and go online and start watching. We have currently input 32. We started at 100, so it's 132. If you started it at zero, it would be 032. We started at 100 so it’s 132 - but input 32 is the error status flag, so there is an error. If I look over at the inverter, I can see that there's an error displayed on the monitor screen. To reset this error, we can set this Y 132 which is the reset request flag. If we toggle this on, we should see the error clear. I heard the inverter click, and when I look back there's no error - it is showing me that the speed is set at zero. Here is our list of settings for the inverter - we have the forward rotation command at 00, reverse at 01, high speed operation command (this is just a flag that sets either high, medium, or low speed with 102, 103, and 104). We have output stop and frequency setting, I'll show you how to use these, and then the register where we can set the actual frequency of the inverter. And then on this side we have the corresponding flags telling you that each of those commands has been received.
Let's try setting our forward rotation command to on. We can see that forward running turned on, that running turned on, and finally up to frequency turned on. You may have noticed that our monitor value here, which is speed, increased from 0 to 6,000. this is the frequency of the inverter in hertz – or in 1/100 of a hertz - so 6,000 corresponds to 60 Hz. If we turn off our forward rotation command, we'll see the opposite happen - forward running will turn off, up to frequency will turn off, and this will decrease down to zero. Let's try it. There we go, and we are no longer running. Let's turn it back on. What happens if we set forward and reverse at the same time? We lose speed, returning down to zero, and we are not running. So if you have both forward and reverse on at the same time, it is the same as having neither. We'll go ahead and turn off the forward command, so the reverse command now only is on, and we can see we are running in reverse, up to frequency, and hit our speed. Great.
What if we want to run at a speed other than 60 hz? We need to set our frequency in this register. Let's say I want to run at a speed of 50 hz, that would be 5,000 because it's in 1/ 100th of a hz unit. Then we need to set this frequency. Even though it's set in here, it hasn't taken effect yet. It hasn't been saved as the set speed for the inverter so if we turn it on, for example, this will still run up to 6,000 instead of 5,000. So what we need to do is set the set command flag, and then the value in this register will be set on the inverter. We can choose whether we want to store it in the RAM or the RAM and the EEPROM. The difference is if you store it in the RAM, this value will not be present on your next power cycle. If we store in EEPROM, then it will. The manual warns that if you're frequently changing the set frequency, you should not save it to EEPROM, you should only save it to Ram, so that's what we'll go ahead and do. We have 5,000 set in here, if we turn this on, we can see that the frequency setting is complete, and we'll take it back off now. When we command to run forward or reverse, we should see that our speed will only reach 5,000, or 50 hertz, and it did.
Lastly, we'll take a look at output stop. We’ve seen this speed go smoothly from 0 to 6,000, or 0 to 5,000, then smoothly back down, with gradual acceleration and deceleration. If we turn on the output stop flag, we should see this cut off immediately back to zero. There we go: immediately back to zero, not running anymore. If we turn off output stop it will not immediately jump back to 5,000. We’ll have to regain our speed, and it'll accelerate smoothly. This would be good for an emergency stop situation. Let’s try it again, we'll toggle it on, and you'll see your speed drop immediately, output cut. off all right I'm going to turn the forward rotation flag off.
So now we've seen how to use the most basic settings to communicate with our E-800 inverter over CC-Link IE Field Basic. The next thing you can do, instead of monitoring these values and toggling them manually, is write a program, which I will leave to you for your application. Thank you for watching!
Thank you for watching and please call (855) 737-4716 or fill out our online form if you have any questions.