1

00:00:03,840  -->  00:00:09,984
hello everyone. With this chapter 31 we are going to examine some examples

2

00:00:10,240  -->  00:00:12,544
with simotion

3

00:00:13,568  -->  00:00:14,592
Actually

4

00:00:14,848  -->  00:00:20,992
these examples are basically projects commissioned with simotion and

5

00:00:21,248  -->  00:00:24,832
Related to real running machines

6

00:00:27,136  -->  00:00:31,744
So my hands I have already opened

7

00:00:32,000  -->  00:00:38,144
And my project that's is written by me and programmed by myself

8

00:00:40,192  -->  00:00:43,008
For simotion and HMI site

9

00:00:45,312  -->  00:00:51,456
As you can see I just opened the device and networks that are

10

00:00:53,760  -->  00:00:56,064
several devices here you see or simotion

11

00:00:56,320  -->  00:00:58,624
Programmed with TIA scout

12

00:01:00,928  -->  00:01:07,072
so as I remember one of the machine is running in China the other one

13

00:01:07,328  -->  00:01:09,376
it's in Greece

14

00:01:09,632  -->  00:01:11,680
And the other one is in Turkey

15

00:01:11,936  -->  00:01:15,008
So basically this is

16

00:01:15,520  -->  00:01:17,568
a Project of the Cartooner machine

17

00:01:17,824  -->  00:01:23,968
It's working 300 or 400 meters per minute that is a feeder

18

00:01:24,736  -->  00:01:27,296
It's a beginning of the machine

19

00:01:27,552  -->  00:01:30,624
To feed the cartoons properly

20

00:01:31,392  -->  00:01:35,744
That are several servo Motors and axis

21

00:01:36,512  -->  00:01:38,304
That's why

22

00:01:38,560  -->  00:01:41,888
You see here the three control units

23

00:01:42,400  -->  00:01:48,544
Is connected to main simotions CPU also there's a

24

00:01:48,800  -->  00:01:54,944
profinet Device et200sp for collecting digital and analog IOs

25

00:01:55,968  -->  00:02:02,112
There are two HMI panels one of them is touch panel comfort series

26

00:02:02,368  -->  00:02:08,512
12" and the other one is basic panel 7-inch for operator

27

00:02:08,768  -->  00:02:11,328
At the end of the line

28

00:02:11,584  -->  00:02:14,400
also you see

29

00:02:14,656  -->  00:02:15,936
There are two

30

00:02:16,192  -->  00:02:17,728
sinamics

31

00:02:18,240  -->  00:02:24,384
G120 series compact frequency converters controlling the blowers

32

00:02:24,640  -->  00:02:26,176
Of the system

33

00:02:27,712  -->  00:02:29,248
So basically

34

00:02:30,016  -->  00:02:36,160
I have used to program and parameterize with Tia startdrive

35

00:02:36,416  -->  00:02:38,720
You can see here

36

00:02:39,744  -->  00:02:45,888
The Parmenter set to view the expert list different windows

37

00:02:46,144  -->  00:02:49,216
You when you come here to classical works

38

00:02:55,104  -->  00:02:58,944
First let's start simotion TIA side

39

00:03:00,736  -->  00:03:05,856
After that Maybe we'll look into HMI design and see the pages

40

00:03:14,560  -->  00:03:20,704
For the programmers it's always a good way to learn about different things

41

00:03:20,960  -->  00:03:27,104
How did collegues or other users or experts do the programming and we can learn

42

00:03:27,360  -->  00:03:33,504
Another from examining or going into detail and see what's going on really there

43

00:03:35,552  -->  00:03:39,392
That it's a good way to make a progress

44

00:03:39,904  -->  00:03:41,440
From my point of view

45

00:03:44,000  -->  00:03:46,560
TIA scout opened

46

00:03:46,816  -->  00:03:51,424
You see here that are some watch tables for

47

00:03:52,448  -->  00:03:55,264
Groups and different purpose

48

00:03:56,288  -->  00:03:59,616
Watch The errors

49

00:03:59,872  -->  00:04:01,408
analog values or IOs

50

00:04:03,200  -->  00:04:09,344
And there are some Library LBASIC LMCBASIC

51

00:04:09,600  -->  00:04:13,440
modular machine and so on

52

00:04:16,768  -->  00:04:22,911
sync feature of the simotion is only used with gear on and gear off

53

00:04:23,167  -->  00:04:24,447
command so

54

00:04:28,543  -->  00:04:32,383
The cam profile actually is not needed

55

00:04:33,407  -->  00:04:38,271
That's why there is no cam profile in the program

56

00:04:38,527  -->  00:04:44,415
And there's no encoder let's check the axes site

57

00:04:44,927  -->  00:04:48,511
You'll see here the several axes

58

00:04:49,279  -->  00:04:55,423
for burner units or for delivery and feeder stations

59

00:04:56,959  -->  00:05:00,799
Maybe there's an virtual access as master

60

00:05:04,383  -->  00:05:10,527
and the all of the other axis is synchronizing to this axis with a Gear ratio

61

00:05:10,783  -->  00:05:14,623
Changeable or adjustable

62

00:05:17,183  -->  00:05:21,279
there are several control units

63

00:05:22,559  -->  00:05:27,935
As you remember if you are using more than six access

64

00:05:28,447  -->  00:05:34,591
It is required to extend your performance with control extension or control unit

65

00:05:36,127  -->  00:05:38,687
So that are 4

66

00:05:39,199  -->  00:05:45,343
Different Servo drives in our sinamics integrated sites

67

00:05:45,599  -->  00:05:51,743
and 6 drives for each other three units

68

00:05:52,511  -->  00:05:54,303
and controller

69

00:05:54,559  -->  00:06:00,703
So let's say that I'm totally 22 real axes and one master

70

00:06:00,959  -->  00:06:07,103
axis let's check the cycle clock

71

00:06:09,407  -->  00:06:12,991
due to performance of the simotion

72

00:06:13,247  -->  00:06:16,319
D435

73

00:06:16,575  -->  00:06:22,719
The bus data cycle on servo side and profinet Side Cycle time is

74

00:06:22,975  -->  00:06:25,023
Set to 8 miliseconds

75

00:06:26,047  -->  00:06:28,863
If you're going to low

76

00:06:29,375  -->  00:06:32,447
I think at this case you have to

77

00:06:34,239  -->  00:06:38,335
change cpu type to D445

78

00:06:39,871  -->  00:06:46,015
Basically that's performance is enough with the settings to run the machine

79

00:06:50,367  -->  00:06:52,927
let's check the execution system

80

00:06:55,487  -->  00:07:01,631
As you can see several programs attached to motion task

81

00:07:03,423  -->  00:07:06,495
Almost each axis

82

00:07:07,007  -->  00:07:10,335
That are some programs assigned to background

83

00:07:12,127  -->  00:07:18,271
Both ladder MCC and St units I have used

84

00:07:19,551  -->  00:07:24,927
So there are some Global variables

85

00:07:29,023  -->  00:07:35,167
for memory bits  or assignment of input and output that are some Global Bits

86

00:07:35,423  -->  00:07:37,215
As Boolean

87

00:07:37,727  -->  00:07:38,751
commonly

88

00:07:42,335  -->  00:07:45,663
at the address lists window you'll see

89

00:07:46,175  -->  00:07:49,759
All of the addresses is defined

90

00:07:50,015  -->  00:07:50,783
to use

91

00:07:51,295  -->  00:07:56,671
For instance the analog input of terminal board as option

92

00:07:58,719  -->  00:08:00,511
And the basic line module

93

00:08:01,023  -->  00:08:04,351
Is used with drive cliq interface so

94

00:08:04,863  -->  00:08:09,471
Is status and control words are described here

95

00:08:09,983  -->  00:08:12,287
For the blower control of

96

00:08:12,543  -->  00:08:15,871
Sinamics g120 drives

97

00:08:16,639  -->  00:08:22,783
Telegram input and output words is described that means

98

00:08:23,039  -->  00:08:29,183
i have usedThe blower to control in the classical way just like and simatic CPU

99

00:08:29,439  -->  00:08:30,207
...

100

00:08:30,719  -->  00:08:36,863
I didn't create an access a speed axes or drive axis for control the blower

101

00:08:37,119  -->  00:08:40,447
At this case it's not required

102

00:08:40,703  -->  00:08:43,007
It's not necessarily so

103

00:08:43,263  -->  00:08:47,359
It's just a telegram described here and used by a function

104

00:08:47,615  -->  00:08:49,151
In the background

105

00:08:55,551  -->  00:09:00,671
What can I tell you a little more?

106

00:09:01,183  -->  00:09:07,327
Global buffer maintenance and drive cliq topology startup check

107

00:09:08,863  -->  00:09:11,935
Software package is generated by

108

00:09:12,191  -->  00:09:14,751
PGEN and used in my project

109

00:09:16,287  -->  00:09:22,431
So basically the ladder programs are prepared for the

110

00:09:22,687  -->  00:09:26,783
Maintenance guys to monitor the system

111

