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
> 
> 
> 
> 
> ------------------ ???????? ------------------
> ??????:                                                                       
>                                                  "dev"                        
>                                                             
> <ben.hut...@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 <644036...@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.hut...@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 <644036...@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;
> 

Reply via email to