Hi,
When I use an interrupt OB (let's say OB38 which is processed every 10ms), does it read the state of the inputs at the time it is called, or does it use the process image for inputs' state? Let me give you an example:
I have a sensor on input I1.0, and when the process image was created this input was in a low state. Immediately after that, it got to a high state. The next time OB38 is called (assuming this happens before PLC cycle is completed), will it process the code with I1.0 in a high or a low state?
And as long as I'm here, I think this goes without saying because this is the point of interrupts but I want to make sure... If I turn an output to a high state in OB38, it will be activated immediately when the OB38 is processed (there will be actual voltage in the output wires?)
When I use an interrupt OB (let's say OB38 which is processed every 10ms), does it read the state of the inputs at the time it is called, or does it use the process image for inputs' state? Let me give you an example:
I have a sensor on input I1.0, and when the process image was created this input was in a low state. Immediately after that, it got to a high state. The next time OB38 is called (assuming this happens before PLC cycle is completed), will it process the code with I1.0 in a high or a low state?
And as long as I'm here, I think this goes without saying because this is the point of interrupts but I want to make sure... If I turn an output to a high state in OB38, it will be activated immediately when the OB38 is processed (there will be actual voltage in the output wires?)