CP341 MODBUS RS485 RTU双线通信问题CP341 MODBUS RS485 RTU two wire communication problem

你好 我的西门子系统是STEP 7 V8.0,CP341是6ES7-1CH02-0AE0。从机侧是消防泵本地控制器。 我已经配置了CP341和相关逻辑。下载后,我发现TXD是唯一闪烁的指示灯。 我通过检查两条线路开始故障排除。请参阅下面的步骤: 1、我从CP341侧拔下通信电缆,TXD仍然是唯一闪烁的。基本上没有什么变化。 2,我用万用表测量了针脚4和11,那里几乎没有电压。 3、我去消防泵控制器...

问题描述

你好

Hi,

我的西门子系统是STEP 7 V8.0,CP341是6ES7-1CH02-0AE0。从机侧是消防泵本地控制器。

My Siemens system is STEP 7 V8.0 and CP341 is 6ES7-1CH02-0AE0. The slave side is a fire pump local controller.

我已经配置了CP341和相关逻辑。下载后,我发现TXD是唯一闪烁的指示灯。

I have configured CP341 and related logic. After my downloading I found the TXD is the only light flashing.

我通过检查两条线路开始故障排除。请参阅下面的步骤:

I started troubleshooting by checking the two wiring. See my steps below:

1、我从CP341侧拔下通信电缆,TXD仍然是唯一闪烁的。基本上没有什么变化。

1, I unpluged the communication cable from the CP341 side, the TXD was still the only one flashing. Basically nothing changed.

2,我用万用表测量了针脚4和11,那里几乎没有电压。

2, I measured pin 4 and 11 with a multimeter and there was almost no voltage there.

3、我去消防泵控制器处测量两线电压,几乎什么也没得到。

3, I went to the fire pump controller and measured the two wire voltage and got almost nothing.

请参阅随附的照片副本。在消防泵手册上,它显示使用引脚2和7,但没有显示奇偶性。

Please see the photo copy attached. On the fire pump manual it shows to use pin 2 and 7 but it doesn't show the parity.

我的问题是:

My questions are:

1、根据消防泵的手册,西门子方面应该是引脚3和引脚8。对我来说,这是错误的。销应为4和11。

1, According to the manual from fire pump Siemens side should be Pin 3 and 8. To me it is wrong. The pins should be 4 and 11.

2,如果我测量消防泵控制器上的针脚2和7,应该会显示一些电压,如5V,对吗?我怀疑泵侧未正确配置为激活RS485端口。

2, It should show some voltage like 5V if I measure pin 2 and 7 on fire pump controller, right? I am suspecting the pump side is not properly configured to active the RS485 port.

当做

Regards

特里斯坦

Tristan

推荐答案2

你好

Hello,

由于平衡通信系统,也许最好用示波器检查一下。在另一种情况下,CP341上的LED照明也取决于消息的长度,而不是明亮的灯光。将PC连接到PLC CP 341,而不是将实际设备连接到PLC CP341,当然,使用合适的转换器(USB/串行端口232或485)进行简单测试,并运行一些串行终端应用程序(在许多情况下,超级终端就足够了)。检查您的PC应用程序中来自CP341的输入消息,它们的正确结构符合您定义的标准。检查后,您将处于正确的起始位置,以进行真正的从属设备测试。

due ballanced comm system, maybe better check that with osciloscope. In other case, lighting of LED on CP341 also depended to long of message, shorter message - not bright light. Make simple test with PC connected instead of real device to PLC CP 341, of course with suitable converter (USB/Serial port 232 or 485) and run some serial terminal application (Hyperterminal will be enough in many cases). Check incomming messages from CP341 in your PC application, their proper structure due your defined criteria. After check this, you will be in right start position for real Slave device testing.

你可能感兴趣的文章

Modbus从机RTU功能代码4

...lo这是我第一次在S7(CP341-RS422/485 6ES7 341-1CH02-0AE0)中使用Modbus通信,我很难理解DB编号、基数/偏移量编号和产生的字号的分配。 This is the first time I have used Modbus communications in S7 (CP341-RS422/485 6ES7 341-1CH02-0AE0)and I am having trouble underst...

  • 发布于 2022-10-12 12:10
  • 阅读 ( 126 )

