Access Reset button state in PLCnextEngineer IEC61131 Programming

Hello,
I would like to access the current state of the RESET button of my AXC F 2152 (either it is currently Pushed or not) from my PLCnextEngineer program.
Is there a default system variable, library, FB, … that could allows me to access such information ?
Thanks for your help !

Hi, there is no simple way to read the current state of the RESET button from a PLCnext Engineer project.
One way I can think of is to use the Shell function block in the PLCnextBase library to list the contents of the file /opt/system/gpio/gpio_rst_button_state/value.
0 = not pressed
1 = pressed