Please note that, in your circuit (second link), the opamp output is always close to zero.
As you know, when the output is in its linear range (between upper and lower limits), the inverting input is equal to the non-inverting one.
So let us assume that the opamp is in its linear state. IN+ is 0.5V. Therefore IN- should be also 0.5 V.
If no light, a dc positive current passes from V3 to IN- thru R2 (5K1) and to the output thru R2 (120K). But Vout (of the opamp) cannot be lower than 0V. The voltage at IN- (Vn) is therefore:
Vn = V3 * R1 / ( R1 + R2 )
Vn = 3 * 120 / ( 120 + 5.1 )
Vn is close to 3V.
It is clear that the opamp is saturated already and its output is close to ground.
About the opto part, I will read the datasheet to find out the practical values of R2 and R3 for V3 = 3V. Let us not forget that the response amplitude depends also on the distance between the device and the reflective surface (also on the material of the latter).
Kerim