I have a counter in ControlLogix that I would like to change the preset from Panelview
I can set the value of a DINT tag in Panelview and it appears in the ladder logic in the controller, so that much is good.
In the Tag editor the counter preset "CaseCounter.PRE" shows up as a DINT, but when I hover the cursor over the tag it show as a Counter data type.
I have a NEQ instruction to change the preset of the counter to the value set in the Panelview "CaseCountPreset" which is a DINT data type, but it doesn't seem to work... I also tried to COP the CaseCounter.PRE to a DINT using a COP instruction then trying to set the counter preset using the NEQ instruction if the value from the Panelview is diffeent fronm the existing counter preset.
To make a long story short ... How can I change CaseCounter.PRE to the value in CaseCounterPreset in ControlLogix Ladder logic
thanks again
I can set the value of a DINT tag in Panelview and it appears in the ladder logic in the controller, so that much is good.
In the Tag editor the counter preset "CaseCounter.PRE" shows up as a DINT, but when I hover the cursor over the tag it show as a Counter data type.
I have a NEQ instruction to change the preset of the counter to the value set in the Panelview "CaseCountPreset" which is a DINT data type, but it doesn't seem to work... I also tried to COP the CaseCounter.PRE to a DINT using a COP instruction then trying to set the counter preset using the NEQ instruction if the value from the Panelview is diffeent fronm the existing counter preset.
To make a long story short ... How can I change CaseCounter.PRE to the value in CaseCounterPreset in ControlLogix Ladder logic
thanks again
Last edited: