...
The variables should be initialized according to the rules defined in Pally I/O and Software Controlled Inputs i.e. each variable has to contain an array of 2 elements with the 0th element as the IO type and 1st element as the IO channel number.
...
When any popup would appear (error, warning, info) the standard digital output channel 0 will be set to HIGH. Program execution gets paused until the event is acknowledged via setting digital input channel 7 to HIGH.
Example 2:
rf_out_state_error=[3, 1]
rf_out_state_warning=[3, 2]
rf_out_state_info=[3, 3]
rf_out_state_code=[5, 1]
rf_out_state_param=[5, 2]
rf_in_state_ack=[3, 1]
Error popups will set boolean output register 1 to True. Warning popups will set boolean output register 2 to True. Info popups will set boolean output register 3 to True. Type of error/warning/info will appear as a unique integer code in integer output register 1. Error specific parameters will appear in integer output register 2. The receiver has to acknowledge the information by setting boolean input register 1 to True.