Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Restart or Shutdown controller

Restart or Shutdown controller

URL

/ctrl

Method

POST

URL Params

See Common URL parameters

Data Params

  • restart-mode={ restart|xstart|shutdown|istart|pstart|bstart } Required where
  • restart: The controller will be restarted. The state is saved and any changed system parameter settings will be activated after the restart.
  • shutdown: The main computer will be shut down. Should be used if the controller UPS is broken.
  • xstart: The controller will be restarted and the Boot Application will be started. The current system is saved and deactivated (the controller is non-functional, for advanced maintenance only).
  • istart: The controller will be restarted. The current system parameter settings and RAPID programs will be discarded, and the original system installation settings will be used.
  • pstart: The controller will be restarted. The current RAPID programs and data will be discarded but not the system parameter settings.
  • bstart: The controller will be restarted. The last automatically saved system state will be loaded. Should be used to recover from a system crash.

Success Response

HTTP_OK(200)

see HTTP Status codes

Example Response

No content

Error Response

NOT_FOUND(404), BAD_REQUEST(400), UNSUPPORTED_MEDIA(415), CONFLICT(409)

See Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics -d "restart-mode=xstart" -X POST "http://localhost/ctrl"

Notes

Supported in bootserver mode