cant login codesys

How do I change the Gateway com dll path in CodesysV2.3?

In order to correct the path to the communication DLL, you can manually edit the path by double clicking it and editing it.
Now the important part: you MUST then press ENTER!!! otherwise the change will not be set and the old path will remain!
Press OK and the new path is set.

Instructions:
- in Codesys select "Online / Communication Parameter"
- click "New"
- give the new connection a name
- select the type of connection (usually "STW_FF_CAN")
- click "OK"
- verify the path points to the correct file. If not, manually correct the path

I cant login to my Codesys v2.3 application / communication error / CAN problems

Make sure that the baudrate in PLC Config > CAN# > Module parameters is the same as the baudrate in online > Communication Parameters. The Communication Parameters baudrate determines the rate the PC will try to use to connect to the Bus. Also the NodeID of the controller (found in the controller "base parameters" tab) must be set properly in the Communication Parameters NodeID field.

Also, is the correct CommDLLPath selected in Online -> Communication Parameters? Ex: "C:\Program Files\STW\CoDeSys V2.3 TSP\CANDlls stwpeak2.dll" or "C:\WINDOWS\System32\stwpeak2.dll".

Syndicate content