1)外部输入/输出继电器、内部继电器、定时器、计数器等软元件的触点可重复使用,没有必要特意采用复杂程序结构来减少触点的使用次数。
(2)梯形图每一行都是从左母线开始,线圈接在最右边。在继电器控制原理图中,继电器的触点可以放在线圈的右边,但在梯形图中触点不允许放在线圈的右边。
(3)线圈不能直接与左母线相连,也就是说线圈输出作为逻辑结果必须有条件。必要时可以使用一个内部继电器的动断触点或内部特殊继电器来实现。
(4)同一编号的线圈在一个程序中使用两次以上称为双线圈输出。双线圈输出容易引起误操作,这时前面的输出无效,只有最后的输出才有效。但该输出线圈对应触点的动作,要根据该逻辑运算之前的输出状态来判断。如图3所示,由于M1双线圈输出,所以,M1输出随最后一个M1输出变化,Y1随第一个M1线圈变化,而Y2随第二个M1输出变化。所以,一般情况下,应尽可能避免双线圈输出。
(5)梯形图程序必须符合顺序执行的原则,即从左到右,从上到下执行,如不符合顺序执行的电路不能直接编程,例如图4所示电路不能直接编程。
(6)梯形图中串、并联的触点次数没有限制,可以无限制的使用,
(7)两个或两个以上的线圈可以并联输出
worlduc.com/blog2012.aspx?bid=44692767
worlduc.com/blog2012.aspx?bid=44692769
worlduc.com/blog2012.aspx?bid=44692768
worlduc.com/blog2012.aspx?bid=44692773
worlduc.com/blog2012.aspx?bid=44692772
worlduc.com/blog2012.aspx?bid=44692774
worlduc.com/blog2012.aspx?bid=44692776
worlduc.com/blog2012.aspx?bid=44692777
worlduc.com/blog2012.aspx?bid=44692779
worlduc.com/blog2012.aspx?bid=44692780
worlduc.com/blog2012.aspx?bid=44692782
worlduc.com/blog2012.aspx?bid=44692784
worlduc.com/blog2012.aspx?bid=44692785
worlduc.com/blog2012.aspx?bid=44692786
worlduc.com/blog2012.aspx?bid=44692787
worlduc.com/blog2012.aspx?bid=44692789
worlduc.com/blog2012.aspx?bid=44692790
worlduc.com/blog2012.aspx?bid=44694937
worlduc.com/blog2012.aspx?bid=44694938
worlduc.com/blog2012.aspx?bid=44694939
worlduc.com/blog2012.aspx?bid=44694940
worlduc.com/blog2012.aspx?bid=44694942
worlduc.com/blog2012.aspx?bid=44694943
worlduc.com/blog2012.aspx?bid=44694944
worlduc.com/blog2012.aspx?bid=44694946
worlduc.com/blog2012.aspx?bid=44694947
worlduc.com/blog2012.aspx?bid=44694948
worlduc.com/blog2012.aspx?bid=44694949
worlduc.com/blog2012.aspx?bid=44694950
worlduc.com/blog2012.aspx?bid=44694952
worlduc.com/blog2012.aspx?bid=44694954
worlduc.com/blog2012.aspx?bid=44694956
worlduc.com/blog2012.aspx?bid=44694958
worlduc.com/blog2012.aspx?bid=44694959
worlduc.com/blog2012.aspx?bid=44694957
worlduc.com/blog2012.aspx?bid=44694961
worlduc.com/blog2012.aspx?bid=44694962
worlduc.com/blog2012.aspx?bid=44694963
worlduc.com/blog2012.aspx?bid=44694967
worlduc.com/blog2012.aspx?bid=44694966
worlduc.com/blog2012.aspx?bid=44694968
worlduc.com/blog2012.aspx?bid=44694965
worlduc.com/blog2012.aspx?bid=44694969
worlduc.com/blog2012.aspx?bid=44694971
worlduc.com/blog2012.aspx?bid=44694973
worlduc.com/blog2012.aspx?bid=44694974
worlduc.com/blog2012.aspx?bid=44694975
worlduc.com/blog2012.aspx?bid=44694977
worlduc.com/blog2012.aspx?bid=44694979
worlduc.com/blog2012.aspx?bid=44694980
worlduc.com/blog2012.aspx?bid=44694981
worlduc.com/blog2012.aspx?bid=44694984
worlduc.com/blog2012.aspx?bid=44694983
worlduc.com/blog2012.aspx?bid=44694986
worlduc.com/blog2012.aspx?bid=44694987
worlduc.com/blog2012.aspx?bid=44694988
worlduc.com/blog2012.aspx?bid=44694989
worlduc.com/blog2012.aspx?bid=44694991
worlduc.com/blog2012.aspx?bid=44694993
worlduc.com/blog2012.aspx?bid=44694994
worlduc.com/blog2012.aspx?bid=44694995
worlduc.com/blog2012.aspx?bid=44694996
worlduc.com/blog2012.aspx?bid=44694999
worlduc.com/blog2012.aspx?bid=44695002
worlduc.com/blog2012.aspx?bid=44695003
worlduc.com/blog2012.aspx?bid=44695005
worlduc.com/blog2012.aspx?bid=44695006
worlduc.com/blog2012.aspx?bid=44695007
worlduc.com/blog2012.aspx?bid=44695008
worlduc.com/blog2012.aspx?bid=44695009
worlduc.com/blog2012.aspx?bid=44695010
worlduc.com/blog2012.aspx?bid=44695011
worlduc.com/blog2012.aspx?bid=44695012
worlduc.com/blog2012.aspx?bid=44695015
worlduc.com/blog2012.aspx?bid=44695016
worlduc.com/blog2012.aspx?bid=44695017
worlduc.com/blog2012.aspx?bid=44695018
worlduc.com/blog2012.aspx?bid=44695019
worlduc.com/blog2012.aspx?bid=44695020
worlduc.com/blog2012.aspx?bid=44695021
worlduc.com/blog2012.aspx?bid=44695023
worlduc.com/blog2012.aspx?bid=44695024
worlduc.com/blog2012.aspx?bid=44695025
worlduc.com/blog2012.aspx?bid=44695026
worlduc.com/blog2012.aspx?bid=44695027
worlduc.com/blog2012.aspx?bid=44695028
worlduc.com/blog2012.aspx?bid=44695030
worlduc.com/blog2012.aspx?bid=44695029
worlduc.com/blog2012.aspx?bid=44695031
worlduc.com/blog2012.aspx?bid=44695032
worlduc.com/blog2012.aspx?bid=44695033
worlduc.com/blog2012.aspx?bid=44695034
worlduc.com/blog2012.aspx?bid=44695037
worlduc.com/blog2012.aspx?bid=44695036
worlduc.com/blog2012.aspx?bid=44695038
worlduc.com/blog2012.aspx?bid=44695039
worlduc.com/blog2012.aspx?bid=44695041
worlduc.com/blog2012.aspx?bid=44695042
worlduc.com/blog2012.aspx?bid=44695044
worlduc.com/blog2012.aspx?bid=44695045
worlduc.com/blog2012.aspx?bid=44695046
worlduc.com/blog2012.aspx?bid=44695047
worlduc.com/blog2012.aspx?bid=44695048
worlduc.com/blog2012.aspx?bid=44695049
worlduc.com/blog2012.aspx?bid=44695050
worlduc.com/blog2012.aspx?bid=44695052
worlduc.com/blog2012.aspx?bid=44695055
worlduc.com/blog2012.aspx?bid=44695057
worlduc.com/blog2012.aspx?bid=44695060
worlduc.com/blog2012.aspx?bid=44695063
worlduc.com/blog2012.aspx?bid=44695064
worlduc.com/blog2012.aspx?bid=44695065
worlduc.com/blog2012.aspx?bid=44695066
worlduc.com/blog2012.aspx?bid=44695067
worlduc.com/blog2012.aspx?bid=44695068
worlduc.com/blog2012.aspx?bid=44695069
worlduc.com/blog2012.aspx?bid=44695071
worlduc.com/blog2012.aspx?bid=44695073
worlduc.com/blog2012.aspx?bid=44695074
worlduc.com/blog2012.aspx?bid=44695076
worlduc.com/blog2012.aspx?bid=44695077
worlduc.com/blog2012.aspx?bid=44695075
worlduc.com/blog2012.aspx?bid=44695078
worlduc.com/blog2012.aspx?bid=44695079
worlduc.com/blog2012.aspx?bid=44695080
worlduc.com/blog2012.aspx?bid=44695082
worlduc.com/blog2012.aspx?bid=44695083
worlduc.com/blog2012.aspx?bid=44695085
worlduc.com/blog2012.aspx?bid=44695086
worlduc.com/blog2012.aspx?bid=44695087
worlduc.com/blog2012.aspx?bid=44695088
worlduc.com/blog2012.aspx?bid=44695089
worlduc.com/blog2012.aspx?bid=44695090
worlduc.com/blog2012.aspx?bid=44695091
worlduc.com/blog2012.aspx?bid=44695092
worlduc.com/blog2012.aspx?bid=44695093
worlduc.com/blog2012.aspx?bid=44695095
worlduc.com/blog2012.aspx?bid=44695096
worlduc.com/blog2012.aspx?bid=44695094
worlduc.com/blog2012.aspx?bid=44695097
worlduc.com/blog2012.aspx?bid=44695099
worlduc.com/blog2012.aspx?bid=44695101
worlduc.com/blog2012.aspx?bid=44695100
worlduc.com/blog2012.aspx?bid=44695103
worlduc.com/blog2012.aspx?bid=44695107
worlduc.com/blog2012.aspx?bid=44695110
worlduc.com/blog2012.aspx?bid=44695112
worlduc.com/blog2012.aspx?bid=44695106
worlduc.com/blog2012.aspx?bid=44695114
worlduc.com/blog2012.aspx?bid=44695115
worlduc.com/blog2012.aspx?bid=44695118
worlduc.com/blog2012.aspx?bid=44695119
worlduc.com/blog2012.aspx?bid=44695123
worlduc.com/blog2012.aspx?bid=44695124
worlduc.com/blog2012.aspx?bid=44695128
worlduc.com/blog2012.aspx?bid=44695130
worlduc.com/blog2012.aspx?bid=44695131
worlduc.com/blog2012.aspx?bid=44695132
worlduc.com/blog2012.aspx?bid=44695135
worlduc.com/blog2012.aspx?bid=44695139
worlduc.com/blog2012.aspx?bid=44695142
worlduc.com/blog2012.aspx?bid=44695140
worlduc.com/blog2012.aspx?bid=44695143
worlduc.com/blog2012.aspx?bid=44695146
worlduc.com/blog2012.aspx?bid=44695147
worlduc.com/blog2012.aspx?bid=44695149
worlduc.com/blog2012.aspx?bid=44695150
worlduc.com/blog2012.aspx?bid=44695151
worlduc.com/blog2012.aspx?bid=44695153
worlduc.com/blog2012.aspx?bid=44695154
worlduc.com/blog2012.aspx?bid=44695156
worlduc.com/blog2012.aspx?bid=44695158
worlduc.com/blog2012.aspx?bid=44695159
worlduc.com/blog2012.aspx?bid=44695160
worlduc.com/blog2012.aspx?bid=44695162
worlduc.com/blog2012.aspx?bid=44695163
worlduc.com/blog2012.aspx?bid=44695164
worlduc.com/blog2012.aspx?bid=44695169
worlduc.com/blog2012.aspx?bid=44695170
worlduc.com/blog2012.aspx?bid=44695171
worlduc.com/blog2012.aspx?bid=44695172
worlduc.com/blog2012.aspx?bid=44695173
worlduc.com/blog2012.aspx?bid=44695175
worlduc.com/blog2012.aspx?bid=44695176
worlduc.com/blog2012.aspx?bid=44695179
worlduc.com/blog2012.aspx?bid=44695178
worlduc.com/blog2012.aspx?bid=44695184
worlduc.com/blog2012.aspx?bid=44695187
worlduc.com/blog2012.aspx?bid=44695185
worlduc.com/blog2012.aspx?bid=44695188
worlduc.com/blog2012.aspx?bid=44695198
worlduc.com/blog2012.aspx?bid=44695193
worlduc.com/blog2012.aspx?bid=44695202
worlduc.com/blog2012.aspx?bid=44695205
worlduc.com/blog2012.aspx?bid=44695206
worlduc.com/blog2012.aspx?bid=44695207
worlduc.com/blog2012.aspx?bid=44695210
worlduc.com/blog2012.aspx?bid=44695211
worlduc.com/blog2012.aspx?bid=44695213
worlduc.com/blog2012.aspx?bid=44695214
worlduc.com/blog2012.aspx?bid=44695217
worlduc.com/blog2012.aspx?bid=44695218
worlduc.com/blog2012.aspx?bid=44695220
worlduc.com/blog2012.aspx?bid=44695223
worlduc.com/blog2012.aspx?bid=44695225
worlduc.com/blog2012.aspx?bid=44695227
worlduc.com/blog2012.aspx?bid=44695229
worlduc.com/blog2012.aspx?bid=44695228
worlduc.com/blog2012.aspx?bid=44695234
worlduc.com/blog2012.aspx?bid=44695235
worlduc.com/blog2012.aspx?bid=44695236
worlduc.com/blog2012.aspx?bid=44695237
worlduc.com/blog2012.aspx?bid=44695242
worlduc.com/blog2012.aspx?bid=44695243
worlduc.com/blog2012.aspx?bid=44695244
worlduc.com/blog2012.aspx?bid=44695250
worlduc.com/blog2012.aspx?bid=44695251
worlduc.com/blog2012.aspx?bid=44695252
worlduc.com/blog2012.aspx?bid=44695258
worlduc.com/blog2012.aspx?bid=44695262
worlduc.com/blog2012.aspx?bid=44695264
worlduc.com/blog2012.aspx?bid=44695266
worlduc.com/blog2012.aspx?bid=44695265
worlduc.com/blog2012.aspx?bid=44695270
worlduc.com/blog2012.aspx?bid=44695272
worlduc.com/blog2012.aspx?bid=44695276
worlduc.com/blog2012.aspx?bid=44695278
worlduc.com/blog2012.aspx?bid=44695279
worlduc.com/blog2012.aspx?bid=44695280
worlduc.com/blog2012.aspx?bid=44695285
worlduc.com/blog2012.aspx?bid=44695287
worlduc.com/blog2012.aspx?bid=44695288
worlduc.com/blog2012.aspx?bid=44695289
worlduc.com/blog2012.aspx?bid=44695291
worlduc.com/blog2012.aspx?bid=44695295
worlduc.com/blog2012.aspx?bid=44695297
worlduc.com/blog2012.aspx?bid=44695299
worlduc.com/blog2012.aspx?bid=44695301
worlduc.com/blog2012.aspx?bid=44695302
worlduc.com/blog2012.aspx?bid=44695308
worlduc.com/blog2012.aspx?bid=44695309
worlduc.com/blog2012.aspx?bid=44695311
worlduc.com/blog2012.aspx?bid=44695314
worlduc.com/blog2012.aspx?bid=44695317
worlduc.com/blog2012.aspx?bid=44695318
worlduc.com/blog2012.aspx?bid=44695321
worlduc.com/blog2012.aspx?bid=44695323
worlduc.com/blog2012.aspx?bid=44695326
worlduc.com/blog2012.aspx?bid=44695324
worlduc.com/blog2012.aspx?bid=44695329
worlduc.com/blog2012.aspx?bid=44695331
worlduc.com/blog2012.aspx?bid=44695332
worlduc.com/blog2012.aspx?bid=44695334
worlduc.com/blog2012.aspx?bid=44695337
worlduc.com/blog2012.aspx?bid=44695340
worlduc.com/blog2012.aspx?bid=44695341
worlduc.com/blog2012.aspx?bid=44695342
worlduc.com/blog2012.aspx?bid=44695346
worlduc.com/blog2012.aspx?bid=44695347
worlduc.com/blog2012.aspx?bid=44695348
worlduc.com/blog2012.aspx?bid=44695349
worlduc.com/blog2012.aspx?bid=44695352
worlduc.com/blog2012.aspx?bid=44695353
worlduc.com/blog2012.aspx?bid=44695354
worlduc.com/blog2012.aspx?bid=44695355
worlduc.com/blog2012.aspx?bid=44695356
worlduc.com/blog2012.aspx?bid=44695357
worlduc.com/blog2012.aspx?bid=44695358
worlduc.com/blog2012.aspx?bid=44695360
worlduc.com/blog2012.aspx?bid=44695359
worlduc.com/blog2012.aspx?bid=44695363
worlduc.com/blog2012.aspx?bid=44695364
worlduc.com/blog2012.aspx?bid=44695365
worlduc.com/blog2012.aspx?bid=44695366
worlduc.com/blog2012.aspx?bid=44695367
worlduc.com/blog2012.aspx?bid=44695368
worlduc.com/blog2012.aspx?bid=44695369
worlduc.com/blog2012.aspx?bid=44695370
worlduc.com/blog2012.aspx?bid=44695372
worlduc.com/blog2012.aspx?bid=44695373
worlduc.com/blog2012.aspx?bid=44695374
worlduc.com/blog2012.aspx?bid=44695375
worlduc.com/blog2012.aspx?bid=44695377
worlduc.com/blog2012.aspx?bid=44695376
worlduc.com/blog2012.aspx?bid=44695378
worlduc.com/blog2012.aspx?bid=44695379
worlduc.com/blog2012.aspx?bid=44695381
worlduc.com/blog2012.aspx?bid=44695383
worlduc.com/blog2012.aspx?bid=44695382
worlduc.com/blog2012.aspx?bid=44695384
worlduc.com/blog2012.aspx?bid=44695385
worlduc.com/blog2012.aspx?bid=44695386
worlduc.com/blog2012.aspx?bid=44695390
worlduc.com/blog2012.aspx?bid=44695389
worlduc.com/blog2012.aspx?bid=44695391
worlduc.com/blog2012.aspx?bid=44695388
worlduc.com/blog2012.aspx?bid=44695394
worlduc.com/blog2012.aspx?bid=44695395
worlduc.com/blog2012.aspx?bid=44695397
worlduc.com/blog2012.aspx?bid=44695396
worlduc.com/blog2012.aspx?bid=44695398
worlduc.com/blog2012.aspx?bid=44695399
worlduc.com/blog2012.aspx?bid=44695400
worlduc.com/blog2012.aspx?bid=44695401
worlduc.com/blog2012.aspx?bid=44695402
worlduc.com/blog2012.aspx?bid=44695403
worlduc.com/blog2012.aspx?bid=44695405
worlduc.com/blog2012.aspx?bid=44695406
worlduc.com/blog2012.aspx?bid=44695407
worlduc.com/blog2012.aspx?bid=44695408
worlduc.com/blog2012.aspx?bid=44695410
worlduc.com/blog2012.aspx?bid=44695411
worlduc.com/blog2012.aspx?bid=44695414
worlduc.com/blog2012.aspx?bid=44695415
worlduc.com/blog2012.aspx?bid=44695416
worlduc.com/blog2012.aspx?bid=44695420
worlduc.com/blog2012.aspx?bid=44695418
worlduc.com/blog2012.aspx?bid=44695424
worlduc.com/blog2012.aspx?bid=44695425
worlduc.com/blog2012.aspx?bid=44695426
worlduc.com/blog2012.aspx?bid=44695427
worlduc.com/blog2012.aspx?bid=44695429
worlduc.com/blog2012.aspx?bid=44695428
worlduc.com/blog2012.aspx?bid=44695430
worlduc.com/blog2012.aspx?bid=44695431
worlduc.com/blog2012.aspx?bid=44695432
worlduc.com/blog2012.aspx?bid=44695433
worlduc.com/blog2012.aspx?bid=44695434
worlduc.com/blog2012.aspx?bid=44695435
worlduc.com/blog2012.aspx?bid=44695437
worlduc.com/blog2012.aspx?bid=44695436
worlduc.com/blog2012.aspx?bid=44695438
worlduc.com/blog2012.aspx?bid=44695439
worlduc.com/blog2012.aspx?bid=44695440
worlduc.com/blog2012.aspx?bid=44695441
worlduc.com/blog2012.aspx?bid=44695443
worlduc.com/blog2012.aspx?bid=44695444
worlduc.com/blog2012.aspx?bid=44695445
worlduc.com/blog2012.aspx?bid=44695446
worlduc.com/blog2012.aspx?bid=44695447
worlduc.com/blog2012.aspx?bid=44695449
worlduc.com/blog2012.aspx?bid=44695450
worlduc.com/blog2012.aspx?bid=44695451
worlduc.com/blog2012.aspx?bid=44695452
worlduc.com/blog2012.aspx?bid=44695453
worlduc.com/blog2012.aspx?bid=44695454
worlduc.com/blog2012.aspx?bid=44695455
worlduc.com/blog2012.aspx?bid=44695456
worlduc.com/blog2012.aspx?bid=44695457
worlduc.com/blog2012.aspx?bid=44695459
worlduc.com/blog2012.aspx?bid=44695460
worlduc.com/blog2012.aspx?bid=44695461
worlduc.com/blog2012.aspx?bid=44695463
worlduc.com/blog2012.aspx?bid=44695464
worlduc.com/blog2012.aspx?bid=44695465
worlduc.com/blog2012.aspx?bid=44695466
worlduc.com/blog2012.aspx?bid=44695467
worlduc.com/blog2012.aspx?bid=44695468
worlduc.com/blog2012.aspx?bid=44695469
worlduc.com/blog2012.aspx?bid=44695472
worlduc.com/blog2012.aspx?bid=44695473
worlduc.com/blog2012.aspx?bid=44695474
worlduc.com/blog2012.aspx?bid=44695475
worlduc.com/blog2012.aspx?bid=44695476
worlduc.com/blog2012.aspx?bid=44695478
worlduc.com/blog2012.aspx?bid=44695477
worlduc.com/blog2012.aspx?bid=44695479
worlduc.com/blog2012.aspx?bid=44695481
worlduc.com/blog2012.aspx?bid=44695482
worlduc.com/blog2012.aspx?bid=44695483
worlduc.com/blog2012.aspx?bid=44695484
worlduc.com/blog2012.aspx?bid=44695486
worlduc.com/blog2012.aspx?bid=44695487
worlduc.com/blog2012.aspx?bid=44695488
worlduc.com/blog2012.aspx?bid=44695490
worlduc.com/blog2012.aspx?bid=44695491
worlduc.com/blog2012.aspx?bid=44695493
worlduc.com/blog2012.aspx?bid=44695495
worlduc.com/blog2012.aspx?bid=44695497
worlduc.com/blog2012.aspx?bid=44695499
worlduc.com/blog2012.aspx?bid=44695500
worlduc.com/blog2012.aspx?bid=44695501
worlduc.com/blog2012.aspx?bid=44695502
worlduc.com/blog2012.aspx?bid=44695503
worlduc.com/blog2012.aspx?bid=44695504
worlduc.com/blog2012.aspx?bid=44695507
worlduc.com/blog2012.aspx?bid=44695508
worlduc.com/blog2012.aspx?bid=44695509
worlduc.com/blog2012.aspx?bid=44695510
worlduc.com/blog2012.aspx?bid=44695511
worlduc.com/blog2012.aspx?bid=44695514
worlduc.com/blog2012.aspx?bid=44695513
worlduc.com/blog2012.aspx?bid=44695515
worlduc.com/blog2012.aspx?bid=44695517
worlduc.com/blog2012.aspx?bid=44695520
worlduc.com/blog2012.aspx?bid=44695521
worlduc.com/blog2012.aspx?bid=44695522
worlduc.com/blog2012.aspx?bid=44695526
worlduc.com/blog2012.aspx?bid=44695527
worlduc.com/blog2012.aspx?bid=44695529
worlduc.com/blog2012.aspx?bid=44695530
worlduc.com/blog2012.aspx?bid=44695532
worlduc.com/blog2012.aspx?bid=44695533
worlduc.com/blog2012.aspx?bid=44695531
worlduc.com/blog2012.aspx?bid=44695534
worlduc.com/blog2012.aspx?bid=44695535
worlduc.com/blog2012.aspx?bid=44695536
worlduc.com/blog2012.aspx?bid=44695537
worlduc.com/blog2012.aspx?bid=44695538
worlduc.com/blog2012.aspx?bid=44695539
worlduc.com/blog2012.aspx?bid=44695540
worlduc.com/blog2012.aspx?bid=44695541
worlduc.com/blog2012.aspx?bid=44695542
worlduc.com/blog2012.aspx?bid=44695544
worlduc.com/blog2012.aspx?bid=44695545
worlduc.com/blog2012.aspx?bid=44695547
worlduc.com/blog2012.aspx?bid=44695550
worlduc.com/blog2012.aspx?bid=44695552
worlduc.com/blog2012.aspx?bid=44695553
worlduc.com/blog2012.aspx?bid=44695554
worlduc.com/blog2012.aspx?bid=44695555
worlduc.com/blog2012.aspx?bid=44695556
worlduc.com/blog2012.aspx?bid=44695557
worlduc.com/blog2012.aspx?bid=44695562
worlduc.com/blog2012.aspx?bid=44695563
worlduc.com/blog2012.aspx?bid=44695561
worlduc.com/blog2012.aspx?bid=44695564
worlduc.com/blog2012.aspx?bid=44695565
worlduc.com/blog2012.aspx?bid=44695566
worlduc.com/blog2012.aspx?bid=44695569
worlduc.com/blog2012.aspx?bid=44695568
worlduc.com/blog2012.aspx?bid=44695571
worlduc.com/blog2012.aspx?bid=44695574
worlduc.com/blog2012.aspx?bid=44695575
worlduc.com/blog2012.aspx?bid=44695576
worlduc.com/blog2012.aspx?bid=44695578
worlduc.com/blog2012.aspx?bid=44695581
worlduc.com/blog2012.aspx?bid=44695582
worlduc.com/blog2012.aspx?bid=44695583
worlduc.com/blog2012.aspx?bid=44695584
worlduc.com/blog2012.aspx?bid=44695585
worlduc.com/blog2012.aspx?bid=44695586
worlduc.com/blog2012.aspx?bid=44695587
worlduc.com/blog2012.aspx?bid=44695588
worlduc.com/blog2012.aspx?bid=44695590
worlduc.com/blog2012.aspx?bid=44695594
worlduc.com/blog2012.aspx?bid=44695592
worlduc.com/blog2012.aspx?bid=44695596
worlduc.com/blog2012.aspx?bid=44695598
worlduc.com/blog2012.aspx?bid=44695599
worlduc.com/blog2012.aspx?bid=44695601
worlduc.com/blog2012.aspx?bid=44695602
worlduc.com/blog2012.aspx?bid=44695603
worlduc.com/blog2012.aspx?bid=44695607
worlduc.com/blog2012.aspx?bid=44695604
worlduc.com/blog2012.aspx?bid=44695606
worlduc.com/blog2012.aspx?bid=44695609
worlduc.com/blog2012.aspx?bid=44695610
worlduc.com/blog2012.aspx?bid=44695611
worlduc.com/blog2012.aspx?bid=44695612
worlduc.com/blog2012.aspx?bid=44695613
worlduc.com/blog2012.aspx?bid=44695614
worlduc.com/blog2012.aspx?bid=44695615
worlduc.com/blog2012.aspx?bid=44695616
worlduc.com/blog2012.aspx?bid=44695618
worlduc.com/blog2012.aspx?bid=44695619
worlduc.com/blog2012.aspx?bid=44695620
worlduc.com/blog2012.aspx?bid=44695622
worlduc.com/blog2012.aspx?bid=44695624
worlduc.com/blog2012.aspx?bid=44695625
worlduc.com/blog2012.aspx?bid=44695626
worlduc.com/blog2012.aspx?bid=44695628
worlduc.com/blog2012.aspx?bid=44695627
worlduc.com/blog2012.aspx?bid=44695631
worlduc.com/blog2012.aspx?bid=44695632
worlduc.com/blog2012.aspx?bid=44695633
worlduc.com/blog2012.aspx?bid=44695634
worlduc.com/blog2012.aspx?bid=44695636
worlduc.com/blog2012.aspx?bid=44695637
worlduc.com/blog2012.aspx?bid=44695640
worlduc.com/blog2012.aspx?bid=44695642
worlduc.com/blog2012.aspx?bid=44695644
worlduc.com/blog2012.aspx?bid=44695643
worlduc.com/blog2012.aspx?bid=44695646
worlduc.com/blog2012.aspx?bid=44695647
worlduc.com/blog2012.aspx?bid=44695650
worlduc.com/blog2012.aspx?bid=44695649
worlduc.com/blog2012.aspx?bid=44695652
worlduc.com/blog2012.aspx?bid=44695654
worlduc.com/blog2012.aspx?bid=44695655
worlduc.com/blog2012.aspx?bid=44695656
worlduc.com/blog2012.aspx?bid=44695658
worlduc.com/blog2012.aspx?bid=44695659
worlduc.com/blog2012.aspx?bid=44695661
worlduc.com/blog2012.aspx?bid=44695662
worlduc.com/blog2012.aspx?bid=44695663
worlduc.com/blog2012.aspx?bid=44695664
worlduc.com/blog2012.aspx?bid=44695667
worlduc.com/blog2012.aspx?bid=44695666
worlduc.com/blog2012.aspx?bid=44695671
worlduc.com/blog2012.aspx?bid=44695673
worlduc.com/blog2012.aspx?bid=44695676
worlduc.com/blog2012.aspx?bid=44695674
worlduc.com/blog2012.aspx?bid=44695678
worlduc.com/blog2012.aspx?bid=44695681
worlduc.com/blog2012.aspx?bid=44695682
worlduc.com/blog2012.aspx?bid=44695685
worlduc.com/blog2012.aspx?bid=44695686
worlduc.com/blog2012.aspx?bid=44695690
worlduc.com/blog2012.aspx?bid=44695691
worlduc.com/blog2012.aspx?bid=44695693
worlduc.com/blog2012.aspx?bid=44695694
worlduc.com/blog2012.aspx?bid=44695695
worlduc.com/blog2012.aspx?bid=44695697
worlduc.com/blog2012.aspx?bid=44695698
worlduc.com/blog2012.aspx?bid=44695699
worlduc.com/blog2012.aspx?bid=44695700
worlduc.com/blog2012.aspx?bid=44695704
worlduc.com/blog2012.aspx?bid=44695705
worlduc.com/blog2012.aspx?bid=44695707
worlduc.com/blog2012.aspx?bid=44695710
worlduc.com/blog2012.aspx?bid=44695706
worlduc.com/blog2012.aspx?bid=44695709
worlduc.com/blog2012.aspx?bid=44695712
worlduc.com/blog2012.aspx?bid=44695713
worlduc.com/blog2012.aspx?bid=44695714
worlduc.com/blog2012.aspx?bid=44695718
worlduc.com/blog2012.aspx?bid=44695717
worlduc.com/blog2012.aspx?bid=44695716
worlduc.com/blog2012.aspx?bid=44695719
worlduc.com/blog2012.aspx?bid=44695721
worlduc.com/blog2012.aspx?bid=44695722
worlduc.com/blog2012.aspx?bid=44695723
worlduc.com/blog2012.aspx?bid=44695724
worlduc.com/blog2012.aspx?bid=44695725
worlduc.com/blog2012.aspx?bid=44695726
worlduc.com/blog2012.aspx?bid=44695727
worlduc.com/blog2012.aspx?bid=44695729
worlduc.com/blog2012.aspx?bid=44695730
worlduc.com/blog2012.aspx?bid=44695731
worlduc.com/blog2012.aspx?bid=44695733
worlduc.com/blog2012.aspx?bid=44695734
worlduc.com/blog2012.aspx?bid=44695735
worlduc.com/blog2012.aspx?bid=44695736
worlduc.com/blog2012.aspx?bid=44695737
worlduc.com/blog2012.aspx?bid=44695738
worlduc.com/blog2012.aspx?bid=44695739
worlduc.com/blog2012.aspx?bid=44695741
worlduc.com/blog2012.aspx?bid=44695743
worlduc.com/blog2012.aspx?bid=44695742
worlduc.com/blog2012.aspx?bid=44695745
worlduc.com/blog2012.aspx?bid=44695746
worlduc.com/blog2012.aspx?bid=44695756
worlduc.com/blog2012.aspx?bid=44695758
worlduc.com/blog2012.aspx?bid=44695762
worlduc.com/blog2012.aspx?bid=44695764
worlduc.com/blog2012.aspx?bid=44695765
worlduc.com/blog2012.aspx?bid=44695767
worlduc.com/blog2012.aspx?bid=44695771
worlduc.com/blog2012.aspx?bid=44695772
worlduc.com/blog2012.aspx?bid=44695774
worlduc.com/blog2012.aspx?bid=44695776
worlduc.com/blog2012.aspx?bid=44695778
worlduc.com/blog2012.aspx?bid=44695779
worlduc.com/blog2012.aspx?bid=44695787
worlduc.com/blog2012.aspx?bid=44695788
worlduc.com/blog2012.aspx?bid=44695789
worlduc.com/blog2012.aspx?bid=44695792
worlduc.com/blog2012.aspx?bid=44695791
worlduc.com/blog2012.aspx?bid=44695793
worlduc.com/blog2012.aspx?bid=44695794
worlduc.com/blog2012.aspx?bid=44695796
worlduc.com/blog2012.aspx?bid=44695801
worlduc.com/blog2012.aspx?bid=44695800
worlduc.com/blog2012.aspx?bid=44695802
worlduc.com/blog2012.aspx?bid=44695807
worlduc.com/blog2012.aspx?bid=44695804
worlduc.com/blog2012.aspx?bid=44695813
worlduc.com/blog2012.aspx?bid=44695812
worlduc.com/blog2012.aspx?bid=44695815
worlduc.com/blog2012.aspx?bid=44695819
worlduc.com/blog2012.aspx?bid=44695823
worlduc.com/blog2012.aspx?bid=44695824
worlduc.com/blog2012.aspx?bid=44695829
worlduc.com/blog2012.aspx?bid=44695830
worlduc.com/blog2012.aspx?bid=44695832
worlduc.com/blog2012.aspx?bid=44695834
worlduc.com/blog2012.aspx?bid=44695839
worlduc.com/blog2012.aspx?bid=44695840
worlduc.com/blog2012.aspx?bid=44695845
worlduc.com/blog2012.aspx?bid=44695847
worlduc.com/blog2012.aspx?bid=44695848
worlduc.com/blog2012.aspx?bid=44695850
worlduc.com/blog2012.aspx?bid=44695855
worlduc.com/blog2012.aspx?bid=44695856
worlduc.com/blog2012.aspx?bid=44695857
worlduc.com/blog2012.aspx?bid=44695859
worlduc.com/blog2012.aspx?bid=44695861
worlduc.com/blog2012.aspx?bid=44695864
worlduc.com/blog2012.aspx?bid=44695868
worlduc.com/blog2012.aspx?bid=44695869
worlduc.com/blog2012.aspx?bid=44695871
worlduc.com/blog2012.aspx?bid=44695873
worlduc.com/blog2012.aspx?bid=44695878
worlduc.com/blog2012.aspx?bid=44695879
worlduc.com/blog2012.aspx?bid=44695882
worlduc.com/blog2012.aspx?bid=44695885
worlduc.com/blog2012.aspx?bid=44695893
worlduc.com/blog2012.aspx?bid=44695895
worlduc.com/blog2012.aspx?bid=44695897
worlduc.com/blog2012.aspx?bid=44695900
worlduc.com/blog2012.aspx?bid=44695901
worlduc.com/blog2012.aspx?bid=44695903
worlduc.com/blog2012.aspx?bid=44695904
worlduc.com/blog2012.aspx?bid=44695908
worlduc.com/blog2012.aspx?bid=44695909
worlduc.com/blog2012.aspx?bid=44695910
worlduc.com/blog2012.aspx?bid=44695912
worlduc.com/blog2012.aspx?bid=44695917
worlduc.com/blog2012.aspx?bid=44695918
worlduc.com/blog2012.aspx?bid=44695922
worlduc.com/blog2012.aspx?bid=44695923
worlduc.com/blog2012.aspx?bid=44695930
worlduc.com/blog2012.aspx?bid=44695935
worlduc.com/blog2012.aspx?bid=44695950
worlduc.com/blog2012.aspx?bid=44695952
worlduc.com/blog2012.aspx?bid=44695963
worlduc.com/blog2012.aspx?bid=44695974
worlduc.com/blog2012.aspx?bid=44695975
worlduc.com/blog2012.aspx?bid=44695984
worlduc.com/blog2012.aspx?bid=44695988
worlduc.com/blog2012.aspx?bid=44695990
worlduc.com/blog2012.aspx?bid=44696006
worlduc.com/blog2012.aspx?bid=44696012
worlduc.com/blog2012.aspx?bid=44696014
worlduc.com/blog2012.aspx?bid=44696015
worlduc.com/blog2012.aspx?bid=44696024
worlduc.com/blog2012.aspx?bid=44696027
worlduc.com/blog2012.aspx?bid=44696031
worlduc.com/blog2012.aspx?bid=44696029
worlduc.com/blog2012.aspx?bid=44696047
worlduc.com/blog2012.aspx?bid=44696050
worlduc.com/blog2012.aspx?bid=44696057
worlduc.com/blog2012.aspx?bid=44696066
worlduc.com/blog2012.aspx?bid=44696071
worlduc.com/blog2012.aspx?bid=44696074
worlduc.com/blog2012.aspx?bid=44696081
worlduc.com/blog2012.aspx?bid=44696086
worlduc.com/blog2012.aspx?bid=44696085
worlduc.com/blog2012.aspx?bid=44696095
worlduc.com/blog2012.aspx?bid=44696098
worlduc.com/blog2012.aspx?bid=44696107
worlduc.com/blog2012.aspx?bid=44696105
worlduc.com/blog2012.aspx?bid=44696124
worlduc.com/blog2012.aspx?bid=44696126
worlduc.com/blog2012.aspx?bid=44696127
worlduc.com/blog2012.aspx?bid=44696128
worlduc.com/blog2012.aspx?bid=44696133
worlduc.com/blog2012.aspx?bid=44696131
worlduc.com/blog2012.aspx?bid=44696135
worlduc.com/blog2012.aspx?bid=44696137
worlduc.com/blog2012.aspx?bid=44696138
worlduc.com/blog2012.aspx?bid=44696139
worlduc.com/blog2012.aspx?bid=44696140
worlduc.com/blog2012.aspx?bid=44696141
worlduc.com/blog2012.aspx?bid=44696142
worlduc.com/blog2012.aspx?bid=44696147
worlduc.com/blog2012.aspx?bid=44696143
worlduc.com/blog2012.aspx?bid=44696149
worlduc.com/blog2012.aspx?bid=44696150
worlduc.com/blog2012.aspx?bid=44696151
worlduc.com/blog2012.aspx?bid=44696152
worlduc.com/blog2012.aspx?bid=44696153
worlduc.com/blog2012.aspx?bid=44696155
worlduc.com/blog2012.aspx?bid=44696156
worlduc.com/blog2012.aspx?bid=44696158
worlduc.com/blog2012.aspx?bid=44696159
worlduc.com/blog2012.aspx?bid=44696160
worlduc.com/blog2012.aspx?bid=44696161
worlduc.com/blog2012.aspx?bid=44696162
worlduc.com/blog2012.aspx?bid=44696166
worlduc.com/blog2012.aspx?bid=44696168
worlduc.com/blog2012.aspx?bid=44696170
worlduc.com/blog2012.aspx?bid=44696173
worlduc.com/blog2012.aspx?bid=44696174
worlduc.com/blog2012.aspx?bid=44696175
worlduc.com/blog2012.aspx?bid=44696176
worlduc.com/blog2012.aspx?bid=44696177
worlduc.com/blog2012.aspx?bid=44696178
worlduc.com/blog2012.aspx?bid=44696179
worlduc.com/blog2012.aspx?bid=44696181
worlduc.com/blog2012.aspx?bid=44696182
worlduc.com/blog2012.aspx?bid=44696183
worlduc.com/blog2012.aspx?bid=44696184
worlduc.com/blog2012.aspx?bid=44696186
worlduc.com/blog2012.aspx?bid=44696187
worlduc.com/blog2012.aspx?bid=44696188
worlduc.com/blog2012.aspx?bid=44696189
worlduc.com/blog2012.aspx?bid=44696191
worlduc.com/blog2012.aspx?bid=44696193
worlduc.com/blog2012.aspx?bid=44696194
worlduc.com/blog2012.aspx?bid=44696195
worlduc.com/blog2012.aspx?bid=44696197
worlduc.com/blog2012.aspx?bid=44696198
worlduc.com/blog2012.aspx?bid=44696200
worlduc.com/blog2012.aspx?bid=44696201
worlduc.com/blog2012.aspx?bid=44696203
worlduc.com/blog2012.aspx?bid=44696205
worlduc.com/blog2012.aspx?bid=44696206
worlduc.com/blog2012.aspx?bid=44696207
worlduc.com/blog2012.aspx?bid=44696209
worlduc.com/blog2012.aspx?bid=44696211
worlduc.com/blog2012.aspx?bid=44696212
worlduc.com/blog2012.aspx?bid=44696213
worlduc.com/blog2012.aspx?bid=44696214
worlduc.com/blog2012.aspx?bid=44696215
worlduc.com/blog2012.aspx?bid=44696216
worlduc.com/blog2012.aspx?bid=44696217
worlduc.com/blog2012.aspx?bid=44696218
worlduc.com/blog2012.aspx?bid=44696219
worlduc.com/blog2012.aspx?bid=44696220
worlduc.com/blog2012.aspx?bid=44696221
worlduc.com/blog2012.aspx?bid=44696225
worlduc.com/blog2012.aspx?bid=44696222
worlduc.com/blog2012.aspx?bid=44696226
worlduc.com/blog2012.aspx?bid=44696227
worlduc.com/blog2012.aspx?bid=44696228
worlduc.com/blog2012.aspx?bid=44696229
worlduc.com/blog2012.aspx?bid=44696231
worlduc.com/blog2012.aspx?bid=44696232
worlduc.com/blog2012.aspx?bid=44696234
worlduc.com/blog2012.aspx?bid=44696233
worlduc.com/blog2012.aspx?bid=44696236
worlduc.com/blog2012.aspx?bid=44696237
worlduc.com/blog2012.aspx?bid=44696239
worlduc.com/blog2012.aspx?bid=44696238
worlduc.com/blog2012.aspx?bid=44696242
worlduc.com/blog2012.aspx?bid=44696243
worlduc.com/blog2012.aspx?bid=44696244
worlduc.com/blog2012.aspx?bid=44696245
worlduc.com/blog2012.aspx?bid=44696246
worlduc.com/blog2012.aspx?bid=44696247
worlduc.com/blog2012.aspx?bid=44696248
worlduc.com/blog2012.aspx?bid=44696249
worlduc.com/blog2012.aspx?bid=44696250
worlduc.com/blog2012.aspx?bid=44696251
worlduc.com/blog2012.aspx?bid=44696253
worlduc.com/blog2012.aspx?bid=44696255
worlduc.com/blog2012.aspx?bid=44696263
worlduc.com/blog2012.aspx?bid=44696264
worlduc.com/blog2012.aspx?bid=44696265
worlduc.com/blog2012.aspx?bid=44696268
worlduc.com/blog2012.aspx?bid=44696269
worlduc.com/blog2012.aspx?bid=44696270
worlduc.com/blog2012.aspx?bid=44696273
worlduc.com/blog2012.aspx?bid=44696274
worlduc.com/blog2012.aspx?bid=44696277
worlduc.com/blog2012.aspx?bid=44696283
worlduc.com/blog2012.aspx?bid=44696287
worlduc.com/blog2012.aspx?bid=44696293
worlduc.com/blog2012.aspx?bid=44696294
worlduc.com/blog2012.aspx?bid=44696297
worlduc.com/blog2012.aspx?bid=44696298
worlduc.com/blog2012.aspx?bid=44696299
worlduc.com/blog2012.aspx?bid=44696302
worlduc.com/blog2012.aspx?bid=44696303
worlduc.com/blog2012.aspx?bid=44696304
worlduc.com/blog2012.aspx?bid=44696306
worlduc.com/blog2012.aspx?bid=44696307
worlduc.com/blog2012.aspx?bid=44696310
worlduc.com/blog2012.aspx?bid=44696309
worlduc.com/blog2012.aspx?bid=44696311
worlduc.com/blog2012.aspx?bid=44696312
worlduc.com/blog2012.aspx?bid=44696313
worlduc.com/blog2012.aspx?bid=44696314
worlduc.com/blog2012.aspx?bid=44696318
worlduc.com/blog2012.aspx?bid=44696317
worlduc.com/blog2012.aspx?bid=44696319
worlduc.com/blog2012.aspx?bid=44696323
worlduc.com/blog2012.aspx?bid=44696325
worlduc.com/blog2012.aspx?bid=44696327
worlduc.com/blog2012.aspx?bid=44696329
worlduc.com/blog2012.aspx?bid=44696330
worlduc.com/blog2012.aspx?bid=44696332
PLC编程编程原则
时间: 2024-10-15 00:52:19
PLC编程编程原则的相关文章
PLC梯形图编程练习修改版
PLC梯形图编程练习 交通灯控制 ? 更新:梯形图中引入辅助继电器后,灯不亮的问题得到了解决,同时我也发现原梯形图无法实现计数器的断电复位,且原版梯形图为了测试方便没有严格按照练习要求设定计时时间,新版梯形图对此做出了改进. ? SW2关闭时,红绿灯轮流自动亮比较容易实现,但是把SW2打开(即进入夜间模式)的梯形图加入后,仿真时红灯和绿灯即使得电也不亮. 我猜测原因是梯形图控制的一一对应原则在加入夜间模式的梯形图后出现了问题,我暂时没找出具体问题所在,没有想到较好的改进方案,把仿真失败的梯形图放
面对对象编程七大原则
面对对象编程七大原则: 1. OCP 全称:“Open-Closed Principle” 开放-封闭原则 说明:对扩展开放,对修改关闭. 优点:按照OCP原则设计出来的系统,降低了程序各部分之间的耦合性,其适应性.灵活性.稳定性都比较好.当已有软件系统需要增加新的功能时,不需要对作为系统基础的抽象层进行修改,只需要在原有基础上附加新的模块就能实现所需要添加的功能.增加的新模块对原有的模块完全没有影响或影响很小,这样就无须为原有模块进行重新测试. 如何实现“开-闭”原则 在面向对象设计中,不允许
遵循高效编程之原则
前言:清明时节雨纷纷,路上行人欲断魂.借问酒家何处有?牧童遥指杏花村.对于清明节,想必杜牧这首诗肯定会让你呼之既出.今天是清明放假的最后一天,打扫完家里的卫生,我就必须要抓紧美好的时光来记录下<高效能程序员的修炼>一书第三章"高效编程之原则"的读书札记. 永远都是你的错误 在怨天尤人之前,我们应该做好自我反省,努力先把自身的问题解决了. 这个原则永远都必须去遵守,很多时候,包括我,在遇到一个编程问题的时候,总是"情不自禁"的埋怨到:"这TM都谁
PLC可编程控制器概述
1. 可编程控制器的产生 PLC的诞生 1) 随着半导体技术,尤其是微处理器和微型计算机技术的发展,在20世纪70年代初期.中期,设计制造出可编程逻辑控制器PLC,它能完成顺序控制,仅有逻辑运算.定时.计数等控制功能. 2) 20世纪70年代末至80年代初,可编程控制器的处理速度大提高,增加了许多特殊功能,使得可编程控制器不仅可以进行逻辑控制,而且可以对模拟量进行控制. 3) 20世纪80年代以来,随着大规模和超大规模集成电路技术的迅猛发展,以16位和32位微处
PLC状态机编程第一篇-状态机介绍
状态机的一般概念 过去我在学习PLC编程时,看的大部分书仅仅停留在软件的操作上,没有真正讲述如何组织程序,这里我们讲一个通用的描述控制算法的方法,就是状态机,和SFC很类似,其实SFC也是源于状态机啦.状态机是UML中的概念,在嵌入式开发中应用很广,但在PLC编程中基本没有流行.下面是一张用matlab画的状态机,包含了大部分基本元素.它描述的就是启保停电路,经典的控制...我们会在这个电路的基础上慢慢扩展. 这个状态机中包含两个状态,分别是Off和On,这两个状态只能有一个是激活的,这和SFC
PLC状态机编程-如何在STL中使用状态机
搞PLC编程多年,一直不知道状态机,学习matlab后,发现状态机编程异常方便,过去很多编程时的疑惑豁然开朗起来.今天跟大家分享一下如何在STL中使用状态机. 下面是用状态机描述的控制任务. 这个状态机较简单,那如何在STL中把它描述出来呢? 这里我们选择用JL指令...我就直接上代码了,一看便知.但JL程序只能用来表示单步状态,遇到并行状态就处理不了了..下次我们用ST语言来描述更复杂的状态机.. L #state // 把#state的值载入累加器 JL
PLC及其编程起步[.net]
声明:本人非专业人士,也未从事该领域的工作,若有错误地方,请多包涵. 概述 在工业控制领域,常常提到PLC,也就是Programmable Logic Controller(PLC).随着工业的发展,传统的智能设备之间及智能设备与控制系统之间采用专门驱动程序实现信息共享的通讯方式已不能满足工业控制系统的发展需要.因此,为了能够解决工业系统硬件设备的升级改变为软件系统带来的不便,更好的实现不同设备厂家硬件产品的集成互连,增强系统的稳定性与可靠性,工业自动化软件接口的标准化.统一化成为工业控制领域必
面向对象编程设计原则
1. 单一职责 (SOP Single Responsibility Principle) 2. 里氏替换(LSP Liskov Substitution Principle) 子类必须完全实现父类的方法 注:若子类不能完整地实现父类的方法,或者父类的某些方法在子类中已经发生"畸变",则建议断开父子继承关系,采用依赖,聚集,组合等关系代替继承 子类可以有自己的个性 覆盖或实现父类的方法时输入参数可以被放大 方法中的输入参数为前置条件(即,契约原则,先定义出WSD
编程经验/原则
1.能简单尽量简单,比如:通过三元运算符(一个或者多个)可以完成的操作就不要用switch或者几个if来完成,否则显得多余难看. 2.功能细分成模块,模块分成业务函数,同时要有分层思想.写一个功能的时候,要先把整个功能从头到尾想清楚怎么做,把一个功能拆分成几个小的模块,每个模块在分配到不同的类中去实现,而不要整个功能写在同一个函数里面.并且,要有分层思想,业务逻辑全部写在业务层,要时刻想着功能复用,想着另外还存在几个客户端,而业务层只有一个,并且那个类的功能就写在那个类里面,展现层就只需要业务层