floka94 opened a new issue, #695:
URL: https://github.com/apache/plc4x/issues/695
I try to connect to a S7 PLC on Slot 3. I tried several connection strings:
```java
"s7://172.16.0.12/0/3"
"s7://172.16.0.12/0/3?controller-type=S7_400"
"s7://172.16.0.12/3/0?controller-type=S7_400"
"s7://172.16.0.12/3/0"
```
I always get an error:
```bash
Caused by: org.apache.plc4x.java.api.exceptions.PlcRuntimeException: Invalid
url for TCP transport
at
org.apache.plc4x.java.transport.tcp.TcpTransport.createChannelFactory(TcpTransport.java:57)
at
org.apache.plc4x.java.spi.connection.GeneratedDriverBase.getConnection(GeneratedDriverBase.java:148)
at
org.apache.plc4x.java.spi.connection.GeneratedDriverBase.getConnection(GeneratedDriverBase.java:99)
at
org.apache.plc4x.java.PlcDriverManager.getConnection(PlcDriverManager.java:77)
at
org.apache.plc4x.java.opm.PlcEntityInterceptor.refetchAllFields(PlcEntityInterceptor.java:218)
... 16 more
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]