Fastoholic
Member
So, I'm really just trying to get some experience by practicing with arrays. I'm using studio 5000 v33.
I have one rung with an XIC bit that's tied to a push button input with a ONS and a GSV copying to a destination button_press_log[10,7]. My intent was to store multiple time stamps. I set the time in the controller properties by my workstation. I don't get any errors. I have shut down everything and restarted and still nothing. Fields in GSV are set WallClockTime, nothing, DateTime(tried LocalDateTime also), Button_Press_Log[0,0].
I set to a periodic task of 10ms. Still nothing. When I hit my push button the XIC shows it's activated (rung illuminates/online) but nothing happens. In my monitor of the array there is no data. I can manually change the bottom field of the GSV in my rung and the first position of my array[0,0] will immediately have that value but nothing else. The rest remains zeros. If I change the bottom field of the GSV it goes to the new value I typed into my array but the rest is still zeros.
I also tried it without the ONS. Still nothing.
I tried searching google but nothing. I'm assuming this is something simple so any help is greatly appreciated.
I have one rung with an XIC bit that's tied to a push button input with a ONS and a GSV copying to a destination button_press_log[10,7]. My intent was to store multiple time stamps. I set the time in the controller properties by my workstation. I don't get any errors. I have shut down everything and restarted and still nothing. Fields in GSV are set WallClockTime, nothing, DateTime(tried LocalDateTime also), Button_Press_Log[0,0].
I set to a periodic task of 10ms. Still nothing. When I hit my push button the XIC shows it's activated (rung illuminates/online) but nothing happens. In my monitor of the array there is no data. I can manually change the bottom field of the GSV in my rung and the first position of my array[0,0] will immediately have that value but nothing else. The rest remains zeros. If I change the bottom field of the GSV it goes to the new value I typed into my array but the rest is still zeros.
I also tried it without the ONS. Still nothing.
I tried searching google but nothing. I'm assuming this is something simple so any help is greatly appreciated.