8/15/2021 3:43 PM | |
Joined: 9/27/2006 Last visit: 3/20/2025 Posts: 12344 Rating:
|
Hello David; The Sick ATM 60 is an absoliute encoder, designed for 8192 counts/rev, and 8192 revs, Which gives you a maximum of 16,277,216 counts. First, an absolute encoder retains its last value on power off, when you power back up it should give you the same reading (if the system has not changed its position). Second, a rollover happens when you excedd eiter you maximiun or minimum number of counts, and you must prepare for it when you parameterize the encoder (see the screenshot below), and when your PLC program detects the transition.You must then determine what you want to do for your count value when your encoder gives you a transition from 16,277.216 to 0... For example, do you want to increase the count abpve the limit value f 16,277,216 given by the encoder, then add the new count (starting with 1) to the maximum count value when you detect rollover, until you exceed the DINT datatype limits (+2,147,483,647, which should last a while). Look at the Operating instructions for your encoder, which you can download from this Sick webpage: https://www.sick.com/ca/en/encoders/absolute-encoders/atm60/atm60-p4h13x13/p/p289256 Hope this helps, |
This contribution was helpful to
1 thankful Users |
Follow us on