IO Link: How to Set Omron IO Link Master to Auto Backup and Restore Device Parameters

IO Link Videos

Hello this is Ray Marquiss, Senior Application Engineer with Valin Corporation, and this short video is just going to go over how to set the IO link master to automatically backup and restore the device parameters on an Omron N series PLC using an Omron IO link master.

Just as a reminder, this is the configuration that we've been working on through this series of videos. I have the IO link master connected to an Ethercat coupler. The Ethercat coupler is connected to an NX1 PLC, and I have three sensors on it, two Omron sensors in a Contrinex sensor.

In this video I'll use this first sensor, the E3Z type.  I have two of these, so I'll get one completely set up and then swap it with a new one and show what happens if I don't automatically backup and restore the parameters, and then I'll show how to backup and restore the parameters and what happens when you do that.

I'm going to jump right into CX Configurator-FDT.  If you don't know how to get to this point. Some of my previous videos show how to get to and use CX Configurator FDT to modify the parameters on a device. In this case, I'm looking at the E3Z sensor that we just talked about and let's pay attention to the local switch setting up here: this switchpoint logic output one and two, and then the sensitivity level here. Right now it says 494 but I changed it with a screwdriver. There is a potentiometer on this sensor, so I just used my little screwdriver and turned that. So let's read what it is now. I can do that by clicking on this “read from device” button. Once it starts, you'll see this progress bar down here. And you can see that the value changed to 1023.  That's the Max setting. So normally a person could adjust that sensitivity with this screw potentiometer on the top of it, but once you get it set, it would be nice that you don't have to worry about it anymore, that every time you attach a sensor it just takes that value that you've found previously-like when you put a new sensor in or when you build a new machine-it would be nice to have those values that you learned and have them put there automatically.

There's a setting here. The sensitivity setting method, and by default it's set so that both the local potentiometer (that's the one that I adjusted with my screwdriver) and the IO link connection are valid for setting that sensitivity level. If I select to make only the IO link valid, then the local potentiometer is not going to change it.

Let's try that and see what happens this time.  Instead of reading from the device, I'm going to write to the device to change this setting. It's going to write this one right here. And then I'm going to take my screwdriver and adjust that screw potentiometer way down. I started about halfway and then now will read from the device again. But before I do that, let's look at the observation. Over here it says the potentiometer value is 1022. That's from the last time that I adjusted it and the last time we read the parameters. So we'll look back at the parameter setting again, and I'm going to read from the device. Watching the progress here. That's completed.  You can see that the sensitivity level is still set to 1023, but if I go over to the observation tab, you can see the potentiometer value is 392.

So this is handy because now if we get that set up correctly through our settings in CX Configurator-FDT. And download it to the to the project or to this device. The operator could come and fiddle with that potentiometer and it wouldn't change the settings. It's a way to kind of make it so that they can’t fool with it.

So let's assume that we've done this and we've got our sensor set up correctly to work, and then something happened to it; we had to replace it. Remember that our sensitivity is set to 1023 here, so I'm going to pause the video and swap the sensors out, and then we'll go through the same process and we'll read the values from the new sensor.

Through the magic of editing. I've disconnected the original sensor and replaced it with one that is the exact same model, but when I put it in, I turned the potentiometer all the way in One Direction. I turned it to the minimum sensitivity level. So now I'm connected back up with everything and I'm going to read from the device to see what the settings are like.  So we'll read from the device and then we'll watch this sensitivity level to see what it said. So we saw two things change there. The sensitivity level is set 1000, which it was 1023. And then it's also set that both the local and the potentiometer are valid for setting that level. What we want to make sure of is that when we replace the sensor in case of damage or failure, the settings get changed to what they were when we had the old sensor in there.

So now what I'm going to do is go over to the software, Sysmac Studio. I'm online already.  I’ve been working with this project. So what I want to do is go here and select to enable the automatic backup, and also enable the automatic restore. I'll transfer that down to the unit. This message comes up. We've seen that before in previous videos. And now it's there. Next I'm going to go back to my CX Configurator FDT, and I'm going to change this value to 500. And then I'm going to select that only the IO link can change the sensitivity setting. This time I'm going to write to the device instead of reading from the device. And now I'm going to pause the video while I put in the other sensor. I'll swap out with the original sensor and we'll see how these values come up when I read from the device.

Once again, through the magic of editing, I've swapped the sensors.  So I have the original sensor back in there, and when we disconnected that sensor the sensitivity level was set for 1023.  The potentiometer is set to the maximum right now. And so what I'm going to do is read back those values. And let's see what we get. So we'll take the values from the device, and we’ll put them into the screen here. So read from device. This time you can tell that the sensitivity level stayed at 500. Even though this is a completely different sensor.  And if I go to the observation, we can tell that the potentiometer value is set almost to its maximum, 1022.

So this shows that once we put in a new sensor or replace the sensor, it maintained those parameter settings. So this can be a benefit when you're building a machine or doing maintenance on a machine. It saves you the trouble of replacing a sensor and then having it operate improperly.

That's all there is to it. I hope you found this helpful. For questions please call Valin at (855) 737-4716 or fill out our online form.