Hi Denis,

if you are using PLC4X 0.7.0 or newer, the connection syntax has changed 
slightly. You no longer provide Rack and Slot the way you did in 0.6.0 and 
below.
Please have a look at our documentation for all options:
https://plc4x.apache.org/users/protocols/s7.html

So, in your case it would be:

s7://192.168.1.222?remote-rack=0&remote-slot=2&controller-type=S7_300<http://192.168.1.222/0/2?controller-type=S7_300>

Hope that helps,

Chris


Von: Denis Leite <[email protected]>
Gesendet: Donnerstag, 8. April 2021 19:16
An: [email protected]
Betreff: Connection String to S7-300/400

Hello!

We´re performing tests with PLC4x + NiFi but we can´t get it to communicate to 
S7300/400.

We have included rack and slot information to communicate with S7-300 but it 
didn´t work. The error message is in the attached image.

We tried these:
s7://192.168.1.222/0/2?controller-type=S7_300<http://192.168.1.222/0/2?controller-type=S7_300>
s7://192.168.1.222/0/2<http://192.168.1.222/0/2>

This is where we got references:
https://riot.community/examples/http-plc4x.html
https://youtu.be/MIp_0OcDTr4?t=2770

Can someone help us to find out where the problem might be?

Regards,

Denis

[cid:ii_kn94u9dq0]

Reply via email to