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
|
ZAxisMovement
|
Moves the components Z axis by 0.01mm. Direction determines direction 1= Down 0 = Up If collision is detected then movement will stop and the return value will be 1. Otherwise the return value will be 0.
|
- BYTE
|
Direction
|
Assign a value of 1 or 0. 1 will move the component down. 0 will move it up.
|
- BYTE
|
Return
|
|
Drill_Speed
|
Will cause the drill to rotate according to the speed. If no speed is set it will stay static.
|
- FLOAT
|
DrillSpeed
|
Speed of the Drill. 0=Stopped
|
- VOID
|
Return
|
|
MoveToXYZ
|
Moves the tool on the machine to the absolute X Y Z position specified at the speed specified by performing 3D linear interolation.
|
- FLOAT
|
X
|
|
- FLOAT
|
Y
|
|
- FLOAT
|
Z
|
|
- VOID
|
Return
|
|
YAxisMovement
|
Moves the components Y axis by 0.01mm. Direction determines direction 1= Forward, 0 = Backward If collision is detected then movement will stop and the return value will be 1. Otherwise the return value will be 0.
|
- BYTE
|
Direction
|
Assign a value of 1 or 0. 1 will move the component right. 0 will move it left.
|
- BYTE
|
Return
|
|
HomeMachine
|
Moves the machine an axis at a time until the end stop is hit. Finishes by resetting the coordinates to 0,0,0.
|
- VOID
|
Return
|
|
XAxisMovement
|
Moves the components X axis by 0.01mm. Direction determines direction 1= Forward, 0 = Backward If collision is detected then movement will stop and the return value will be 1. Otherwise the return value will be 0.
|
- BYTE
|
Direction
|
Assign a value of 1 or 0. 1 will move the component forward. 0 will move it up.
|
- BYTE
|
Return
|
|
ResetCoordinates
|
Resets the coordinates to the home position 0,0,0.
|
- VOID
|
Return
|
|
Initialise
|
Enables the three motors within the component allowing for movement when any of the Axis macros are called.
|
- VOID
|
Return
|
Property reference
|
Properties
|
==Macro reference==
|
ZAxisMovement
|
Moves the components Z axis by 0.01mm. Direction determines direction 1= Down 0 = Up If collision is detected then movement will stop and the return value will be 1. Otherwise the return value will be 0.
|
- BYTE
|
Direction
|
Assign a value of 1 or 0. 1 will move the component down. 0 will move it up.
|
- BYTE
|
Return
|
|
Drill_Speed
|
Will cause the drill to rotate according to the speed. If no speed is set it will stay static.
|
- FLOAT
|
DrillSpeed
|
Speed of the Drill. 0=Stopped
|
- VOID
|
Return
|
|
MoveToXYZ
|
Moves the tool on the machine to the absolute X Y Z position specified at the speed specified by performing 3D linear interolation.
|
- FLOAT
|
X
|
|
- FLOAT
|
Y
|
|
- FLOAT
|
Z
|
|
- VOID
|
Return
|
|
YAxisMovement
|
Moves the components Y axis by 0.01mm. Direction determines direction 1= Forward, 0 = Backward If collision is detected then movement will stop and the return value will be 1. Otherwise the return value will be 0.
|
- BYTE
|
Direction
|
Assign a value of 1 or 0. 1 will move the component right. 0 will move it left.
|
- BYTE
|
Return
|
|
HomeMachine
|
Moves the machine an axis at a time until the end stop is hit. Finishes by resetting the coordinates to 0,0,0.
|
- VOID
|
Return
|
|
XAxisMovement
|
Moves the components X axis by 0.01mm. Direction determines direction 1= Forward, 0 = Backward If collision is detected then movement will stop and the return value will be 1. Otherwise the return value will be 0.
|
- BYTE
|
Direction
|
Assign a value of 1 or 0. 1 will move the component forward. 0 will move it up.
|
- BYTE
|
Return
|
|
ResetCoordinates
|
Resets the coordinates to the home position 0,0,0.
|
- VOID
|
Return
|
|
Initialise
|
Enables the three motors within the component allowing for movement when any of the Axis macros are called.
|
- VOID
|
Return
|
Property reference
|
Properties
|
==Macro reference==
|
ZAxisMovement
|
Moves the components Z axis by 0.01mm. Direction determines direction 1= Down 0 = Up If collision is detected then movement will stop and the return value will be 1. Otherwise the return value will be 0.
|
- BYTE
|
Direction
|
Assign a value of 1 or 0. 1 will move the component down. 0 will move it up.
|
- BYTE
|
Return
|
|
Drill_Speed
|
Will cause the drill to rotate according to the speed. If no speed is set it will stay static.
|
- FLOAT
|
DrillSpeed
|
Speed of the Drill. 0=Stopped
|
- VOID
|
Return
|
|
MoveToXYZ
|
Moves the tool on the machine to the absolute X Y Z position specified at the speed specified by performing 3D linear interolation.
|
- FLOAT
|
X
|
|
- FLOAT
|
Y
|
|
- FLOAT
|
Z
|
|
- VOID
|
Return
|
|
YAxisMovement
|
Moves the components Y axis by 0.01mm. Direction determines direction 1= Forward, 0 = Backward If collision is detected then movement will stop and the return value will be 1. Otherwise the return value will be 0.
|
- BYTE
|
Direction
|
Assign a value of 1 or 0. 1 will move the component right. 0 will move it left.
|
- BYTE
|
Return
|
|
HomeMachine
|
Moves the machine an axis at a time until the end stop is hit. Finishes by resetting the coordinates to 0,0,0.
|
- VOID
|
Return
|
|
XAxisMovement
|
Moves the components X axis by 0.01mm. Direction determines direction 1= Forward, 0 = Backward If collision is detected then movement will stop and the return value will be 1. Otherwise the return value will be 0.
|
- BYTE
|
Direction
|
Assign a value of 1 or 0. 1 will move the component forward. 0 will move it up.
|
- BYTE
|
Return
|
|
ResetCoordinates
|
Resets the coordinates to the home position 0,0,0.
|
- VOID
|
Return
|
|
Initialise
|
Enables the three motors within the component allowing for movement when any of the Axis macros are called.
|
- VOID
|
Return
|
Property reference
|
Properties
|
==Macro reference==
|
ZAxisMovement
|
Moves the components Z axis by 0.01mm. Direction determines direction 1= Down 0 = Up If collision is detected then movement will stop and the return value will be 1. Otherwise the return value will be 0.
|
- BYTE
|
Direction
|
Assign a value of 1 or 0. 1 will move the component down. 0 will move it up.
|
- BYTE
|
Return
|
|
Drill_Speed
|
Will cause the drill to rotate according to the speed. If no speed is set it will stay static.
|
- FLOAT
|
DrillSpeed
|
Speed of the Drill. 0=Stopped
|
- VOID
|
Return
|
|
MoveToXYZ
|
Moves the tool on the machine to the absolute X Y Z position specified at the speed specified by performing 3D linear interolation.
|
- FLOAT
|
X
|
|
- FLOAT
|
Y
|
|
- FLOAT
|
Z
|
|
- VOID
|
Return
|
|
YAxisMovement
|
Moves the components Y axis by 0.01mm. Direction determines direction 1= Forward, 0 = Backward If collision is detected then movement will stop and the return value will be 1. Otherwise the return value will be 0.
|
- BYTE
|
Direction
|
Assign a value of 1 or 0. 1 will move the component right. 0 will move it left.
|
- BYTE
|
Return
|
|
HomeMachine
|
Moves the machine an axis at a time until the end stop is hit. Finishes by resetting the coordinates to 0,0,0.
|
- VOID
|
Return
|
|
XAxisMovement
|
Moves the components X axis by 0.01mm. Direction determines direction 1= Forward, 0 = Backward If collision is detected then movement will stop and the return value will be 1. Otherwise the return value will be 0.
|
- BYTE
|
Direction
|
Assign a value of 1 or 0. 1 will move the component forward. 0 will move it up.
|
- BYTE
|
Return
|
|
ResetCoordinates
|
Resets the coordinates to the home position 0,0,0.
|
- VOID
|
Return
|
|
Initialise
|
Enables the three motors within the component allowing for movement when any of the Axis macros are called.
|
- VOID
|
Return
|
Property reference
|
Properties
|