Machine Expert HVAC is the software that you will need to program the M172 controller.
Inside the PLC there is a binary file (compiled file) so, it is not possible to have the source code of the application from a real PLC (M172P) transferred onto your PC.
It is a security behaviour setup by Schneider Electric to protect the code. Hence, a backup file is necessary.