You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@plc4x.apache.org by Brian <64...@qq.com> on 2021/06/16 01:37:14 UTC

java write REAL TYPE

I use java to send real type to interact with plc1200
Error reporting internal_ error;
But I use java to read the real type and interact with plc1200 successfully.
How to use java to write data to PLC

Re: 回复: java write REAL TYPE

Posted by Christofer Dutz <ch...@c-ware.de>.
We really should release asap 😉

Holen Sie sich Outlook für Android<https://aka.ms/AAb9ysg>

________________________________
From: Brian <64...@qq.com>
Sent: Wednesday, June 16, 2021 4:12:40 AM
To: dev <de...@plc4x.apache.org>
Subject: 回复: java write REAL TYPE

Hi Ben


According to your prompt, I have modified it and now it can be used. Thank you very much!


Kind Regards


Brian


------------------&nbsp;原始邮件&nbsp;------------------
发件人:                                                                                                                        "dev"                                                                                    <ben.hutche@gmail.com&gt;;
发送时间:&nbsp;2021年6月16日(星期三) 上午10:02
收件人:&nbsp;"dev"<dev@plc4x.apache.org&gt;;

主题:&nbsp;Re: java write REAL TYPE



Hi Brian,

I haven't had any experience with using plc4x with Siemens PLC's, but I did
find a comment in the RELEASE_NOTES file about this being fixed in the
0.9-SNAPSHOT version.

You will have to add the following to your pom.xml file.

<repositories&gt;
&nbsp; <repository&gt;
&nbsp;&nbsp;&nbsp; <id&gt;apache-snapshots</id&gt;
&nbsp;&nbsp;&nbsp; <url&gt;https://repository.apache.org/content/groups/snapshots</url&gt;
&nbsp;&nbsp;&nbsp; <snapshots&gt;<enabled&gt;true</enabled&gt;</snapshots&gt;
&nbsp; </repository&gt;
</repositories&gt;

<version&gt;0.9.0-SNAPSHOT</version&gt;

Kind Regards

Ben

On Tue, Jun 15, 2021 at 9:37 PM Brian <644036249@qq.com&gt; wrote:

&gt; I use java to send real type to interact with plc1200
&gt; Error reporting internal_ error;
&gt; But I use java to read the real type and interact with plc1200
&gt; successfully.
&gt; How to use java to write data to PLC

回复: java write REAL TYPE

Posted by Brian <64...@qq.com>.
Hi Ben


According to your prompt, I have modified it and now it can be used. Thank you very much!


Kind Regards


Brian


------------------&nbsp;原始邮件&nbsp;------------------
发件人:                                                                                                                        "dev"                                                                                    <ben.hutche@gmail.com&gt;;
发送时间:&nbsp;2021年6月16日(星期三) 上午10:02
收件人:&nbsp;"dev"<dev@plc4x.apache.org&gt;;

主题:&nbsp;Re: java write REAL TYPE



Hi Brian,

I haven't had any experience with using plc4x with Siemens PLC's, but I did
find a comment in the RELEASE_NOTES file about this being fixed in the
0.9-SNAPSHOT version.

You will have to add the following to your pom.xml file.

<repositories&gt;
&nbsp; <repository&gt;
&nbsp;&nbsp;&nbsp; <id&gt;apache-snapshots</id&gt;
&nbsp;&nbsp;&nbsp; <url&gt;https://repository.apache.org/content/groups/snapshots</url&gt;
&nbsp;&nbsp;&nbsp; <snapshots&gt;<enabled&gt;true</enabled&gt;</snapshots&gt;
&nbsp; </repository&gt;
</repositories&gt;

<version&gt;0.9.0-SNAPSHOT</version&gt;

Kind Regards

Ben

On Tue, Jun 15, 2021 at 9:37 PM Brian <644036249@qq.com&gt; wrote:

&gt; I use java to send real type to interact with plc1200
&gt; Error reporting internal_ error;
&gt; But I use java to read the real type and interact with plc1200
&gt; successfully.
&gt; How to use java to write data to PLC

