Difference between revisions of "Component: CNC Machine (Scenarios)"
From Flowcode Help
Jump to navigationJump to searchLine 52: | Line 52: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 57: | Line 59: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===ZAxisMovement=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 75: | Line 78: | ||
+ | ===Drill_Speed=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 93: | Line 97: | ||
+ | ===MoveToXYZ=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 121: | Line 126: | ||
+ | ===YAxisMovement=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 139: | Line 145: | ||
+ | ===HomeMachine=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 152: | Line 159: | ||
+ | ===XAxisMovement=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 170: | Line 178: | ||
+ | ===ResetCoordinates=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 183: | Line 192: | ||
+ | ===Initialise=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- |
Revision as of 11:48, 3 February 2023
Author | Matrix |
Version | 1.0 |
Category | Scenarios |
Contents
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
ZAxisMovement
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 |
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 |
YAxisMovement
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 |
XAxisMovement
ResetCoordinates
![]() |
ResetCoordinates |
Resets the coordinates to the home position 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 |
Property reference
![]() |
Properties |