zarfld / LinuxCnc_PokeysLibComp

Pokeys comp for LinuxCnc using https://bitbucket.org/mbosnak/pokeyslib.git
MIT License
5 stars 0 forks source link

Check Encoders implementation, and parametrize MPGEncoders in HalExample #8

Closed zarfld closed 2 years ago

zarfld commented 2 years ago

Encoderwheel arrived, it should be connected to the "EncoderConnector" on pokeys57CNC which uses Pin8 (UFEncA) Pin12 (UFEncB) and Pin13 (UFEncI).

zarfld commented 2 years ago

encoders are working providing following pins:

pin out s32 encoder.#.count[29]; pin out float encoder.#.position[29]; pin in bit encoder.#.reset[29]; param rw float encoder.#.scale[29] "The scale factor used to convert counts to position units. It is in “counts per position unit”";

known issue: thise pins are available but not yet in use nor provide useful data pin out float encoder.#.velocity[29]; pin in bit encoder.#.index-enable[29];