00:09:29,343  -->  00:09:31,647
So there are some logic here

112

00:09:32,671  -->  00:09:34,975
I'm classical PLC logic

113

00:09:37,279  -->  00:09:43,423
to Setting the machine ready that are some preconditions machine main startup

114

00:09:43,679  -->  00:09:49,823
ladder conditions emergency button is okay start that check is okay

115

00:09:50,079  -->  00:09:56,223
Ready to take off external encoders this peripheral device is okay

116

00:09:56,479  -->  00:10:02,623
Basic line module is activated and so on that are some timers

117

00:10:03,391  -->  00:10:09,535
There are some information about all axes is enabled or axis is geared or not

118

00:10:09,791  -->  00:10:15,935
config Change Is Possible or not and so on that are some status lamps

119

00:10:16,191  -->  00:10:22,335
For the line with red green or yellow to inform

120

00:10:22,591  -->  00:10:24,127
the Operator

121

00:10:24,639  -->  00:10:28,223
clock memories are used

122

00:10:30,015  -->  00:10:31,295
For this case

123

00:10:33,599  -->  00:10:37,183
As you can see that are some pulse edge

124

00:10:39,231  -->  00:10:42,559
analog input and output function blocks

125

00:10:42,815  -->  00:10:47,423
For scaling and offsetting and processing used

126

00:10:47,679  -->  00:10:48,959
User Define

127

00:10:51,519  -->  00:10:57,663
Default messages for bits for HMI alarms and warnings is

128

00:10:58,943  -->  00:11:05,087
Basic the Created here is easy to Monitor and it's combined

129

00:11:05,343  -->  00:11:08,927
as words to send HMI

130

00:11:09,439  -->  00:11:15,583
Will you see the basic line module control the standard function of the library

131

00:11:15,839  -->  00:11:16,607
...

132

00:11:18,399  -->  00:11:19,935
Some logic here

133

00:11:20,191  -->  00:11:24,543
for blower control And the Control Function block

134

00:11:24,799  -->  00:11:26,847
emergency ok

135

00:11:27,103  -->  00:11:30,431
blower control

136

00:11:32,991  -->  00:11:36,831
Emergencies okay system is ready

137

00:11:37,599  -->  00:11:40,159
And there is no fault on drive

138

00:11:40,671  -->  00:11:45,023
we are using the speed control  for telegram 1

139

00:11:45,279  -->  00:11:48,607
And this is the user defined function

140

00:11:48,863  -->  00:11:50,911
in The library

141

00:11:52,959  -->  00:11:58,591
there are Other units on stations like the burner or skiver of the machine

142

00:11:59,871  -->  00:12:03,455
These are the mainn Logic for contractor access

143

00:12:05,503  -->  00:12:07,551
So basically that's it

144

00:12:08,063  -->  00:12:14,207
On the MCC sites that are some programs assigned to execution system like startup and shutdown tasks

145

00:12:14,463  -->  00:12:20,607
To prepare the variables or set some data

146

00:12:22,911  -->  00:12:29,055
also the background task on the MCC is organizing all other that Motion tasks

147

00:12:29,567  -->  00:12:32,383
and Motion task for this project

148

00:12:32,639  -->  00:12:34,431
Has

149

00:12:34,687  -->  00:12:36,991
The different kind of

150

00:12:37,247  -->  00:12:39,039
Function

151

00:12:42,623  -->  00:12:46,463
Like alarmS functionality

152

00:12:47,743  -->  00:12:50,815
Create an error messages on simotion side

153

00:12:53,375  -->  00:12:57,215
And you can configure here your messages

154

00:13:00,031  -->  00:13:03,103
axis side register fauts

155

00:13:03,359  -->  00:13:05,407
and warnings like this

156

00:13:11,295  -->  00:13:17,439
so Another function of used in this project to read the drive data

157

00:13:18,463  -->  00:13:22,815
With acyclicc reading functions to check the current

158

00:13:23,071  -->  00:13:25,375
axis or current of motor

159

00:13:25,631  -->  00:13:28,191
Or the

160

00:13:29,983  -->  00:13:36,127
For instance the actual speed action power of the actual temperature of motor or alarm at your fault and

161

00:13:36,383  -->  00:13:38,175
 of the motor

162

00:13:38,687  -->  00:13:40,479
For all the axes

163

00:13:44,575  -->  00:13:45,599
so...

164

00:13:45,855  -->  00:13:48,671
Change the axis config of the function

165

00:13:50,463  -->  00:13:54,815
to Modified the lead screw value for example

166

00:13:56,607  -->  00:13:58,143
Is possible to

167

00:13:58,399  -->  00:14:00,447
defines a gear ratio

168

00:14:00,703  -->  00:14:04,031
Or denominator with this function

169

00:14:04,543  -->  00:14:08,895
it will  handle all of the technology object that starts steps

170

00:14:09,151  -->  00:14:11,199
so

171

00:14:13,247  -->  00:14:19,391
Backing up and restoring go to CF card is possible with export unit data set

172

00:14:19,647  -->  00:14:22,463
And import unit data set functions

173

00:14:26,303  -->  00:14:30,911
and Like this so there's an access function block

174

00:14:31,679  -->  00:14:33,215
we have already used

175

00:14:34,495  -->  00:14:36,799
There's a logbook

176

00:14:37,311  -->  00:14:41,919
for writing down some notes about the

177

00:14:42,175  -->  00:14:48,319
Project for other users or in the future to remember what will happened during commissioning

178

00:14:48,575  -->  00:14:51,135
it is a good way to take logs

179

00:14:53,951  -->  00:15:00,095
There are several programs written in structions text for instance Library

180

00:15:00,351  -->  00:15:04,447
Telegram structur status board control words

181

00:15:05,215  -->  00:15:07,775
Function blocks analog in out

182

00:15:08,031  -->  00:15:14,175
Functions to check if there's an error on Axis or is activated or it's standstill

183

00:15:15,199  -->  00:15:21,343
There's a function below required to check access standstill then disable because

184

00:15:21,599  -->  00:15:27,743
When you executive command the disabled and your axes actual velocity

185

00:15:27,999  -->  00:15:34,143
 is not equal to zero that means your axis is not standstill that you get an error

186

00:15:34,399  -->  00:15:37,727
alarm message in your technology objects

187

00:15:39,519  -->  00:15:45,663
there are some Calculation functions for calculate

188

00:15:45,919  -->  00:15:49,759
kicker control and background part check

189

00:15:50,015  -->  00:15:56,159
part counters about updating jog

190

00:15:56,415  -->  00:15:57,951
velocity

191

00:15:59,999  -->  00:16:03,583
These are internal library of the projects

192

00:16:04,863  -->  00:16:08,959
Not like this maybe we should create a library

193

00:16:09,215  -->  00:16:12,287
to exportable or inmportable next time

194

00:16:13,311  -->  00:16:16,127
Is just embedded  in our project

195

00:16:17,663  -->  00:16:19,199
So...

196

00:16:19,711  -->  00:16:25,855
And this other ST text program you'll see here

197

00:16:32,511  -->  00:16:34,047
cam package Program units

198

00:16:36,351  -->  00:16:42,495
basically we will input and output transfer for transferring the image

199

00:16:44,543  -->  00:16:47,103
of Input outputs to memory bits

200

00:16:47,871  -->  00:16:52,479
Language extensions are used for this case

201

00:16:54,527  -->  00:17:00,671
There is a recipe structural text program for upload and download the setting

202

00:17:00,927  -->  00:17:02,975
Of the machine

203

00:17:03,231  -->  00:17:06,815
It was a recipe system products

204

00:17:07,327  -->  00:17:11,935
There are some Global variables and structures for

205

00:17:12,447  -->  00:17:13,727
part data

206

00:17:15,519  -->  00:17:17,311
for axis

207

00:17:18,335  -->  00:17:24,479
config data of axis configuration and diagnostic data for access mean

208

00:17:24,735  -->  00:17:26,527
HMI variilables

209

00:17:27,039  -->  00:17:30,623
The single structure is the best way to choose

210

00:17:31,135  -->  00:17:35,231
Later on it's easy to use with recipe system

211

00:17:36,767  -->  00:17:39,071
And so on

212

00:17:39,583  -->  00:17:42,911
Axis definitions made here

213

00:17:44,447  -->  00:17:45,727
drive data

214

00:17:45,983  -->  00:17:50,079
LMC basic axis function used

215

00:17:51,103  -->  00:17:55,967
So all of the axis controls located here

216

00:17:56,991  -->  00:18:03,135
And the programs for start up the Axis setup assigning the constant values

217

00:18:03,391  -->  00:18:07,231
Assignment of Technology objects

218

00:18:07,999  -->  00:18:11,839
leading values to the Axis

219

00:18:12,607  -->  00:18:17,983
The other parameters for emergency stop at homing and gearing and so on

220

00:18:18,751  -->  00:18:24,895
That are similar Programs located in the one unit access control background access control

221

00:18:25,151  -->  00:18:26,943
about for example

222

