Difference between revisions of "Component: Grey Code Encoder (General Input)"
From Flowcode Help
Jump to navigationJump to search| Line 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
| Line 32: | Line 34: | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
| Line 45: | Line 49: | ||
| − | == | + | ==Macro reference== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
Revision as of 14:11, 20 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.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
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 | |