Customer question: Connection to PLC?

0
What is needed to be able to connect to a PLC from SIMATIC AX?   I get the following error message:  "Connection failed"  "OmsException: Failed to login"
asked
3 answers
2

Hi Matthias,

 

In order to successfully connect to a SIMATIC PLC you need to have a special communication driver on your local windows system, from where your command was executed. You have to make sure this driver is properly installed and configured accordingly.

 

Installation:

If you have TIA Portal already installed on your system you are good to go.

If not, please look into the AX-documentation and install the "PC-identifier-installation"-tool using apax.

apax add @ax/pc-identifier --dev

followed by :

apax pc-identifier install

Once installation is ensured set its properties now.

 

Configuration:

On your system open the newly installed "PG/PC Interface" applet . You will find it in the windows [Control Panel] menu.

In the tool you need to assign the correct network interface for the S7ONLINE access point to which your SIMATIC PLC runtime is physically or virtually connected to.

Here: It's the virtual ethernet adapter (tcpip.auto) from PLC Sim Advanced.

image.png

 

Doublecheck connectivity:

- Ensure that there is a working physically or virtual connection

- Please also check if the network adapter is in the same IP-range as your PLC runtime

- If using a dedicated IP address in your SIMATIC AX tool-landscape for that connection attempt make sure this matches the actual IP config the PLC-runtime is configured with

 

Additional information:

SIMATIC AX tools, which need that driver in order to function properly :

MON/ MOD/ SDB/ DIAG/ SLD/ TRACE/ AGENT/ HWLD

 

I hope that helps :-)

 

Keep going & happy coding ...

🐱‍💻 BEEP, BOOP, BEEP, BEEP, BOOP 🐱‍🏍

answered
0

Hi Stefan,

 

thanks for the extensive answer!

answered
0

Nice to meet you!

I have the similar usage.

Have you accessed to PLC via Mendix connector? Or with other tools, such as JAVA?

answered