I have a Siemens S7-1214FC that i would like to get on data from. I tried getting it added to devices, but without luck.
I tried opening a connection to it with TCP, which worked.
I have this from the logs
"Connection Refused" is a pure network error. Either the target device is not listening on the expected port, or a firewall is blocking the traffic to make it look that way.
Is the Siemens PLC configured to allow legacy connections (as described in the IA docs)?
In your config you have the port as 4840. Are you trying to connect to the opcua server of the S7-1200? The default port is 102 for the driver.
If using the driver to connect (not opcua) there are some considerations to note see the ignition Manual
When trying to connect using opcua use this for reference
The driver page is for direct connections which is different than connecting to the opcua server of the S7-1200
No. The Siemens driver does not connect to the PLC's OPC UA server. It connects using the S7 protocol.
Alternatively, you can create an OPC UA connection.