Writing Values without Unique Write/Modify functions

Writing Values without Unique Write/Modify functions

Are there other ways to set one non-boolean variable to one value using a pushbutton without creating a unique function for every single instance?

I am building a relatively simple zenon HMI and must be missing something. I am making screens for equipment types which have simple inputs and user controls through pushbuttons linked up to "Write/Modify set value" functions. Controls are all through DNP3 so they are treated as USINT by the PLC.

Through parameterization and variable naming, I can make screen changes that correctly update all relevant display variables so I only need one instance of each screen. However, for controls, the only way I can figure out how to do this is to make unique function instances for every single control. (e.g. WritePulse_Var1, WritePulse_Var2) and then use screen-change parameterization to change which functions are called. I cannot link it to the pushbutton's "Write set value" option since this only seems to support boolean quantities.

Is there some way to parameterize a "Write/modify set value" function or is there some other functionality that I am missing? I am quite new to this software so I hope I am just missing something.