小城萬(wàn)家
級(jí)別: 探索解密
精華主題: 0
發(fā)帖數(shù)量: 27 個(gè)
工控威望: 150 點(diǎn)
下載積分: 1068 分
在線時(shí)間: 14(小時(shí))
注冊(cè)時(shí)間: 2014-02-24
最后登錄: 2014-11-25
查看小城萬(wàn)家的 主題 / 回貼
樓主  發(fā)表于: 2014-04-11 11:24
小弟菜鳥(niǎo)一枚,請(qǐng)教一下這段程序是什么意思,還有這是什么語(yǔ)言,求指點(diǎn) |[  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: