PLC編程算法(一)
1、開(kāi)關(guān)量也稱(chēng)邏輯量,指僅有兩個(gè)取值,0或1、ON或OFF。它是最常用的控制,對(duì)它進(jìn)行控制是PLC的優(yōu)勢(shì),也是PLC最基本的應(yīng)用。
開(kāi)關(guān)量控制的目的是,根據(jù)開(kāi)關(guān)量的當(dāng)前輸入組合與歷史的輸入順序,使PLC產(chǎn)生相應(yīng)的開(kāi)關(guān)量輸出,以使系統(tǒng)能按一定的順序工作。所以,有時(shí)也稱(chēng)其為順序控制。
而順序控制又分為手動(dòng)、半自動(dòng)或自動(dòng)。而采用的控制原則有分散、集中與混合控制三種。
2、模擬量是指一些連續(xù)變化的物理量,如電壓、電流、壓力、速度、流量等。
PLC是由繼電控制引入微處理技術(shù)后發(fā)展而來(lái)的,可方便及可靠地用于開(kāi)關(guān)量控制。由于模擬量可轉(zhuǎn)換成數(shù)字量,數(shù)字量只是多位的開(kāi)關(guān)量,故經(jīng)轉(zhuǎn)換后的模擬量,PLC也完全可以可靠的進(jìn)行處理控制。
由于連續(xù)的生產(chǎn)過(guò)程常有模擬量,所以模擬量控制有時(shí)也稱(chēng)過(guò)程控制。
模擬量多是非電量,而PLC只能處理數(shù)字量、電量。所有要實(shí)現(xiàn)它們之間的轉(zhuǎn)換要有傳感器,把模擬量轉(zhuǎn)換成數(shù)電量。如果這一電量不是標(biāo)準(zhǔn)的,還要經(jīng)過(guò)變送器,把非標(biāo)準(zhǔn)的電量變成標(biāo)準(zhǔn)的電信號(hào),如4—20mA、1—5V、0—10V等等。
同時(shí)還要有模擬量輸入單元(A/D),把這些標(biāo)準(zhǔn)的電信號(hào)變換成數(shù)字信號(hào);模擬量輸出單元(D/A),以把PLC處理后的數(shù)字量變換成模擬量——標(biāo)準(zhǔn)的電信號(hào)。
所以標(biāo)準(zhǔn)電信號(hào)、數(shù)字量之間的轉(zhuǎn)換就要用到各種運(yùn)算。這就需要搞清楚模擬量單元的分辨率以及標(biāo)準(zhǔn)的電信號(hào)。例如:
PLC模擬單元的分辨率是1/32767,對(duì)應(yīng)的標(biāo)準(zhǔn)電量是0—10V,所要檢測(cè)的是溫度值0—100℃。那么0—32767對(duì)應(yīng)0—100℃的溫度值。然后計(jì)算出1℃所對(duì)應(yīng)的數(shù)字量是327.67。如果想把溫度值精確到0.1℃,把327.67/10即可。
模擬量控制包括:反饋控制、前饋控制、比例控制、模糊控制等。這些都是PLC內(nèi)部數(shù)字量的計(jì)算過(guò)程。
3、脈沖量是其取值總是不斷的在0(低電平)和1(高電平)之間交替變化的數(shù)字量。每秒鐘脈沖交替變化的次數(shù)稱(chēng)為頻率。
PLC脈沖量的控制目的主要是位置控制、運(yùn)動(dòng)控制、軌跡控制等。例如:脈沖數(shù)在角度控制中的應(yīng)用。步進(jìn)電機(jī)驅(qū)動(dòng)器的細(xì)分是每圈10000,要求步進(jìn)電機(jī)旋轉(zhuǎn)90度。那么所要?jiǎng)幼鞯拿}沖數(shù)值=10000/(360/90)=2500。
PLC編程算法(二)——模擬量的計(jì)算
1、-10—10V。-10V—10V的電壓時(shí),在6000分辨率時(shí)被轉(zhuǎn)換為F448—0BB8Hex(-3000—3000);12000分辨率時(shí)被轉(zhuǎn)換為E890—1770Hex(-6000—6000)。
2、0—10V。0—10V的電壓時(shí),在12000分辨率時(shí)被轉(zhuǎn)換為0—1770Hex(0—6000);12000分辨率時(shí)被轉(zhuǎn)換為0—2EE0Hex(0—12000)。
3、0—20mA。0—20mA的電流時(shí),在6000分辨率時(shí)被轉(zhuǎn)換為0—1770Hex(0—6000);12000分辨率時(shí)被轉(zhuǎn)換為0—2EE0Hex(0—12000)。
4、4—20mA。4—20mA的電流時(shí),在6000分辨率時(shí)被轉(zhuǎn)換為0—1770Hex(0—6000);12000分辨率時(shí)被轉(zhuǎn)換為0—2EE0Hex(0—12000)。
以上僅做簡(jiǎn)單的介紹,不同的PLC有不同的分辨率,并且您所測(cè)量物理量實(shí)現(xiàn)的量程不一樣。計(jì)算結(jié)果可能有一定的差異。
Lenze MHFMAIG080-32C1CGrundfos CR3-17 A-A-A-V-HQQV
Siemens TP 070 6AV6545-5AD00-0BP0
Beckhoff CP7901-0021-0000
Euchner MGB-L2B-PN-L-109826
Leuze ODT 2/200.1-1111
DNU-32-1300-PPV-A
Siemens 6EV2031-4FC00
Siemens Servomotor 1 FT5042-0AHO1-9-Z
St?ber Servomotor ED401UROS140
Allen Bradley MPL-B420P-MK22AA
mayr ROBA-topstop Sicherheitsbremse P3107148 8210127
Siemens WS 720 LS-DP 6FM1720-3BA10
SEW SF47 DRE90M4/MM11/EI76
SEW Movidyn MA 5005 FD 00 8258201
Rexroth Indramat MAC063D-0-RS-3-C/095-B-1/S001
Baldor Servomotor BSM 80 A-175 AAX 28127A E0202002 //BSM80A175AAX
Siemens 6ES5955-3LC12
Baldor BPS 2060
Baldor RelianceXE 3 Ph.Drehstrommotor P18G4924
Baldor Servomotor BSM 80A-133AA
OMAL DA415DFUYX05ACA
Festo IFB13-03 174335 + 4x ILR-03-ZP-P-4.0
KEB IMA 15G6FDC-YM50
HERION 1022002
ABB 3HAA3573-ABA
FESTO MPA-FB-VI 50E-F38GCQS-D+N 32P-TCD-N-M4A-K4J11L 530411
SEW KA37 CM71M/BR/HR/TF/RH1L/SB60
Leuze Electronic MLC500T40-1800
Kollmorgen S70362-NANANA S70362NANANA
Rexroth IndraControl V VDP15:3GAN-D1-NN-CH R911173263
Indramat MAC112A-0-VD-2-C/130-A-0
Wirtgen Group Kleemann 2321024
LTI Servo one SO84.012.0030.0000.2
Siemens 6AV6645-0DE02-0AX1
Ser Elektronik Mega1 13Z6PQ
Siemens 6SL3210-1SE22-5AA0
Siemens 6RB 2101-4A-Z
Indramat DDS02.1-W050-D + DEA 4.1 + DEA 5.1 + FWC-DSM2.1-C11-02V03-MS
SICK MSLE08-11221
Siemens 3VF4211-1BM41-0AC2
Rexroth Mannesmann DBEE 10-51/100YG24NK31M
Bosch SM 17/35-TA
Siemens SitransP 7MF4320-1GA02-1AD1-Z
Siemens 1FT6044-1AF71-4FG1
Bosch DREBE 6X-1X/175MG24K31A1M
Indramat MDD093A-N-040-N2L-110GA1
Ifm Efector300 SM2000 SMR21XGXFRKG/US
Siemens 1FK7060-2AF71-1RH0
Euchner MGB-L2B-PN-R-109825
Schneider MODICON NW-BP85-002
Siemens 1FK7080-5AF71-1KV5-Z
Baumüller BUB622-100-54-E-001
KEB Combivert 13.56.211
Himmelstein MCRT Non-Contact Torquemeter 29061TC (5-3) NA
Galil DMC-2220
Siemens SIMODRIVE 610 AC-VSA 6SC6120-0FE01
SEW Eurodrive FH37 CMP71M/BP/KY/AKOH/SB1
Lenze E84AVSCE2222VXO
AMK Amkasyn AW 20/30 44627-9543-650600
Lenze ECSEM032C4B
SIEMENS E150/15 6RA2113-6BK26-0
Burgmann Cartex-DE5/45
Honeywell FF-SB14E08K-S
SICK C4000 C40S-0403CA010
KUHSE Steuerung f.68000
SIEMENS 6AV3627-1JK00-0AX0
INDRAMAT SOT02 E2A-AS
SEW Eurodrive Getriebemotor SA47 DRP90 M4BE1/TH
BALDOR SBTS10-200-2,5-P
Fanuc A06B-6114-H302
Atlas Copco QCS2-T 34015
Siemens 6AV3627-1JK00-0AX0
Siemens 6AV3627-1JK00-0AX0
ADM electronic LCD10L-CACS-REIS
Busch Vacuumpumpe SV 1016 B 000 IHXX NF80/4C-11
Busch Vacuumpumpe SD/V 1016 B 000 IHXX NF80/4C-11
Siemens 3VL2110-2GE33-0AA0
Krauss Maffei Mahle AF 7242-241-00000-4393l/G4
Siemens 7MF4233-1FA00-2PB6
EATON NZMN4-AE1000
Siemens 1FK7063-5AH71-1KH0-Z
Siemens 6EW1810-2AA
Atlas Copco QCS2-T
KSB HPK-SX 32-125
Siemens 32.1598.507-00
Nordson 104008D 10400-8D
Bosch SE-B4.090.030-14.000
Kuhse 68000 + NT
Siemens 6SN1111-0AA00-1EA0
Siemens 1FK7063-5AF71-1EH5
Lenze L-force E94AMHE0174
Schneider electric Lexium ILE ILE1B661PC1A4
Atlanta 5884609
Becker SV8.130/1-401
Rexroth MSK050B-0600-NN-M1-UG0-NNNN R911299935
Festo DGPL-18-700-PPV-A-GF-B
Flowserve K?mmer Ventile 11338-P/P 16/32S
Siemens 6SC6140-0FE01
Rexroth SL 62 FB2-1X
Siemens 6SN1118-0DM33-0AA2
Heidenhain LS 704 ML 620mm 336978-8W
Hydraulikaggregat TO-28 GGKDD + Steimel QB1000 + SK71LA/4
Eurotherm CHESSEL 4102M
Siemens 1FK7032-5AK71-1DG0
Siemens 6ES5902-3SA11
ABB PS 130/6-90-P-PMB-3737
Siemens 1FK 6064-1AF71-4EH1
Heidenhain LS 403
BOSCH SD 301 0 608 830 194
SEW Eurodrive R57 DT90L4/BMG/HR/TF
Indramat MDD071C-N-060-N2M-095GB2
SIEMENS 6SE9517-7DB40-6AA0
SIEMENS 6SN1123-1AA00-0EA0
Indramat PLCB 07-02-FW
Pepperl+Fuchs EDM120-SSI
SEW EURODRIVE RF47 CMP63M/BK/KY/RH1M/SB1
SMC IDG60S-F03B IDG60S-F03B
Indramat PLCB 07-02-FW 255878 A06
Indramat PLCB 07-02 255878 A00
Siemens 3RG7834-6DD00
Siemens 6ES5 902-3SA11
Siemens 6AV3525-1EA01-0AX0
Bürkert MKEN 8640
Siemens COROS OP15-C2 EWK:P4A221AA0ZC09
SAE Stahl Provikom MT-60 RS-422/485
Siemens 8TK3007-0AA04/EE
Siemens 6DS1003-8AA
Siemens 6ES5955-3LF12
De-Sta-Co 89B63-008-1RA
Siemens C98043-A1045-L3-16
Hetronik HC510-OC-230-16
Siemens 6MA1890-0AC13/BB
Siemens 6DS1003-8AA
KEBA PS 242
Siemens 1FT5066-0AF21-1
Siemens 6FC5103-0AC02-0AA0
Siemens 6SN1123-1AA00-0EA0
Siemens 6SN1123-1AA00-0EA1
Siemens 1UA10962AB20-Z
H&B Hartmann & Braun 0874489
Allen Bradley 600 2711P-T6C20D
Bosch OpCon IPC04WINCE REX2 3843.AB2.259
Beckhoff AM3074-1P00
Beckhoff AM3074-1P00-0000
Indramat MAC071C-0-US-4-C/095-A-0/WI527BX/S001
Wipotec SWA2-133
KEB 52.SM.201-34CJ
Schunk PZV 100
ESD Electronics LasCon-CPU K.3784.01
Heidenhain LS 486C
Heidenhain LS 703
Schneider Electric ILS1B573S1298
Heidenhain LC 481
Blemeo 11DE6A200
Rexroth IndraDrive M HMS01.1N-W0036-A-07-NNNN
Siemens 1FT5066-1AC71-4EBO
INDRAMAT HMS01.1N-W0036-A-07-NNNN + CSB01.1N-SE-ENS-NNN-NN-S-NN-FW
Heidenhain EXE 816B
Siemens 4AM6542-5CT10-0FA0
Danfoss VLT 2800 VLT2881PT4B20STR3DBF00A00C0 195N1123
SEW EURODRIVE KA29B DRS71S4BE05HF/IS/TH/EI7C/LN
Baumer RTD44A4Y7P1770.50KR120
Siemens 6GK1105-2AD10
Allen Bradley 45MLA-AT0700P25
BANNER IVURGPI12 82351
SICK 30-FGS FGSS1350-22
Siemens 6ES5928-3UA21
Siemens 6ES5 927-5BA13
Siemens 6ES7215-2AD00-0XB0
Siemens 6SN1122-0BA12-0AA0
Fanuc IC693CPU351-GR
Siemens Simatic S5 6ES5 921-3WA13
Siemens Simatic S5 6ES5243-1AB11
Endress+Hauser Durchflussmesser Prowirl 70 W 70WS80-A0A00A0B100
Indramat CPUB 01-01
Allen Bradley 2098-DSD-HV050X
Siemens 6DS1200-8AD
Allen Bradley MPL-B420P-MK24AA
SIEMENS 6AV6613-1FA01-1CA0
Siemens 6ES5927-5BA13
NUM Proces Prozessor V2-Board FC-200432F
Siemens 6GK5612-0BA10-2AA3
Siemens 6ES5 926-5AA12
SONY Magnascale LY21
Siemens 6ES5 281-4UA11
Getriebe Nord SK02050AZDH-90S/4TF
Knürr & Heinzinger PTN 250-5 PTN250-5 P/N 00.220.233.1
Siemens 6ES5314-3UR11
Danfoss VLT Type 3022 175H7289
Siemens Siwarex 7MH3305-1AB
Siemens Teleperm M 6DS1801-8AA
Siemens Siwarex 7MH3305-1AB
Siemens 6ES5256-3AB11
Motorola MVME 1600-001 MVME1600001
Siemens 6FM1661-3AB10
Mannesmann Demag Getriebemotor KLA80B4/M06L-M-0-1-20-1
DATALOGIC MATRIX-2021SH3714
DATALOGIC DS2100N-2214
Siemens 6DM1001-4WA05-1
HITEX EST MSR Typ 6MS1
Baumer electric FLDK 110G1002/S42
Siemens AEG L-TGM20-1
Siemens 6SC6100-0GC11 C98043-A1304-L
Siemens 6ES5340-5AA11
Siemens 1FT5066-1AC71-4EBO
Siemens 6GK7443-1EX41-0XE0
Baumer GXMMS.3205P33
ElectroCom P-STK30 32.1574.301.01
ElectroCom CPX-7 P-STK30
Siemens 6ES5928-3UA21
Pepperl+Fuchs DENT-I IVH-FP3
Siemens 6SE7090-0XX84-0AD0
Siemens 6DS1715-8BB
SEW Eurodrive Servo-Getriebemotor FA 37 DS56H/TF/ES1H/KK
Siemens 6FX1122-1AD02
Siemens 6FX1115-0AA02
Siemens 6SL3120-2TE13-0AA3
ABB DSQC509 DSQC 509 3HAC 5687-1
Schneider Modicon TSXIBX100
Siemens SIMOMAT K8 6GA4652-2DA00
Siemens Sinumerik 6FX1154-8BB01
Schmersal ASInterface SLC440AS-E-0330-14
Bosch RM65V-16IBS-I
Schneider Telemecanique TBX TBXLEP030
Siemens 6SL3120-2TE15-0AA4
Siemens 6AV6381-2AA07-0AX4
Siemens 6DD1660-0AJ1
Siemens 1FK7062-2AH71-1RH1
Siemens 1FK7062-2AF71-1AH0
GE Fanuc IC693ALG442B
Siemens TELEPERM XP IM614 / 6DP1614-8BB
Rexroth IndraContol L40 CML40.2-SP-330-NA-NNNN-NW R911170255-101
Siemens 6DS1411-8DD
Siemens 6DS1412-8DD
Siemens 6DS1311-8AE
Siemens 6DS1511-8AA
Siemens 6DS1731-8RR
Siemens 6DS1412-8DD
TSXDSZ32T2
KEBA E-CPU-186
Rexroth Indramat HDS03.2-W075N-H
KEBA E-10-ANALOG
MOOG T161 Controller T161-902 A-10-E5-2-9A Typ: T161-802
Grundfos MAGNA 32-120 FN 220 96513643
Siemens 6SN1118-0DM31-0AA1
Bosch Servo Drive Modul Typ SM 35/70 047824-311
Bosch Servo Drive Modul Typ SM 35/70 047824-312
Bosch Servo Drive Modul Typ SM 35/70 047824-313
Bosch SE-C4.170.030-14.000
H&B MK 100 mm K 0806706
H&B SO2-Empf?nger 0806946
Siemens Simatic S5 6ES5 302-5AA11
Siemens C98043-A1057-L2
Rexroth A1VO018DRS0C200/10MRVK2P3100981444*EW*& R902537244
Siemens 6SC9830-0BC16
Siemens 6SC9830-0BA20
Siemens 6SC9830-0BA31
Kollmorgen S70602-NANANA
CML40.2-NP-330-NA-NNNN-NW R911170254
Trumpf Laser 12-11-59-00/02
Fanuc 1-0SP/3000 A06B-0373-B169
Siemens Simodrive 6SN1118-0DA11-0AA0
Bosch 32V-PQA-X 3/2V-PQ
Siemens 6DS1717-8CC
Siemens 6DS1412-8DD
Siemens 7XV56530BA00 7XV5 6530BA00 BB
Sick M40S-68A303AA0
Zimmer Group GEH6060IL-03-B
Siemens 6SN1118-0DM33-0AA2
GE Fanuc IC693APU301L
GE Fanuc IC693APU301R
Siemens 7MH3305-1AB
Bosch DREBE 6X-1X/175MG24
Balluff BIS0099 BIS C-6002-019-xxx-03-KL2
ABB DSQC601 DSQC 601 3HAC 12815-1/09
Schneider AEG Modicon 110CPU51200
Allen Bradley SMC PLUS 150 40888-313-53
Siemens P-PIF95-X66 32.1600.762-00 *05905760 V23105-A5301 SAB 80C535-N
THEMIS TSVME400 45142A
Hydac 395270 + 6063148+ 60711196 + 3684692
Schunk OSE-C-45-8
Siemens 1FK7063-5AF71-1AG0
Siemens 6SL3120-2TE13-0AA3
VAF Instruments B5025
Emod VKV54/23-140
Siemens SMP-E327 C8451-A13-A11-1
Allen Bradley 842D-60131331BXA
Sauer Sundstrand Hydraulikpumpe 45L057 LS2520
Harmonic Drive HPD-180-28-B2/R38-85-180
Siemens 6DS1102-8AB
SEW Eurodrive Servomotor KA37 CM71M/TF/RH1M/SM60
SEW Eurodrive Servo-Getriebemotor KA 37 CM71M/TF/RH1M/SM60
ABB 3HAB8101-8/08F DSQC346G
SEW Eurodrive Getriebemotor R37 DRS30 M4BE2/Z
ZIEHL ABEGG Ventilator, Lüfter ER28C-2DN.B7.1R
SEW Eurodrive Movifit MTF11A022-503-E20A-20 + MTA11A-503-1653-D01-00/BW2
Bosch SD-B3.050.030-04.000
SEW KA39/T DRN90S4/TF
Siemens 6SE2103-3AA00
Siemens 1FT5074-0AF71-2-Z
Bosch Servo Drive Modul Typ SM 5/10 050829-104
Bosch Servo Drive Modul Typ SM 5/10-T/A
Bosch Servo Drive Modul Typ SM 10/20-TA
Bosch Servo Drive Modul Typ SM 25/50-T/A
Bosch Servo Drive Modul Typ SM 35/70-T 047824-316
Lenze MDFKABS080-22
Wenglor SG2-30IS105C1
SEW EURODRIVE SA47/T DRS71S4/IS
Rexroth AGK-020-NN-1 R040556223
Festo MSB9-1:17:18:L2-WP
Siemens 6ES5927-5BA13
PHILIPS FLUOR Vision Processor 4022 251 0024
PHILIPS PHOSPHOR Vision Processor 4022 251 0012 D 001327
Siemens 6DS1916-8AA
KEYENCE LS-3100W
Siemens 6ES7 133-0BN11-0XB0
Siemens Teleperm M 6DS1614-8AA
Siemens Teleperm 6DS1603-8BA
ABB DSQC 315 3HAB 2214-1/2
GWK NBT25-200 U5A-W4-28/250
Siemens SITRANS 7MF4433-1DA22-1PC7-Z B11+Y01-Y21+C11
Siemens 6DS1700-8BA
Siemens Sitrans P 7MF4320-1FA02-1AD1-Z
Wittenstein TPM 010-091K-600P-BP1-015IFSTD
E+L Erhardt+Leimer CV 0203
Kollmorgen Seidel Servostar S60300-PB
Sick S32B-3011BA
Baumüller BUS21-30/60-31-020
Yaskawa Varispeed E7 CIMR-E7Z2022 20221B
Beckhoff AX2010 S61000-520
VAHLE SMG-SES202 0955111
Siemens 1FK7063-5AF71-1SG3
ANGEBOT?Gestra NRG 26-21
Siemens 6SN1111-0AA00-0CA1
IEI Technology RPC-6010GW/T-R.ACE-9 35AL-RS
LTi Drives LSH-074-2-30-320/T1.1R
Leuze electronic Compact CT50-1050/A
INDRAMAT DDS02.1-W025-RS01-03-FW
SEW Eurodrive MCH42A0150-503-4-0T
INDRAMAT DDS02.1-W100-D
Siemens 1FK7060-5AF71-1KV5-Z
免責(zé)聲明:AMIKON我們銷(xiāo)售新產(chǎn)品和停產(chǎn)產(chǎn)品,獨(dú)立渠道購(gòu)買(mǎi)此類(lèi)特色產(chǎn)品。阿米控不是本網(wǎng)站特色產(chǎn)品的授權(quán)商、商或代表。本網(wǎng)站上使用的所有產(chǎn)品名稱(chēng)/產(chǎn)品圖片、商標(biāo)、和徽標(biāo)均為其各自所有者的財(cái)產(chǎn)。帶有這些名稱(chēng),圖片、商標(biāo)、和徽標(biāo)的產(chǎn)品描述、描寫(xiě)或銷(xiāo)售僅用于識(shí)別目的,并不表示與任何權(quán)利持有人有任何關(guān)聯(lián)或授權(quán)。
注:聯(lián)系我時(shí),請(qǐng)說(shuō)是在“傲立機(jī)床網(wǎng)”上看到的,謝謝!