Component: CNC Machine (Scenarios): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
||
| Line 68: | Line 68: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Drill_Speed''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Drill_Speed''' | ||
|- | |- | ||
| Line 87: | Line 87: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''HomeMachine''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''HomeMachine''' | ||
|- | |- | ||
| Line 101: | Line 101: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Initialise''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Initialise''' | ||
|- | |- | ||
| Line 115: | Line 115: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MoveToXYZ''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''MoveToXYZ''' | ||
|- | |- | ||
| Line 144: | Line 144: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ResetCoordinates''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ResetCoordinates''' | ||
|- | |- | ||
| Line 158: | Line 158: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''XAxisMovement''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''XAxisMovement''' | ||
|- | |- | ||
| Line 177: | Line 177: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''YAxisMovement''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''YAxisMovement''' | ||
|- | |- | ||
| Line 196: | Line 196: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ZAxisMovement''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ZAxisMovement''' | ||
|- | |- | ||
Revision as of 14:17, 13 July 2026
| Author | Matrix |
| Version | 1.0 |
| Category | Scenarios |
CNC Machine component
A CNC Machine that allows for simulation movement in the X, Y, Z directions and also providing access to the Drill.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_CNCComponent_v002.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_CNCComponent_v002.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Drill_Speed
| Drill_Speed | |
| Will cause the drill to rotate according to the speed. If no speed is set it will stay static. | |
| DrillSpeed | |
| Speed of the Drill. 0=Stopped | |
| Return | |
HomeMachine
| HomeMachine | |
| Moves the machine an axis at a time until the end stop is hit. Finishes by resetting the coordinates to 0,0,0. | |
| Return | |
Initialise
| Initialise | |
| Enables the three motors within the component allowing for movement when any of the Axis macros are called. | |
| Return | |
MoveToXYZ
| MoveToXYZ | |
| Moves the tool on the machine to the absolute X Y Z position specified at the speed specified by performing 3D linear interolation. | |
| X | |
| Y | |
| Z | |
| Return | |
ResetCoordinates
| ResetCoordinates | |
| Resets the coordinates to the home position 0,0,0. | |
| Return | |
XAxisMovement
YAxisMovement
ZAxisMovement
Property reference
| Properties |