通讯的状态 点击:750 | 回复:3



MIGE_YUAN

    
  • 精华:0帖
  • 求助:0帖
  • 帖子:5帖 | 65回
  • 年度积分:0
  • 历史总积分:127
  • 注册:2007年1月09日
发表于:2007-01-09 13:36:00
楼主
我先在可以读到现场PLC的数据!!但是我想知道我的通讯是正常的!!要怎么做
我看过帮助了 里面有iostatus 和 status 的监控  但我不知道要在程序里怎么做出来
希望各位帮忙 



micro2000

  • 精华:1帖
  • 求助:0帖
  • 帖子:46帖 | 581回
  • 年度积分:0
  • 历史总积分:751
  • 注册:2003年10月08日
发表于:2007-01-09 17:16:00
1楼
是通讯状态还是IO状态?
如果是通讯状态,既然知道能够通讯了,还不知道通讯状态是否正常,那你是怎么通讯的?

MIGE_YUAN

  • 精华:0帖
  • 求助:0帖
  • 帖子:5帖 | 65回
  • 年度积分:0
  • 历史总积分:127
  • 注册:2007年1月09日
发表于:2007-01-10 08:54:00
2楼
我是想在图面上做一个通讯灯!! 通讯正常就显绿色 不正常就现红色!! 但是我的知道要怎么去抓点! 点要如何定义?

昆仑摩勒

  • 精华:1帖
  • 求助:1帖
  • 帖子:32帖 | 446回
  • 年度积分:0
  • 历史总积分:1058
  • 注册:2004年11月22日
发表于:2007-01-10 10:13:00
3楼
Using a digital input block reading a hardware register,  the A_cualm field will be utilized.  Chain the DI block to an event action block to a digital output tag using the SIM driver. In the event action block use  the following script:
IF the A_cualm =com 
Then set DO =1
Else set the DO=0
A data link can be made to the Sim block. The value of this block will determine the status of the

热门招聘
相关主题

官方公众号

智造工程师