Skip to main content
Version: 2.7

NUM FLEXIUM Commands

NUM Flexium Control Driver offers several commands to control and manage the CNC devices.

danger

These commands can cause unwanted behavior on the CNC machine. The target device is overwritten when sending these commands! Caution when doing so.

Overview

CommandDescription
Cnc{c}.Nc{n}.activateProgramActivates a program for an independent axis channel
Cnc{c}.Common.activateProgramActivates a program for common axis channels
Cnc{c}.Common.resetCncResets the Cnc for common axis channels
Cnc{c}.Nc{n}.startCncStarts the Cnc for an independent axis channel
Cnc{c}.Nc{n}.resetCncResets the Cnc for an independent axis channel
Cnc{c}.Common.startCncStarts the Cnc for common axis channels
Cnc{c}.Nc{n}.stopCncStops the Cnc for an independent axis channel
Cnc{c}.Common.stopCncStops the Cnc for common axis channels
Cnc{c}.Nc{n}.writeCncModeWrites the Cnc mode for an independent axis channel
Cnc{c}.Common.writeCncModeWrites the Cnc mode for common axis channels
Cnc{c}.Cnc.writeParameterWrites an Parameter (E Parameter, ...)

ActivateProgram

Activates a program. There are two possibilities to activate a program:

  • Activate a Program for an independent axis channel, then the NC channel is required.
  • Activate a Program for common axis channels.

You must choose the option with the command address.

ArgumentDescriptionData Type
ProgramNameProgram name to activate. Example: NUM File %123.0 equals program name "123.0".System.String

Example:

{
"Id": "<generate your own id>",
"Name": "Activate Program",
"Type": "CommandNode",
"Address": "Cnc0.Common.activateProgram",
"Arguments": [
{
"Name": "ProgramName",
"DataType": "System.String",
"Type": "Input"
}
]
}

resetCnc

Resets the Cnc. There are two possibilities to reset the Cnc:

  • Reset Cnc for an independent axis channel, then the NC channel is required.
  • Reset Cnc for common axis channels.

You must choose the option with the command address.

This function does not require any arguments.

Example:

{
"Id": "<generate your own id>",
"Name": "Reset Cnc ",
"Type": "CommandNode",
"Address": "Cnc0.Common.resetCnc",
"Arguments": []
}

startCnc

Starts the Cnc. There are two possibilities to start the Cnc:

  • Start Cnc for an independent axis channel, then the NC channel is required.
  • Start Cnc for common axis channels.

You must choose the option with the command address.

This function does not require any arguments.

Example:

{
"Id": "<generate your own id>",
"Name": "Start Cnc ",
"Type": "CommandNode",
"Address": "Cnc0.Common.startCnc",
"Arguments": []
}

stopCnc

Stops the Cnc. There are two possibilities to stop the Cnc:

  • Stop Cnc for an independent axis channel, then the NC channel is required.
  • Stop Cnc for common axis channels.

You must choose the option with the command address.

This function does not require any arguments.

Example:

{
"Id": "<generate your own id>",
"Name": "Stop Cnc ",
"Type": "CommandNode",
"Address": "Cnc0.Common.stopCnc",
"Arguments": []
}

writeCncMode

Writes the Cnc mode. There are two possibilities to write the Cnc mode:

  • Write Cnc mode for an independent axis channel, then the NC channel is required.
  • Write Cnc mode for common axis channels.

You must choose the option with the command address.

ArgumentDescriptionData Type
CncModeCnc mode to activate. See Dynamic information.System.Int32

Example:

{
"Id": "<generate your own id>",
"Name": "Select Cnc mode",
"Type": "CommandNode",
"Address": "Cnc0.Common.writeCncMode",
"Arguments": [
{
"Name": "CncMode",
"DataType": "System.Int32",
"Type": "Input"
}
]
}

writeParameter

Writes a Parameter.

caution

Be careful when writing E-Parameters. These values can contain relevant machine configurations.

ArgumentDescriptionData Type
AddressParameter address in Format "Yxxxxx"System.String
ValueValue for this parameter. Caution: Only the Flexium+ CNC Series accept floating point values.System.Double, System.Int32

Example:

{
"Id": "<generaze your own id>",
"Name": "Write E Parameter",
"Type": "CommandNode",
"Address": "Cnc0.Cnc.writeParameter",
"Arguments": [
{
"Name": "Address",
"DataType": "System.String",
"Type": "Input"
},
{
"Name": "Value",
"DataType": "System.Double",
"Type": "Input"
}
]
}