00:18:27,711  -->  00:18:33,855
There are some speed ratio parameter given by operator in HMI screen

223

00:18:35,903  -->  00:18:38,207
There are some assignments

224

00:18:38,463  -->  00:18:42,303
Gear ratio change function instance

225

00:18:45,375  -->  00:18:46,655
So

226

00:18:47,167  -->  00:18:48,703
As you can see

227

00:19:03,807  -->  00:19:06,367
and let's check one of the axis Configuration

228

00:19:07,647  -->  00:19:13,023
There's no external encoder So only one axes data sets

229

00:19:14,559  -->  00:19:16,863
Is working in IPO cycle

230

00:19:17,119  -->  00:19:20,447
Here you see the drive of the control unit

231

00:19:22,495  -->  00:19:27,871
encoder settings and reference variables and so on

232

00:19:28,383  -->  00:19:32,991
As mechanics you see here the corrected

233

00:19:33,759  -->  00:19:36,063
Lead screw pitch value

234

00:19:36,831  -->  00:19:39,135
and for homing

235

00:19:39,391  -->  00:19:41,439
no active homing is used

236

00:19:42,207  -->  00:19:43,487
It's case

237

00:19:45,279  -->  00:19:48,095
So it's not required for breaking Roll

238

00:19:52,447  -->  00:19:58,591
And you can see here the monitor settings as middle unit as I said units are

239

00:19:58,847  -->  00:20:00,895
 changeable so

240

00:20:01,407  -->  00:20:04,735
We just used your meter

241

00:20:04,991  -->  00:20:11,135
Positioning meter per minutes as well as the setting for instance that's why 

242

00:20:11,391  -->  00:20:17,535
all of the parameters given here and standstill

243

00:20:17,791  -->  00:20:19,839
tolerence

244

00:20:27,263  -->  00:20:30,335
Basically as meter unit.

245

00:20:30,591  -->  00:20:35,199
so It's enough information for the simotion side

246

00:20:36,223  -->  00:20:42,367
It's always easier and faster way to understand a machine from the HMI side

247

00:20:42,623  -->  00:20:48,767
That's why I'm going to show you HMI overview with simulation

248

00:20:52,607  -->  00:20:56,447
TIA portal crushes verl well !

249

00:20:59,519  -->  00:21:05,663
It's what happened something and he's asking scout must be excited do you want to save project?

250

00:21:05,919  -->  00:21:07,967
no

251

00:21:14,367  -->  00:21:15,647
Okay

252

00:21:15,903  -->  00:21:17,952
Let's try again

253

00:21:20,256  -->  00:21:22,560
with older

254

00:21:23,072  -->  00:21:26,400
Tia portal version 14

255

00:21:33,312  -->  00:21:39,456
As I remember first machine maybe commissioned with version 14 and second machine

256

00:21:39,712  -->  00:21:42,784
Yeah maybe I took and upgraded to version 15

257

00:21:57,376  -->  00:22:03,008
you see here the CPU is overloaded maybe that's why it's crushed

258

00:22:03,264  -->  00:22:06,848
Or RAMUSAGE of my PC to High

259

00:22:07,360  -->  00:22:11,200
But this is also the bug of TIA portal of course

260

00:22:12,480  -->  00:22:15,808
It will happen on the several PCs

261

00:22:17,088  -->  00:22:20,672
So let's try to open to Comfort Panel

262

00:22:23,232  -->  00:22:25,024
as runtime

263

00:22:27,328  -->  00:22:29,888
So it says the same thing

264

00:22:35,776  -->  00:22:40,384
I'm going to show you the

265

00:22:46,272  -->  00:22:48,576
Screens only at this case

266

00:23:27,488  -->  00:23:30,560
That's why we don't want to continue with the TIA

267

00:23:31,072  -->  00:23:32,608
with simotion

268

00:23:36,960  -->  00:23:42,336
This is a start page

269

00:23:45,920  -->  00:23:50,784
This is the first page of the machine

270

00:23:51,552  -->  00:23:54,368
You can hit the Main menu the maintenance

271

00:23:54,624  -->  00:23:58,720
with user Administration

272

00:23:59,232  -->  00:24:00,768
So let's say

273

00:24:01,024  -->  00:24:03,072
Go to main menu

274

00:24:06,144  -->  00:24:09,216
As you can see here

275

00:24:09,472  -->  00:24:11,008
There's some design

276

00:24:12,800  -->  00:24:15,872
line speed and part counter

277

00:24:16,384  -->  00:24:18,432
Water in oil temperature

278

00:24:19,200  -->  00:24:25,344
Is like a template it's always there you see the reset button

279

00:24:25,600  -->  00:24:28,160
other Going back to previous screen

280

00:24:28,416  -->  00:24:34,560
there are some information in the top of the screen the screen name

281

00:24:34,816  -->  00:24:40,960
Emergency stop status machine is ready or not all access is synchronized

282

00:24:41,216  -->  00:24:45,824
Or not infeed unit States and date and time

283

00:24:46,080  -->  00:24:51,200
On the left side that are some Buttons to control the menu

284

00:24:51,968  -->  00:24:52,992
So...

285

00:24:55,552  -->  00:25:01,440
There are some buttons to switch between screen and pages on HMI

286

00:25:01,952  -->  00:25:04,512
Let's do this single speed ratio

287

00:25:06,304  -->  00:25:09,376
You can here is adjust

288

00:25:09,632  -->  00:25:13,728
The speed ratia gear ratio during machine running

289

00:25:14,496  -->  00:25:16,032
On the run time

290

00:25:16,288  -->  00:25:19,104
For the several servo axes

291

00:25:26,016  -->  00:25:27,808
there is a drive cliq topology view For the maintenance guys

292

00:25:28,064  -->  00:25:34,208
About the simotion and sinamics products and

293

00:25:34,464  -->  00:25:37,024
How do you connect the ports

294

00:25:37,280  -->  00:25:38,816
On the HMI

295

00:25:39,584  -->  00:25:42,144
For the control units

296

00:25:42,912  -->  00:25:47,776
These are useful information for the maintenance team

297

00:25:49,824  -->  00:25:55,456
And you can see here to contact info alarm window

298

00:25:56,480  -->  00:25:59,040
There's a trend window

299

00:25:59,296  -->  00:26:02,368
For monitoring the actual speeds

300

00:26:02,880  -->  00:26:07,232
Or current or whatever about

301

00:26:07,488  -->  00:26:08,768
And motor

302

00:26:10,048  -->  00:26:15,936
Operator can use the recipe screen to organize the recipe

303

00:26:19,008  -->  00:26:24,896
So another thing is function trend

304

00:26:25,408  -->  00:26:31,552
and diagnostic window already ready to use object of the Comfort HMI

305

00:26:34,624  -->  00:26:36,160
So...

306

00:26:37,184  -->  00:26:43,328
In the parameter window of the machine you see here that are some parameters sticker time

307

00:26:43,584  -->  00:26:44,608
seconds

308

00:26:44,864  -->  00:26:50,240
Maximum line speed as meter per minute and so on

309

00:26:51,264  -->  00:26:53,312
There's also some section

310

00:26:53,568  -->  00:26:57,664
Is password protected you need to be authorized to enter

311

00:27:00,224  -->  00:27:03,808
So for the motor and drive

312

00:27:04,064  -->  00:27:06,624
This is a

313

00:27:08,416  -->  00:27:09,952
Designed screen

314

00:27:10,976  -->  00:27:12,000
for...

315

00:27:12,256  -->  00:27:17,888
Monitoring actual speed torque power and current of the all of the

316

00:27:18,144  -->  00:27:19,680
drives and axes

317

00:27:22,496  -->  00:27:27,360
another screen for controlling the burners and the blowers

318

00:27:27,616  -->  00:27:29,920
In the middle of the machine

319

00:27:33,504  -->  00:27:39,648
For the maintenance adjust click some button to jog to access left

320

00:27:39,904  -->  00:27:41,184
or right

321

00:27:41,440  -->  00:27:42,720
One by one

322

00:27:45,792  -->  00:27:50,656
and you may see here the startup check status of the

323

00:27:50,912  -->  00:27:51,680
axes

324

00:27:51,936  -->  00:27:56,032
all encoders are okay all axes are okay or not

325

00:27:57,056  -->  00:28:02,688
you may see the status of the access is in startup phase

326

00:28:03,968  -->  00:28:06,016
or is active

327

00:28:06,528  -->  00:28:08,576
By the way

328

00:28:09,088  -->  00:28:15,232
We are using here the enumeration type variables so we have to create

329

00:28:16,512  -->  00:28:18,560
Text list or image list

330

00:28:19,072  -->  00:28:21,120
Use the enumerators

331

00:28:22,656  -->  00:28:28,800
Because when you drag-and-drop enumerator available for instance A system variable of axis

332

00:28:29,056  -->  00:28:35,200
TO object you should just see 14 or 6 as numeric

333

00:28:36,736  -->  00:28:42,880
So if you get to see the string value of the variable

334

00:28:43,136  -->  00:28:46,720
Then you have to use a text list

