def convert_double_to_two_registers(doubleValue):
    """
    Convert 32 Bit Value to two 16 Bit Value to send as Modbus Registers
    doubleValue: Value to be converted
    return: 16 Bit Register values int[]
    """
    myList = list()
    myList.append(int(doubleValue & 65535))
    myList.append(int((doubleValue & 4294901760) >> 16))
    return myList
