跟读练习: Siemens S7-1200: Signal Modules - Wire, Program, Test - 通过视频学习英语口语

正在创建课程...
1
Hey everybody, Sean Tierney here from theautomationschool .com.
2
And in this episode of the automation show, We're going to take a look at the S7 -1200 Expansion I /O modules which are known as signal modules.
3
And the good folks over at Siemens sent me in a larger S7 -1200 with several modules.
4
And we'll just take a look at them quickly here.
5
The ones I have set up today are a digital input expansion module, a digital output expansion module, and then an analog in and out expansion module.
6
And you can see right there, the first one's an SM -1221.
7
The next one is an SM 1234.
8
Now what I've done is I've wired a bunch of stuff I had lying around the office here to these
9
and let me just zoom out some and show you what we got here.
10
So this guy down move some of this other stuff in.
11
So what I've done is I've started with the IFM temperature sensors
12
that we used in the last episode because I already had them out and And they output both discrete and analog, right?
13
So that gives me my inputs to the system.
14
So I'll have some discrete inputs here.
15
You can see right in there, I got two discrete inputs coming in, one from each temperature sensor.
16
Okay.
17
And then I have my analog in right here.
18
So here's my two analogs from those two sensors.
19
Now I've wired one as current and one as voltage.
20
And that's why you see I'm actually skipping input number one.
21
zero and number two because as we'll see input zero one have to be the same type
22
so current or voltage so um Those are my inputs now for my outputs digital outputs.
23
I just wired in a couple of
24
leftover LED pilot lights from one of my courses as well as the meters I use on When I'm teaching analog, you know, getting started with analog modules.
25
So I have, you know, 0 to 10 and 4 to 20 meters right here.
26
So we'll be using these two right here.
27
So those are wired.
28
You can see right here on the analog output.
29
You can see I have the first one, output number 0, wired as current.
30
And the second one is wired as voltage.
31
The wiring here looks identical, right?
32
But these meters are actually different inside.
33
setup here again empowering everything with the side top power supply
34
which is great because it has you know over current protection short circuit protection and all of that so um
35
Before we turn this all on, let's see if we can't convert our program from our last S7 -1200
36
project and see if we can convert it to this new controller
37
and add these I /O modules and configure them correctly so this all works.
38
So with that set up, before we go over the computer though, I do want to thank all our patrons over at patreon .com /automation.
39
And now we can go over to the computer.
40
so here we are this is the program i actually just
41
renamed it here let me hide vmware i actually renamed it to project
42
03 underscore v16 the last one we did was 02
43
and the first thing i want to do i'm going to go to devices
44
and networks i'm going to double click on the device here
45
and i need to change this because this is a 1214
46
and that's not what i have here as a matter of fact let's zoom in on the controller
47
if you remember last time we did this we had a 1212c
48
so i'm going to go ahead and change this controller change device Okay, we want a 1214.
49
Okay, there it is.
50
Now notice it's choosing version 4 .4 firmware.
51
this is going to cause us a problem because That's not 4 .4 firmware.
52
So in any case, we will see what happens when we try to download it, what happens and the errors we get.
53
So let me go ahead and click on OK.
54
Okay, saying, hey, I'm going to close your Obi -Wan.
55
OK, here we are.
56
Now look, all the extra signal modules I can add to this unit because it's a bigger unit, so it has more expansion capability.
57
So now the first thing I want to do is let me add the digital input.
58
This is an eight point input.
59
And let me make this bigger here.
60
And let's make this bigger too.
61
Okay.
62
So let's go ahead and drop this in here.
63
Okay, you can see the 1221 right there.
64
Okay, next we have a digital output.
65
Thank you.
66
It's an 8 point.
67
Drop this guy right over here.
68
Okay, you can see it's a 1222 and last
69
but not least I have an analog in out and So let's go look for the Thank you.
70
Analog in and out.
71
and I'll drop this one And here, you see?
72
1234. Okay, so far so good.
73
Now, the next thing I'm going to want to do is I'm going to want to set up the analog.
74
So channel zero...
75
I'm going to have set for current.
76
OK?
77
Now channel 1, you'll notice I can't change it.
78
That's what I was telling you earlier.
79
I had to wire the voltage to channel 2 so that I could
80
uh choose it differently because whatever i set this to is what the next channel will be Set to.
81
And again, you can see plus or minus 10 volts.
82
There is no zero to 10 volt selection here.
83
Okay, so with that done, let's look at the outputs.
84
I want the first one to be current.
85
Thank you.
86
And the second one to be voltage.
87
Okay, so now that I've set up my analog, it's not really anything set up to do with the digital.
88
Well, except I could create some tags.
89
Let's go ahead and create some IO tags here.
90
So we're going to be using the first two inputs.
91
So I'm going to call this DI.
92
underscore and this is slot two so I'm going to call it 20 Whoops.
93
Twenty?
94
Now this is my own nomenclature.
95
These are my own tags.
96
I'll call the next one 21.
97
You can name your tags whatever you want.
98
Typically your company will have a standard that you're going to go by or, you know, um, a format that you're going to use you know so in any case let's do the outputs now so i'll do
99
do underscore this is slot three so i'm just going to go to three zero and This is what works for me.
100
D -O, whoops, D -O, 31.
101
Okay, now let's go to the analog.
102
Okay. So, IoTags, analog ends.
103
I'm going to call this AI _I _I _I _I _I
104
_I _I _I _I _I _I _I _I _I _I _I
105
_I _I _I _I _I _I _I _I _I _I _I _I _I _I _I _I _I _ Let's see here.
106
It's slot four, so I'll call it four.
107
Whoops.
108
4 -0.
109
And I'll call this one, I'm not using it, but I'm just going to go and order here for one.
110
Thank you.
111
and then this is the other one I'll be using AI _42 That should be good enough for a quick little program.
112
Alright, well speaking of program, let's open up Obi -Wan.
113
our main program here.
114
And let me make this smaller.
115
And you know what I want to do is, when one of my inputs comes on, I want to turn the corresponding output on.
116
So in other words, if sensor one is out of range, I want to turn on light one.
117
And if sensor zero is out of range, I want to turn on light zero.
118
Okay, so I just happen to have red and green, but we'll just, we'll just use those as indicators that the corresponding sensor is on.
119
So let me come in here.
120
and we'll drop this right here and now let's go grab one of these uh outputs here and put it right there.
121
So And I will do the same thing again.
122
Contact and coil.
123
Excellent.
124
So this input will be our digital N20, and we'll go to digital out 30.
125
And this one will be digital in...
126
21 I'll go with digital output.
127
31 and again as you know i'm new to semen so
128
if there's any experts out there who have some tips and tricks Please share them with us.
129
We would love to know about them.
130
The next thing I want to do is I want to take the analog, right?
131
I want to take those analog values coming in
132
and throw them to the output so I can see them on the meters. So let's go ahead.
133
And I think in this case, I'm going to use a move.
134
Yeah.
135
Okay.
136
This is what I would do in other controllers, so I'm just going to do it here.
137
I don't know if this is the best way to do it, but it definitely seems to work.
138
So I'll take an analog input 0.
139
Now wait a minute, that's not what I want.
140
I want, you know, that's from the old program.
141
I want analog input 40, and I'm going to put that out to analog output.
142
Where's my analog output?
143
Hmm.
144
Did I forget to do that?
145
Let's go back there.
146
Thank you.
147
All right.
148
Okay.
149
Thank you.
150
Thank you.
151
Uh -oh.
152
Thank you.
153
Let's see.
154
yeah i did look at that so a o we'll do 40.
155
Thank you. and 8041.
156
Okay, so let's go back to our code and We're going to say Thank you.
157
ai40 goes to AO 40.
158
Okay, and we'll put another move over here. And we'll take...
159
A I 42.
160
Remember, we're skipping 41 because it has to be the same as 40, and I wanted to try both current and voltage.
161
And we're going to take this out to A O 41.
162
Okay, so everything's looking good, right?
163
Well, I don't think we're going to be able to download it because I think there's a problem with the firmware.
164
It doesn't match.
165
This, I think, is newer firmware.
166
what I did, the 4 .4, and that doesn't have that firmware in there.
167
So, well, let's try it.
168
We'll see what happens.
169
So I'm going to select the processor.
170
I'm going to click on Download.
171
Of course, I will have to turn...
172
power on.
173
So let me do that and I'll be right back.
174
Okay, everything's plugged in and powering up.
175
So in a moment we should be good to go.
176
Excellent.
177
All right.
178
So now let's start a search.
179
Thank you.
180
Okay, there it is.
181
It found it.
182
my 1214 C now originally it had once 192 1680 .10
183
as the address in the pre -show I actually download
184
and test it make sure everything worked
185
so now it has the same address as my other s7 1200 has of course
186
because I just converted the same program so let's go ahead and load it in Okay, look at it.
187
failed.
188
Fail will happen.
189
Thank you.
190
Not a compatible firmware rev!
191
Wow.
192
So we were right.
193
You can see the error here as well.
194
So how are we going to fix this?
195
Well, what I'm going to do here is I'm just going to go back into the controller.
196
Change the...
197
Change device.
198
I'm going to make it firmware, let's make it the oldest one possible.
199
Thank you.
200
Okay, so we want to change it to...
201
Hey.
202
Let's make it...
203
4 .0.
204
Okay, we're going to see what will happen if I do that conversion, but that's okay.
205
Okay, it's going to close and reopen the Obi -Wan.
206
That's fine.
207
Okay, now let's try to download it.
208
Okay, we'll load it. And finish.
209
Okay.
210
And let's pull up our...
211
PLC tags.
212
We'll monitor those.
213
Okay, great.
214
Now we can see here on the analog inputs, ten thousand And...
215
6000 roughly right And the analog outputs, 10 ,000, 6 ,000, because I'm just copying that.
216
Here, let's pull open the OB1.
217
We'll take a look at that.
218
And let's monitor this guy.
219
You can see I'm taking whatever comes in.
220
I'm putting it right back out.
221
So let's go back to our tags here.
222
And we can also see...
223
If we look through here, Both of these are on.
224
the dl20 and 21 are both on because i'm below my range
225
so i should be able to do two things here let's go back to obi -wan And we'll scroll up here.
226
Okay, you can see both my lights are on.
227
Okay, and what I'm going to do is, you can see I really got the temperature down in here this morning.
228
okay now you can see that going they were like at 64.
229
so now they're climbing climbing climbing
230
oops this one went to 80 that one's still at 78 so you can see i got one output and um
231
if i bring the other one over 80.
232
I get the other output.
233
Oh, this one already dropped down below 80.
234
Okay, so I'll warm them up quite a bit over 80.
235
And I got both my outputs.
236
We can come back here and we can see the code here.
237
See that's working.
238
Now one of the other things too is we can watch.
239
We'll actually see our outputs are changing on the meters.
240
Our output's changing because...
241
these values are changing.
242
So let me let me go ahead and do this what I'll do is I'm gonna I
243
uh turn the air conditioning on try to cool these sensors off really quick
244
and then we'll come back and you'll see
245
that these meters have changed dramatically matter of fact before i do that i'm
246
Let me go ahead and zoom in on them.
247
And we'll watch them change as they cool down, these bottom two.
248
Thank you.
249
Thank you.
250
Okay, I actually put the temperature sensors right in the grill of the air conditioner
251
and they're down in like 47 and 49.
252
are their temperature.
253
So what I'm going to do here, I'm going to stop the air conditioner because it's kind of loud.
254
I'm going to go grab the units here.
255
Keep your eye.
256
on the meters because I'm going to grab them
257
And you should see the meters go up because I am holding on to them.
258
Using my body heat, to raise their values Yeah.
259
and i should get them all the way through yeah let's see if i can get them under the camera here
260
Get them all the way through.
261
The 65 to 80 range.
262
and all the way up into the 80 + range.
263
when their outputs will come on, Yep, see that?
264
You can see the meter is changing too because we're taking that analog in.
265
One of these is current, one is voltage, and we're putting it to the analog outputs.
266
Okay, and we can see that on the screen as well in our code.
267
So with that, that's how easy it is to use signal modules with the S7 1200.
268
You just add them into your project.
269
Um, download you know configure analog of course just download and go so it's really very simple to do
270
and um yeah that's it
271
so i wanted to say a huge thank you to siemens
272
for saying i'm in i can't wait to do more with them we even have more modules to look at
273
but if you're looking at expanding your 7 1200 with some additional signal modules
274
yeah it can't get much easier than that right so with
275
that i just want to thank you for watching for subscribing please give us a like
276
if you enjoyed the show i also want to thank all
277
of our patrons over at patreon .com forward slash automation um you guys really uh you can help us
278
and keep us going and i also always love to throw out
279
that if you know anybody looking for automation training check out my website theautomationschool .com And, uh, Let them know that I sent you here from the automation show.
280
And with that, I want to wish you all of every safe, healthy and happy week and until next time my friends Peace.

关于本课

在本节课程中,学习者将深入了解西门子S7-1200的信号模块,通过观察和分析视频中的内容,提升对数字和模拟输入输出模块功能的理解。同时,您将有机会实践英语发音,特别是在技术领域的专业术语和表达上,帮助您提高英语发音能力。

关键词汇与短语

  • 信号模块 (Signal Modules)
  • 数字输入扩展模块 (Digital Input Expansion Module)
  • 数字输出扩展模块 (Digital Output Expansion Module)
  • 模拟输入与输出模块 (Analog In and Out Expansion Module)
  • 温度传感器 (Temperature Sensors)
  • 电流 (Current)
  • 电压 (Voltage)
  • 过流保护 (Over Current Protection)

练习建议

在收看视频时,您可以尝试按照以下建议进行练习,提高您的英语发音并掌握相关的技术术语:

  • 使用shadowspeak方法,在观看视频时模仿发音。这种方法使您能够逐渐接近说话者的语速和语调,从而提高您的语言流利度。
  • 听整个段落几次,然后暂停视频,复述您刚听到的内容,尤其是其中的专业术语。这种方式有助于记忆和发音改进。
  • 注意说话者的语速与情感表达,尝试在自己复述时保持同样的速度和情感。通过这种模仿,您能够更好地理解技术内容,同时提高您的沟通能力。
  • 每次复述后,录下自己的声音并重听,比较您与视频中发言者的差异,有针对性地改进。
  • 可随时使用shadow speech练习,增强语言输入与输出能力,掌握更为复杂的句型与表达。

通过这些练习,您将更好地掌握与西门子S7-1200信号模块相关的主题,提高您的英语发音水平,为今后的英文交流打下坚实的基础。

什么是跟读法?

跟读法 (Shadowing) 是一种有科学依据的语言学习技巧,最初开发用于专业口译员的培训,并由多语言者Alexander Arguelles博士普及。这个方法简单而强大:您在听英语母语原声的同时立即大声重复——就像是一个延迟1-2秒紧跟说话者的影子。与被动听力或语法练习不同,跟读法强迫您的大脑和口腔肌肉同时处理并模仿真实的讲话模式。研究表明它能显着提高发音准确性,语调,节奏,连读,听力理解和口语流利度——使其成为雅思口语备考和真实英语交流最有效的方法之一。