22B-E4P2N104
22B-E4P2N104
不僅要正確,還要可靠。不能三天兩頭時不時地出問題。
可靠反映著PLC程序的長期穩(wěn)定性,這也是對PLC程序的基本要求。有的PLC程序,在正常的工作條件下或合法操作時能正確工作,而出現(xiàn)非正常工作條件(如臨時停電,又很快再通電)或進行非法操作(如一些按鈕不按順序按,或同時按若干按鈕或者連續(xù)按多次)后,程序就不能正常工作了。這種程序,就不太可靠,或說不穩(wěn)定,就是不好的程序。好的PLC程序?qū)Ψ钦9ぷ鳁l件的出現(xiàn),能予以識別,并能使其與正常條件銜接,可使程序適應(yīng)于多種情況,好的PLC程序?qū)Ψ欠ú僮髂苡枰跃芙^,且不留下“痕跡”。只接受合法操作,即預(yù)防性健壯編程。聯(lián)鎖是拒絕非法操作常用的手段,繼電電路常用這個方法,PLC及系統(tǒng)集成商也可繼承這個方法。
3、可讀性(學(xué)習(xí)成本低)
要求所設(shè)計的程序可讀性要好,便于理解,便于調(diào)試,也便于別人閱讀使用你的程序,便于維護;必要時,也可使程序作為標準模板而便于推廣。
要使程序可讀性好:
1)程序的設(shè)計脈絡(luò)就要盡可能清晰,結(jié)構(gòu)上有層次感;
2)功能層實現(xiàn)模塊化,或者使用面向?qū)ο蟮姆椒ㄟM行設(shè)計;
3)使用一些標準設(shè)計、通用性設(shè)計;
4)變量層盡量使用符號名編程;
5)參數(shù)緊跟在使用它們之前再設(shè)定參數(shù)值(即設(shè)即用);
6)I/O地址分配要有規(guī)律性,便于記憶與理解;
7)內(nèi)部器件的使用也要講規(guī)律性,相同功能的地址分配要保有的不連續(xù)“斷層裕量”(如x功能地址分配使用到k,那么下一功能的地址分配就不要從k+1開始,而要從k+n開始),以防功能更改;
8)必要時,還要做一些注釋工作;可讀性在程序設(shè)計開始時就要注意。這不容易做到。因為在程序調(diào)試的過程中,指令的增減,內(nèi)部器件的使用變化,可能使原較清晰的程序,變的有些亂。所以在設(shè)計時就對調(diào)試增減留有的余地,然后調(diào)試完畢后再做一下整理,這樣所設(shè)計的程序具有更高的質(zhì)量。
Siemens Sinumerik NCU-Box 13A 6FC5247-0AA00-0AA3
SIEMENS 6SL3040-0PA00-0AA1 SINAMICS CONTROL UNIT adapte
Simatic simatic CPU 928 6ES5 928-3UA12 6ES5928-3UA12
Siemens 6ED1057-3BA00-0BA5 LOGO! S BOX 12/24V
Siemens 6ES7 214-1AD23-0XB0 CPU 314 simatic S5 S7
Siemens Simatic 6ES7 312-5AC02-0AB0 CPU 312 IFM S7
Siemens Simatic 6ES7 312-5AC00-0AB0 CPU 312 IFM S7
Siemens Simatic 6ES7 350-1AH03-0AE0 S7 S5 FM 350-1
Siemens OP73 6AV6 641-0AA11-0AX0 OVP Versiegelt
Siemens Simatic 6AV7671-1EX01-0BB0 Panel PC Remote kit
Siemens Simatic A5E00126843 Panel PC Host 870
Siemens Simatic S7 MOBY 6GT2002-0EB10
Siemens Simatic Panel PC Multi Panel Screen Bildschirm
Siemens Simatic 6ES7 414-2XG03-0AB0 S7 CPU 414-2
SIEMENS SIMAMICS SENSOR MODULE SMC20 6SL3055-0AA00-5BA1
Siemens Simatic SCD1215 Operation Panel Bildschirm
Phoenix Contact FLKM-D25SUB/B 5 Stuck OVP Siemens
Siemens Simatic 6ES5 943-7UA22 S5 CPU 115U 6ES5
Siemens Simatic 6ES7 350-1AH01-0AE0 S7 S5 FM 350-1
Siemens 6GK1143-0AA01 S7 S5 simatic
Siemens simatic 6FK5201-8AA S5 S7 sinumerik
Siemens simatic 6ES7 952-0KH00-0AA0 Memory 256 KBYTES
SIEMENS 6ES5 453-4UA12 SIMATIC S5 6ES5453-4UA12
Siemens Simatic 6ES7 314-1AE03-0AB0 CPU314 S5 S7
Siemens simatic 6ES5 422-8MA11 6ES5422-8MA11 S5
Siemens Simatic S5 6ES5470-7LA12 6ES5 470-7LA12
Siemens Simatic 6ES5 464-8MC11 Anolog Input Module
Siemens Sinumerik 6FX1124-0BB02 simatic S5 S7 6ES5 6ES7
Siemens Sinumerik 6FX1112-0AA02 Digital Ausgabe
Siemens simatic 6ES7 148-1CA00-0XB0 POWER MODULE PM148
Siemens Simatic S5 6ES5312-3AB11 6ES5 312-3AB11
Siemens Simatic S5 CPU 923 6ES5923-3UA11 6ES5 923-3UA11
Siemens Simatic 6ES7 315-1AF03-0AB0 S7 CPU315
Siemens 6ES7138-4FB03-0AB0 6ES7 138-4FB03-0AB0
Siemens 6GT2401-2BB00 MOBY
Siemens Simatic 6ES5 464-8MC11 Anolog Input Module
Siemens 6FC5247-0AA00-0AA1 sinumerik simodrive NCU box
Siemens Sinumerik 6FC5270-5BX30-3AH0 NCU 573.2 Softw.
Siemens Simatic 6ES7 951-0KJ00-0AA0 Memory Card 512
Siemens Simatic 6ES5 318-8MA12 ET100U S5 S7
Siemens Simatic S5 CPU 95U 6ES5 095-8MA03 S5 S7
Siemens Simodrive 6SN1123-1AA00-0AA0 LT modul INT.15A
Siemens Simatic 6ES7 138-4DF00-0AB0 S7-200 2AI
Siemens 6ES5 430-4UA13 OVP simatic S5 S7
SIEMENS SIMATIC S7 Digitaleingabe 6ES7 421-1BL01-0AA0