Introduction to Industrial Automation


   Boolean Logic Instructions



Download 43,9 Mb.
Pdf ko'rish
bet294/440
Sana01.01.2022
Hajmi43,9 Mb.
#294756
1   ...   290   291   292   293   294   295   296   297   ...   440
Bog'liq
Introduction to Industrial Automation by Stamatios Manesis, George

7.4.2   Boolean Logic Instructions

The first instruction of the Boolean logic instructions group, depicted in Table 7.1, is the AND 

instruction. When the CPU executes this instruction, independently of the programming language

A  I3.3 ,

,

I3.3


I3.3

A

 




288

 



  Introduction to Industrial Automation

it will examine whether a logical “1” is stored in the memory location of the PLC’s input I3.3, 

which means, if it is true, then at the corresponding digital input I3.3 there is electrical volt-

age. Thus, in the case that the CPU finds a logical “1” then the secondary RLO (S.RLO) is “1”. 

Subsequently, the AND function between S.RLO and the primary RLO (P.RLO) where P.RLO = 

“1” (this is generated by the CPU, since there is no other previous instruction), will yield RLO = 

“1”. From the latter, it will also depend on the execution result of the instructions that follow.

The second instruction of the group is the AND NOT statement. When the CPU executes 

one of the instructions,

AN  I3.3

,

I3.3



A

I3.3


,

it examines whether there is a logical “0” in the memory location of the digital input I3.3, which 

means that there is no electrical voltage at the corresponding input I3.3 of the PLC. Therefore, if 

the CPU finds a logical “0”, then the S.RLO is “1”. Subsequently, the AND function between the 

S.RLO = “1” and the P.RLO = “1” (this is created by the CPU because it precedes no other instruc-

tion) will give RLO = “1”. At this point, a basic differentiation of the programmable automation 

from the classical one should be highlighted. With the AND NOT instruction, it is possible to 

activate an output via an open input contact (when the contact closes, the output is deactivated), 

which cannot be implemented in conventional automation without the use of an auxiliary relay.

The third instruction in the same instruction group is the OR statement. When the CPU 

executes one of the following instructions,

O  I3.3


I3.3

O

I3.3



,

,

it examines (as in the case of AND) whether there is logical “1” in the memory location of digital 



input I3.3. If this is the case then the S.RLO is “1” and then performs the OR function between 

the S.RLO = “1” and the P.RLO = “0” (which is created by the CPU, since no other instruction 

is preceded). The final result is RLO = “1” that waits for the execution of the next OR instruction 

(for Boolean language) or the “parallel” instruction (for LAD).

The next OR NOT instruction has a similar function to the AND NOT, with the difference 

that instead of the logical AND action, the OR operation is performed. The following instructions 

for creating complex expressions are only found in the Boolean language, and have a very simple 

function that will be presented through examples in Section 7.5.




Download 43,9 Mb.

Do'stlaringiz bilan baham:
1   ...   290   291   292   293   294   295   296   297   ...   440




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish