hello.
i have an absolute encoder which is 12 bit and 4096 revolutions.
the maximum output value of the encoder is 2^12=4096*4096(revolution)=16777216
i read the encoder value in plc s7-300 in variable table with instruction
pid256 and it showed dw#16#51d72800 this value is greater than the maximum
output value of the encoder(16777216)! why?(if i turn encoder 4096 the maximum output value must be 16777216)!
how can i read encoder value and compare it with 4096 in order to know that
the encoder has been rotated 1,2,3 etc turns?
best regards.
i have an absolute encoder which is 12 bit and 4096 revolutions.
the maximum output value of the encoder is 2^12=4096*4096(revolution)=16777216
i read the encoder value in plc s7-300 in variable table with instruction
pid256 and it showed dw#16#51d72800 this value is greater than the maximum
output value of the encoder(16777216)! why?(if i turn encoder 4096 the maximum output value must be 16777216)!
how can i read encoder value and compare it with 4096 in order to know that
the encoder has been rotated 1,2,3 etc turns?
best regards.