CP341 RTU从站响应时间

...值。他们一切都很好其余四个cp分别充当与四个HMI通信modbus从设备我在CP中面临着两个问题,它们是充当奴隶问题#1。如果我将主机中的超时时间减少到1秒,则我无法读取主机“Modbus回复超时”中的任何消息但在三秒钟后,我...

  • 发布于 2022-10-12 12:54
  • 阅读 ( 152 )

通信模块CM 1241 RS485

...e all the data comms.推荐答案3你好,86, Hi Amit_86,如果您使用Modbus RTU指令,您可以在标准模式下从0-247访问。在USS中,您最多可以控制16个设备。在自由端口模式下,您可以编写自己的协议……但这不是最佳选择。 If you work with Modbus ...

  • 发布于 2022-10-12 14:07
  • 阅读 ( 152 )

CP441-1型

...1-1 can interface to an RS485 interface.我想当你说slave时,你是指Modbus slave接口?如果是,那么答案也是肯定的(RTU和ASCII变体)。 I assume that when you say slave, you mean a Modbus slave interface? If so, then the answer is again, yes (RTU and ASCII variants).推荐...

  • 发布于 2022-10-12 14:39
  • 阅读 ( 174 )

cp341 MODBUS RTUSLAVENOT工作

问题描述我正在使用CP341 MODBUS RTU从设备工作,但我可以完成工作。IAM令人困惑,因为CD驱动器中包含的示例程序适用于R232,而不是RS485,我的问题是:我只需要设置地址销售、波特率、停止位、配对。操作模式(在我的情况下为...

  • 发布于 2022-10-12 14:40
  • 阅读 ( 157 )

只有我能读取输入状态和线圈状态

问题描述有人知道为什么我只能用CP341 RS485 MODBUS从设备读取输入状态或线圈状态功能01和02? SOME BODY KNOW WHY I CAN ONLY READ INPUT STATUS OR COIL STATUS FUNCTION 01 AND 02 WITH A CP341 RS485 MODBUS SLAVE?我有一个CP341 RS485 MODBUS从站和IAM,在我的PG中使...

  • 发布于 2022-10-12 14:41
  • 阅读 ( 130 )

CP 341 SALVE MODBUS RTU

...,我还有一个问题 HI I HAVE AN OTHER PROBELMIAM使用带有驱动器MODBUS RTU从站的CP341。所以我运行CD中的示例,但它什么也没做。 IAM USING A CP341 WITH DRIVER MODBUS RTU SLAVE. SO IAM RUNNING THE EXAMPLE THAT IS IN THE CD BUT IT DOES NOT DO NOTHING.谁能确切地告诉...

  • 发布于 2022-10-12 14:43
  • 阅读 ( 156 )

s71200 Mbus RTU,带欧姆龙V1000逆变器

...有所帮助。 Hope this is helpful.推荐答案3我在Step Basic中使用Modbus库。如果我很好地告诉你,你建议我用Modbus协议编写自己的库。在西门子图书馆中,我没有任何选项可以在modbus协议消息窗口中输入。 I use Modbus libraries in Step Basic. If ...

  • 发布于 2022-10-12 15:17
  • 阅读 ( 139 )

Modbus RTU与Sentron PAC3200通信

问题描述你好 Hello, 我有一个S7-1214 CPU,通过Modbus RTU连接到Sentron PAC 3100。 I have a S7- 1214 CPU connected to a Sentron PAC 3100 via Modbus RTU. 我正在尝试访问 I am trying to access 总有功功率 Total active power 总无功功率(VAR1) Total reactive power (VAR1) ...

  • 发布于 2022-10-12 15:21
  • 阅读 ( 149 )

以太网Modbus

...S7300或400系统中,是否有任何可用的模块通过以太网工作Modbus。当前CP341模块Modbus Serial只能与RS232、422485一起工作。 in S7300 or 400 system, is there any module available which works Modbus over ethernet. The current CP341 module Modbus Serial work only with RS232,...

  • 发布于 2022-10-12 15:25
  • 阅读 ( 172 )