These are the IO register related macros:
This is how they are used from the Spock command line:
p09/door/haso107klx [3]: %read_ioreg exp_in01 Reading exp_in01 register 1 p09/door/haso107klx [4]: %write_ioreg exp_out01 0 Writing 0 to exp_out01 register p09/door/haso107klx [5]: %read_ioreg exp_in01 Reading exp_in01 register 0
This is how I/O register are operated using the proxies:
p09/door/haso107klx [8]: exp_out01.value = 1 p09/door/haso107klx [9]: exp_in01.value Result [9]: 1 p09/door/haso107klx [10]: exp_out01.value = 0 p09/door/haso107klx [11]: exp_in01.value Result [11]: 0