335

00:28:47,488  -->  00:28:53,376
Animation startup check TO state and 0 means startup

336

00:28:53,888  -->  00:28:55,936
and 1 means ready

337

00:28:56,192  -->  00:28:59,776
And to 2 means TO fault and so on

338

00:29:00,288  -->  00:29:03,104
So it that way you can use

339

00:29:03,360  -->  00:29:06,688
ENUMERATORS in your HMI screen

340

00:29:10,784  -->  00:29:11,808
Yep.

341

00:29:13,088  -->  00:29:19,232
skiver feeder change screen service parameters Ramps

342

00:29:21,024  -->  00:29:27,168
you can assign acceleration and deceleration ramps for

343

00:29:27,424  -->  00:29:32,800
Access function block is possible to calibrate from here

344

00:29:33,568  -->  00:29:35,872
and calibration steps

345

00:29:36,128  -->  00:29:39,456
for-axis config data change and so on...

346

00:29:40,736  -->  00:29:46,880
It's possible to enter your password as a maintainer guy and

347

00:29:47,136  -->  00:29:52,768
Calibrate your other work input and output radio with offset or multiplier

348

00:29:54,816  -->  00:29:57,888
and for monitor Drive fault status

349

00:29:58,656  -->  00:30:03,520
That are some sinamics text list for alarm

350

00:30:05,056  -->  00:30:11,200
You might see hear the cause and what to do about the remedy for the feeder

351

00:30:11,456  -->  00:30:17,600
For side register or whether so on that means in our

352

00:30:17,856  -->  00:30:23,744
Program with functions we get the alarm and fault code from the drive itself

353

00:30:24,512  -->  00:30:26,560
and used here for

354

00:30:27,584  -->  00:30:29,376
diagnostics

355

00:30:30,656  -->  00:30:32,960
Contact us information

356

00:30:33,984  -->  00:30:38,848
Different job screen for controlling the HMI screen

357

00:30:39,104  -->  00:30:43,968
Online and offline mode stopping runtime calibrating the screen

358

00:30:44,736  -->  00:30:49,344
it is possible to stop and run CPU from here and so on

359

00:30:56,000  -->  00:31:02,144
So basically that's it and the other

360

00:31:02,912  -->  00:31:05,472
7 inch HMI

361

00:31:05,728  -->  00:31:08,032
There are some

362

00:31:08,800  -->  00:31:12,128
Similar Pages for machine Control

363

00:31:12,640  -->  00:31:18,784
 Design is a little bit different because it's located at end of the line and the comfort

364

00:31:19,040  -->  00:31:21,856
HMI Is located in the middle of the line

365

00:31:23,648  -->  00:31:28,768
It's like a member I said that is a basic servo drive

366

00:31:29,024  -->  00:31:32,608
sinamics V90

367

00:31:33,120  -->  00:31:34,912
For the torque control

368

00:31:36,192  -->  00:31:37,984
pressing

369

00:31:38,240  -->  00:31:41,312
The pieces on the feeder unit

370

00:31:41,568  -->  00:31:46,944
So it's not profinet connected that's why you don't see it in our system

371

00:31:53,088  -->  00:31:57,184
The vasic panel is used for just the basic proposes

372

00:31:57,696  -->  00:31:59,232
you see here

373

00:32:00,000  -->  00:32:01,792
The main menu is

374

00:32:02,304  -->  00:32:05,888
So much less options than the other one

375

00:32:07,936  -->  00:32:13,568
I think we just finished to examine project

376

00:32:19,968  -->  00:32:26,112
and If you know and understand what was going on inside the project

377

00:32:26,368  -->  00:32:28,928
And how the system works

378

00:32:29,952  -->  00:32:32,000
And how to program an approached

379

00:32:32,256  -->  00:32:35,328
Create and configure the hardware

380

00:32:36,352  -->  00:32:42,496
this Topology is adapted as you can see here the profinet

381

00:32:42,752  -->  00:32:46,592
draw with the green

382

00:32:46,848  -->  00:32:49,408
Lines the inputs and outputs

383

00:32:51,456  -->  00:32:52,480
So

384

00:32:52,992  -->  00:32:59,136
When you replace a device that it's possible to automatically to assign the device name and the

385

00:32:59,392  -->  00:33:02,208
IP address of the new device

386

00:33:02,976  -->  00:33:07,072
There are some safety functionality inside the drive

387

00:33:07,840  -->  00:33:10,400
Maybe the profisafe is used

388

00:33:10,912  -->  00:33:12,448
sinamics sites

389

00:33:13,216  -->  00:33:15,776
Because as you know simotion doesn't

390

00:33:18,592  -->  00:33:20,896
Supportive profisafe

391

00:33:21,152  -->  00:33:24,736
Only the drive functionality is can be used

392

00:33:28,576  -->  00:33:30,880
When you go under the

393

00:33:31,136  -->  00:33:34,464
sinamics you can just see

394

00:33:36,512  -->  00:33:40,096
Under the drive and safety Integrity functions

395

00:33:41,376  -->  00:33:44,448
It's used also as basic sto

396

00:33:44,960  -->  00:33:46,496
In the

397

00:33:46,752  -->  00:33:48,288
Example here

398

00:33:52,384  -->  00:33:55,968
So you may see the name of the drive object

399

00:33:56,224  -->  00:33:57,760
Alignment and

400

00:33:58,016  -->  00:34:01,344
Telegram addresses in your Hardware

401

00:34:07,232  -->  00:34:09,536
i think we have Finished

402

00:34:10,304  -->  00:34:12,608
For this project

403

00:34:41,024  -->  00:34:44,864
Let's say open the another project

404

00:34:45,120  -->  00:34:47,168
As an example

405

00:34:50,752  -->  00:34:53,056
Written In classical Scout

406

00:35:23,008  -->  00:35:24,288
So

407

00:35:27,872  -->  00:35:32,480
As you know Braille is a special alphabet

408

00:35:32,736  -->  00:35:35,808
For the disabled

409

00:35:36,064  -->  00:35:38,880
friends who just can't see

410

00:35:39,136  -->  00:35:41,696
That's why when your buy

411

00:35:41,952  -->  00:35:47,584
 some medicine from the pharmacy it should be a braille colded 

412

00:35:48,352  -->  00:35:50,912
For these guys and

413

00:35:51,168  -->  00:35:56,032
This machine is used to create and braille codes for the product

414

00:36:01,664  -->  00:36:04,736
There's only one or two

415

00:36:06,016  -->  00:36:07,808
Servo drives

416

00:36:08,576  -->  00:36:14,720
Synchronize to a measuring input during the product is 

417

00:36:14,976  -->  00:36:17,280
running on conveyor

418

00:36:18,560  -->  00:36:20,864
Then you just

419

00:36:21,120  -->  00:36:26,496
Take a snapshot with measuring input of your external encoder

420

00:36:27,008  -->  00:36:29,056
As an actual position

421

00:36:30,848  -->  00:36:36,992
then on the program side your creates buffer for adding 

422

00:36:37,248  -->  00:36:38,528
Actual values

423

00:36:39,040  -->  00:36:44,160
And there's a distance between your sensor and the your station

424

00:36:45,184  -->  00:36:51,328
Your station with one rotation or with several rotations is able to

425

00:36:52,608  -->  00:36:56,192
Process the braille code into your unit

426

00:36:59,264  -->  00:37:05,408
at this case The setup is changeable that's why you are using the recipes system with different patterns

427

00:37:05,664  -->  00:37:11,808
As mechanically there are some discs and operator

428

00:37:12,064  -->  00:37:15,136
Remove the one code and

429

00:37:15,904  -->  00:37:22,048
Replace the other code and enter some parameters in your machine.

430

00:37:22,304  -->  00:37:27,424
then able to run again so with a different product and different setup

431

00:37:28,704  -->  00:37:30,752
In that case

432

00:37:31,008  -->  00:37:32,544
You have to

433

00:37:33,312  -->  00:37:35,616
Use the cam profile

434

00:37:36,128  -->  00:37:39,200
Because you're synchronizing

435

00:37:39,456  -->  00:37:43,808
After you detect the measuring input and the actual product

436

00:37:45,856  -->  00:37:48,672
For instance product length is 10mm

437

00:37:48,928  -->  00:37:55,072
Distance between your product and station is more than that 10mm

438

00:37:55,328  -->  00:37:57,376
That means

439

00:37:57,632  -->  00:38:02,752
There might be four or five or more products in your buffer

440

00:38:03,008  -->  00:38:09,152
You can see here basically it's sinamics V90 profinet used

441

00:38:10,432  -->  00:38:13,760
With the new system

442

00:38:15,552  -->  00:38:18,624
So let's open the Scout side

443

00:38:24,512  -->  00:38:28,608
It says the project is an older version lets convert

444

00:38:38,848  -->  00:38:44,992
We don't want to write protection yes this time I don't want to change

445

00:38:45,248  -->  00:38:46,272
anything

446

00:38:58,816  -->  00:39:03,168
And there's a virtual Master there's a axis z

447

00:39:03,424  -->  00:39:07,008
For adjustment of the height

448

00:39:07,776  -->  00:39:09,824
Off the all rollers

449

00:39:10,592  -->  00:39:12,128
To make

450

00:39:12,896  -->  00:39:15,968
Better scratch on our product

451

00:39:16,992  -->  00:39:20,320
It is an adjustment axis

452

00:39:20,576  -->  00:39:23,136
Up and down rollers

453

00:39:23,392  -->  00:39:27,232
Let's see sometimes it's connected to an access

454

00:39:28,256  -->  00:39:34,400
And for this machine that are just one drive to control the

455

00:39:35,168  -->  00:39:37,472
2 of both roller together

456

00:39:38,240  -->  00:39:40,544
And this is a servo 2

457

00:39:41,312  -->  00:39:43,360
With an absolute encoder

458

00:39:44,384  -->  00:39:46,432
you may see here

459

00:39:50,016  -->  00:39:52,576
So we used

460

00:39:53,344  -->  00:39:57,696
sinamics basic drive for just adjustment of the

461

00:39:58,208  -->  00:39:59,488
Z axis

462

00:40:01,792  -->  00:40:03,840
Okay

463

00:40:05,888  -->  00:40:12,032
That are some cams with someone to start up cam there and stop Cam

464

00:40:13,056  -->  00:40:19,200
So if your Cam is running with your real system you're not able to interpolate

465

00:40:19,456  -->  00:40:25,600
 that's why it's the meantime you have to create the other cam

466

00:40:25,856  -->  00:40:27,904
to Make your calculations

467

00:40:28,160  -->  00:40:31,488
Between actual position settings and so on...

468

00:40:31,744  -->  00:40:37,376
It's the end of the cam cycle than you assign and attach Maybe

469

00:40:37,632  -->  00:40:40,704
Your other cam for the other products

470

00:40:41,984  -->  00:40:45,056
Or continue to process

471

00:40:46,336  -->  00:40:47,616
In your buffer

472

00:41:15,008  -->  00:41:20,640
So as libraries user library basic converting library

473

00:41:22,432  -->  00:41:25,248
Axis function

474

00:41:25,504  -->  00:41:27,040
message handling

475

00:41:27,552  -->  00:41:30,624
profibus Distributed peripheral library is used

476

00:41:30,880  -->  00:41:36,000
There are some scripts that means project generator used to create

477

00:41:38,048  -->  00:41:44,192
You'll see here the program units of the library's related

478

00:41:44,448  -->  00:41:47,008
There's some MCC units

479

00:41:47,520  -->  00:41:49,056
Created by user

480

00:41:50,848  -->  00:41:53,663
Make some program codes

481

00:41:53,919  -->  00:41:55,967
About the machine

482

00:41:59,807  -->  00:42:05,951
There are some structural text embedded in our MCC program that are some calculations

483

00:42:06,207  -->  00:42:07,743
you see here case state

484

00:42:08,255  -->  00:42:11,071
You see here the case status

485

00:42:12,095  -->  00:42:13,631
case auto

486

00:42:14,143  -->  00:42:15,679
consist of

487

00:42:15,935  -->  00:42:17,471
Several branches

488

00:42:22,847  -->  00:42:28,991
Normally we should answer hear some comments about what's the case one

489

00:42:29,247  -->  00:42:30,783
Meaning

490

00:42:31,295  -->  00:42:34,623
So it's more readable

491

00:42:34,879  -->  00:42:36,415
For the other collegues

492

00:42:36,927  -->  00:42:40,255
at Case one

493

00:42:41,023  -->  00:42:43,583
There are some initialization

494

00:42:43,839  -->  00:42:47,423
Two objects in case 2

495

00:42:47,935  -->  00:42:49,215
That is just

496

00:42:49,983  -->  00:42:54,847
I didn't want to Case auto case home is 0

497

00:42:55,871  -->  00:42:58,687
At the chase 4

498

00:42:58,943  -->  00:43:00,991
Enable simulation

499

00:43:01,503  -->  00:43:04,831
Is set that virtual Master is enabling

500

00:43:05,087  -->  00:43:07,391
The testing to machine Maybe

501

00:43:07,647  -->  00:43:11,999
Have this case 6 is home if the virtual master

502

00:43:13,535  -->  00:43:19,679
There are some motion comments in 13 for example

503

00:43:21,471  -->  00:43:27,615
and in Chase 21 For instance if it's not

504

00:43:27,871  -->  00:43:34,015
cam create and it is okay and cam creation error not exist.

505

00:43:34,271  -->  00:43:37,855
You're just cam on

506

00:43:39,135  -->  00:43:40,927
followin axis

507

00:43:41,183  -->  00:43:47,327
I opened the project as write protectable read-only so that's why I can change

508

00:43:47,583  -->  00:43:50,143
anything for your notes

509

00:43:50,399  -->  00:43:55,007
So, name is TO cam real name

510

00:43:56,543  -->  00:44:02,431
Actually this is A system variable object is assigned to a real cam

511

00:44:03,199  -->  00:44:09,343
So cam direction posisitve evaluating as absolute and no cyclic process

512

00:44:13,183  -->  00:44:18,303
Automatic program is structured right here

513

00:44:20,863  -->  00:44:24,447
by just a simple case brunch

514

00:44:26,239  -->  00:44:29,567
There's a startup program

515

00:44:31,871  -->  00:44:34,175
There's a homing program Maybe

516

00:44:39,039  -->  00:44:44,415
Before you use absolute camming you have to

517

00:44:44,671  -->  00:44:46,463
home your axes

518

00:44:47,743  -->  00:44:53,119
What are some disabling, there's an external encoder that on off all functions

519

00:44:56,447  -->  00:45:00,287
There are some logic structure here

520

00:45:01,311  -->  00:45:05,919
to Jump The Next Step or skip the step or whatever

521

00:45:07,199  -->  00:45:09,247
Enabling axes

522

00:45:10,015  -->  00:45:12,319
if Is Axis of

523

00:45:12,575  -->  00:45:14,367
Active config data

524

00:45:14,879  -->  00:45:19,999
And encoder the type is not the cyclic absolute

525

00:45:22,559  -->  00:45:26,911
And then you just use the home commands

526

00:45:29,471  -->  00:45:31,263
There are some errors here

527

00:45:31,519  -->  00:45:32,543
Because

528

00:45:32,799  -->  00:45:38,943
After later on the type of the motor is changed the previous parameterization

529

00:45:40,479  -->  00:45:42,783
was active homing

530

00:45:43,295  -->  00:45:45,855
You see he is an absolute encoder

531

00:45:46,367  -->  00:45:52,511
and the last motor encoder was incremental type and it's changed to absolute

532

00:45:52,767  -->  00:45:58,399
But I'm so   so normally simotion Scott doesn't check

533

00:45:58,655  -->  00:46:03,775
The system during compile that's what you have to double click your comments

534

00:46:04,287  -->  00:46:06,079
you need to

535

00:46:06,335  -->  00:46:08,383
Modify and correct your code

536

00:46:12,479  -->  00:46:14,527
So keep it in your mind

537

00:46:15,807  -->  00:46:18,111
There are some shifting

538

00:46:18,367  -->  00:46:22,207
In the axis up an access down measuring system

539

00:46:24,767  -->  00:46:26,559
to Synchronize Maybe

540

00:46:27,839  -->  00:46:29,631
If you see the logic

541

00:46:30,143  -->  00:46:32,191
of the homing procedure

542

00:46:35,263  -->  00:46:41,151
Also for Rolling adjust that are some jogging functions used

543

00:46:45,503  -->  00:46:47,039
for axis up

544

00:46:50,367  -->  00:46:51,391
Yep.

545

00:46:56,255  -->  00:47:00,095
lets see our cams

546

00:47:06,239  -->  00:47:11,359
So now by default is empty will be created during runtime

547

00:47:18,783  -->  00:47:24,927
Other one cyclic cam also empty its will be calculated and interpolated

548

00:47:25,183  -->  00:47:29,279
during runtime with create cam function

549

00:47:32,607  -->  00:47:35,167
That's why you don't see

550

00:47:35,423  -->  00:47:38,239
Any data in your cam table

551

00:47:43,871  -->  00:47:47,455
Let's see the inputs and outputs

552

00:47:52,575  -->  00:47:58,463
You'll see here the digital input 2 to is used as measuring input

553

00:47:59,999  -->  00:48:05,375
For creating the buffer of external encoder there is an external encoder here

554

00:48:07,679  -->  00:48:13,055
It's coming from servo 2 to encoder 2

555

00:48:14,335  -->  00:48:17,407
It's resolution is 5000

556

00:48:19,711  -->  00:48:21,503
pulse per resolution

557

00:48:23,039  -->  00:48:26,111
so in mechanics you define

558

00:48:28,159  -->  00:48:30,463
for homing

559

00:48:32,255  -->  00:48:38,399
Just incremental Homing used as default setting on encoder type there's no Homing cam inputs

560

