Modbus获得标准Modbus gettuing sterted

各位专家,您好, 我将使用Modbus RTU在CP 341(主)与两台冷水机组(从)之间通信。我有带配置包的CP 341和带加密狗的Modbus主许可证。 我所知道的是我应该安装配置。首先打包,然后安装Modbus主许可证。是这样吗? 目前我没有从机,所以,如果我现在安装主许可证,或者在安装主许可时必须将CP 341连接到从机,会有问题吗? 我需要开发这个应用程序,我刚买了CPU和CP以及许可证...

问题描述

各位专家,您好,

Hello experts,

我将使用Modbus RTU在CP 341(主)与两台冷水机组(从)之间通信。我有带配置包的CP 341和带加密狗的Modbus主许可证。

I am going to use Modbus RTU to communicate between CP 341 (Master) with two chillers (Slaves). I have got CP 341 with configuration package and Modbus master license with the dongle.

我所知道的是我应该安装配置。首先打包,然后安装Modbus主许可证。是这样吗?

What I know is that I should install the config. Package first and then install the Modbus master license.IS that correct?

目前我没有从机,所以,如果我现在安装主许可证,或者在安装主许可时必须将CP 341连接到从机,会有问题吗?

At the moment I don’t have the slaves so, would it be any problem if I install the master license now or the CP 341 must be connected to the slaves when installing the master license?

我需要开发这个应用程序,我刚买了CPU和CP以及许可证就开始了。

I need to develop the application and I just bought the CPU and CP along with the licenses to get started.

如果你能帮我度过难关,我将不胜感激。

I appreciate if you could guide me through.

顺致敬意,

Best regards,

戴夫

Dave

推荐答案2

你好

Hello,

在我看来,如果您有一个实时更新的CP341模块,那么MB驱动程序已经安装在CP上,您所需要的只是将加密狗放在CP中,并用CPU配置CP,其他什么都没有。您可以使用cfg进行准备,并使用一些PC MB Slave模拟软件进行编程和测试,就像使用真实的Slave设备一样。软件包可以在CD上找到,但您可以查看此链接以了解更多信息:

in my opinion if you have realtively new CP341 module, MB driver is already installed on CP and all what you need is put dongle inside CP and configure CP with CPU, nothing else. You can prepare all with cfg and program and test with some PC MB Slave simulation SW as with your real Slave device. SW package can be located on CD, but you can look to this link for more infos:

https://support.industry.siemens.com/cs/document/88867653/cp340-cp341-cp440-cp441-communication-and-programming?dti=0&lc=en-网址:WW

https://support.industry.siemens.com/cs/document/88867653/cp340-cp341-cp440-cp441-communication-and-programming?dti=0&lc=en-WW

推荐答案3

你好Darius_I

 Hi Darius_I

谢谢你的回答

Thank you for the answer. 

对于使用MB模拟器进行测试,我需要将PC物理连接到CP 341还是它与PLCSim一起工作?如果我需要物理连接,我需要什么样的电缆?

For testing with MB simulator, do I need to connect the PC to the CP 341 physically or it works with PLCSim? if I need to connect physically, what kind of cable I need?

感谢你的帮助。

Appreciate your help.

当做

Regards,

推荐答案4

你好

Hello,

这取决于您的接口类型-RS232或RS485。查阅手册,您可以找到接线图。当然,您需要将CP341物理连接到PC、PC COM端口或USB串行适配器。请记住,如果您使用带有RS232接口的CP341,则只有一个真实设备可以连接到该CP,如果使用RS485,则可以在总线上连接更多设备

all depends to your interface type - RS232 or RS485. Look to manuals where you can find wiring schema. Of course you need connect your CP341 with PC physically, to PC COM port or to USB-serial adapter. Pls keep in mind, that if you're use CP341 with RS232 interface, only one real device can connect to that CP, in case of RS485 you can attach more devices on bus.

推荐答案5

谢谢Darius_I

 Thanks Darius_I

我使用的是RS485。所以我需要一个RS485到USB的转换器。是这样吗?

I'm using RS 485. So what I would need is a RS485 to USB converter. is that right?

感谢你的帮助。

Appreciate your help.

当做

regards,

推荐答案6

你好Dave,

Hello Dave,

是的,或者在硬件PC COM端口可用的情况下,RS-485到RS-232,都取决于您在PC端可用的内容

yes, or RS-485 to RS-232 in case of HW PC COM Port available, all depends what you have available on PC side.

你可能感兴趣的文章

带LOGO的浮点数学!

...功能块和I/F功能块在浮点和整数之间进行转换,以便通过modbus或S7协议进行传输。 You can use the F/I function block and the I/F function block to convert between float and integer for transmission via modbus or S7 protocol.这在V8.0.0演示版中似乎不可用。 This do...

  • 发布于 2022-10-10 18:41
  • 阅读 ( 161 )

400 CPU斯塔尔ET-208 Spspluswin

...1200 without any problems.推荐答案2你好 hi,这是我在带有CP443的Modbus TCP中发现的: this is what I found to Modbus TCP with CP443:Modbus PtP-PCS 7与第三方系统的标准化通信 Modbus PtP - Standardized communication of PCS 7 with Third-Party Systems在STEP 7 Professional(TI...

  • 发布于 2022-10-12 00:38
  • 阅读 ( 120 )

现场总线集成至S-7

...多种多样。一些应用最广泛的总线,如profibus、interbus、modbus、can、safetybus等。您想使用哪种类型的输入/输出模块(品牌/类型)?Regards,Marcjan There are a wide variety of fieldbus standards. Some of the most widely used ones, profibus,interbus,modbus,can,s...

  • 发布于 2022-10-12 13:26
  • 阅读 ( 117 )

Modbus功能0x02:读取位

问题描述我需要通过Modbus RTU从第三方设备(s7-1214+CM1241 RS485)读取一些数字输入寄存器。我进行了各种测试,包括使用RS485适配器和串行终端软件“监听”总线。 I need to read some digital input registers via Modbus RTU from a third party device (s...

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

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 )

通过WiFi的Profinet IO

...Ping小于10ms,IO更新时间64ms,重试10次。同一连接用于与Modbus TCPRTU转换器通信,一切正常。与基本HMI的无线通信也可以工作。我使用Ubiquity Unifi AP AC LR作为AP,使用Ubiquaty AirGateway作为wifi客户端。IO站获得连接,因为我看到LED颜色...

  • 发布于 2022-10-17 08:24
  • 阅读 ( 145 )

CP 341作为Modbus从站错误

...正在通过ET 200M使用带有CP341的s7 400小时系统。CP 341充当“Modbus从站”。我正在参考示例项目。但我得到错误16#02,同时错误位也很高。 I am using a s7 400 h system with CP341 via ET 200M. CP 341 is acting as a"Modbus Slave". I am taking reference of the samp...

  • 发布于 2022-10-17 08:30
  • 阅读 ( 119 )

请有人看看modbus地址的图片!

问题描述朋友们,您好, Hi friends,关于Modbus地址,我需要你的帮助。 I need your little help about Modbus address.我们有一个使用Modbus RTU连接的项目。我知道如何配置modbus设置和寻址,但这次campany给我们的modbus列表有点奇怪。 We have a proj...

  • 发布于 2022-10-17 09:00
  • 阅读 ( 148 )

CP-341 Modbus ASCII协议

问题描述各位专家, Hi Experts,我用CP-341的Modbus ascii协议检查了以下顺序 I have checked following sequence with the Modbus ascii protocol with CP-341用环形电缆连接两个从设备 Connected two slaves with the loop cable更改了两个设备的地址-一个设备地址更...

  • 发布于 2022-10-17 09:16
  • 阅读 ( 161 )