Let's continue to our training with topic 2
Library simotion G-Code interpreter chapter 36 3
And I opened in my web browser the related application 4
Example released by 5
siemens procedure the entry ID 6
And this application example which HMI offers you standard application 7
Possibility to program kinematic systems 8
It's can be Delta3d 3D Cartesian or whatever with G-Code 9
The following functions are provided 10
3D interpolation kinematic transformation and functions with 11
real parameters management of G-Code programs example projects 12
simotion and HMI 13
For the CNC machine language for programming of motion 14
Programming in G-Code is always have some advantages when kinematic systems are to 15
traverse Define culture 16
That means part program 17
gcode commands are exported with suitable text software or Define 18
by manual programming 19
If you want to use your cad cam software 20
Integrated in your machine 21
Then you have to choose a PC based 22
System instead of an HMI 23
Because the windows CE based siemens panels 24
Basic or Comfort panels doesn't support cad cam 25
The resulting program files are stored at my locally in simotion 26
And libraries use system functions for creating and modify 27
The part programs reading and writing and editing and so on 28
At the solution 29
For this task standard application interpreter can be used 30
And application offers following function 31
3D interpolation for polinomial interpretation G-Code programming according to standards 32
constant path velocity 33
path sync. motion and positional axuillary access 34
reduced length compensation tangential control and functions 35
Real parameters user availables 36
Cause of storage of G-Code fires in the CF cards represent for substitute 37
G codes 38
Multiple kinematics running on Simotion device 39
with gcode at the same time 40
That is a different Channel 41
Advanced control structures while loop 42
Comments or keywords inside gcode 43
Mathematical functions for program supportable 44
current Version of The Interpreter is 3.2 you may download 45
The manual 46
For The Interpreter application example for the G-Code or the library is possible 47
It's located under the handling section in SIOS website 48
That are similar applications located here for handling basic Library 49
handling advanced Library 50
And this interBranch consists of different kind of solutions released by Siemens 51
we use by The way kinematics simulation Center tool to reach 52
Initialize system in our computer 53
jog path function using for jogging or path with a user program 54
also you can see 55
Other packages 56
lets go a little back coup of years 57
Once upon a time I have prepared a video 58
with my PC 59
Then you will find I opened the project 60
with motion Scout classic 61
Project name is 62
Controller based motion used for this case 63
you see here 64
Interpreter package 65
That are some library for G Codes 66
There are some definitions error definitions 67
And the menu of the library is 68
Really well 69
Explains 70
there are 2 Channel 71
That means 2 path object 72
And it's a operating at the same time wiht simotion there is a 73
TIA based 74
panel 75
At this case I use 76
Device proxy to connect 77
The portable KTP 900 safety mobile panel 78
And you may find someHMI screens designed by template siemens 79
The here's the main screen of the program is possible to load the program with the number 80
This is the desktop view of my old computer and I used to 81
camotics open source based tool 82
to Create the GCODE file 83
for a patrt 84
CAD CAM output that are here several examples 85
I've just opened a extension of gears example 86
you can exports as a G-Code file 87
And then it's possible to use an FTP server to 88
Send these files to CF cards 89
For sure or you can use just your web server 90
But first you have to Define and rename the extension as .NC 91
You'll see local file and the sort of the G-Code gears and see that are several 92
Length of GM code 93
and you have to modify a little bit 94
To be understand 95
Interpreted by our simotion code 96
There are some rules first I have to delete couple of lines at the beginning 97
And enter here the program named as 98
geartest for instance 99
so Depends on the part program 100
It's end of the G-Code program maybe I should end with m 30 101
Yeah it's required by simotion interpreter 102
And after I made 103
modification and a proper 104
G-Code Fo simotion renamed 105
as 106
SNC 107
it is Possible to edit with notepad plus plus is commonly used 108
Free of charge 109
Then I want to rename my program No 5 110
Before I sent 111
My program to 112
Simotion here you see is the IP address to folder 113
now i am trying to reconnect as default username and password 114
to Service Port IP address of simotion is opened 115
i Double Click user emotion 116
HMI user files here you see 117
An interpreter library is working at this folder to create and modify 118
Programs and programs G-Code of the part programs and you have 119
rename 120
Your files like this 121
Runtime of the HMI still running 122
i go open the example page in the editor 123
you can see 124
Inside of the 125
Program folder so... 126
I should stop I think because the video is running too fast 127
There are several buttons on the right side 128
Normally the function keys 129
used to jog that or Jog right 130
On the positive or negative Direction 131
Axis interconnected to our path object 132
there are other aditional of the rotation of axes 133
named as a minus and a plus 134
By the way version was 3.1 the last version 135
Before the exhibition 136
so Omac State management for manual and automatic program 137
here the override of for path object 138
You can start interrupts stop or clear your program during execution 139
you will see here OMAC state stopped in manual 140
I can switch to between channels here Channel 1 channel 2 with different kinematics 141
Actual positions you'll see here 142
So there are several program files if you click load 143
Button 144
left side of your program 145
And you can then edit 146
or Run your part program here that are some buttons related to systems functions 147
to manage CF card 148
card the slot means there's a slot 149
In the CPU memory 150
structure as system variable 151
The structure that you can manage your part program if you hit slot the card you can 152
Save your program to CF card 153
If you hit the clear the file file will be deleted if you hit the clear the slot your structure in simotion memory will be deleted 154
And the program name of parts 155
Is taken into account from the first line of your program 156
And there are some rules 157
The program numbers have to be just like that 158
And 159
You see here the program state of the function block ready busy error 160
And already there are some error information related to error ID in 161
your document in a HMI alarms it's integrated so let's continue 162
I am loaded the program number 5 it takes a little bit of time by the way 163
Over then 164
10000 165
Lines in your G-Code it might take 10 seconds or 20 seconds it depends 166
On your 167
part program 168
But let's say sometimes it's working it's slowly 169
So after that I'll get an error 170
diagnostic screen related our messages 171
And that means program stack overflow 172
Unfortunately right now 173
It's limited to word 174
as is index in our Global structure so 175
The maximum line number is limited with 176
32768 177
32768 178
32768 179
Next 180
You can set here at editor lines and codes 181
And the HMI is 7" so that's why that are limited area 182
You can scroll up or down go home and leave your lines is possible 183
So by the way 184
At the subsequent I open the Kinematics Simulation Center 185
LCOM Library used to communicatie check the settings are mates or not 186
Explained here so maybe later on 187
in manual mode I hit the start 188
it's possible to jog as you can see 189
At the same time you may see the kinematics 190
at your window for the other axis for the Z axes 191
I switch back to production mode that means automatic mode 192
in your interpreters screen program 193
Before start the production interpreter checks your program code line by line 194
Like a preprocessor 195
if there any kind of syntax error you get the error message 196
It's possible to go step by step or continues mode for sure 197
Single step is possible 198
Let's say 199
Show the menu of the renderer and HMI 200
Let's try with program number three the heart 201
Clear and start the production 202
during movement 203
That is an error I guess 204
So now it started to move 205
and Running through in the shape of hearts 206
According to our G-Code settings 207
you will see here 208
It's possible to adjust override 209
On the Fly 210
now state stop the program finished 211
here Menu and the settings of the KSC 212
as kinematics parameter 213
You can adjust your system according to your real Hardware 214
And the for the TCP IP it is required to enter and port and make a connection 215
there are different kinematics available on KSC 216
You can trace your track 217
and an interpreter you see the current line of the program and actual values as 218
Position and velocity 219
okay So this is one of the video 220
Let's see the other one 221
So inkscape is another open-source tool 222
Draw something or 223
In 3D format 224
Or design 225
now i will try 226
with the same way 227
kinematics is DELTA 3D at this case 228
According to our Channel and path object 229
So 230
you can jog 231
in manual mode here 232
You see the position of the axes 233
did linear movement trace 234
at the background check object automatically calculates the kinematics transformation for each 235
Axis 236
I'm loading the program number one 237
It takes a couple of seconds depends on the line and the size of your 238
part program 239
So when you compare with this sinumeric units it's always the simotion is 240
More basic 241
So is 242
Running slowly 243
started to process the current program 244
Increase the override 245
velocity and movement should be faster 246
depends on your G code of course 247
G2 G3 248
supported list of G and M codes 249
Is provided by the help documents 250
You can download on the website of siemens 251
If you want to learn more 252
It's another good example to use of different kind of kinematics 253
with KSC and simotion G-Code interpreter 254
It's ready to use package you just make some settings 255
And download the program in your system 256
Afterwards you just click some buttons 257
Is designed by experts 258
of the Application Center 259
So it is possible to use with different applications in the real world it depends on the 260
Customer specs 261
So this is just for another example 262
So 263
Let's see the last one 264
I guess this is also another shape and other GCODE 265
modification 266
for interpreter 267
Yep 268
You see here again Cartesian 3D with shape 269
Like scorpion 270
so lets download last version of g code interpreter 271
manuals Save as 272
i need to be logged in first 273
Save as 274
and application Example 275
The changelog 276
And Library 277
Let's check for interpreter change log 278
For all of the versions you will see what added or changed new features 279
application changes and so on 280
HMI engineering Contains several masks 281
path sync access 282
Sub folder in program code 283
Configuration data return variables unit interface 284
Retain storage of configuration data 285
Adapted take additional sync Access into account access function 286
LMC Basic okay 287
Input and output 288
Is different aux config 289
function blocks 290
interpolator configuration 291
gcode Interface 292
with version 3.2 293
in case simosim used instead of controller error loading NC program 294
Version 5.1 microprocessor definition 295
Like this 296
Library changes 297
Scope of all functions GCODE different modes for path length output 298
resetting Position using M20 299
Synchronous axis movement 300
Orientation position for sync. axis 301
This parameter or with this parameter 302
Okay 303
Time to time that are some additional 304
Let's check the manual 305
Is the manuaul for interpreter 137 pages 306
Yes the table of contents 307
Preparation project example project program in G-Code 308
Supportive GCODE MCODE supported 309
Definition of statement 310
Interpolator structure G-Code interpolated functions 311
sync axis functions for the functions 312
and you should see here the overview 313
What is provided by interpreter 314
Sub programs are possible 315
The structure of The Interpreter and how it works... 316
And step-by-step it's defined how to create the 317
Projects of to insert the import the library 318
Example project structure 319
How do you setup the TCP communication with KSC for simulation 320
Omac state mode structure preparation for g code interpreter 321
And it's really detailed 322
Describe here if you want to use the supportted G Codes 323
Explanations and examples with graphical views 324
How do you control the sync motion and So on trace outputs 325
really Good prepared document for your application 326
Maybe in the future in advance you will think about or think about the 327
Use the advantage of ready-to-use library 328
TIA Scout 329
If this case FTP server activation and settings for 330
File transfer with filezilla or FTP server of notepad++ 331
And how do you browse the system variables related to your CF cards 332
External access or sync aux access 333
Importing exporting alarmS 334
and 335
The error messages and so on... 336
So 337
at last 338
Let's take a quick look 339
So our project 340
In computer 341
TIA portal project 342
with version 14 343
I will talk about a little bit 344
For give you some information 345
Project opened in project view 346
there is one simotion D445-22 347
profinet 348
and a mobile panel 349
You see 350
You may later on the HMI sites that are several pages 4 or 5 mainly used 351
For interpreter 352
double click open the Simotion Scout site 353
In some cases for instance basic router or 3D Cartesian system 354
Use this simotion to control your machine 355
at this case sinumerik it's not required 356
If you want to make your own machine 357
with simotion is possible 358
On the other hand 359
It is required to advance in cad and cam design 360
For Milling or turning 361
Maybe you should choose the way walkthrough with the sinumerik 362
It depends on your application for sure 363
but it is ready to use package of g code interpreter is 364
Possible nowadays 365
with new firmware version of course with new CPUs 366
After the 4.5 it is possible because it's 367
using CF card read and write functions 368
And that's why the firmware at least 4.5 is 369
The pre requirements 370
You can read detailst on the manual 371
It takes too long because at the background trying to connect the help system 372
Open the window that's why it's not working properly in my 373
Computer Windows 10 374
Maybe I should 375
format and install of the all of the program but it takes 2 or 3 days 376
siemens programs that's why I'm avoiding it 377
so there are several 378
sections is like handling metalforming Plastics 379
and Experts of the application center in Germany 380
It's developing examples like this and using the common libraries 381
For example LMC axis basic function block OMAC standard 382
You have already seen project generator so 383
Next time if you learn the common standards that are converting 384
TIA and Simatic controllers some of them 385
Then you'll get an advantage 386
Because 387
At the end 388
The hardware is the same 389
On the program site or some of the libraries are commonly used 390
Then you gain experience with this standards in the next time in the future with 391
the Different kind of projects machines or process you gain sometime 392
You spent less time for your engineering and 393
with Industry 4.0 394
It's really going up 395
You can simulator with tecnomatix or there are other simulation options to real 396
System the mechanics 397
with simulation 398
After you CAD CAM design or assembly or machine in Virtual environments 399
Is possible to create a virtual twin of course in your PC with 400
Siemens unigraphics NX for instance 401
And you can combine together with PLC simulation Advanced or simosim to create 402
It's your own program in 403
And it tested 404
At the PC at the meantime it is possible before you go on the real machine 405
And energize your Hardware assembly your 406
Mechanics 407
It's save some time and the money of course because before you build up your real 408
Real machine and make connections 409
you can test your system and you have already some information about 410
What's going on 411
In the PC simulation sites 412
Before you cad cam 413
Or manufacture your parts 414
Then you can just modify your part before you go with CNC machines and production and assembly 415
That's why it's reduces the cost for 416
Production for sure that's 417
and Programmers are able to 418
Develop the system 419
In more quiet places in their offices 420
So 421
at the one place 422
It's not required to go to the real machine and connect your cable or PC whatever 423
You spare some time 424
But sometimes are fortunately it depends on your conditions of your local market 425
Maybe you have to 426
Go faster you don't have enough time for testing and 427
Virtual commissioning so that's why 428
You'll have to go on field and open your computer and hit the project create button on field 429
of course with the conditions of 430
environment 431
dusty really stressful sometimes heated up 432
You have to 433
Use your personal protection and tools 434
Specially for this days and this year I think it's more 435
Become a difficult and work on fields 436
also When you getting older 437
At the same time you don't have the energy anymore when you are 438
begin first job 439
years ago 440
You have to find another solution 441
Maybe you should go 442
If it's possible with the virtual 443
Let's say 444
By opening 445
version 14 446
simotion Scout the nearly at the end of this chapter or so 447
next chapterwill be a short video recorder for you 448
I think 449
That are also several interbranches 450
If you're interested you should go and download the application and example 451
It's the meantime maybe I can open the other project 452
Written as 453
G-Code interpreter 454
Maybe 455
You'll see here what is the version 13 456
I have to find the manager side of yeah that's here 457
So let's open 458
and data drive G 459
siemens yes 460
It's wrong I think that's 461
So 462
older version lets convert it! 463
Write protection yes 464
So there are some libraries familiar 465
Library communication LMCBASIC and JOGPATH and GCODE 466
You might find out some drives Maybe 467
Programs technology 468
Cams located under the channel folder next time will be used for 469
helical movement of aux axis 470
Two channel to path object with 471
Axis interconnected here 472
Axis are there 473
DELTA 3D picker and path object channel 2 is Cartesian system 474
good Example to see the difference that are some folders organized 475
Program fault attached to fault task 476
OMAC used for control state of your program 477
MCBASIC used for axis jog and control 478
and KSC interface 479
here IP address of remote station and 480
The cycle time 481
There's also the port configuration in somewhere 3 4 5 6 482
It's different the local port at remote remote Port configuration 483
Using TCP IP not UDP 484
All the KSC side this parameters should be met 485
jog path that are some HMI definition and program 486
jogging the path 487
Unidirectional in a plane 488
So on the other hand 489
there are some Global variables and definitions 490
For using with this interpreter 491
At the gcode folder all required programs function below 492
functions 493
Located here 494
You see at the startup task the definition and interconnection assignment of the 495
path objects 496
To the structure 497
You should examine my later on 498
Alarm Handler deals with the messages 499
And this is the interface 500
Definition of G Codes 501
constant fo Library 502
and the HMI side 503
So basically that's it 504
You can download your project in your CPU or simosim and start HMI runtime simulation 505
and 506
Continue to work 507
With your system 508
and that's so. Thank you for watching...