Right-click in the fields up here and click on “Insert variable”. First of all, I know that the first bit that I'm going to use here, or the first variable I'm going to use here, is an input so I can click on the “Input” tab here. I have a couple of ways that I can add the variable that I'm going to use. So using normal programming techniques I want to add an input here. However, the difference is that I use variables instead of addresses for my programming. And I'll start creating ladder much the way I do in a normal ladder program. Next I'm going to just double click on the “OneShotTimer” function block definition that I just created. You can play around with those later, but when you're done with that definition or the properties of the function block, you'll just click on the “X” here. I can change the revision numbers so people know that my newest version is different than the one they have. And I'll give it a version or revision number in case I change this later after I've distributed it to people. I'll leave the checkbox here for “display inside of the function block”. In this case I want to make it “OneShotTimer”. The name will be whatever you want to make it. That adds a blank ladder definition for a function block. Then I'm going to right click on it, move my mouse to “insert function block” and click on “ladder”. The way to start is to click on the function block icon here on the left-hand side of the tree view. Once you're done, hopefully you can kind of take what you've learned, and you can make more advanced function blocks for your own use.
#Omron cx programmer variation and sign how to
I know it's a really simple thing, but it helps me show you how to make a function block that you can use over and over again and it shows how to start a function block, add input and outputs to the function and then write the code that's inside. I'm going to create a simple function block that does a timing function that Omron doesn't have in a built-in function for their C series PLCS. It's going to be a very simple function block, but it will give you the basics so that you can go ahead and start creating your own function blocks using more complex structures and code inside them.
#Omron cx programmer variation and sign software
This video is going to show you how to make a function block for Omron’s C series PLCs using CX Programmer programming software for the C series PLCS. Hello this is Ray Marquiss, Senior Application Engineer with Valin Corporation.