thanks a lot L D[AR2,P#0.0], but let me ask
what is the difference between these (same) tow instructions u use in your example
L D[AR1,p#2.0] (first one) that you use before opening datablock
L D[AR1,p#0.0] (second one) that you use after opn DB
as i understand from u that in the (first one) i load the adress it self
and in (seconed one i load the contents [data])in that adress. how the PLC Differentiate between the tow meanings although they are considered one line code.
what is the difference between these (same) tow instructions u use in your example
L D[AR1,p#2.0] (first one) that you use before opening datablock
L D[AR1,p#0.0] (second one) that you use after opn DB
as i understand from u that in the (first one) i load the adress it self
and in (seconed one i load the contents [data])in that adress. how the PLC Differentiate between the tow meanings although they are considered one line code.