1

00:00:00,256  -->  00:00:06,400
Hello again now we are working on chapter 14

2

00:00:06,656  -->  00:00:12,800
And this chapter you will learn about how do we connect

3

00:00:13,056  -->  00:00:16,896
HMI at wincc flexible

4

00:00:17,152  -->  00:00:19,968
to simotion cpu let's begin

5

00:00:23,808  -->  00:00:29,184
It's always good to be work with

6

00:00:29,952  -->  00:00:36,096
simotion and step manager and wincc flexible as integrated enviroment

7

00:00:36,352  -->  00:00:39,168
So...

8

00:00:39,424  -->  00:00:42,496
I'm going to open my simatic manager

9

00:00:46,336  -->  00:00:52,480
And we will create a new HMI with last version of

10

00:00:52,736  -->  00:00:54,528
wincc flexible

11

00:00:55,552  -->  00:00:57,856
here you see

12

00:00:58,112  -->  00:01:01,696
The last opened project so I will close

13

00:01:02,720  -->  00:01:08,864
Let's open our first project as an example here

14

00:01:10,912  -->  00:01:14,496
The name simotion for project

15

00:01:18,080  -->  00:01:24,224
okay simatc manager side I'll see your some CPU and sinamics integrated

16

00:01:28,576  -->  00:01:32,416
So at the classical world

17

00:01:32,672  -->  00:01:37,536
simatic programmers is really familiar with simatic manager

18

00:01:39,072  -->  00:01:44,960
click right with mouse and insert new object and HMI station

19

00:01:48,032  -->  00:01:50,080
It's one way to do that

20

00:01:56,736  -->  00:02:02,880
So at the background simatic manager connects to necessary service to winccflexible

21

00:02:03,136  -->  00:02:09,280
That way I will able to work

22

00:02:09,536  -->  00:02:10,816
in integrated

23

00:02:14,144  -->  00:02:17,472
So let's select HMI panel

24

00:02:20,288  -->  00:02:25,152
For just know that it's not possible to use Comfort Panels

25

00:02:25,408  -->  00:02:31,552
If you are going to choose and use Comfort HMIs in your projects that you have to use

26

00:02:31,808  -->  00:02:35,904
TIA portal for programming and design of the HMI

27

00:02:36,416  -->  00:02:40,512
What do we have here it's possible to use runtime

28

00:02:40,768  -->  00:02:43,584
So there at this PC

29

00:02:44,608  -->  00:02:49,472
there are some simotion pc-based monitors

30

00:02:49,728  -->  00:02:52,032
Multi panels

31

00:02:52,288  -->  00:02:53,824
touch panels

32

00:02:54,080  -->  00:02:56,384
Basic panels

33

00:02:56,640  -->  00:03:01,248
Almost all the siemens HMI possible to connect to simotion

34

00:03:02,272  -->  00:03:04,576
So I would just sit at

35

00:03:05,600  -->  00:03:07,648
touch panel

36

00:03:09,952  -->  00:03:11,744
MP277

37

00:03:12,000  -->  00:03:13,792
with 6"

38

00:03:15,584  -->  00:03:16,608
Okay

39

00:03:25,568  -->  00:03:29,408
wincc flexible is generating our project

40

00:03:38,368  -->  00:03:44,512
I'm going to close the TIA portal last opened project

41

00:03:47,328  -->  00:03:49,376
simulation okay

42

00:04:01,408  -->  00:04:03,200
i get a an error that

43

00:04:03,712  -->  00:04:06,272
These days

44

00:04:06,784  -->  00:04:11,136
It's because of the setup of the tia portal

45

00:04:20,095  -->  00:04:26,239
so now I can rename it

46

00:04:28,031  -->  00:04:29,311
with net Pro

47

00:04:29,567  -->  00:04:31,359
I'm able to do

48

00:04:31,871  -->  00:04:34,431
Connections i can assign

49

00:04:34,687  -->  00:04:36,479
which port

50

00:04:36,735  -->  00:04:39,551
That I want to use in my project

51

00:04:42,623  -->  00:04:48,767
so The main aspect and Advantage is your able to just select

52

00:04:49,023  -->  00:04:51,071
Your HMI

53

00:04:52,607  -->  00:04:54,911
Your CPU variables from list

54

00:04:55,167  -->  00:05:01,311
It's working integrated so each time you create a new variable at the background

55

00:05:01,567  -->  00:05:03,615
winccFlexible check

56

00:05:04,127  -->  00:05:06,431
And update the list

57

00:05:06,943  -->  00:05:10,527
On HMI sight so you're not

58

00:05:10,783  -->  00:05:14,367
You don't have to do manual operation and

59

00:05:14,623  -->  00:05:20,255
Insert the symbolic adress so that way you gain a lot of time

60

