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>; > ????????: 2021??6??23??(??????) ????7:23 > ??????: "dev"<dev@plc4x.apache.org>; > > ????: 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> 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.hut...@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 <644036...@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; >