basically i have updated the plc to the correct software version but now when i try and go online and login on codeys it give me this error invalid user authentication on the target. i cant seem to figure out what it is
ip address is correct as i can login to web ip address
Hi,
You are not using the original Wago runtime, but the CODESYS Control for PFC 200 SL runtime from Codesys. This runtime has a different authentication system. With the first login after installing the runtime you had to enter login data.
Check here how to reset the login data.
Link not working if you could tell me what to search or send again thanks
Sorry, ther are spaces in the URL
https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_cmd_reset_origin_device.html
reset origin device
so i cant login through codesys but i can login through web management. in codesys i clicked the button gto reset orgin device but nothing happens. for reference
it is right click and then scroll down the menu and it is last. is this being done correctly
Ok, I did not test it. It seems this option is only available when your are logged in
This is now tested:
- Connect via ssh to the controller with the root user.
- stop runtime:
sudo /etc/init.d/codesyscontrol stop
cd /var/opt/codesys/
rm .UserDatabase.csv
rm .UserDatabase.csv\_
rm .GroupDatabase.csv
rm .GroupDatabase.csv\_
rm .UserMgmtRightsDB.csv
- start runtime:
sudo /etc/init.d/codesyscontrol start
With next connect to the controller you will asked to enter new credentials.
Hi,
You were still in the root user home directory.
cd /var/codesys/
vs cd /var/opt/codesys/
that’s why you get No such file or directory
you can check after cd command if the files are in the directory with either ls -la
or ll
Im still new to this, so thank you for the help so far. So from what i can understand i need to go into putty connect to the pfc200 but the next step i dont understand how to change directory
cd
means change directory
you need only to enter what is marked like this
rm
means remove
You can also use WinSCP instead of ssh (Putty) to delete the files. But there you have set it to show hidden files with shortcut CTRL+ALT+h