00:04
Good day, Ben here. In this video I'm going to show you how to configure your
00:09
Ignition Edge OPC-UA server for use with groov. And then how to display your
00:15
Allen-Bradley PLC data right and groov View. Let's start by navigating to the
00:21
Ignition Edge gateway configuration. Open your favorite browser and enter into the
00:26
address bar HTTP colon slash slash the hostname or IP address of your groov Box
00:33
colon 8043. Go ahead and sign in with your username and password. If you
00:45
have not changed these from the default of admin and password then check out our
00:51
other videos on how to do that. click on configure, and then on the Left menu
00:58
about halfway down under the heading OPC-UA server, click on settings. You just
01:07
need to check two options here and change nothing else. First check the box
01:13
to allow anonymous access and then down just a little bit to expose tag
01:19
providers. Scroll down to the bottom of the page and click the Save Changes. This
01:28
sets up the Edge OPC UA server to work with the groov OPC UA client. Now let's
01:36
go ahead and add the Allen-Bradley PLC driver configuration in the Ignition
01:40
Edge. Still here in the OPC-UA server menu on the left click devices and then
01:48
create new device. Just take a moment to scroll through all the different device
01:55
drivers that are bundled with the groov edge appliance with ignition edge
01:59
onboard. Loads of Allen-Bradley drivers, Modbus
02:03
TCP, and Siemens drivers. We have a CompaxLogics PLC in the building here
02:09
at Opto. It has a video camera on it so that we can see the digital outputs
02:13
change. So let's click Next at the bottom of the page and configure
02:17
it. Give it a name that works for you. And you can give it a optional description
02:27
if you like. And importantly the hostname or IP address of the PLC. Okay that's the
02:35
IP address of where mine is at. And that's it for this page. Let's scroll
02:39
down to the bottom and click on create new device. You should see that Edge
02:44
connects with the PLC pretty quickly and we're ready to move on Now to groov View.
02:50
Navigate to groov View by opening a new tab and typing HTTP colon slash slash
02:56
and the groov hostname or IP address of your groov box go into groov Build mode
03:07
by clicking on the gear icon up in the top right. And then select switch to
03:12
groov Build. Let's start by adding the OPC-UA server from Edge On Board. Click
03:19
on configure, then devices and tags. Let's drop down
03:27
the add device option and select OPC-UA server. Let's given a name and for the
03:36
server URL. It's important to use localhost colon 4096. If you forget
03:44
the port number you can just click on the little question mark and it will
03:48
provide a hint for each type of the OPC servers. Finish up by clicking add server.
03:55
Click close on that configuration dialog box. Now if you don't already have a page
04:02
click on add page give it a name. And select the background color. I'm gonna go
04:10
with black. Click OK Now you can throw a line header gadget
04:18
up here if you like by clicking on gadgets. Click, drag, and drop the line
04:23
header. Give it a title. And as I said I've got an IP video camera looking at
04:35
the PLC so let's take a look at that video camera feed now. We'll drag over
04:40
the video gadget and paste in the URL.
04:46
There it is. Now let's add a button that's going to go and toggle a digital
04:53
output on this PLC and turn this red button here on and off. To do that we
04:59
drop down to the tags at the bottom right and expand our Edge on Board, and
05:06
then static tags, then devices. And there's our AB PLC. Now we can expand
05:16
that and we can expand the controller global tags and there's all our tags for
05:22
the PLC are listed. So now we can click on our digital out and groov will pop up
05:29
a list of gadgets that make sense for this type of tag. So I'm going to go with
05:34
the button. Click, drag ,drop. Have a look under the handheld tab and have a look
05:41
how groov has automatically been building the mobile ready handheld pages
05:46
for me. Now let's test it out. Click on file, save all changes and switch to
05:54
groov view. Boom there's my web page ready to go and the
06:00
button works exactly as expected. Pretty sweet. So there you have it.
06:06
No PLC tag creation, no code to build the web page. Could it get any easier or
06:12
faster. Be sure and check out our other videos on workshops.opto22.com. Until
06:18
next time cheers mate