christos_d
Member
I followed the procedure to reset, in both ways.
The first way it to set the preset value to 0 in the CtrnPreset tag in the configuration array, then toggle the Soft Preset bit CtrnSoftPreset in the ladder logic.
The second way is the the 'Load Direct Write' feature. I set the write control value (Range12To15[n].HiLimOrDirWr) and then toggle the Load Direct
Write bit (Range12To15[n].LoadDirectWrite).
Both ways results the same, as a single scan pulse ONS is not enough to change the counter CurrentCount.
When i toggle the bits, i have to check the CurrentCount of the counter, in order to confirm that the value has changed to the one that i need,
either the CtrnPreset tag value, or the write control value (Range12To15[n].HiLimOrDirWr).
This check of the value change confirmation, can take up to 15 seconds in some cases.
This is something that i cannot control.
Please advise of how i can resolve this problem.
Thanks in advance
Christos
The first way it to set the preset value to 0 in the CtrnPreset tag in the configuration array, then toggle the Soft Preset bit CtrnSoftPreset in the ladder logic.
The second way is the the 'Load Direct Write' feature. I set the write control value (Range12To15[n].HiLimOrDirWr) and then toggle the Load Direct
Write bit (Range12To15[n].LoadDirectWrite).
Both ways results the same, as a single scan pulse ONS is not enough to change the counter CurrentCount.
When i toggle the bits, i have to check the CurrentCount of the counter, in order to confirm that the value has changed to the one that i need,
either the CtrnPreset tag value, or the write control value (Range12To15[n].HiLimOrDirWr).
This check of the value change confirmation, can take up to 15 seconds in some cases.
This is something that i cannot control.
Please advise of how i can resolve this problem.
Thanks in advance
Christos