施奈德PLC之间通讯问题 点击:722 | 回复:2



wangli00093

    
  • 精华:0帖
  • 求助:0帖
  • 帖子:4帖 | 8回
  • 年度积分:0
  • 历史总积分:36
  • 注册:2010年2月23日
发表于:2011-01-07 14:52:07
楼主

concept2.6中通讯功能块TCP_IP_ADDR和CWRITE_REG、CREAD_REG如何使用,及功能块引脚意义,最好举例说明,谢谢!!

邮箱:songyuefeng@ejianlong.com




西岭雪

  • 精华:4帖
  • 求助:0帖
  • 帖子:330帖 | 6019回
  • 年度积分:0
  • 历史总积分:23673
  • 注册:2010年2月20日
发表于:2011-01-07 16:54:41
1楼

楼主不会自己查说明吗?

说明里面说得很清楚的,只不过是英文。

AddrFld    WordArr5  

WordArr5 分三种情况:

Elementary description for WordArr5 in Modbus Plus
Elementary description for WordArr5 in Modbus Plus:                    Element Data type Meaning
WordArr5[1] WORD Low value byte:Routing register 1 is used for address specification (routing path addresses one of five) of the destination node during network transfer.The last byte in the routing path that is not zero is the destination node.High value byte:Slot of the network adapter module (NOM), if any (only Quantum).
WordArr5[2] WORD Routing register 2
WordArr5[3] WORD Routing register 3
WordArr5[4] WORD Routing register 4
WordArr5[5] WORD Routing register 5


Elementary description for WordArr5 with TCP/IP EtherNet
Elementary description for WordArr5 with TCP/IP EtherNet                  Element Data type Meaning
WordArr5[1] WORD Low value byte: MBP on Ethernet Transporter (MET) mapping indexHigh value byte:Slot of the NOE module
WordArr5[2] WORD Byte 4 (MSB) of the 32-bit destination IP address
WordArr5[3] WORD Byte 3 of the 32-bit destination IP address
WordArr5[4] WORD Byte 2 of the 32-bit destination IP address
WordArr5[5] WORD Byte 1 (LSB) of the 32-bit destination IP address

Elementary description for WordArr5 with SYMAX EtherNet
Elementary description for WordArr5 with SYMAX EtherNet                     Element Data type Meaning
WordArr5[1] WORD Low value byte:MBP on Ethernet Transporter (MET) mapping indexHigh value byte:Slot of the NOE module
WordArr5[2] WORD Destination drop number (or set to FF hex)
WordArr5[3] WORD Terminator (set to FF hex)
WordArr5[4] WORD No significance
WordArr5[5] WORD No significance

song198108

  • 精华:0帖
  • 求助:0帖
  • 帖子:1帖 | 27回
  • 年度积分:0
  • 历史总积分:51
  • 注册:2008年10月28日
发表于:2011-01-25 16:29:23
2楼

关键是CWRITE_REG、CREAD_REG的管脚具体怎么定义,能否带程序说明下,因为实验过,通讯不成功


热门招聘
相关主题

官方公众号

智造工程师