PID read write and save