00:48:43,007  -->  00:48:45,823
Let's see the execution system

561

00:48:48,639  -->  00:48:50,687
there are some task

562

00:48:50,943  -->  00:48:52,735
added to our

563

00:48:53,247  -->  00:48:54,783
System

564

00:48:56,319  -->  00:48:57,855
startup task

565

00:48:58,111  -->  00:49:00,927
message handling at MCC starter

566

00:49:03,487  -->  00:49:09,631
maybe The program is running in the background tasks that are six programs startup

567

00:49:09,887  -->  00:49:11,679
Check background test

568

00:49:12,959  -->  00:49:16,287
line module control in cam process

569

00:49:16,543  -->  00:49:20,127
And is it Z axis Control Maybe

570

00:49:21,407  -->  00:49:26,527
So let's see on the structure text

571

00:49:29,343  -->  00:49:31,903
Is is like

572

00:49:32,415  -->  00:49:35,487
my FB consisted that 2 function

573

00:49:35,743  -->  00:49:37,279
User functions

574

00:49:37,535  -->  00:49:40,607
There are some Global variables here Defined

575

00:49:42,399  -->  00:49:44,191
For the cam process

576

00:49:44,959  -->  00:49:48,543
There's a dat type that are some functions created

577

00:49:49,055  -->  00:49:54,175
create cam profile and for measuring buffer

578

00:49:54,943  -->  00:49:57,247
and user

579

00:49:57,503  -->  00:50:02,879
Call cam function from any other program

580

00:50:10,559  -->  00:50:11,839
So...

581

00:50:15,423  -->  00:50:20,287
There's another structure text as CAMFB

582

00:50:20,543  -->  00:50:22,079
For Create cam

583

00:50:25,919  -->  00:50:27,455
there is a

584

00:50:28,991  -->  00:50:33,599
Function that are some parameters

585

00:50:33,855  -->  00:50:36,159
There's a case and loop

586

00:50:36,415  -->  00:50:39,231
Is working inside the cam

587

00:50:40,255  -->  00:50:42,303
Related for for different

588

00:50:42,815  -->  00:50:45,631
Kind of choices with segments types

589

00:50:46,143  -->  00:50:49,215
sTraits polinomial

590

00:50:49,471  -->  00:50:55,615
5th agree or cycle or 7th degree

591

00:50:56,895  -->  00:51:03,039
You will see here the coefficient used to create the segments and

592

00:51:03,295  -->  00:51:07,903
Second Step segmented attitude table

593

00:51:08,159  -->  00:51:14,303
And after that the cam table need to be interpolated

594

00:51:17,375  -->  00:51:21,983
This function deals with all of the necessary things so

595

00:51:22,239  -->  00:51:27,871
Other function is used for the

596

00:51:28,383  -->  00:51:34,527
Similar reason to resetting the clearing the cam first and adding

597

00:51:34,783  -->  00:51:37,855
Segments and interpolating cam

598

00:51:38,111  -->  00:51:39,903
Basically

599

00:51:43,231  -->  00:51:49,375
so for axis control there is other function here

600

00:51:49,631  -->  00:51:51,167
maybe it is not used

601

00:51:52,191  -->  00:51:57,055
Because the conveyor is controlling

602

00:51:57,311  -->  00:52:01,407
By answer system so

603

00:52:01,663  -->  00:52:05,503
Basically that's it  Scout project

604

00:52:08,063  -->  00:52:11,391
Let's close and take another one

605

00:52:15,231  -->  00:52:17,535
to Look into

606

00:52:50,303  -->  00:52:52,351
It will be

607

00:52:52,607  -->  00:52:58,239
TıA portal version 15.1 project with simotion

608

00:52:58,495  -->  00:53:03,615
It's a roll feed of a progressive press decoiler

609

00:53:05,663  -->  00:53:08,735
During press running in automatic

610

00:53:08,991  -->  00:53:10,015
progress

611

00:53:10,271  -->  00:53:12,575
You should just control the

612

00:53:12,831  -->  00:53:14,879
Metal Sheets and the coil

613

00:53:17,695  -->  00:53:19,487
To feed the Press

614

00:53:26,399  -->  00:53:31,007
I want to show you the difference examples

615

00:53:32,287  -->  00:53:33,567
To see

616

00:53:33,823  -->  00:53:39,967
And compare the projects on The hardware side on the software side so it's important to

617

00:53:40,223  -->  00:53:44,831
Different kind of projects because the

618

00:53:45,087  -->  00:53:50,719
You know that requirement it's different that you can just use

619

00:53:50,975  -->  00:53:57,119
Several functions of the simotion system and firmware provide to you

620

00:53:57,631  -->  00:53:59,167
with this way

621

00:54:00,447  -->  00:54:05,311
 you can use different functions and gain more experience

622

00:54:05,823  -->  00:54:06,591
i think for beginners

623

00:54:07,871  -->  00:54:11,199
first of all

624

00:54:11,967  -->  00:54:14,271
This is a long way

625

00:54:14,527  -->  00:54:16,319
A long shot Maybe time passing

626

00:54:22,975  -->  00:54:25,279
And I think you should

627

00:54:25,535  -->  00:54:30,143
use the tools and add some tools in your toolbox

628

00:54:30,399  -->  00:54:36,543
By reading some documents or getting into detail View

629

00:54:36,799  -->  00:54:40,383
Other projects and so on

630

00:54:40,639  -->  00:54:41,919
So...

631

00:54:44,735  -->  00:54:48,575
at this Project I've commissioned

632

00:54:49,599  -->  00:54:50,879
one of the our Old customers

633

00:54:51,647  -->  00:54:52,927
In Turkey

634

00:54:54,719  -->  00:54:55,999
In

635

00:54:56,255  -->  00:54:59,071
The beginning of this year so

636

00:54:59,839  -->  00:55:03,423
here you see

637

00:55:04,447  -->  00:55:06,239
PLC

638

00:55:07,263  -->  00:55:09,823
et200sp CPU

639

00:55:10,591  -->  00:55:14,431
type is 1500

640

00:55:14,943  -->  00:55:21,087
this CPU for collect all of the information as digital and

641

00:55:21,343  -->  00:55:23,135
Inputs outputs

642

00:55:23,647  -->  00:55:27,231
And specially for the safety regulations

643

00:55:31,071  -->  00:55:35,679
basically simotion is communicated with this

644

00:55:35,935  -->  00:55:38,495
S7-1500 CPU

645

00:55:38,751  -->  00:55:43,615
Sending and receiving some data or profinet

646

00:55:47,455  -->  00:55:49,503
Emergency stops

647

00:55:49,759  -->  00:55:50,783
Or

648

00:55:51,295  -->  00:55:55,135
You know the cell entrance door locks or

649

00:55:56,415  -->  00:55:57,951
The switches

650

00:55:58,719  -->  00:56:00,767
cam switchs for example

651

00:56:01,023  -->  00:56:07,167
Position of the press ram connected here there are some relay

652

00:56:07,423  -->  00:56:13,055
outputs and safety signals

653

00:56:15,103  -->  00:56:16,383
and

654

00:56:17,919  -->  00:56:20,735
Same time

655

00:56:20,991  -->  00:56:23,551
You'll see here the press CPU

656

00:56:24,831  -->  00:56:28,927
It's programmed and commissioned by simatic manager

657

00:56:30,207  -->  00:56:31,999
we use just

658

00:56:34,559  -->  00:56:35,839
converting

659

00:56:36,095  -->  00:56:42,239
old CPU as a new CPU and

660

00:56:42,495  -->  00:56:45,311
make a Profibus communication line

661

00:56:45,567  -->  00:56:49,919
Because the profinet of the CPU used for another proposes

662

00:56:50,431  -->  00:56:52,735
Between simotion and the Press

663

00:56:52,991  -->  00:56:56,575
We are sending and receiving some data

664

00:56:56,831  -->  00:56:59,903
for Recipe change or

665

00:57:00,415  -->  00:57:06,559
The actual stroke rate of the press and speeding up or down to our system for instance

666

00:57:09,631  -->  00:57:12,447
And you can integrate

667

00:57:13,215  -->  00:57:17,311
And press and rollfeed together in one project is possible

668

00:57:21,151  -->  00:57:25,503
I think we should first look on the HMI sight because it's always

669

00:57:25,759  -->  00:57:28,575
easy faster to understand

670

00:57:28,831  -->  00:57:34,975
Not the details maybe but the main aspects the main function of the machine

671

00:57:44,959  -->  00:57:49,823
So maybe I can just start the runtime here

672

00:58:00,063  -->  00:58:03,135
It will take a couple of time

673

00:58:03,391  -->  00:58:04,671
a few minutes

674

00:58:09,535  -->  00:58:15,679
It's compiling the HMI when I do other thing is a project

675

00:58:15,935  -->  00:58:22,079
Or create something new it will be canceled that's why I have to wait right now

676

00:58:31,039  -->  00:58:37,183
So normally this is the last example project that I want to show you

677

00:58:39,743  -->  00:58:43,583
I hope it's a helpful

