Difference between revisions of "Component: Grey Code Encoder (General Input)"
From Flowcode Help
Jump to navigationJump to searchLine 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
− | Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/ | + | Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_Encoder_Grey_Code_2dgi.fcfx FC_Comp_Source_Encoder_Grey_Code_2dgi.fcfx] |
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 28: | Line 30: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 142: | Line 146: | ||
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | ||
| width="90%" | Scope Traces | | width="90%" | Scope Traces | ||
+ | |- | ||
+ | | colspan="2" | | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-12-icon.png]] | ||
+ | | width="90%" | Poiner Style | ||
+ | |- | ||
+ | | colspan="2" | | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
+ | | width="90%" | Style | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
|} | |} |
Revision as of 14:40, 16 January 2023
Author | Matrix TSL |
Version | 1.4 |
Category | General Input |
Contents
Grey Code Encoder component
Grey Code Encoder component implements a rotary encoder connected to a defined number of pins Grey Code Encoders provide absolute positioning rather than incremental positioning.
Component Source Code
Please click here for the component source code: FC_Comp_Source_Encoder_Grey_Code_2dgi.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
![]() |
ReadAbsoluteAngle |
Reads the absolute angular position of the motor. Returns a floating point value representing the angle of the encoder. | |
![]() |
Return |
![]() |
ReadAbsolutePosition |
Reads the absolute angular position of the motor. Returns an integer value representing the step position. | |
![]() |
Return |