LabVIEW yog graphical programming software tsim los ntawm National Instruments (NI) uas muab cov kws tshaj lij thiab cov kws tshawb fawb nrog txoj hauv kev nrawm, ua tau zoo, thiab nkag siab zoo los tsim thiab siv cov tshuab automation. PLC (Programmable Logic Controller) yog tus tswj tshwj xeeb- lossis, piv txwv li, ib qho khoom siv hluav taws xob hauv tshuab hluav taws xob- feem ntau yog siv los tswj cov txheej txheem kev lag luam, tshuab, thiab cov cuab yeej siv tshuab.
Hauv kev siv tswv yim, PLCs feem ntau ua haujlwm nrog rau lwm yam khoom siv hauv kev lag luam automation thiab tswj cov tshuab, xws li sensors thiab actuators. LabVIEW cov kev pabcuam tuaj yeem tswj xyuas cov tshuab thiab cov txheej txheem los ntawm kev koom tes nrog PLCs.
Thawj hom lus programming rau PLC suav nrog Ladder Diagrams, thaum LabVIEW siv G-code rau programming. Txawm hais tias G-code txawv me ntsis ntawm Ladder Diagrams nyob rau hauv daim ntawv thiab syntax, kawm G-code yog ib qho yooj yim rau ntau tus neeg siv vim nws yog raws li lub tswv yim ntawm graphical programming thiab siv ntau lub cim los sawv cev cov haujlwm sib txawv thiab tswj cov logic.
Hauv qab no, peb yuav piav qhia yuav ua li cas sau PLC cov kev pab cuam ncaj qha hauv LabVIEW ib puag ncig:
1. Kev npaj
Ua ntej pib qhov kev pab cuam, peb yuav tsum npaj cov cuab yeej los tswj thiab cov khoom siv sib txuas sib txuas. Feem ntau, PLC txuas nrog rau lwm cov khoom siv hluav taws xob hauv kev lag luam los ntawm cov txheej txheem digital input/output (DI/DO) interfaces. Hmoov zoo, National Instruments (NI) muab cov kev daws teeb meem tsim nyog rau cov ntawv thov, xws li NI CompactDAQ thiab NI CompactRIO. Cov khoom siv no tuaj yeem txuas nrog lub computer los ntawm kev sib txuas lus sib txuas xws li USB lossis Ethernet.
2. Tsim ib qhov kev pab cuam LabVIEW
Tsim ib qhov kev pab cuam LabVIEW tshiab. Tom ntej no, peb yuav siv "NI-DAQmx" software pob muab los ntawm NI, uas yog ib qho kev nthuav dav, ntau yam ntaub ntawv tau txais thiab tswj software suite. Cov pob no txhawb txhua yam los ntawm I / O yooj yim nyeem / sau ua haujlwm rau kev taw qhia cov tswv yim, nrog rau ntau yam kev cai siv.
3. Xaiv qhov tsim nyog LabVIEW Template
NI kuj tseem muab ntau yam kev siv LabVIEW templates uas muaj ntau yam cuab yeej siv tau. Cov cuab yeej no suav nrog ntau hom kev tawm tswv yim / tso tawm interfaces, pib khawm, nres cov keyboards, tsav tsheb, thiab cov keyboards. Cov qauv no tuaj yeem pab koj tsim kom muaj lub hauv paus tswj kev tswj hwm lub hauv paus ua ntej koj pib tsim koj qhov kev pab cuam PLC.
4. Ntxiv PLC Icons rau lub Vaj Huam Sib Luag Tsim
Koj tuaj yeem pom ntau lub cim PLC hauv lub tsev qiv ntawv template tswj los ntawm NI thiab luag thiab xa lawv mus rau lub vaj huam sib luag tsim. Txhua lub cim PLC tuaj yeem txuas ncaj qha rau lwm yam kev tswj hwm thiab I / O interfaces los tswj cov khoom sib txawv.
5. Qhov Kev Pabcuam Tswj Logic
Txuas ntau yam tswj icons thiab pib programming tswj logic. Cov cim no tuaj yeem txuas rau kev sib txuas yooj yim ntawm kev sib txuas lus hauv Circuit Court. Siv koj tus kws tshaj lij ua tus engineer lossis tus kws tshawb fawb los sau cov kev cai logic rau hauv qhov program.
6. Kuaj qhov Program
Thaum qhov program tau sau lawm, koj yuav tsum ua qhov kev sim software siv NI-DAQmx software pob. Qhov no tuaj yeem siv los simulate cov tswv yim thiab tawm ntawm cov teeb liab hluav taws xob kom ntseeg tau tias qhov kev zov me nyuam ua tau raws li qhov xav tau. Thaum qhov kev zov me nyuam dhau qhov kev sim, nws tuaj yeem xa mus rau PLC ntaus ntawv rau kev sim kho vajtse tiag.
Cov ntsiab lus
Kev Sau PLC cov kev pab cuam ncaj qha hauv LabVIEW ib puag ncig yog qhov yooj yim. National Instruments muab cov peev txheej, kev txhawb nqa, thiab tswj cov tsev qiv ntawv los pab cov engineers thiab cov kws tshawb fawb tsim kev lag luam automation thiab tswj cov tshuab kom sai thiab ua tau zoo. LabVIEW qhov yooj yim ntawm kev siv thiab graphical programming lub tswv yim ntawm G-code ua rau cov programming intuitive thiab zoo.




