D
I have an existing RSView application that I am trying to modify to pop up a verification screen when the operator attempts to start the line with the length counter > 0.
The application works flawlessly until there is an alarm condition that prevents the line from starting. In this case, the calling screen's object, a pushbutton, captures the cursor and that's all she wrote. The computer must be rebooted afterwards.
The pushbutton simply calls the VBA script with the VBAExec command. It also passes an argument so the routine knows which of two buttons were pressed.
The VBA application writes a value to a status register in the PLC depending on the operator response to the popup.
My question is: If the VBA app tried to write a value, does it continue to attempt to write that value until it can successfully read it back. What I think is happening is that the PLC program attempts to write to this same register when the alarm condition occurs. If this is so, then when the VBA app attempts to verify a successful write, it sees that the value is different and writes it again...and again.
Does this assessment sound plausible?
The application works flawlessly until there is an alarm condition that prevents the line from starting. In this case, the calling screen's object, a pushbutton, captures the cursor and that's all she wrote. The computer must be rebooted afterwards.
The pushbutton simply calls the VBA script with the VBAExec command. It also passes an argument so the routine knows which of two buttons were pressed.
The VBA application writes a value to a status register in the PLC depending on the operator response to the popup.
My question is: If the VBA app tried to write a value, does it continue to attempt to write that value until it can successfully read it back. What I think is happening is that the PLC program attempts to write to this same register when the alarm condition occurs. If this is so, then when the VBA app attempts to verify a successful write, it sees that the value is different and writes it again...and again.
Does this assessment sound plausible?
