All language subtitles for 3. Get PLC LED Status

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

OK, let's continue from the previous example of getting status information from the CPU this term was

try to use a different SSL number to get the status of the LEDs on the modules.

Okay.

Um, we'll also use the, uh, system function called fifty one to do this.

So let's get into it now.

OK, uh, like I said previously, if you want to know more information about this particular MSFC,

you can just highlight put your cursor at the function call and then press F1.

But what I realized is this.

There is one

function that I use quite often, which is not shown here is actually, uh, the number zero one nineteen

zero one one nine one zero zero one nine.

I cannot find it here.

OK, I don't know why not showing this help.

So I have gone onto the Siemens website and that the PDF for us to reference to and I'm using this as

an example so that we can learn how to use the AFSC properly.

Um, let me just go to the

page here.

OK, this is the this is a section I want to focus this video on, we want to wanted the status of the

module LSD.

OK, well, what are we talking about when we talk about stress?

More LSD, we're talking about the are the run, you know, to stop the battery for LSD.

If you're in the redundant system, you want to know what there's zero one right to.

This is what we are trying to do in this video.

And also of this limpets is on his off or on or is it flashing, flashing normally a flashing slowly.

OK, so how do we do this?

OK, like always.

So put both on the same page so that we can reference to it, uh, at the same time.

OK, let's make another

network and then we'll use the same network.

Call same person, call MSFC fifty one.

OK, uh let's open this data block and then because we have already used these, we're not going to

use them, we're going to make a new one.

OK, uh so I can just copy this but I cannot just pace it here because it's going to tell me I have

to duplicate it, uh, declarations.

So I'm going to make, uh, new structure here, uh, let's call it, uh uh, OK.

And then we're going to put everything inside here.

OK, but like I mentioned previously, um, I need to make sure, uh, because the data word, OK,

that data record is different, uh, for each type of SSL ID.

So I cannot just simply defaulted to sixteen.

I have to know exactly how many is going to be OK.

So let's go into this function here.

If we're going to use, uh, uh, let's say zero zero nineteen, OK, the SSL, the data record will

have the following structure, an index of one word and the on one bytes and in the blink of one bytes.

OK, so.

And how many words in total.

OK, let me define the data records structure first.

OK, so I'm going to make it a structure and then it's going to be index of one word.

And then all of one fights.

And then in the blink of one, but.

OK, so this is the data recorder structure now I have to find out how many data structure of maximum,

OK, you always have to define the data recorder to be the maximum because you don't know how many,

because it's too if it's too short, you will get all the information you want to get from it's OK.

If it's longer, it's OK.

You just you just have some spares at the end, but it must be at the maximum possible.

Required.

OK, so in this case, we just go through this and see how many possible.

Lights or LCD is capable of returning.

OK, so one to.

I'm just going to get one, two, three, four, five, six, seven, eight, nine, 10, 11, 12,

13, 14, 15, 16, 17, 18.

Right.

So it must be at least 18.

OK.

Oh, OK.

Once you have this, we have defined this structure here.

We need to save it.

OK, we can tell.

OK, ok.

Now let's put this aside and we can go back to here, ok.

Uh I say OK, just open this as well so that we can refer to it as well.

Uh, but it's like this OK.

OK.

Uh.

The quest we're going to I'm going to use this before request, so it's going to be as MSFC 51 and a

square deep thought, our thoughts are.

OK.

In the address, Stephy, 50 tiebreaks, thirty point zero.

OK, so just double check.

OK, um, instead of hot coding it to be a number here, I'm going to also use a variable so that when

I did, I can change it at the variable is issue the variable table that is easier for us to, uh,

to see when we're doing exercise.

OK, so I'm going to change just to lead the thought ss oh I.

D also going to change this to assist.

Oh for Mrs. L to index the return value atleti dot dot dot like this.

OK, what is that.

I'm going to save might download.

OK.

OK, now let's go let's go into the variable table, actually, you know what, let's make a new variable

table, OK?

OK.

This week, a new variable table call the SBC 51 LTT, OK, double click to open it.

Uh, let's put the data block and the variable table side by side, OK?

So this is going to be deep, 50 thought deep six three zero zero.

This is going to be the request.

And then I'm going to put DP 50, the DP W to SSL I.D. four four index, uh, six for the return value,

eight for the busy busy.

Actually, I don't really care that much because it doesn't help.

Um,

uh, 10 for the.

The length of the terror record.

12 and no records, OK?

And then starting from.

Oh, sorry, this is not correct.

Thirty two, thirty four, thirty six, forty forty two.

OK, we'll make sure that we are looking to let you right the lead one.

We know looking at the, uh, the previous one, we make sure we can do the correct way.

So, um, the next one is deep 50 the DP w uh forty four and then

forty six.

Forty five and forty six, is it right?

Well, sorry, 46 and 47.

All right.

OK, this is this is a data record for one no, Eddie.

OK, we're going to make this for the second Eddie, which will become forty eight and then fifty fifty

one.

OK, so and so forth, OK, let's just do a few more.

In theory, we can make this to be 18.

No.

This is quickly change.

This.

OK, because it's only for exercise, I'm not going to type in or 18.

OK, but I can just change maybe up to six and then jump all the way to the end, OK, because not every

single possie has all 18 anyways, so.

So

depending on your point of you're using, um, then you can decide how many of the how big to deliver

what you want it to be.

OK, now in this case, uh, let me see if I have dealt with everything.

You just make sure everything this is started.

OK, um, if you can go online, OK, that means if you can go online here, that means you've dealt

with the problem properly.

OK, Obi Wan, same thing.

If you can go online and see the data here, uh, you can see the data here is, is, you know, with

everything with this bar running that means you have sell the property.

OK, so now we go back to here and there we see here, OK, now we see immediately it has a value of

seven seven zero zero zero.

OK, what does that mean?

Once again, we go back to the help, go back to the help and love for the area of seven thousand.

OK, seven zero zero zero.

It means that the R equals zero.

OK, the RV QE zero.

OK, so all we have to do is change this to a one.

OK, how do you change it to one.

This first one.

OK, now the return values is eighty one.

What did was the result field is too short.

OK, let me see, was it too short?

Oh, sorry, sorry, sorry, sorry, because we haven't entered the, uh, the SC already.

Like I said, this should be a zero zero 19.

OK, just put it right.

There you go.

There's no more problem.

There's no problem here.

So zero zero 19.

Right.

Zero zero 19 will return all the values here.

So I'll tell you, each of these know like.

OK, so for example, if we look at the LGT lights, let me turn out let me show you this simulator

right now, OK?

It has the run signal on OK to run signal.

OK, not the run.

The run already on.

So that's number four.

OK, listen before.

Well, uh, number four.

OK, so you see here, this is LGT one, which is not defined.

So it's not on it's not linking it to its internal error, which there is no error right now.

So I've got to here.

This is I t and if I a.f..

Sorry.

Oh it's here.

It's not blinking is not on.

It's not blinking.

This is, uh, duplicated this.

So I'm going to remove this number three.

This is the here.

Oh OK.

It's not on, it's not blinking for this is the wrong idea.

OK, you see it's one that means is on and it's not thinking, OK, this is how you look at it.

OK, five, it's the stop, it's not on uh six is see if I see the force.

Oops.

Uh, this is I think this is just.

Yeah.

These are just, uh, residual values from before when I had the SSL idea to be zero.

So so we didn't uh.

It doesn't make any sense to to read them.

Uh, in theory it goes all the way up to from one to eighteen.

OK, with the values inside, like I said, uh, depending on the posture you're using and and obviously

I'm running a simulator right now.

So the quantities of the LSD are different and I can only show you the run LSD here.

Uh, OK.

Um, sometimes if you don't want to get all the LSD status, you can also only get one of them.

Um, and in this case, instead of using zero zero one nine for all the status you can just use, uh,

zero is one one nine.

OK, in this case, just change this, OK?

And then, uh, you can just tell the posse, which now you want to look into.

For example, if you want to look into the stop, uh, LSD tend to stop here is five.

So we put a five here and they put these in.

OK, and then, uh, just everything put it, oh, you can press control zero to clear everything.

OK, OK.

But you can clear this.

Okay, this is is actively being uh uh being red so if you clear it it will be overwritten but it appears

immediately so but everything else, if it's not used, uh, you can clear it.

OK, so if you look in this stability, basically, of course it's not on right now.

So it is.

Stop, stop.

It is not on right now.

OK, so it's zero if you want to read the one already.

There's just the four.

I was just the index for uh.

OK then you can see this changes to one the OED.

Oh OK.

Uh, let me explain this one.

And further, I don't think I've explained this clearly previously.

This is the length of the data record.

OK, this is in bytes.

OK, so is data records for bytes.

OK, so, uh, this is this is call one data record.

OK, so it goes from the forty four to DB forty seven.

So it's forty four.

Forty five.

Forty six.

Forty seven.

OK, that's four bytes.

OK, and it's only returning one record.

OK, this is one record.

So basically how you read this is is one record for each.

OK, so it's only returning what one record.

So basically that means everything else.

All the values after this is uh not relevant is irrelevant.

OK, so it's going back to the zero zero 19 zero zero 19 to be changed to zero zero nineteen, you can

see is actually returning.

Only eight did a record, eight did a record well for each.

OK, so basically there's no point to go anything about

it.

Data records.

OK.

So can change these seven.

OK, so all of this, right, if I try to clear it, it will be overwritten immediately.

OK, OK, I can change it.

OK, but if I have another one extra, let's call it number nine, OK?

If I try to do this, if I try to do this, change it to nine.

OK, it has something you can immediately see.

There's some residual values from before when I had the wrong.

So I'd know if I just control zero, everything would be turned off because it's not being overwritten

repeatedly.

So thank you for watching this, um, video.

I hope you learned something from it.

Um, if you need other helps.

OK, obviously there is no point for me to go through every single one of these.

As I say it, you can look into it and, uh.

All you have to do is to define the state of law correctly.

OK, you have all you have to do is define the step correctly.

OK, make sure you have this, OK.

Everything else is the same.

OK, so from here to here, everything is the same, OK?

It doesn't matter regardless of which SSL it you're using.

OK, the this highlighted part is always the same.

The only difference is the data record.

OK, so let's say you just go one on one.

The data looks something like this.

OK, you just have to change this to what you want.

OK, change it to suit your SSL ID and also the data record.

OK, um for each as I said ID, the data recorder would be different.

The length, the number of records to be returned would also be different.

OK, um.

OK, so this is uh the end of this video.

I hope you learned something from it and I'll see you in the next video.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.