ElectricFreak
Member
Hi Everyone,
I have searched the previous threads, but could not find an answer to my problem.
My process uses feed rolls to meter out product.
Attached to these rolls is an AB 845H-SJHZ24CNY2 Incremental Encoder with 1000 pulses per revoultion.
This is connected to a 1746-HSCE.
I need to tell the gearmotor driving these rolls to stop when a certian count is reached, and store that count as an
integer. then reset the count.
My program works for now. However I never really felt good about it.
Most of my head bashing results when trying to soft reset the encoder count, to start a new count.
Is the soft reset supposed to reset the count? if so what am I doing wrong?
Attached is a really quickly chopped part of my program,
Please look at ladder 13.
If someone has a sample of how to soft reset the HSCE I would love to see it.
Thanks,
Chris
I have searched the previous threads, but could not find an answer to my problem.
My process uses feed rolls to meter out product.
Attached to these rolls is an AB 845H-SJHZ24CNY2 Incremental Encoder with 1000 pulses per revoultion.
This is connected to a 1746-HSCE.
I need to tell the gearmotor driving these rolls to stop when a certian count is reached, and store that count as an
integer. then reset the count.
My program works for now. However I never really felt good about it.
Most of my head bashing results when trying to soft reset the encoder count, to start a new count.
Is the soft reset supposed to reset the count? if so what am I doing wrong?
Attached is a really quickly chopped part of my program,
Please look at ladder 13.
If someone has a sample of how to soft reset the HSCE I would love to see it.
Thanks,
Chris