0:03
previously we learned only 31% of
0:06
businesses have fully automated at least
0:08
one function there is a massive demand
0:11
for Automation and creating training
0:13
environments using the machine simulator
0:16
we utilize the modbus TCP or ethernet
0:19
server in the easy transfer Line This is
0:21
just one of many pre-built scenes you
0:23
can design for your own industry this
0:26
sets a stage for the productivity PLC
0:28
simulator to communicate at and control
0:30
the line we programmed the PLC tested
0:33
and monitored our system we will now add
0:36
a human machine interface or HMI to our
0:39
system modifying the PLC logic to
0:41
accommodate the controls from the
0:43
touchcreen we will add a cmore cm5 unit
0:47
this HMI will communicate with the
0:48
productivity PLC simulator and the easy
0:51
transfer line machine this will create
0:53
our ultimate automation training
0:56
environment let's get started detailed
0:59
information contain this in this video
1:20
development using the modbus TCP server
1:23
our machine simulator runs with the easy
1:25
transfer line scene this PLC simulator
1:27
was programmed to control the easy
1:29
transfer line and part one of our
1:31
tutorial we need to determine now what
1:35
communicate the following diagram will
1:37
explain the communication between the
1:41
devices the cmor cm5 will communicate to
1:44
our easy transfer line and the
1:46
productivity Suite PLC simulator it will
1:49
read the inputs from the easy transfer
1:51
line and set the outputs to control the
1:55
Simulator the following table will show
1:57
the communication from each device in
2:04
work using the code in the post machine
2:07
simulator modbus server to cmor HMI we
2:10
will modify this cm5 program this will
2:14
include adding the communication
2:15
protocol to the productivity PLC
2:17
simulator and modifying the existing
2:20
commands our HMI screen will use the
2:23
condition of the HMI test switch to
2:25
enable the right items on the screen to
2:33
modifying the productivity Suite PLC
2:38
program our program last time included
2:40
the modbus TCP Communications and Ladder
2:42
logic control for easy transfer line of
2:45
simulator we will now add the controls
2:48
from our HMI to control the transfer
2:50
line our cmore cm5 HMI will have a test
2:55
button the corresponding outputs can be
2:57
energized when the test button is turned
3:00
the logic will have the test button and
3:02
the corresponding output test bits
3:04
parallel to the original
3:06
circuit in the case of the set and reset
3:08
instruction this will have the test and
3:10
the normally open and normally close of
3:12
the output test button
3:48
remember to save your program logic
3:50
often so you don't lose any of your
3:57
happens to ensure that the existing
4:00
logic continues to work we will also set
4:02
the HMI test not input for each of the
4:05
output rungs that are being
4:07
controlled the logic will work such that
4:10
if the test is not on then the logic
4:12
will control the outputs if the test is
4:14
on then the individual output test
4:16
switches on the HMI will control the
4:20
outputs save the program and transfer it
4:25
simulator to export our latter logic
4:28
tags the Seymour CM file 5 HMI select
4:31
tags from the main menu file
4:35
export the export tag database window
4:39
displayed you can change where the tags
4:41
will be stored using the browse button
4:44
we will leave this as the default and
4:47
export the export finish notification
4:50
will be displayed select
4:55
okay modifying the cmore cm5 HMI program
5:02
using the code in the post machine
5:04
simulator modbus server to Seymour HMI
5:07
we will now modify the cm5 program the
5:10
sample HMI code communicated directly to
5:13
this machine simulator's easy transfer
5:16
line it controlled the outputs directly
5:20
inputs you can watch the video on how
5:24
here the first thing we will do is
5:26
modify the HMI program to add
5:28
communication to our plc
5:30
simulator select the protocol manager
5:33
icon on the home screen
5:34
tab the protocol manager window will be
5:38
displayed this will show our current
5:39
communication using modbus TCP to our
5:43
simulator select the add
5:46
button the add new device window will be
5:49
displayed we will leave the device name
5:52
as the default of div
5:54
O2 select automation direct as the PLC
5:57
vendor and productivity ethernet as the
6:03
okay the protocol manager window will be
6:06
displayed enter the IP address of the
6:08
computer running the productivity
6:09
programming software PLC
6:14
simulator note that you can only have
6:16
one slave device per IP address since we
6:19
have easy transfer line as a slave on
6:21
one computer you must run the PLC
6:23
simulator on another the PLC simulator
6:26
will act as a modbus slave or server and
6:28
the modbus master client we will leave
6:31
all the other settings as a default
6:47
okay select file import tag name
6:50
database this will call up the open
6:52
window select the PLC program tags that
6:55
previously select the export tags basic.
7:00
basic file and select
7:05
open the import tag database window will
7:07
be displayed under device select div
7:12
002 select overwrite existing tags and
7:16
import the import complete message will
7:18
be displayed after the tags are imported
7:20
into the cmore programming software
7:24
okay we can rearrange the existing
7:27
output controls on our troubleshooting
7:32
we will duplicate our conveyor
7:35
switch the tag name will be
7:38
HMI test and the object type will be
7:43
toggle the name will be changed to test
7:46
we can now change the other input
7:48
switches and indicators to reflect test
7:50
option from the PLC program all of these
7:53
object types will be set for momentary
7:55
on this means the input will be turned
7:57
on as long as the HM by button is
8:01
selected we will set the object
8:03
visibility option under the options tab
8:05
of the test switches and
8:07
indicators when the HMI test is on the
8:10
rest of the test outputs will be visible
8:45
save the CM more cm5 HMI
8:49
program if you're enjoying this video
8:51
please hit the like button below keeping
8:53
up with all the latest automation
8:54
Innovations can be difficult so hit the
8:56
Subscribe button remember to click the
8:59
Bell beside your subscription to
9:00
actually receive those
9:04
notifications download and test the HMI
9:06
program in our ultimate automation
9:12
environment to download the HMI program
9:14
to the cm5 unit select the project
9:16
transfer icon on the Home
9:19
tab the project transfer window will be
9:21
displayed if our controller is not
9:24
automatically found you can select the
9:25
browse button under the ethernet
9:28
connection setup window you you can
9:29
select the panel and okay we can now
9:33
select the transfer button on our
9:42
window our project will now be
9:44
transferred a message will indicate when
9:46
the transfer has been complete select
10:08
we can now test our HMI in our
10:09
automation environment select the vi iio
10:12
on our machine simulator this will show
10:14
the status of the inputs and
10:16
outputs we can select the test button on
10:19
the HMI and test our
10:22
outputs Ure you thoroughly test all of
10:25
the functions on our ultimate automation
10:27
machine any errors can then EAS easily
10:34
tested so what makes the ideal training
10:37
environment there are several key
10:39
components to consider technology plays
10:41
a vital role access to relevant software
10:44
hardware and tools is essential for
10:47
skills next the content should be
10:49
carefully designed to cover both
10:50
theoretical and practical aspects of
10:52
Automation in addition to these hands-on
10:55
experience is critical you must work on
10:58
real world projects and simulate real
11:00
world scenarios to develop the necessary
11:03
confidence finally mentorship and
11:05
guidance from experienced professionals
11:06
can also make a significant difference
11:10
outcomes the Seymour cm5 is more than
11:13
just an HMI we can data log send emails
11:15
communicate with multiple devices
11:17
display on a TV screen Etc to learn more
11:20
about this industrial touch screen click
11:23
here click here to learn more about the
11:26
machine simulator formally known as
11:30
click here to learn more about node red
11:32
and how you can add additional
11:33
capabilities to your ultimate automation
11:35
learning environment