Hello collegues 2
Our current capter is 17 3
We will learn about 4
TIA portal integration 5
Device proxy option for using Comfort HMI panels 6
When We are programming siMotion in classical world 7
So we have our example project here 8
It's saved and compiled without any errors 9
Okay consistency check is successful 10
I will start a new project needs tia portal version 15.1 11
Service Pack 1 12
So sometimes it's necessary to use the classical to use 13
classical simotion scout to program your PLC 14
Maybe because of the maintenance team have the old license 15
And don't want to upgrade your software for instance 16
By the way there are some advantages Still In classical scout when do you compare with 17
TIA scout option right now actually I prefer to go with the classical 18
Scouts for new projects 19
You see here the portal view I'm going to create a new project 20
First I select my folder to store 21
The project files 22
So I said it here 23
simotion scout system and programming folder 24
Okay let's see a device proxy 25
version 15.1 26
D425-2 from the 27
5.2 28
Okay just takes a few seconds 29
Okay let's switch to project View 30
And add a new device 31
We will use the device proxy 32
For set up a communication between Comfort panel and simotion scout 33
Classic CPU 34
I have to use the device procedure 35
In my device window 36
I need to 37
Right click with mouse and initialize my device proxy 38
So will select here 39
Related to simotion scout project with MCP 40
So let's go to 41
For folder of projects 42
This is my main folder for step 7 project you see U7 43
This is related rates simotion scout is storing the 44
simotion scout data They're here and I'm selex project MCP file 45
It says the open device proxy is not possible this 46
File is used in in use so unfortunately I have to close my Project 47
Project Scouts 48
Project on close 49
You need to decide wisely during commissioning and programming your CPU and HMI 50
The individual projects 51
on TIA sides and classical Scout worlds that are some advantages 52
At the meantime there are some disadvantages like this 53
So i will click again 54
And it says initializes device proxy. 55
It takes couple of minutes sometime 56
So you see here on the left side The Source device if 57
There more than one devices you see a selection with 58
Combobox for Source device know I have just one 59
On the right window you'll see the device proxy data contents 60
Everything should be selected 61
I say okay 62
Now it's going to interconnect 63
My selective. data symbol browser IO list 64
To device proxy TIA portal 65
so initialize device proxy 66
PLC1 successfully completed 67
You may see on the info in general section 68
Okay 69
It says no alarm is objects have been transferred 70
Because programs don't use ALARMS 71
In next chapters we will use this option 72
So on the left side you see PLC TAGs folder that are some system variables 73
And you see here 74
The available Source CPU itself 75
Your see addressed it is empty because we didn't edit or created any IOs 76
variable 77
AT Global available 78
Device variables you see hear some variables user-defined we have already added some 79
in MCC unit tag table you see here couple of variables 80
So these are the global exportable variables 81
So right now we have some data 82
I'm going to create and add new device 83
HMI program 84
i select Comfort panel 85
For instance 12" 86
with version 87
15.1 88
Okay let's use HMI advice wizard to 89
Connect my PLC 90
i select ethernet interface or communication and Next Step screen layout 91
I will leave it as default 92
For alarms and alarm windows 93
let Set default 94
For the HMI screen i will select all 95
for buttons with set button area on the left 96
Okay 97
Here is the information address of device proxy conflicts with address of 98
Conversation partner please correct 99
The manual mode OK 100
So now I see 101
My screen editor with HMI 102
First of all I have to arrange 103
My panel settings and communication settings here will see that 104
are Two different purple profibus ports simotion sites and 3 different 105
green 106
profinet ports 107
I just clicked twice 108
After you see here device. I'm going to use the network view it's connected 109
with 110
PN IE ex ports you see here the default IP address 111
The other one is piano x1 112
The other one is PNIE 113
Let's say this service port 114
It's really important to enter 115
I guess some information here 116
Service port 117
So 118
Other one 119
with ip adress 120
2.1 121
Let's check i can open my project again 122
Because the device proxy 123
Is finished 124
So let's check my Hardware 125
Find IP settings 126
with net pro 127
You will see here the PNIO port X150 128
1.1 129
This one 130
Let's say 131
and this one is 132
So the IP addresses must be located at 133
same Network settings subnet mask 134
2.1 135
I need to be 136
2.2 for example 137
Okay 138
You see here 139
All of the connections 140
device proxy 141
there is a ethernet line let's compile the HMI side 142
compile is finished with no error 143
So it's this case I've used this port 144
Before I want to simulate 145
The HMI when runtime on my PC then I should switch to service port 146
with simulation 147
So you see your connections and HMI connections 148
Also at this window 149
There's one HMI connection 150
I can change or adjust my connection settings here 151
To this one 152
Service port 153
Then I have to 154
Arrange my IP address of HMI for sure 155
So let's say 156
on the network 157
i will connect service port Network 158
Let's check again 159
now it's okay 160
I will compile again the HMI 161
with New settings 162
So it is done 163
Now I'm going to use some variable on HMI screen 164
I opened the root screen 165
So 166
I'm going to drag and drop some variable here 167
Gbo true bit 168
GBO false bit 169
Integer variable 170
Is possible to 171
Set increase or decrease some variables 172
Let's say 173
Increase tag 174
You can also say from the list 175
PLC tags 176
MCC units 177
Case test 178
Okay 179
It's another available case tests 180
Let's arrange the items 181
And to some changes on text format 182
on layout or characteristics 183
Font full-size is possible it depends on your choice 184
input outputs 185
Okay let's save project 186
Now I'll try to go open to simotion simulation 187
i will select Simosim accept changes 188
Are they going to do start yes 189
So it's powered up 190
Are select save and compile and go online 191
And 192
Download Project to Simulation 193
It takes a few seconds 194
So download completed now 195
Now it's running 196
Let's check the Diagnostics 197
Okay 198
You'll see here are simulation running 199
Let's start HMI runtime 200
i will select HMI 201
and click here for start the Simulation 202
compiled again and started 203
Connection established 204
Okay very good 205
Now I see here my always true is one and always supposed to be 206
Is logic 0 i see here some integer variable as value 207
100 208
When I click the button 209
You see hear my other variable is increasing by one 210
Let's check on the simotion side 211
Okay it's symbol 212
you see here my Global device available my gi16 integer 213
Available 214
Status value is hundreds 215
My other integer variable locates at MCC units AS Global exportable 216
variable I see here at symbol browser 217
At my current status value is 6 218
So it's communicating between simosim and HMI on runtime 219
At this point 220
It's important to know that's your HMI runtime setting depends on set pg pc 221
Interface 222
so If you get any communication errors 223
This is the first place you have to check for step 7 online 224
My ethernet adapter 225
Is selected as gigabit Ethernet controller 226
So that's okay because now I music to device adapter for simotion 227
And simosim 228
I have make necessary adaptations in TIA portal 229
at Network view to set up the communication between runtime and simosim 230
So 231
At this chapter we see 232
TIA portal integration and device proxy 233
and You're able to do 234
with yourself some additional examples or exercises with the system after 235
you don't let the necessary 236
Project backups or you can on the other hand just create your own 237
Project with TIA portal it's also possible 238
Okay I forgot to mention about what will happen 239
The user create new variable on simotion side so let's do it 240
Now I'm going to create 241
Some variable Global device variable list 242
Some GI32 double integer 243
For real variable test 1 244
Is real 245
I hit save and compile 246
After that I will go online 247
You see here the difference I'm going to download the project 248
stop mode Yes 249
So let's start again is in run mode so let's check 250
All run time 251
Now you see unfortunately our communication is 252
Interrupted you see the sharp codes #### 253
And input output boxes 254
After I created a new variable old available list and absolute addressing 255
Regulated so I lost communication let's try 256
Then closed the window and compile TIA portal again 257
Let's compile 258
Let's set 259
Runtime mode and starts 260
So error inconsistenty check 261
You get the error messages that means there's some complication 262
Line is active but the list on the HMI site for device proxy 263
it is not correct 264
So what should I do? 265
I need to go and device and networks right connect to device proxy 266
Need to update the data 267
So I'm going to repeat the procedure 268
First I have to close the project 269
And with this way it costs me some time for sure 270
So it says negative thing of course 271
Let's updates 272
Device Proxy of simotion CPU 273
You'll see here some date and time 274
On the left side front device proxy 275
Here is my update device proxy data from Project 276
Let's say 277
Update addresses 278
It's our case it's not the relevant to other ones 279
So I click it is updating now 280
It takes some time 281
Update completed 282
Once we have some error here Global device variables has not been 283
compiled correctly 284
Let's check 285
You see here are additional variables double integer and real 286
I'm not going to add on HMI screen I just want to make sure my 287
HMI Tags is updated so let's start simulation for runtime on HMI 288
Again... 289
now connection established and everything's fine 290
So when I want to 291
Spare some time while working with simotion and HMI at the same 292
Project 293
At the same time 294
What can I do ? so I'm reopening my first project again 295
So let's go options settings and downloads and deactivate 296
HMI consistency check and click to accept 297
Okay let's go online 298
Now it's trying to connect to step 7 online adapter 299
in real system that's not supposable so I have to 300
After error just connected 301
i thing because the 302
Simulation is open 303
sinamicsc site is not possible so I deselect sinamics side 304
Okay right click 305
Disconnect reconnect again 306
Okay let's save and compile 307
it Is successful 308
I go offline I will create some available here 309
and real data type Test 2 310
Okay 311
i will save compile again and go online 312
and download my CPU 313
in system of downloaded and goes stop mode it again check my HMI connection 314
So you see here no I didn't lost my HMI communication and 315
my data 316
collected I can write and read my variables at this case 317
You will see here 318
So that way you should earn sometime but you need to be careful. 319
during Working with real machines after you add 320
And create new variables and out of more variables in your program and to use with different function blocks 321
and programs 322
So it's not be guaranteed by HMI 323
Your reading and writing the correct variable 324
That means 325
Here my variable is 100 but you're not sure 326
You remember sure you're looking at the right place because 327
Your absolute address will be regenerated at the other time so 328
It's may be shifted 329
It could be another variable and you should do some mistakes with your real systems 330
So Advantage you get some time at this case but you need to be 331
Careful during your commissioning 332
And see you.