Gauge - Dynamic min and max

Sorry if this is a duplicate entry.

I have a connection to a plc. From a data block I get a min and a max value for a variable. I would now like to pass this to a gauge. Unfortunately, I have not found anything suitable. the values are in the following format:

Min : msg.payload : number

Here's the one :wink: