Difference between revisions of "Component: Grey Code Encoder (General Input)"
From Flowcode Help
Jump to navigationJump to search| Line 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_Grey_Code_Encoder.fcfx FC_Comp_Source_Grey_Code_Encoder.fcfx] |
==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
| Line 26: | Line 28: | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
| Line 126: | Line 130: | ||
|- | |- | ||
| colspan="2" | Input Pin 2 | | colspan="2" | Input Pin 2 | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation | ||
|- | |- | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
| Line 148: | Line 142: | ||
| 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" | | | colspan="2" | | ||
|} | |} | ||
Revision as of 17:47, 9 November 2022
| 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_Grey_Code_Encoder.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 | |