I'm trying to save the Kawasaki Robot Program using Putty tool via Telnet commands.
While giving the "SAVE Robot1" i'm getting the response "BRobot1.as" but after that nothing happening.
But via KRTrem if i give the same commands the "Robot1.as" file is getting saved successfully.
Anyone having the full Telnet commands to use in Putty or Python?
Kawasaki Robot (E-Controller) Auto Backup using TELNET commands
-
Dinakaran G. -
January 15, 2025 at 10:57 AM -
Thread is Unresolved
-
-
MOM
January 15, 2025 at 11:27 AM Approved the thread. -
Doesn't surprise me.
KRTerm is specifically developed to communicate with Kawasaki controllers.
It has to establish a connection on the correct port with an allowable IP address, then accept a password to login before any commands will be executed by the Kawasaki controller.As far as I know, putty or python cannot do that 'out of the box' unless they contain the necessary libraries to communicate with the Kawasaki.
-
The issue I'm facing with KRTRem is that after giving the commands to SAVE the RobotFile, KRTRem provides all the response (or status) messages. I need to log all these response messages every time. My log file sometimes contains all the status messages correctly, but many times it does not log all the details that are available on the KRTRem screen.
below commands are i added on the "Autoexec.uas" file
openlog 'log'
sendln 'SAVE Robot1'
sleep=100
closelog
end -
You've got from putty to python, to KRTerm and KRTerm macro's......
My log file sometimes contains all the status messages correctly, but many times it does not log all the details that are available on the KRTRem screen.
What details are you referring to, it is unclear what you intention is, please provide further details?
-
You told that putty or pyhton cant do that. So i'm focusing on KRTrem with macro to achive automatic backups, i'm facing the issue to correctly record the logs from KRTrem.
Every time log file is needed to confirm the backup process its success or failed or any communication error is happening.
>>SAVE Robot1
Saving...(Robot1.as)
Network Configuration data
Network Configuration data
ROBOT DATA -
If errors occur during file save it could be for many reasons which would need to be checked for.
I'm not sure KRTerm macro has ability to error check for all instances of failed file save operations.
Use KRTerm help and check macro area and see if anything is available.
I have never looked into any such requirement for this so cannot direct you to anything specific.Can you not simply setup and autosave feature to local USB or better use FTP to server etc.
I suspect this would be easier to achieve.A previous post for this is here:
PostMODERATOR BALLS UP - PLEASE DO NOT USE
Managed to get it working in the end. As always it's that last thing you try that makes it work. It was indeed a combination of the firewall and a couple of other minor settings.
Also helps if you have this little handy PDF on setting up FTP.
See attached:ShAdOwDrAgOnSJune 8, 2020 at 6:04 AM