rsdoran,
If you read the whole rung it will not go true unless something is in ST20:1 register other than 0 (NEQ=0). It will then execute the two instructions in the order they are encountered; the AWT first and then the MOV. This should send whatever data is in the registry as long as it is not 0. Then it will write a 0 to the registry to prevent the string from executing again.
I expect this should work. (hopefully) If you have another suggestion I would be happy to hear it. I am always looking for a new trick to make this easier!
Thanks,
Don
I am not strong on ASCII but I saw a zero being put in the ST file, even if he does as suggested the system will write a zero, erasing all data.
Why the zero?
If you read the whole rung it will not go true unless something is in ST20:1 register other than 0 (NEQ=0). It will then execute the two instructions in the order they are encountered; the AWT first and then the MOV. This should send whatever data is in the registry as long as it is not 0. Then it will write a 0 to the registry to prevent the string from executing again.
I expect this should work. (hopefully) If you have another suggestion I would be happy to hear it. I am always looking for a new trick to make this easier!
Thanks,
Don
Last edited: