0:03
Good morning everyone, thank you for joining us on this webinar on getting started with OCS 360.
0:10
It’s only a quick one this morning but if you have any questions feel free to put them in and we’ll get them at the end. Hello and welcome to today’s webinar.
0:18
Today we will have a look at how to get started with OCS 360. Let’s look at our agenda for today.
0:27
We are going to start out by explaining what OCS 360 is, then we will talk about the requirements for OCS 360, what software versions, what products, what firmware versions and what you need.
0:42
And there will be demonstrations throughout and we will finish with a Q &A session.
0:46
OCS 360 is a new cloud service from Horner.
0:50
The whole goal is to make it as easy as possible to send data to a Horner cloud from a Horner controller, and the functions that are included are data recording up to 5 years, dashboarding and visualisation, as well as remote alarm renunciation and notifications, and some more features that will be coming in the future as well.
1:09
Now to kind of demonstrate visually what we are talking about in terms of the way data is being sent to the cloud from OCS, we use a special version of MQTT for the OCS to push data up to the OCS360 cloud through an MQTT broker server.
1:26
Now most of the data will be published by the OCS.
1:29
In other words it will be processed data and other machine data that is native to the OCS but there can also be some data that comes back in other direction from the OCS360.
1:41
Maybe some set points or maybe some manual overrides and getting variables up to the cloud could not be All you need to do is go to your program variable table and check a checkbox next to each variable that you want to send to OCS360.
1:56
Now let’s talk about the requirements because this is new you will need CScape 10.1 and this is the version you are going to need next.
2:05
You are going to need either a canvas or prime controller and that controller is going to need a firmware version of 17.10 or later and then since your OCS is going to be pushing data to the OCS 360 cloud which is over the internet you are going to have to make sure that there is a path for the data to get into the internet whether that is over wired connection a Wi-Fi connection or a cellular connection it does not matter as long as the OCS has internet access and then the OCS 360 is a web browser based service so you are going to need a web browser whether it’s your computer or your mobile phone. You can look at OCS 360 dashboards from your phone as well.
2:47
For our demonstration we are going to go to Cscape where we have created a regular application.
2:53
This is a demo application so customers can use it if they choose.
2:57
What we have here is just two variables here on the screen.
3:01
We have got the pressure variable which is an integer from 0 pounds per square inch and we have a temperature which is a floating point variable and we are going to send these two variables to the OCS360 cloud.
3:15
Now for the demonstration purposes these are just regular global variables that are not tied to any particular real world analog input or anything.
3:24
In your application you would have a combination of variables that are real world inputs as well as internal variables that have been used in your program.
3:33
On the right here we OCS360 status information that is just included with OCS360.
3:40
You will notice over here we have a clear certificate button that is something you should never have to use but if you have communication problems with OCS360 one of the options is to clear the certificates and power cycle the unit.
3:55
So when you press this clear certificate button what happens is push button is pressed and then one of the bits in the OCS 360 control word that is part of the OCS 360 status gets set and that causes the certificates to be clear and then it kind of goes through a negotiation period again with the certificate.
4:16
So how do we actually get these two variables or any other variable that we have in our program up to the OCS 360 cloud?
4:23
Well let’s go into our program variable window here. Let’s give it some more space on the screen here.
4:28
so we can see it a little better so let’s open up global variables and we are going to scroll down to these two variables we were talking about pressure which is an integer and temperature which is a real value and then we also have a variable called ocs360 stat which is tied to the ocs360 status registers structure so that we have all the status information available to us very easily so the only thing that we have to do is get the temperature and pressure up to OCS 360 cloud is to go over here to this new column called OCS 360 and check this checkbox.
5:06
What happens there now is that these two variables, since we have checked them, have been added to the default group of data that is pushed to the OCS 360 once per minute.
5:17
Let’s go ahead and close down our variable window and head over here to our project navigator.
5:23
and if we have a look under networking at the bottom we will find OCS360.
5:28
So let’s double click here and sure enough this is our OCS360 configuration in our default group which is a published data.
5:37
You will see that personal temperature have been added here and they will be published every 60 seconds.
5:42
Because this is a Horner unit talking to a Horner cloud we should be good to go.
5:47
Now one other thing we need to check since we are going Over the internet to talk to OCS360 we are going to need to make sure that our hardware configuration for our ethernet port that we are using has a valid gateway and a valid DNS server.
6:02
The gateway is the address on our local network, here that gets us out to this internet and then the DNS server.
6:09
This particular one is Google DNS server that will allow the OCS to find OCS360 using the RUL.
6:17
We do have to make sure that we have a gateway and DNS server properly assigned.
6:22
We typically always use either 8.8 or 8.4 an external DNS server and that always seems to work the best. Bo are from Google.
6:32
That should be all we need to do to start communicating to OCS 360.
6:37
We will go ahead and download this project to our OCS.
6:40
The next thing we are going to do is make a of the MAC address of our OCS that we are going to be adding to OCS 360 and there are a couple different ways you can do that.
6:51
We are going to do that from the system menu under network and this happens to be a prime unit here.
6:57
You will see that the MAC address is located right here so we are going to make a note of that because we would need that when we sign up for OCS 360.
7:06
We are back the OCS360. The next step is to add our OCS as a device in OCS360 under our account.
7:14
We are going to go to entitles and find devices. They are none yet.
7:18
Let’s hit the plus sign and we need to give it a convenient name. Let’s call this Epoximatic.
7:24
That’s the name for the machine and this is where we need to type in that MAC address. Let’s continue that on. Hit confirm MAC address.
7:32
We will add that controller so it adds it and it is not yet active so it is going to start by showing inactive.
7:40
Let’s just power cycle our controller with the program in it. You can see our certificate status is 8193 immediately.
7:49
We want that to go down to zero. Let’s go ahead and get some data that we can view here.
7:55
Now we are publishing data and our certificate status is zero.
7:59
Let’s input some data to the temperature as well.
8:02
This is what we want to see.
8:04
We want to see our OCS control at 1, our certificate status at 0 and we want to see our publishing count in cremation up.
8:13
Let’s go take a look at what things look like in the OCS 360 side of things.
8:18
We are showing active here and this is what we want.
8:21
If you are not getting update here on from inactive to active, one thing you can try do is hit the refresh button and OCS 360 will refresh that status.
8:32
Now if we want to take a look at the latest data that has been transmitted from the OCS, we simply click on the device and make sure we have got the latest telemetry selected and then we can see the latest values that were published by the OCS. That concludes our webinar for today.
8:49
Thank you so much for and the Q &A session will begin shortly.
8:59
Okay, so nice and short introduction to it this morning.
9:03
We will be continuing on with OCS 360 videos for the next coming weeks.
9:08
So if you do have an interest in this, then the registration for those is up already.
9:16
Okay, I don’t see any questions on that this morning, so thank you very much for joining us.
9:23We hope to see you again next time. Have a good day.