Screen Maker Button Set Reset with Digital Input

Dear experts,

I have added two new buttons to the FP screen using a screen maker. The buttons are working without any issues when pressed by manually.

I have created Button-1, which SETS signal A and RESETS signal B when pressed. Similarly, Button-2 SETS signal B and RESETS signal A when pressed. Additionally, when Button-1 is selected, it resets Button-2, and when Button-2 is selected, it resets Button-1.

My requirement is to select/deselect the button with digital input (DI) "system on auto". When this DI becomes true, it should select button-1 and deselect button-2 and when this DI becomes false, it should deselect button-1 and select button-2 by itself. Thanks

Long story short, the button should have both options:
1-The operator can manually select/deselect Button-1 and Button-2.
2-These buttons should also perform the same function via DI as the operator does manually.

Best regards,
Tech Ahmed