回复: 回复: java write REAL TYPE

Posted by Brian <64...@qq.com.INVALID>.
Hi Chris,


Thank you for your help. I can continue now。

Brian






------------------&nbsp;原始邮件&nbsp;------------------
发件人:                                                                                                                        "dev"                                                                                    <christofer.dutz@c-ware.de&gt;;
发送时间:&nbsp;2021年6月23日(星期三) 晚上10:04
收件人:&nbsp;"dev@plc4x.apache.org"<dev@plc4x.apache.org&gt;;

主题:&nbsp;Re: 回复: java write REAL TYPE



Hi Brian,

sorry for the late reply ... I was traveling for the first time in 1,5
years.

Usually if you have a S7 with a direct Network connection, this is
usually rack 1 and slot 1. However it gets interesting in setup where
you have multiple PLCs or other controllers connected via Profibus or
whatever they use for this and these share a common network-adapter. In
this case you need to address the different PLCs by rack and slot.

But I think you should be able to see these settings in TIA or whatever
engineering tool you are using. If you don't have any access to one of
these engineering tools, I guess the only option you have it to try them
all ... but the number of tests required should be pretty low as you
usually start with 1 and only increment to the next if there are others
in the setup. That means usually you should find something at rack 1 and
slot 1.

Are you now able to continue or do you still need help?

Chris


On 23.06.21 01:39, Brian wrote:
&gt; Hi Ben
&gt; Now I'm connected. My problem is that PLC didn't tell me these two parameters: rack and slot. I tried them out myself.
&gt; 
&gt; 
&gt; How to judge serial number by remote rack PLC。
&gt; 
&gt; How to judge serial number by remote slot PLC。
&gt; How to judge serial number by local slot PLC。
&gt; How to judge serial number by local rack PLC。
&gt; 
&gt; 
&gt; I'm trying to understand,But I didn't understand。
&gt; 
&gt; 
&gt; 
&gt; Kind Regards
&gt; 
&gt; Brian
&gt; 
&gt; 
&gt; 
&gt; 
&gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
&gt; 发件人:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "dev"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <ben.hutche@gmail.com&amp;gt;;
&gt; 发送时间:&amp;nbsp;2021年6月23日(星期三) 上午7:23
&gt; 收件人:&amp;nbsp;"dev"<dev@plc4x.apache.org&amp;gt;;
&gt; 
&gt; 主题:&amp;nbsp;Re: java write REAL TYPE
&gt; 
&gt; 
&gt; 
&gt; Hi Brian,
&gt; 
&gt; I'm going to have to pass on this one, as I have no experience with these
&gt; controllers. But I think PLC4X should be able to communicate with an
&gt; S7-1500. Have you tried both versions 0.8 and 0.9-Snapshot?
&gt; 
&gt; Ben
&gt; 
&gt; On Sun, Jun 20, 2021 at 5:48 AM Brian <644036249@qq.com.invalid&amp;gt; wrote:
&gt; 
&gt; &amp;gt; Hi Ben
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; I use plc4x to connect s7-1500 S7 protocol, but return connection
&gt; &amp;gt; terminated by remote.
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; I use plc4x to connect s7-1200 S7 protocol successfully.
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; Have you ever encountered this problem???
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; Kind Regards
&gt; &amp;gt;
&gt; &amp;gt; Brian
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; ------------------&amp;amp;nbsp;原始邮件&amp;amp;nbsp;------------------
&gt; &amp;gt; 发件人:
&gt; &amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dev"
&gt; &amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; <
&gt; &amp;gt; ben.hutche@gmail.com&amp;amp;gt;;
&gt; &amp;gt; 发送时间:&amp;amp;nbsp;2021年6月16日(星期三) 上午10:02
&gt; &amp;gt; 收件人:&amp;amp;nbsp;"dev"<dev@plc4x.apache.org&amp;amp;gt;;
&gt; &amp;gt;
&gt; &amp;gt; 主题:&amp;amp;nbsp;Re: java write REAL TYPE
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; Hi Brian,
&gt; &amp;gt;
&gt; &amp;gt; I haven't had any experience with using plc4x with Siemens PLC's, but I did
&gt; &amp;gt; find a comment in the RELEASE_NOTES file about this being fixed in the
&gt; &amp;gt; 0.9-SNAPSHOT version.
&gt; &amp;gt;
&gt; &amp;gt; You will have to add the following to your pom.xml file.
&gt; &amp;gt;
&gt; &amp;gt; <repositories&amp;amp;gt;
&gt; &amp;gt; &amp;amp;nbsp; <repository&amp;amp;gt;
&gt; &amp;gt; &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; <id&amp;amp;gt;apache-snapshots</id&amp;amp;gt;
&gt; &amp;gt; &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; <url&amp;amp;gt;
&gt; &amp;gt; https://repository.apache.org/content/groups/snapshots</url&amp;amp;gt;
&gt; &amp;gt; &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;
&gt; &amp;gt; <snapshots&amp;amp;gt;<enabled&amp;amp;gt;true</enabled&amp;amp;gt;</snapshots&amp;amp;gt;
&gt; &amp;gt; &amp;amp;nbsp; </repository&amp;amp;gt;
&gt; &amp;gt; </repositories&amp;amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; <version&amp;amp;gt;0.9.0-SNAPSHOT</version&amp;amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; Kind Regards
&gt; &amp;gt;
&gt; &amp;gt; Ben
&gt; &amp;gt;
&gt; &amp;gt; On Tue, Jun 15, 2021 at 9:37 PM Brian <644036249@qq.com&amp;amp;gt; wrote:
&gt; &amp;gt;
&gt; &amp;gt; &amp;amp;gt; I use java to send real type to interact with plc1200
&gt; &amp;gt; &amp;amp;gt; Error reporting internal_ error;
&gt; &amp;gt; &amp;amp;gt; But I use java to read the real type and interact with plc1200
&gt; &amp;gt; &amp;amp;gt; successfully.
&gt; &amp;gt; &amp;amp;gt; How to use java to write data to PLC
&gt; &amp;gt; &amp;amp;gt;
&gt;

