Posts

Showing posts from January, 2022
Image
  Unit 1.2 Bit Byte Word Double Word Integer Double Integer Floating Point @20 August 2022 Bit:Byte:Word: Double Word:Integer:Double Integer Number Sytem တွေအောက်က  Bit Byte Word Double Word Integer Double Integer Floating Point တွေအကြောင်းဆက်ရေးပါ့ရစေ  Bit ဆိုတာ one Bit တခုစာကိုပြောတာပါ PLC ရဲ့Input /Output.Pin.တွေမှာ မြင်ရတဲ့ Contact တခုစာကိုပြောတာပါ  Byte ဆိုတာ 8Bit ကိုပြောတာပါ 16Bit ဆိုတာ 1Word ကိုပြောတာပါ Integer ကို16Bit နဲ့ ရေးလေ့ရှိပါတယ်  Delta PLC မှာ ရိုးရိုးInstruction တွေကို 16Bit Instruction နဲ့ရေးလေ့ရှိပါတယ် ဥပမာ Mov Instruction ဆိုတာ 16Bit Instruction ကိုပြောတာပါ DMov Instruction ဆိုတာ 32Bit Instruction ကိုပြောတာပါ  တခြားPLC တွေမှာလည်း Word: Double Word အနေနဲ့သုံးလေ့ရှိပါတယ်  32Bit ဆိုတာDouble Word ကိုပြောတာပါ Double Integer လိုလည်းမှတ်ယူလို့ရပါတယ်  Floating Point ကလည်း Double Word ထဲမှာပါပါတယ် Floating Point ဆိုတာ ဒဿမကိန်းကိုပြောတာပါ Floating Pointတွေဟာ32Bit တွေပါပဲ Siemens PLC မှာတော့Realလို့လည်းခေါ်ပါတယ်  ဒါတွေကိုဘာလို့ပ...
Image
  Unit 1.1 Binary Coded Decimal (BCD) ; ASCII Code & Gray Code @ 17 August 2022 Binary Octal Hexadecimal Decimal အကြောင်းတွေပြီးရင် BCD(Binary Coded Decimal)အကြောင်းဆက်ရေးချင်ပါတယ်. ***BCD ဆိုတာ Binary ကို Coded လုပ်ထားတဲ့ Decimel Number System တခုပါ .BCD ကိုမရှင်းခင် Nibble အကြောင်းပြောပါ့ရစေ.Nibble.ဆိုတာ4bit ကို 1Nibble လို့ပြောတာပါ 16Bit ဆိုရင် 4 Nibble ရှိပါတယ် BCD Number System မှာ First Nibble ကို ခု ဂဏန်းယူပြီးဆယ်ဂဏန်းဖြစ်ရင် Second Nibble ကို 1တိုးသွားပါတယ် ရာဂဏန်းဖြစ်ရင်Thrid Nibble. ကို1တိုးသွားပါတယ် ထို့အတူ ထောင်ဂဏန်းဖြစ်ရင် Fouth Nibble ကို 1တိုးပါတယ်1st Nibble ကနေ 4th Nibble အထိ Nibble တွေကို အစဥ်လိုက် 10ဆတိုးသွားတယ်လို့အလွယ်မှတ်ယူလို့ရပါတယ်  သူ့မှာရှေ့က Binary Octal Decimal Hexadecimal. မတူတဲ့အချက်က 10ဖြစ်ရင်Second Nibble ကို1တိုးသွားတာပါ  ကျွန်တော်ရှေ့ကပြောထားသလိုSecond Nibble ဆိုတာ 10ဂဏန်းဆိုတဲ့အတိုင်း99 ဂဏန်းပြီးရင် ရာဂဏန်း100 ဆိုရင် Third Nibble ကို 1တိုးသွားတာပါပဲ Third Nibble မှာ999ဂဏန်းအထိပြီးရင်ထောင်ဂဏန်း Fourth Nipple ကို 1တိုးသွားတာပါပဲ ...

Unit 1.PLC and Number System

Image
Unit 1.PLC and Number System @15 August 2020    PLC /Microcontroller အပြင်အခြားController တွေမှာမရှိမဖြစ်သိသင့်တဲ့Number System တွေအကြောင်းရေးသားချင်ပါတယ်.  PLCProgrammingကိုလေ့လာနေသူတယောက်အဖို့အမှားပါရင်လည်းထောက်ပြပေးဖို့ဖိတ်ခေါ်ပါတယ်    Number System တွေကိုအပိုင်းလိုက်ခွဲရင် Binary:Octal:Decimal:Hexadecimal: ASCII:Gray Code ဆိုပြီးရှိပါတယ်. အဲဒိ Number System တွေဟာ Program ရေးတဲ့အခါ Mathematical Operation: Data Move/Shift Operation: Analog to Digital Conersion: High Speed Counter Calcution :Servo Motor Stepper Motor Instruction အပြင် အခုခေတ်စားနေတဲ့CommunicationInstructionအပြင်အခြားPLCထဲမှာရှိတဲ့မြောက်မြားလှစွာသောInstruction အဲ့ဒိ Number System တွေနဲ့ပဲရေးသားပါတယ်    Decimal ကတော့ကျွန်တော်တို့ငယ်ငယ်ထဲကရင်းနှီးပြီးသား Number System တခုပါ    Binary:Octal:Hexadecimal: ASCII:Gray Code နောက်ပိုင်းမှရင်းနှီးလာတာပါ.အဲ့ဒါကြောင့်တခါတလေမှတ်ရခက်နေတတ်ပါတယ်    Binary ဆိုတာအလွယ်မှတ်ရင် 0:1ဆိုပြီးဂဏန်းနှလုံးပါတဲ့ System လို့အလွယ်မှတ်လို့ရပါတယ်...