I had a job using encoder AUTONICS E50S8-360-3 - N - 24, which is connected to Mitsubishi FX2N plc on the input x0 , x1 and x2, program that
LD M8000
OUT C252 K360
why the output of the c252 fixed 0 (zero), if I change to the following program
LD M8000
OUT C251 K360
LD M8000
DHSZ K0 K360 C251 M70
LD M72
RST C251
and wiring on removable x2 , c251 value is 0 to 360, But there is a problem if the encoder is used for the cam, but have problem if the encoder is used for the cam , ie sensing objects on a conveyor that the distance between objects is one round encoder , using the following program;
LD M8000
DZCP D300 D330 C251 M800
the value of M800 (on) are always shifted little by little so long cam is incompatible with the existence of objects , what is causing this , I 've checked the mechanical and there is no problem , please I was taught how to take advantage of the encoder for the cam, thank's
LD M8000
OUT C252 K360
why the output of the c252 fixed 0 (zero), if I change to the following program
LD M8000
OUT C251 K360
LD M8000
DHSZ K0 K360 C251 M70
LD M72
RST C251
and wiring on removable x2 , c251 value is 0 to 360, But there is a problem if the encoder is used for the cam, but have problem if the encoder is used for the cam , ie sensing objects on a conveyor that the distance between objects is one round encoder , using the following program;
LD M8000
DZCP D300 D330 C251 M800
the value of M800 (on) are always shifted little by little so long cam is incompatible with the existence of objects , what is causing this , I 've checked the mechanical and there is no problem , please I was taught how to take advantage of the encoder for the cam, thank's