Re: 回复: java write REAL TYPE

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Brian,

sorry for the late reply ... I was traveling for the first time in 1,5
years.

Usually if you have a S7 with a direct Network connection, this is
usually rack 1 and slot 1. However it gets interesting in setup where
you have multiple PLCs or other controllers connected via Profibus or
whatever they use for this and these share a common network-adapter. In
this case you need to address the different PLCs by rack and slot.

But I think you should be able to see these settings in TIA or whatever
engineering tool you are using. If you don't have any access to one of
these engineering tools, I guess the only option you have it to try them
all ... but the number of tests required should be pretty low as you
usually start with 1 and only increment to the next if there are others
in the setup. That means usually you should find something at rack 1 and
slot 1.

Are you now able to continue or do you still need help?

Chris


On 23.06.21 01:39, Brian wrote:
> Hi Ben
> Now I'm connected. My problem is that PLC didn't tell me these two parameters: rack and slot. I tried them out myself.
> 
> 
> How to judge serial number by remote rack PLC。
> 
> How to judge serial number by remote slot PLC。
> How to judge serial number by local slot PLC。
> How to judge serial number by local rack PLC。
> 
> 
> I'm trying to understand,But I didn't understand。
> 
> 
> 
> Kind Regards
> 
> Brian
> 
> 
> 
> 
> ------------------&nbsp;原始邮件&nbsp;------------------
> 发件人:                                                                                                                        "dev"                                                                                    <ben.hutche@gmail.com&gt;;
> 发送时间:&nbsp;2021年6月23日(星期三) 上午7:23
> 收件人:&nbsp;"dev"<dev@plc4x.apache.org&gt;;
> 
> 主题:&nbsp;Re: java write REAL TYPE
> 
> 
> 
> Hi Brian,
> 
> I'm going to have to pass on this one, as I have no experience with these
> controllers. But I think PLC4X should be able to communicate with an
> S7-1500. Have you tried both versions 0.8 and 0.9-Snapshot?
> 
> Ben
> 
> On Sun, Jun 20, 2021 at 5:48 AM Brian <644036249@qq.com.invalid&gt; wrote:
> 
> &gt; Hi Ben
> &gt;
> &gt;
> &gt; I use plc4x to connect s7-1500 S7 protocol, but return connection
> &gt; terminated by remote.
> &gt;
> &gt;
> &gt; I use plc4x to connect s7-1200 S7 protocol successfully.
> &gt;
> &gt;
> &gt; Have you ever encountered this problem???
> &gt;
> &gt;
> &gt;
> &gt; Kind Regards
> &gt;
> &gt; Brian
> &gt;
> &gt;
> &gt;
> &gt;
> &gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
> &gt; 发件人:
> &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "dev"
> &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <
> &gt; ben.hutche@gmail.com&amp;gt;;
> &gt; 发送时间:&amp;nbsp;2021年6月16日(星期三) 上午10:02
> &gt; 收件人:&amp;nbsp;"dev"<dev@plc4x.apache.org&amp;gt;;
> &gt;
> &gt; 主题:&amp;nbsp;Re: java write REAL TYPE
> &gt;
> &gt;
> &gt;
> &gt; Hi Brian,
> &gt;
> &gt; I haven't had any experience with using plc4x with Siemens PLC's, but I did
> &gt; find a comment in the RELEASE_NOTES file about this being fixed in the
> &gt; 0.9-SNAPSHOT version.
> &gt;
> &gt; You will have to add the following to your pom.xml file.
> &gt;
> &gt; <repositories&amp;gt;
> &gt; &amp;nbsp; <repository&amp;gt;
> &gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; <id&amp;gt;apache-snapshots</id&amp;gt;
> &gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; <url&amp;gt;
> &gt; https://repository.apache.org/content/groups/snapshots</url&amp;gt;
> &gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;
> &gt; <snapshots&amp;gt;<enabled&amp;gt;true</enabled&amp;gt;</snapshots&amp;gt;
> &gt; &amp;nbsp; </repository&amp;gt;
> &gt; </repositories&amp;gt;
> &gt;
> &gt; <version&amp;gt;0.9.0-SNAPSHOT</version&amp;gt;
> &gt;
> &gt; Kind Regards
> &gt;
> &gt; Ben
> &gt;
> &gt; On Tue, Jun 15, 2021 at 9:37 PM Brian <644036249@qq.com&amp;gt; wrote:
> &gt;
> &gt; &amp;gt; I use java to send real type to interact with plc1200
> &gt; &amp;gt; Error reporting internal_ error;
> &gt; &amp;gt; But I use java to read the real type and interact with plc1200
> &gt; &amp;gt; successfully.
> &gt; &amp;gt; How to use java to write data to PLC
> &gt; &amp;gt;
> 

回复: java write REAL TYPE

Posted by Brian <64...@qq.com.INVALID>.
Hi Ben
Now I'm connected. My problem is that PLC didn't tell me these two parameters: rack and slot. I tried them out myself.


How to judge serial number by remote rack PLC。

How to judge serial number by remote slot PLC。
How to judge serial number by local slot PLC。
How to judge serial number by local rack PLC。


I'm trying to understand,But I didn't understand。



Kind Regards

Brian




------------------&nbsp;原始邮件&nbsp;------------------
发件人:                                                                                                                        "dev"                                                                                    <ben.hutche@gmail.com&gt;;
发送时间:&nbsp;2021年6月23日(星期三) 上午7:23
收件人:&nbsp;"dev"<dev@plc4x.apache.org&gt;;

主题:&nbsp;Re: java write REAL TYPE



Hi Brian,

I'm going to have to pass on this one, as I have no experience with these
controllers. But I think PLC4X should be able to communicate with an
S7-1500. Have you tried both versions 0.8 and 0.9-Snapshot?

Ben

On Sun, Jun 20, 2021 at 5:48 AM Brian <644036249@qq.com.invalid&gt; wrote:

&gt; Hi Ben
&gt;
&gt;
&gt; I use plc4x to connect s7-1500 S7 protocol, but return connection
&gt; terminated by remote.
&gt;
&gt;
&gt; I use plc4x to connect s7-1200 S7 protocol successfully.
&gt;
&gt;
&gt; Have you ever encountered this problem???
&gt;
&gt;
&gt;
&gt; Kind Regards
&gt;
&gt; Brian
&gt;
&gt;
&gt;
&gt;
&gt; ------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
&gt; 发件人:
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "dev"
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <
&gt; ben.hutche@gmail.com&amp;gt;;
&gt; 发送时间:&amp;nbsp;2021年6月16日(星期三) 上午10:02
&gt; 收件人:&amp;nbsp;"dev"<dev@plc4x.apache.org&amp;gt;;
&gt;
&gt; 主题:&amp;nbsp;Re: java write REAL TYPE
&gt;
&gt;
&gt;
&gt; Hi Brian,
&gt;
&gt; I haven't had any experience with using plc4x with Siemens PLC's, but I did
&gt; find a comment in the RELEASE_NOTES file about this being fixed in the
&gt; 0.9-SNAPSHOT version.
&gt;
&gt; You will have to add the following to your pom.xml file.
&gt;
&gt; <repositories&amp;gt;
&gt; &amp;nbsp; <repository&amp;gt;
&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; <id&amp;gt;apache-snapshots</id&amp;gt;
&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; <url&amp;gt;
&gt; https://repository.apache.org/content/groups/snapshots</url&amp;gt;
&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;
&gt; <snapshots&amp;gt;<enabled&amp;gt;true</enabled&amp;gt;</snapshots&amp;gt;
&gt; &amp;nbsp; </repository&amp;gt;
&gt; </repositories&amp;gt;
&gt;
&gt; <version&amp;gt;0.9.0-SNAPSHOT</version&amp;gt;
&gt;
&gt; Kind Regards
&gt;
&gt; Ben
&gt;
&gt; On Tue, Jun 15, 2021 at 9:37 PM Brian <644036249@qq.com&amp;gt; wrote:
&gt;
&gt; &amp;gt; I use java to send real type to interact with plc1200
&gt; &amp;gt; Error reporting internal_ error;
&gt; &amp;gt; But I use java to read the real type and interact with plc1200
&gt; &amp;gt; successfully.
&gt; &amp;gt; How to use java to write data to PLC
&gt; &amp;gt;

Re: java write REAL TYPE

Posted by Ben Hutcheson <be...@gmail.com>.
Hi Brian,

I'm going to have to pass on this one, as I have no experience with these
controllers. But I think PLC4X should be able to communicate with an
S7-1500. Have you tried both versions 0.8 and 0.9-Snapshot?

Ben

On Sun, Jun 20, 2021 at 5:48 AM Brian <64...@qq.com.invalid> wrote:

> Hi Ben
>
>
> I use plc4x to connect s7-1500 S7 protocol, but return connection
> terminated by remote.
>
>
> I use plc4x to connect s7-1200 S7 protocol successfully.
>
>
> Have you ever encountered this problem???
>
>
>
> Kind Regards
>
> Brian
>
>
>
>
> ------------------&nbsp;原始邮件&nbsp;------------------
> 发件人:
>                                                   "dev"
>                                                                 <
> ben.hutche@gmail.com&gt;;
> 发送时间:&nbsp;2021年6月16日(星期三) 上午10:02
> 收件人:&nbsp;"dev"<dev@plc4x.apache.org&gt;;
>
> 主题:&nbsp;Re: java write REAL TYPE
>
>
>
> Hi Brian,
>
> I haven't had any experience with using plc4x with Siemens PLC's, but I did
> find a comment in the RELEASE_NOTES file about this being fixed in the
> 0.9-SNAPSHOT version.
>
> You will have to add the following to your pom.xml file.
>
> <repositories&gt;
> &nbsp; <repository&gt;
> &nbsp;&nbsp;&nbsp; <id&gt;apache-snapshots</id&gt;
> &nbsp;&nbsp;&nbsp; <url&gt;
> https://repository.apache.org/content/groups/snapshots</url&gt;
> &nbsp;&nbsp;&nbsp;
> <snapshots&gt;<enabled&gt;true</enabled&gt;</snapshots&gt;
> &nbsp; </repository&gt;
> </repositories&gt;
>
> <version&gt;0.9.0-SNAPSHOT</version&gt;
>
> Kind Regards
>
> Ben
>
> On Tue, Jun 15, 2021 at 9:37 PM Brian <644036249@qq.com&gt; wrote:
>
> &gt; I use java to send real type to interact with plc1200
> &gt; Error reporting internal_ error;
> &gt; But I use java to read the real type and interact with plc1200
> &gt; successfully.
> &gt; How to use java to write data to PLC
> &gt;

回复: java write REAL TYPE

Posted by Brian <64...@qq.com.INVALID>.
Hi Ben


I use plc4x to connect s7-1500 S7 protocol, but return connection terminated by remote.


I use plc4x to connect s7-1200 S7 protocol successfully.


Have you ever encountered this problem???



Kind Regards

Brian




------------------&nbsp;原始邮件&nbsp;------------------
发件人:                                                                                                                        "dev"                                                                                    <ben.hutche@gmail.com&gt;;
发送时间:&nbsp;2021年6月16日(星期三) 上午10:02
收件人:&nbsp;"dev"<dev@plc4x.apache.org&gt;;

主题:&nbsp;Re: java write REAL TYPE



Hi Brian,

I haven't had any experience with using plc4x with Siemens PLC's, but I did
find a comment in the RELEASE_NOTES file about this being fixed in the
0.9-SNAPSHOT version.

You will have to add the following to your pom.xml file.

<repositories&gt;
&nbsp; <repository&gt;
&nbsp;&nbsp;&nbsp; <id&gt;apache-snapshots</id&gt;
&nbsp;&nbsp;&nbsp; <url&gt;https://repository.apache.org/content/groups/snapshots</url&gt;
&nbsp;&nbsp;&nbsp; <snapshots&gt;<enabled&gt;true</enabled&gt;</snapshots&gt;
&nbsp; </repository&gt;
</repositories&gt;

<version&gt;0.9.0-SNAPSHOT</version&gt;

Kind Regards

Ben

On Tue, Jun 15, 2021 at 9:37 PM Brian <644036249@qq.com&gt; wrote:

&gt; I use java to send real type to interact with plc1200
&gt; Error reporting internal_ error;
&gt; But I use java to read the real type and interact with plc1200
&gt; successfully.
&gt; How to use java to write data to PLC
&gt;

Re: java write REAL TYPE

Posted by Ben Hutcheson <be...@gmail.com>.
Hi Brian,

I haven't had any experience with using plc4x with Siemens PLC's, but I did
find a comment in the RELEASE_NOTES file about this being fixed in the
0.9-SNAPSHOT version.

You will have to add the following to your pom.xml file.

<repositories>
  <repository>
    <id>apache-snapshots</id>
    <url>https://repository.apache.org/content/groups/snapshots</url>
    <snapshots><enabled>true</enabled></snapshots>
  </repository>
</repositories>

<version>0.9.0-SNAPSHOT</version>

Kind Regards

Ben

On Tue, Jun 15, 2021 at 9:37 PM Brian <64...@qq.com> wrote:

> I use java to send real type to interact with plc1200
> Error reporting internal_ error;
> But I use java to read the real type and interact with plc1200
> successfully.
> How to use java to write data to PLC
>