Omron NX Safety Controller: Starting a Project

Hello, my name is Ray Marquiss, Senior Application Engineer at Valin Corporation, and this video is going to show you how to start a project using Omron’s NX safety controller. There are a couple of those options for you but we’ll use the NX-SL3 type safety controller and start a project for that.

Like everyone else I'm working from home during COVID, so I've got limited space here, but I've got a PLC that I'm going to use as the controller for the Master Controller it’s an Omron NX1P2.  There's some modules attached to the side of it there.  We’re going to go through the Ethercat cable or Ethernet cable to the Ethercat slave node with this configuration on it, this hardware. There's the NX-ECC202. That's the ethercat coupler. Then you'll see there's an “OD” module.  That's a standard output unit, then the SL3300 is the safety controller. The SOD400 and the SID800 are the safety inputs, and then some other slices that aren't being used. I have an E-stop wired into the safety input, and I have a reset switch wired into the safety input. And then I've got a force guided relay as a safety output. So that's the configuration we're going to work with.
Now I'm going to show how to do the programming and configuration so that you can get your safety controller working. We just saw one possible configuration with the NX1P2, but you can also mount this to the side of an NX102 so it will Mount on the side just like regular IO on that PLC, or you can also use it on Ethercat on that PLC.  So now we're going to make a new project. 

Just give it a name up there when you click on new project, you'll be able to apply a name. You can put your name as the author and some comments if you want. Then you'll select the PLC that you're using. I know I've got an NX1P2 and it's a 1040DT and I have really old firmware Because this is one of the first NX1P2’s that came out. But don't worry if you get this wrong because when you go to connect it will tell you that you're wrong and you'll have a chance to correct it.  We'll click on create and then normally we'd go through and configure all this stuff for the PLC portion, but we're really just interested in getting the safety controller configured, and that's going to be over the Ethercat, but one thing I like to do is give a name to the project, so I'll just call this “control PLC”. I'm sorry, I meant a name for this controller called control PLC, and then we'll dig into the Ethercat, which is where the safety controller is connected to the PLC.  Normally click on the Ethercat tab there and drag over your devices that you think you have, but it's really easy to make a mistake, so we just grab and take a couple are over there and then we'd have to edit the coupler configuration.  So we go to select that option by right clicking and then going down to set the configuration there. Pick the devices that are on that coupler. So I'd pick the safety controller. There's two options, I'll just grab one. I'm not quite sure which one I have, but I'll show you why that's not important later. And then I'd pick some I/O. I know I had an input and an output module on there in the hardware you saw that in the video, but. I'll just grab one, put it on there, grab an output, and then drag it over there.  You can see the top window is the group and then the bottom one is the units that are in that group.

So I've created a configuration. Now I need to go online with the PLC, but in order to do that I have to make sure I can communicate with it. So I want to go here to the controller tab or menu option, and I'm going to select the communications setup. And there's a trick because the default IP address for this PLC is That's the way it comes from the factory. Normally I'd have to go and change some network settings on the PLC , sorry, on the PC down here to make sure that my network is the same as the network on the PLC.  So I'd have to change my PC to 192.168.250. something. But there's a trick with Omron. If I select this option for direct connect over Ethernet and then leave the IP address blank, the target IP address blank, I can just click on this Ethernet communication test and it will come back OK. So that means I can talk to the PLC without doing anything else. So go and here click on go online or work online. And it tells me that the name in the project is different than the name in the PLC and the first option is to change the name in the project to the name in the PLC. I don't want to do that. I want to change the name in the PLC to the name of the project. So I'm going to say no to this, which still gets me on line. It's a little confusing. A lot of words and buttons there. If you don't care about the name of the controller, you can just hit yes or no and it doesn't matter. But I'm going here and say update PLC name or CPU name, and it's going to take the name that I have in my project, and then it's going to transfer it over to the PLC. So now the next time I go online, I won't get that message.

Then what I'm going to do is. I want to make sure that the Ethercat configuration I have is correct, so I can go to the controller in this graphic and I can right click on it and select “compare and merge with actual configuration”. And so if you see here, there's “matched” and then “added” and “removed”, so it doesn't match. We want to see “match” on all three lines that appear here.  So there's a button down here at the bottom. It says “Apply Actual configuration”.   So I’m going to click on that.  It's going to take the configuration that's out there on the network, it’s going to read it and it's going to apply it into the project. So now I'll go into the project and I'll edit the slave terminal configuration and I'll do the same thing. I'll just say. Compare it and you can see that it's different, so I'll apply it and then say OK. So now I've just configured my whole network for communicating to the safety controller and the IO that's on that slave node. And you can see if you hold your mouse over these that you can see that they look like the graphic, or I'm sorry, like the video that I showed at the very beginning of this that shows the part numbers of the slices that I have in that coupler, so there's a safety controller, standard IO unit, two safety slices.

Then we’ll go offline. Here's something that's confusing too. That's why we went offline, but the normal thing people do is they think that they've done that online and they're all good, but you have to actually build the controller. That's the option just saw, so you build it to have the project update itself with the information you gained from the PLC.  And it takes a little while as you can see, and then you're going to go back online again by clicking this.  So we clicked “build”, waited, then we clicked “on line”, and now we're going to synchronize.  We’ll click that “synchronize” button. And once we do that, it will come up with the window to say what do we want to do or would want to synchronize? Or sometimes there's options and what you want to synchronize. But in this case it's going to synchronize everything because every single part of this project is different than what's in the PLC, so I'll click on transfer to controller. Send that down. It just asked if I wanted to switch to program mode, which is OK because we're not running the machine or anything, so let it do that. It takes a few seconds to synchronize. You can get a drink or something while you're waiting. And then once it's done, we have to put the PLC back into run mode, which is OK because we know nothing's going to start up automatically, and then it shows us what the synchronization result was here, and it says the synchronization process was successfully completed or whatever.  And then we'll go offline. And because of a really nasty edit that I made here, the screen changes all of a sudden that won't happen on your screen.

Now you're offline and the next step is to configure IO for the safety controller and then write your program.  We’ll do that in the next video.

If you have any questions or are just looking for some help, we're happy to discuss your application with you.  Reach out to us at (855) 737-4716 or fill out our online form.