678

00:58:43,839  -->  00:58:45,887
Or useful to

679

00:58:46,911  -->  00:58:53,055
Show you or teach you about how do we configure our projects

680

00:58:53,311  -->  00:58:55,615
Or design HMI

681

00:58:55,871  -->  00:59:00,223
Or maybe you should get some information

682

00:59:00,479  -->  00:59:04,063
and have an idea for the future projects

683

00:59:10,975  -->  00:59:15,839
It might be start in a short little time

684

00:59:16,607  -->  00:59:19,935
maybe Some seconds afterwards

685

00:59:27,103  -->  00:59:30,431
there is not so much screen

686

00:59:30,943  -->  00:59:33,247
Just the control

687

00:59:33,759  -->  00:59:35,039
roll feed

688

00:59:35,295  -->  00:59:37,343
side

689

00:59:38,367  -->  00:59:41,695
So this is basic HMI

690

00:59:41,951  -->  00:59:46,047
here Adjust screen if you click here

691

00:59:46,303  -->  00:59:51,423
You can get some contact picture and information about our company

692

00:59:52,959  -->  00:59:55,519
So this is the main screen

693

00:59:56,543  -->  01:00:02,687
There are some buttons on right side there are some images about the section of the machine

694

01:00:03,711  -->  01:00:06,271
And you see here the name of the page

695

01:00:07,039  -->  01:00:13,183
If you click then you go to manual movement screen to control

696

01:00:13,439  -->  01:00:14,463
Your

697

01:00:14,975  -->  01:00:19,071
coiler car or straighteenr

698

01:00:20,095  -->  01:00:23,935
Up and down or break open break close

699

01:00:24,447  -->  01:00:27,519
I'm decoiler that are some

700

01:00:28,031  -->  01:00:30,591
near side

701

01:00:31,871  -->  01:00:33,151
Adjustments

702

01:00:33,407  -->  01:00:34,943
Just

703

01:00:35,199  -->  01:00:37,503
Use this Buttons to

704

01:00:38,015  -->  01:00:44,159
Manually move left or right there are some hydraulic system

705

01:00:45,695  -->  01:00:47,999
This is the roll feed

706

01:00:48,767  -->  01:00:54,911
and Controlled by are servo motor that are some adjustments

707

01:00:55,167  -->  01:00:57,983
There's an external enCoder

708

01:00:58,239  -->  01:01:03,615
controlled with pnomatical valve and so on

709

01:01:04,895  -->  01:01:06,943
The previous page

710

01:01:07,199  -->  01:01:10,015
you will see here

711

01:01:10,271  -->  01:01:15,647
manual inching buttons or the roll feed

712

01:01:15,903  -->  01:01:20,767
actual and set positions or velocity and some status bits

713

01:01:21,023  -->  01:01:24,095
About the Press site

714

01:01:24,351  -->  01:01:25,631
You'll see here

715

01:01:25,887  -->  01:01:29,983
Some cam outputs related to

716

01:01:30,239  -->  01:01:31,519
press movements

717

01:01:32,031  -->  01:01:38,175
There are some data taken into account and comes from the profibus

718

01:01:38,431  -->  01:01:44,575
communication actual stroke rate stroke rate and there are some states bits

719

01:01:44,831  -->  01:01:46,879
And so on

720

01:01:48,927  -->  01:01:55,071
And the next thing is is possible to use the motor encoder or the external

721

01:01:55,327  -->  01:01:58,143
encoder position

722

01:01:59,423  -->  01:02:03,007
And we used access datasets for that

723

01:02:03,775  -->  01:02:09,407
So it's basically that's it that are some pages

724

01:02:10,175  -->  01:02:14,015
User password entrance

725

01:02:15,295  -->  01:02:20,415
There are some pages about the system

726

01:02:20,671  -->  01:02:25,279
Control to user Administration and the different jobs

727

01:02:25,535  -->  01:02:28,095
and Language change

728

01:02:28,351  -->  01:02:34,495
setp CPU to sleep you to stop around mode to adjust the brightness of panel and so on

729

01:02:36,287  -->  01:02:39,103
and here

730

01:02:39,359  -->  01:02:45,503
This button is the same if you just click the function key or the touch screen is the same

731

01:02:45,759  -->  01:02:49,087
There are some parameters

732

01:02:49,855  -->  01:02:55,999
For the rollfeed length or automatic speed manual speeds

733

01:02:56,255  -->  01:02:58,047
There are some timers for

734

01:02:58,559  -->  01:02:59,839
decoiling

735

01:03:00,607  -->  01:03:03,679
And here you might see the

736

01:03:03,935  -->  01:03:05,215
Acceleration

737

01:03:05,727  -->  01:03:07,775
Deceleration ramps or

738

01:03:08,031  -->  01:03:10,079
velocity

739

01:03:10,591  -->  01:03:11,871
Settings with

740

01:03:12,127  -->  01:03:16,735
Limitations for manual or automatic mode

741

01:03:17,247  -->  01:03:23,391
Yeah that are some status bits about the axis Drive is enabled or there's an error

742

01:03:23,647  -->  01:03:25,695
Or is homed

743

01:03:27,743  -->  01:03:32,863
and so on HMI  Design

744

01:03:33,119  -->  01:03:36,959
let's check and see

745

01:03:37,215  -->  01:03:38,751
simotion side

746

01:03:50,015  -->  01:03:53,343
it is still running machine

747

01:03:54,111  -->  01:03:55,647
By the way

748

01:03:57,951  -->  01:04:04,095
As you can see that are here some scripts and variable tables prepared for watch

749

01:04:04,351  -->  01:04:05,631
Some groups

750

01:04:06,399  -->  01:04:08,191
IOs or variables

751

01:04:08,959  -->  01:04:12,031
There are some libraries basic

752

01:04:12,287  -->  01:04:14,847
LMC basic or createcam

753

01:04:15,103  -->  01:04:16,895
And so on...

754

01:04:17,151  -->  01:04:21,759
Maybe the couple of them is used only

755

01:04:22,015  -->  01:04:27,903
So on the sinamics integrated side you'll see only one drive

756

01:04:28,671  -->  01:04:30,719
For the Rollfeed

757

01:04:31,231  -->  01:04:34,559
And it's attached to a axis

758

01:04:34,815  -->  01:04:36,351
technology Object

759

01:04:38,399  -->  01:04:43,263
You'll see here is the tool that I said any of the book

760

01:04:43,775  -->  01:04:47,615
Maybe you'll see here later on there's an external encoder there

761

01:04:49,663  -->  01:04:52,735
It's not assigned yet

762

01:04:53,247  -->  01:04:56,831
because external encoder is connected here

763

01:05:00,415  -->  01:05:02,975
Let's say that 2 cams

764

01:05:04,511  -->  01:05:08,095
I'm in the execution of system

765

01:05:11,167  -->  01:05:16,799
Some motion tasks attached you see error reaction

766

01:05:19,359  -->  01:05:25,247
Axis controlled uncontrolled change axis config data read parameter

767

01:05:25,759  -->  01:05:30,111
Programs attached to motion task

768

01:05:30,879  -->  01:05:33,695
Alarms is used

769

01:05:34,975  -->  01:05:37,791
The definition of the messages

770

01:05:40,095  -->  01:05:45,215
and for the background task  there's an IO communication structure

771

01:05:46,751  -->  01:05:51,359
In our program there's a folder and Library program units is

772

01:05:51,615  -->  01:05:54,175
Organize inside the folder

773

01:05:54,431  -->  01:05:56,991
For Access Control

774

01:05:57,503  -->  01:05:59,295
you may see here

775

01:05:59,551  -->  01:06:01,343
Program-related

776

01:06:02,111  -->  01:06:04,159
To our axes

777

01:06:06,463  -->  01:06:10,303
LMC basic access function used here

778

01:06:10,815  -->  01:06:13,375
axis rollfeed

779

01:06:13,631  -->  01:06:14,655
you see

780

01:06:14,911  -->  01:06:16,703
The inputs and outputs

781

01:06:17,471  -->  01:06:20,287
For external encoder control

782

01:06:21,055  -->  01:06:22,591
similar way

783

01:06:25,663  -->  01:06:30,783
so mainly all of the program code located here

784

01:06:31,039  -->  01:06:34,111
On the later side that are some also Logic

785

01:06:34,623  -->  01:06:39,999
for smart line module control automatic movements manual movements

786

01:06:40,767  -->  01:06:45,119
decoiler movements because I said there's a

787

01:06:45,887  -->  01:06:51,519
vector drive for the decoiler that are some speed calculations

788

01:06:55,615  -->  01:06:58,943
This is the basic organization block

789

01:06:59,199  -->  01:07:04,831
Program for pulse bits selecting manual or automatic mode

790

01:07:06,367  -->  01:07:10,975
there are some communication Bits checking the life bits

791

01:07:11,487  -->  01:07:15,583
Communication is down or it's okay

792

01:07:18,399  -->  01:07:24,543
with input code transfer program block

793