00:05:22,047  -->  00:05:26,143
when you work with your TIA portal and device proxy

61

00:05:26,911  -->  00:05:33,055
It's the worst case I guess sometimes because you spent a lot of time for update

62

00:05:48,927  -->  00:05:50,463
So

63

00:05:50,719  -->  00:05:54,303
I'm just waiting right now because I

64

00:05:54,559  -->  00:06:00,191
Close my netpro and Hardware Config because of the windows

65

00:06:00,959  -->  00:06:05,055
I am not able to move my cursor with mouse

66

00:06:07,871  -->  00:06:14,015
There are some bugs current version running on my PC or Windows side

67

00:06:15,295  -->  00:06:17,087
Maybe next time

68

00:06:17,343  -->  00:06:19,903
I will update my windows 10

69

00:06:23,231  -->  00:06:25,535
So I mentioned before

70

00:06:26,047  -->  00:06:27,839
If it's possible

71

00:06:28,351  -->  00:06:30,399
I prefer to

72

00:06:31,167  -->  00:06:33,471
Continue with Windows 7

73

00:06:35,263  -->  00:06:37,567
but with the new computers

74

00:06:38,335  -->  00:06:42,431
You have to use the last version of Windows now I'm ready

75

00:06:43,199  -->  00:06:49,343
I just click here on the left side you see at the project on left side

76

00:06:49,599  -->  00:06:52,671
at project tree screens Communications

77

00:06:53,183  -->  00:06:57,279
Some things I am able to do here

78

00:06:58,303  -->  00:07:01,631
But I choose to open the WinCC flexible

79

00:07:02,399  -->  00:07:05,471
That is separate window i can switch

80

00:07:06,239  -->  00:07:10,079
Whenever I want

81

00:07:10,591  -->  00:07:13,663
Between two programs

82

00:07:19,807  -->  00:07:22,111
So...

83

00:07:23,903  -->  00:07:30,047
You know in output window I see is synchronization is started and finished

84

00:07:31,839  -->  00:07:36,447
I'm going to make some new connection connection one

85

00:07:36,703  -->  00:07:38,495
Communication driver

86

00:07:38,751  -->  00:07:43,871
should be simotion and I'm setting here

87

00:07:44,127  -->  00:07:46,175
simotion d CPU

88

00:07:46,687  -->  00:07:47,967
If you

89

00:07:49,503  -->  00:07:55,647
ethernet note is important right now I'm using the service

90

00:07:55,903  -->  00:07:56,671
port 

91

00:07:56,927  -->  00:07:58,975
for simulation

92

00:08:01,535  -->  00:08:05,887
PN IO for profinet x150

93

00:08:06,143  -->  00:08:11,007
I would choose this one the IP addresses is correct

94

00:08:11,263  -->  00:08:13,823
And I need to assign

95

00:08:14,591  -->  00:08:20,735
similar IP address on a HMI side is also an important thing

96

00:08:21,759  -->  00:08:24,319
So how can I do that?

97

00:08:24,831  -->  00:08:26,879
I will save my project

98

00:08:28,159  -->  00:08:31,487
Communication must be active

99

00:08:35,327  -->  00:08:39,935
I'm going to open net Pro

100

00:08:40,191  -->  00:08:41,215
From here

101

00:08:41,471  -->  00:08:43,519
conFigure out my network

102

00:08:46,847  -->  00:08:52,991
So let's assigning IP address to my HMI

103

00:08:53,503  -->  00:08:55,807
You know it's a line

104

00:08:58,111  -->  00:09:04,255
Before I do that I've checked here if this me

105

00:09:04,511  -->  00:09:09,119
simotion porst connected subnet add new subnets

106

00:09:09,375  -->  00:09:12,447
Just like similar on the TIA portal

107

00:09:16,031  -->  00:09:21,919
Okay then I will Connect my HMI here

108

00:09:23,199  -->  00:09:26,783
And okay I will just default IP address

109

00:09:27,039  -->  00:09:28,319
Save

110

00:09:35,743  -->  00:09:36,767
Compile

111

00:09:52,383  -->  00:09:55,967
It takes longer time than usual

112

00:09:58,271  -->  00:09:59,807
Yep

113

00:10:00,575  -->  00:10:06,463
Let's go with the flexible now I see the correct IP adress

114

00:10:07,999  -->  00:10:11,839
on simotion side let's compile again

115

00:10:16,703  -->  00:10:22,847
I did some changes on Hardware configuration that's why I want

116

00:10:23,103  -->  00:10:24,383
compile and see

117

00:10:24,639  -->  00:10:25,919
If there is

118

00:10:26,943  -->  00:10:28,223
Any changes

119

00:10:28,479  -->  00:10:33,087
So correct that I have to download my simotions CPU again

120

