sihu国产精品永久免费_日韩午夜在线视频_久久99中文字幕伊人_古代男男嗯…啊h总攻

asd3500
級別: 探索解密
精華主題: 0
發帖數量: 16 個
工控威望: 138 點
下載積分: 14060 分
在線時間: 38(小時)
注冊時間: 2014-03-12
最后登錄: 2020-04-16
查看asd3500的 主題 / 回貼
樓主  發表于: 2015-03-01 19:04
PLC1     m8002       mov h1c82 d8400                              PLC2                    m8002       mov h1c82 d8400  
                                                                                
                x0        rs2 d0 k2 d10 k2 k1                                                      x0        rs2 d10 k2 d30 k2 k1
                                                                                        
                上微分x1        mov k34 d0                                                    上微分x1        mov k34 d010                                
                                             mov k35 d1                                                                                 mov k35 d11
                                            set m8402                                                                                    set m8402          
                                                                              
                  m8403             mov d10 d20                                                        m8403             mov d30 d40  
                                           mov d11 d21                                                                                   mov d31 d41  
                                           rst m8403                                                                                          rst m8403                                          

                                 end                                                                                                  end                                              

    
  以上是我用2臺PLC測試寫的程式
用RS的話都很OK
用RS2時永遠只讀的到一個數據
像PLC1只有D10有值D11沒有
    PLC2只有D30有值D31沒有
請問該如何解決