01:07:26,335  -->  01:07:30,431
Real inputs to memory bits with filter times

794

01:07:36,575  -->  01:07:41,951
Are smart line module Control Function block located its program

795

01:07:43,999  -->  01:07:47,583
It's the symbol you're just a sign here your

796

01:07:47,839  -->  01:07:51,167
peripheral input and output variables

797

01:07:51,679  -->  01:07:56,031
Of course you have to create the symbol first

798

01:07:57,823  -->  01:08:03,711
from here input and you just select from the list

799

01:08:04,991  -->  01:08:06,527
Is the infeed

800

01:08:07,295  -->  01:08:09,087
Status word

801

01:08:12,415  -->  01:08:16,511
You know structure is ST_DB

802

01:08:16,767  -->  01:08:18,559
With new versions

803

01:08:19,839  -->  01:08:25,983
Use the button here to read your program more easily and create some Region

804

01:08:29,823  -->  01:08:34,687
That are only available definitions here used as a datablock

805

01:08:34,943  -->  01:08:38,527
For IO communication between

806

01:08:39,551  -->  01:08:42,367
1500 CPU and

807

01:08:43,391  -->  01:08:44,415
simotion

808

01:08:45,183  -->  01:08:47,743
There are here some arrays

809

01:08:49,023  -->  01:08:50,815
defined on profinet

810

01:08:51,071  -->  01:08:52,351
with

811

01:08:56,191  -->  01:08:58,495
64

812

01:09:00,287  -->  01:09:03,615
actually between the step 7 300

813

01:09:05,919  -->  01:09:07,199
Via profibus

814

01:09:07,967  -->  01:09:10,015
and the

815

01:09:10,271  -->  01:09:14,623
data device your simatic perinpress

816

01:09:14,879  -->  01:09:16,671
peroutpress

817

01:09:17,183  -->  01:09:20,255
between press and rollfeed

818

01:09:21,023  -->  01:09:27,167
That are to see if you see if you communication one of them is press and one of them

819

01:09:27,423  -->  01:09:32,031
Step 7 1500 safety side

820

01:09:34,335  -->  01:09:39,711
there is a function used for creating a byte from the bool or from the

821

01:09:40,223  -->  01:09:43,551
double byte to word

822

01:09:44,575  -->  01:09:48,415
There is a marshalling procedure here

823

01:09:48,927  -->  01:09:55,071
Getting data and converting to data types from double word to real

824

01:09:55,327  -->  01:10:01,471
and double integer and so on in both directions for getting data and sending data

825

01:10:04,287  -->  01:10:05,311
with this way

826

01:10:07,359  -->  01:10:13,247
And last the variable assignments to structure IO transfer

827

01:10:13,503  -->  01:10:19,391
simatic simotion side

828

01:10:20,415  -->  01:10:22,975
depends on CPU type

829

01:10:23,231  -->  01:10:28,863
if you use Big endian data type and little

830

01:10:29,375  -->  01:10:31,679
 indian data type than your btyes of the words

831

01:10:32,959  -->  01:10:36,543
Rotated that's why you have to correct them

832

01:10:39,871  -->  01:10:41,919
normally

833

01:10:42,175  -->  01:10:44,223
on simatic side

834

01:10:44,735  -->  01:10:48,575
We just created data block with the template or UDT

835

01:10:50,623  -->  01:10:53,951
You can see here the basic program

836

01:10:54,719  -->  01:11:00,863
There's a FB to write logic to send data and receive data

837

01:11:07,007  -->  01:11:10,847
simatic side is really simple you just used a

838

01:11:11,615  -->  01:11:15,199
get profinet IO material and set profinet IOs

839

01:11:17,759  -->  01:11:19,551
That's it

840

01:11:20,575  -->  01:11:23,391
peek and poke commands

841

01:11:24,159  -->  01:11:28,511
And there's no marshalling needed on this site

842

01:11:28,767  -->  01:11:32,351
Because I have control of is simotion

843

01:11:33,119  -->  01:11:39,263
Let's go and see the data block

844

01:11:40,543  -->  01:11:43,871
PLC to PLC communication UDT simotion to simatic

845

01:11:44,127  -->  01:11:47,455
I didn't named

846

01:11:47,711  -->  01:11:48,735
Because

847

01:11:49,503  -->  01:11:51,039
I wanted to be

848

01:11:52,575  -->  01:11:57,951
It takes a time when you change your variable name

849

01:11:59,231  -->  01:12:01,791
So I did make an assignment

850

01:12:11,007  -->  01:12:12,799
It's save some time

851

01:12:13,823  -->  01:12:18,175
for simotion side all of the assignments located here

852

01:12:19,455  -->  01:12:20,991
Unfortunately it

853

01:12:21,247  -->  01:12:22,527
take a lot of

854

01:12:23,039  -->  01:12:24,831
code lines to

855

01:12:25,599  -->  01:12:27,903
arrange and deal with marshalling

856

01:12:28,415  -->  01:12:34,047
But the simatic side is very simple you're just using two comments

857

01:12:35,583  -->  01:12:40,959
This is the program about communication

858

01:12:41,727  -->  01:12:47,871
There's a library structure text here that are some functions and

859

01:12:48,127  -->  01:12:49,151
function blocks

860

01:12:49,663  -->  01:12:52,735
To check life sign create a

861

01:12:52,991  -->  01:12:55,551
Profile or positioning

862

01:12:57,087  -->  01:13:03,231
Is position reached check function below contract the telegrams for the control unit

863

01:13:03,999  -->  01:13:06,815
All the telegram one and so on...

864

01:13:12,191  -->  01:13:16,031
Eventually let's check the MCC program

865

01:13:22,687  -->  01:13:26,783
There are some programs in IPO for testing

866

01:13:27,039  -->  01:13:28,575
axis

867

01:13:30,879  -->  01:13:33,439
Copy ram 2 rom procedure

868

01:13:34,207  -->  01:13:39,071
And for startup task maybe resetting the alarms

869

01:13:41,887  -->  01:13:48,031
And for background task organizing the motion task

870

01:13:49,311  -->  01:13:52,127
if It stopped and restarted by

871

01:13:53,151  -->  01:13:56,735
Background task so basically

872

01:13:57,503  -->  01:13:59,295
That's what I do

873

01:14:00,319  -->  01:14:04,927
So main program is running in St Axis Control

874

01:14:05,439  -->  01:14:10,047
and main Logic for manual in automatic mode is running at the ladder

875

01:14:10,559  -->  01:14:12,863
So this easy way

876

01:14:13,119  -->  01:14:19,263
So everyone to monitor the ladder and if the maintenance guys

877

01:14:20,031  -->  01:14:21,567
Don't know

878

01:14:23,359  -->  01:14:26,687
Required information about the structure text

879

01:14:27,967  -->  01:14:28,991
It's

880

01:14:29,247  -->  01:14:30,271
for

881

01:14:30,783  -->  01:14:35,903
other maybe hard to monitor and understand so

882

01:14:36,159  -->  01:14:38,719
That's why the maintenance guys is

883

01:14:38,975  -->  01:14:45,119
not requiered to go here because the motion commands are working axis functions

884

01:14:47,167  -->  01:14:50,751
So they can just monitor what's going on on the ladder site

885

01:14:52,543  -->  01:14:54,335
that is the main idea

886

01:14:55,103  -->  01:14:59,967
To creating the programs with MCC and structure text together

887

01:15:04,063  -->  01:15:06,623
So I was just finished

888

01:15:06,879  -->  01:15:08,671
For this chapter

889

01:15:10,207  -->  01:15:16,351
and you can search and downloads some different programs of different machines

890

01:15:16,607  -->  01:15:18,143
or Operations

891

01:15:19,679  -->  01:15:25,823
We didn't use the path object in our project maybe there is a project or

892

01:15:28,127  -->  01:15:34,271
Handling project with 3D Cartesian so you have to use the path object to create your program

893

01:15:34,527  -->  01:15:40,415
In that case you would use the other comments from your library

894

01:15:47,327  -->  01:15:53,471
and i think from my point of view you just see and learn how to use

895

01:15:53,727  -->  01:15:57,823
the enviroment with simotion scout and logic and approach

896

01:15:59,103  -->  01:16:02,943
TIA sites for the simotion

897

01:16:03,199  -->  01:16:06,271
You just create your Hardware here

898

01:16:07,807  -->  01:16:09,855
With the new version

899

01:16:10,879  -->  01:16:13,951
you can Create and commission your sinamics side here

900

01:16:14,463  -->  01:16:18,047
Or you choose to go to classical way and 

901

01:16:19,071  -->  01:16:25,215
maybe create and configure sinamics drive here it's also possible

902

01:16:25,471  -->  01:16:28,799
after that On the program side you already

903

01:16:29,311  -->  01:16:30,591
Get the

904

01:16:30,847  -->  01:16:36,223
All the chapters to learn about the technology objects and the functionality

905

01:16:37,503  -->  01:16:40,063
So it's up to your from now

906

01:16:42,623  -->  01:16:46,463
Thank you for watching and see you next time
