I want to read the register messages using pymodbus library in python. But I don\'t want to use an inbuilt function instead I want to use it by passing function code as an a