Hi all, I'm having an issue with indirect addressing. I haven't used indirect addressing all too extensively, or with this level of complexity.
I have attached a rung of code which gives a good indicator of the issue that I'm having. In short, from a PanelView, I want to select recipe(1-12), loop (1-12), and segment (1-10) using pushbuttons. After selecting recipe and loop, I want to be able to enter integers corresponding to hi/low/and setpoint data. After selecting recipe, loop, and segment, I want to enter other integer data, such as time and setpoint. Once the data for one of the above scenarios is entered, a momentary "Save" pushbutton is supposed to MOV this data from temporary registers to the correctly indexed registers of the recipe data structure. I have included a rung of logic, and screenshots of my custom data types. Any help is VASTLY appreciated!
I have attached a rung of code which gives a good indicator of the issue that I'm having. In short, from a PanelView, I want to select recipe(1-12), loop (1-12), and segment (1-10) using pushbuttons. After selecting recipe and loop, I want to be able to enter integers corresponding to hi/low/and setpoint data. After selecting recipe, loop, and segment, I want to enter other integer data, such as time and setpoint. Once the data for one of the above scenarios is entered, a momentary "Save" pushbutton is supposed to MOV this data from temporary registers to the correctly indexed registers of the recipe data structure. I have included a rung of logic, and screenshots of my custom data types. Any help is VASTLY appreciated!