Monitoring Torque in MachineLogic: A Simple Setup

Monitoring Torque in MachineLogic: A Simple Setup

If you’re looking to monitor torque in your application, this setup is a great starting point. Simply copy the configuration shown in the attached image directly into your code-free MachineLogic interface.

image

This setup reads the actual torque from your smart drive using an HTTP GET request. To send torque commands, modify the HTTP message to a POST command, change the URL to: http://192.168.7.:8000/smartDrives/motion/torque and send the parameters depending on your specific needs ex. {"axis":2,"torque":50,"slope":50} part, to reflect your desired torque and slope values.

Feel free to use this as a template and modify it according to your project’s requirements. Happy automating!