00:10:33,855  -->  00:10:34,879
Yes

121

00:10:40,767  -->  00:10:45,375
Because of i did some change on hardware side

122

00:10:45,631  -->  00:10:49,215
How to reset the target system or CPU?

123

00:10:49,983  -->  00:10:56,127
Like power on reset or software reset that is ready to switch on

124

00:10:57,663  -->  00:11:03,807
So let's go on HMI screen and drag and drop some variables from simotion

125

00:11:06,111  -->  00:11:08,159
I see here

126

00:11:08,671  -->  00:11:09,951
HMI text

127

00:11:10,207  -->  00:11:11,999
Connection we made

128

00:11:12,511  -->  00:11:18,655
Acceptance with old-fashioned Way reviews i will use

129

00:11:21,215  -->  00:11:23,007
To make an animation

130

00:11:23,263  -->  00:11:28,383
It's appereance and using some bits from list

131

00:11:29,151  -->  00:11:33,759
My project I've see here sinamics integrated

132

00:11:34,015  -->  00:11:40,159
It's also possible to connect HMI to drive sites under my simotion CPU

133

00:11:40,415  -->  00:11:42,463
I see here all of the data

134

00:11:42,975  -->  00:11:48,351
That I know technology objects right now that I no IO variables

135

00:11:48,607  -->  00:11:52,191
I'm using gbo2

136

00:11:55,007  -->  00:11:57,055
So that's click

137

00:11:57,567  -->  00:12:03,455
Let's set background color in yellow

138

00:12:03,711  -->  00:12:06,271
Copy and paste

139

00:12:06,783  -->  00:12:11,391
for gbo

140

00:12:11,647  -->  00:12:14,463
false

141

00:12:18,303  -->  00:12:20,095
Okay

142

00:12:21,631  -->  00:12:25,215
Now I will use the test bit

143

00:12:26,495  -->  00:12:29,311
Global test bit

144

00:12:30,079  -->  00:12:31,103
Okay

145

00:12:32,383  -->  00:12:34,687
I was add some

146

00:12:34,943  -->  00:12:36,223
IO fields

147

00:12:36,479  -->  00:12:39,295
to read and write data

148

00:12:42,111  -->  00:12:45,439
Let's select MCC unit

149

00:12:45,695  -->  00:12:48,255
case test so

150

00:12:49,535  -->  00:12:50,815
with this

151

00:12:54,399  -->  00:12:56,703
So let's arrange

152

00:12:56,959  -->  00:13:01,823
some font size and other attributes

153

00:13:02,591  -->  00:13:05,151
larger font will better

154

00:13:05,919  -->  00:13:08,223
Okay let's do some buttons

155

00:13:09,503  -->  00:13:13,343
Increase or decrease

156

00:13:13,599  -->  00:13:16,159
One release event

157

00:13:18,207  -->  00:13:24,351
Increase value and which tag is my case test

158

00:13:24,607  -->  00:13:27,935
Okay

159

00:13:29,983  -->  00:13:31,263
and decrease

160

00:13:32,543  -->  00:13:37,151
With this button same time

161

00:13:38,175  -->  00:13:40,479
case test

162

00:13:40,735  -->  00:13:43,295
Let's say

163

00:13:43,551  -->  00:13:44,575
Plus one

164

00:13:45,087  -->  00:13:48,671
and minus one

165

00:13:48,927  -->  00:13:50,207
I will say

166

00:13:58,143  -->  00:14:03,519
Just waiting for a few minutes okay let's start simulation

167

00:14:04,031  -->  00:14:10,175
Before to do that it's compiling our program comparison finished used for

168

00:14:11,967  -->  00:14:18,111
I just wait here now my conneciton established you see here are always true bits

169

00:14:18,623  -->  00:14:24,767
And my test bits is one second on

170

00:14:25,023  -->  00:14:27,327
And one second off

171

00:14:27,583  -->  00:14:32,959
You see here are current integer tag

172

00:14:33,471  -->  00:14:39,615
enter 55 or increase by 1 or decrease by 1

173

00:14:42,687  -->  00:14:45,759
and My HMI is communicating right now

174

00:14:47,807  -->  00:14:50,111
So

175

00:14:51,647  -->  00:14:55,999
It's basically we have done our duty

176

00:14:56,255  -->  00:14:57,535
We just

177

00:14:59,327  -->  00:15:04,191
make an HMI connection here with winCC flexible

178

00:15:04,447  -->  00:15:10,591
At the other chapter is possible to do integrates via device proxy

179

00:15:10,847  -->  00:15:13,663
Used tags from scout

180

00:15:14,431  -->  00:15:16,479
With confort panels

181

00:15:20,319  -->  00:15:21,855
So

182

00:15:25,695  -->  00:15:27,999
see you at next chapter
