I have a problem that is driving me crazy and I cannot find the solution. I have searched the forums and did not locate an answer.
I have using a CTRIO in slot 4 of a DL06. I am using as an encoder input for axis control.
I have found and understand how to make the counter retentive on power recycle, but I need to preload this counter with a value.
This value will be determined by the operator. What I want to do is press a command button on the HMI will send this this given quota to the CTRIO. I can activate the reset command B3054.1 and it works, but the value resets to '0'. I need to preload this value, then reset the counter to this adjusted value.
I can do this through the CTRIO workbench, but I need to do this at runtime.
I have the CTRIO inputs addressed to V3000 and outputs to V3030.
Any help would be appreciated.