Don't allow the equation as presented affect your understanding of what is happening. The reference equation is the reference equation. It is there to make clear the function the plc is performing. But it isn't exactly what is happening. Also, when you are considering the output action of the PID think about what will happen in a fixed time period first (1 second for example) and then consider what would need to be done to compensate for a different loop time.
For example, internal to the plc the "integral" is really a digital sum performed once every instruction scan. the equation would something like:
IntSum = IntSum + (Ki * Error * LoopUpdateTime)
Assume an initial IntSum of 0, an error of 1, a Ki of 1 and a LoopUpdate Time of 1. Assuming a constant error, I think it is pretty clear that after one second and one loop update IntSum will be 1, after 2 seconds and 2 loop updates the output will be 2 and so on.
If we change the system so the instruction is scanned twice a second, LoopUpdateTime will change to 0.5. All other things being equal, after the first scan at 0.5 seconds IntSum will equal 0.5, after 2 scans at 1 second IntSum will be 1, after three scans at 1.5 seconds IntSum will be 1.5, after 4 scans at 2 seconds IntSum will be 2 and so on. As you can see, the value of IntSum at 1 and 2 seconds is the same. All that changed is there are intermediate values between those two as a result of the extra scans. But by using the LoopUpdateTime as part of the function the basic nature of the function doesn't change with how often the loop is called...as long as you tell it the right loop update rate.
The same is true of the derivative except the function is divided by LoopUpdateRate instead of multiplied. In implementation, the derivative is actually a digital difference. It will have a form something like:
DiffOut = Kd*(Error - ErrorN-1)/LoopUpdateRate
Keith