For any unit conversion on any PLC, you can use four function math with the following for PLC Analog Input…