小城萬家
級別: 探索解密
精華主題: 0
發(fā)帖數(shù)量: 27 個
工控威望: 150 點
下載積分: 1068 分
在線時間: 14(小時)
注冊時間: 2014-02-24
最后登錄: 2014-11-25
查看小城萬家的 主題 / 回貼
樓主  發(fā)表于: 2014-04-11 11:24
小弟菜鳥一枚,請教一下這段程序是什么意思,還有這是什么語言,求指點 |[  START OF LD  PROGRAM  ZHOU    ]
|
|[     VARIABLE DECLARATIONS      ]
|
|[       BLOCK DECLARATIONS       ]
                +-------+
        SUBR  1 | STOP  |       LANG: LD  (*                                  *)
                +-------+
                +-------+
        SUBR  2 |INAUTO |       LANG: LD  (*                                  *)
                +-------+
                +-------+
        SUBR  3 |  IN   |       LANG: LD  (*                                  *)
                +-------+
|[     START OF PROGRAM LOGIC     ]
|

|
|%S0001  +-----+         +-----+         +-----+         +-----+                
+--] [---+ BLK_+---------+ BLK_+---------+ BLK_+---------+ BLK_+-------------<+>
|        | CLR_|         | CLR_|         | CLR_|         | CLR_|                
|        | WORD|         | WORD|         | WORD|         | WORD|                
|%Q0001 -+IN   | %M0001 -+IN   | %AI0001-+IN   | %AQ001 -+IN   |                
|        | LEN |         | LEN |         | LEN |         | LEN |                
|        |00032|         |00064|         |00064|         |00064|                
|        +-----+         +-----+         +-----+         +-----+                
|                                                                                           
|        +-----+         +-----+         +-----+                                
+<+>-----+ BLK_+---------+ BLK_+---------+ BLK_+-                               
|        | CLR_|         | CLR_|         | CLR_|                                
|        | WORD|         | WORD|         | WORD|                                
|%I0001 -+IN   | %R0001 -+IN   | %G0001 -+IN   |                                
|        | LEN |         | LEN |         | LEN |                                
|        |00032|         |00001|         |00016|                                
|        +-----+         +-----+         +-----+     

|
|%I0032
+--] [---------------------------------------------------------------->> _LA0001
|

*
*%S0007  +-----+         +-----+
*--] [---+ BLK_+---------+ BLK_+-
*        | CLR_|         | CLR_|
*        | WORD|         | WORD|
*        |     |         |     |
*%Q0001 -+IN   | %AQ001 -+IN   |
*        | LEN |         | LEN |
*        |00032|         |00064|
*        |     |         |     |
*        +-----+         +-----+
*

*
*[ END ]
*

|
+_LA0001: