0:00
Good morning everyone. Thank you for joining us on this webinar on setpoints.
0:05
It’s a relatively short one this morning, but if you have any questions just put them in and we’ll get them at the end. Hello and welcome to today’s webinar.
0:13
Today we will look at using setpoints with Horner controllers.
0:17
We are going to begin by discussing setpoints in general, then what the Horner setpoint feature is and how it is used.
0:25
Then we will start showcasing how to create setpoints, how to use them at runtime, and so on.
0:32
Finally, we will finish with a Q &A session at the end.
0:35
First, what is a setpoint?
0:38
In automation, a setpoint is a desired target value that an automatic control system, such as a PLC or PID controller, tries to achieve for a process variable.
0:50
What is the setpoint feature?
0:53
In a Horner controller, our setpoint feature allows multiple variables, or registers, depending on the program, to be initialized to a known value after download.
1:04
With Horner controllers, we create a setpoint table with all our setpoint variables on it.
1:10
Most commonly, this is done during machine deployment or download.
1:15
By using setpoints during machine deployment, it helps ensure the machine starts out in a known state or with good default values.
1:24
Horner has a variety of programming languages available and supported in Cscape 10.
1:31
Of these languages, all can be used to take advantage of the setpoint feature except for enhanced IEC.
1:38
With that in mind, we are going to start by discussing how to create setpoints in any of the variable-based languages.
1:45
After this explanation, we will also show you an alternative to setpoints that you can use with enhanced IEC.
1:52
We start by creating our variables.
1:55
For best practice, variables to be used as set points should be created as retained variables.
2:02
In standard IEC, only retained variables can be set points.
2:07
But in variable-based advanced ladder, you can use global variables too, but this is not recommended.
2:14
When you are ready to start classifying variables as set points, simply navigate to the Set Points menu in the Home tab in Cscape 10.
2:23
In this menu, click the Add button to start adding variables as set points.
2:29
When adding set points, you can type them in manually, or browse for them using the standard Variable Browser window.
2:37
Once your variables have been added, we then have to set their set point values.
2:42
We can assign these manually by double-clicking on the variable.
2:45
Alternatively, if your controller is online, connected to your computer, and has all the variables on it with values you are happy with, you can simply navigate to the top of the Set Points menu, click on File, and select Get Values from Controller.
3:02
You also have the option, on every download, to download the set point values alongside your program.
3:08
This option is always present and always unchecked by default.
3:12
Alternatively, you can include set points in a pgm file.
3:17
First, navigate to the wave icon in the top left corner of Cscape 10.
3:22
In the main settings menu, select the logic editor tab.
3:26
From here, select the option export set point data as part of a pgm file.
3:32
You can also just download the set point data without any program data needed.
3:37
Simply navigate to the Set Points menu and click on the Send Values to Controller from the dropdown.
3:44
What about uploading set points?
3:45
In the Home tab in Cscape 10, select Download Options, and in this menu, you can check Set Point Table.
3:53
This will not impact downloads, but will cause uploads to automatically include set points.
3:59
Before we get into our demonstrations, we are going to look at alternatives to set points.
4:04
This is useful if you are using enhanced IEC as your logic language.
4:09
You can create and initialize once bit which triggers rungs which set key values where you want them by using move blocks.
4:20
Now let’s take a look at the setpoint feature in Cscape 10.
4:25
Here we are in Cscape.
4:27
We need to ensure that all the variables we are going to use as setpoints are retained variables.
4:33
If we navigate to the program variables window, we can see that all the variables for today’s demonstration appear under the retained variables tab.
4:44
Now, let’s take a look at our setpoint table.
4:47
Navigate to the setpoints button at the top.
4:50
Here we can see all our setpoints in our setpoint table.
4:54
For our demonstration, we have already added all our variables.
4:58
We did this by clicking on the add button at the bottom and selecting each variable from the drop down menu provided.
5:06
Next, we assigned the set point values manually by double clicking on each one and inputting a known value.
5:14
If our controller was online and we had it pre-configured with the variables we wanted, we could have just used this get values from controller option here.
5:24
Quickly, let’s take a look at the bench.
5:27
Here is our controller, with our demo program running on it.
5:31
For this demonstration, we have created this screen with all our key variables on it. They are all currently set to zero.
5:39
Back in Cscape, if we navigate to File, Send Values to Controller, all our setpoint values should be sent to our controller.
5:47
This will only work if your controller is connected to your instance of Cscape 10.
5:53
Back to the bench, we can see that the data transfer worked correctly.
5:58
All of our key variables have been updated with their new values.
6:02
But what if our controller was not connected to this instance of Cscape 10?
6:08
In this scenario, we could include our setpoint values on a download.
6:13
To do this, simply check the setpoint values checkbox in the download menu before initiating your download.
6:21
Next, let’s look at uploads.
6:24
If we want the setpoint table to be included in an upload, we first have to navigate to the download options menu at the top.
6:33
In here, if we check this setpoint table option, the setpoint table will be included in the upload.
6:41
Finally, if we want to export our setpoint table in a.pgm file, we first need to navigate to the WAVE icon and click on Settings.
6:52
In here, we can check the checkbox to Export Setpoint Data as part of a.pgm file.
7:00
And that’s everything we need to cover in Cscape.
7:04
And that concludes our webinar for today.
7:07
Thank you so much for listening and the Q &A session will begin shortly.
7:17
Okay, next week we’ll be following on with a webinar on Ethernet IP with a Horner Controller.
7:22
so the registration links are up for that if you’d like to be in on that.
7:28
I don’t see any questions in on the set points one today so I think we can leave it there. Thank you and we’ll see you next time.