Skip to content

SYNTEC CNC ​

EMQX Neuron can use the Neuron HUB driver and NeuronHUB Windows program to indirectly access the SYNTEC CNC system, enabling real-time collection of various device operation data, including program names, spindle override, operation status, PLC points, parameters, global variables, etc.

NEURON HUB Windows Program Parameters ​

ParameterDescription
Node NameNode name, must be unique to distinguish multiple nodes
HostIP address of the CNC device to connect to

Supported Data Types ​

  • uint8
  • int8
  • uint32
  • int32
  • uint64
  • int64
  • float
  • double
  • bit
  • string
  • ARRAY_STRING

CNC Data ​

address[.m][.n]

Tag Identifier (Address)DescriptionData TypeParametersRemarks
systemInfo.axesControllable axes countint32--
systemInfo.cnc_typeSystem typestring--
systemInfo.max_axesMaximum axes countint32--
systemInfo.seriesM/T typestring--
systemInfo.nc_verSystem software versionstring--
systemInfo.axis_nameAxis coordinate namesarray string--
systemStatus.statusCurrent operation statusstring--
systemStatus.main_progMain program namestring-0: Input mode 1: Auto mode 2: Invalid mode 3: Edit mode 4: Step mode 5: Manual mode 8: Handwheel mode 9: Mechanical homing mode 10: Program homing mode
systemStatus.cur_progCurrently executing program namestring--
systemStatus.modeModestring-0x1: Emergency stop signal active 0x2: Servo not ready 0x4: IO not ready (remote IO devices, etc.)
systemStatus.alarmAlarmstring--
systemStatus.emgEmergency stopstring--
alarmsCurrent alarmsarray string--
halarmsHistorical alarmsarray string--
oplogOperation logsarray string--
absoluteAbsolute coordinatesdoublemX Y Z
machineMachine coordinatesdoublemX Y Z
relativeRelative coordinatesdoublemX Y Z
distanceRemaining distancedoublemX Y Z
timeTimeint32mpower: Power-on time (seconds) cutting: Cutting time (seconds) cycle: Cycle time (seconds) work: Processing time (seconds)
partCountPart countint32mtotal: Total part count cur: Current part count req: Required part count
ovfeedCurrent feed overridedouble--
ovspindleCurrent spindle overridedouble--
actfeedActual feed speeddouble--
actspindleActual spindle speedint32--
gcodeG-codearray string--
otherCodeOther codesint32mhcode dcode mcode tcode fcode scode
macroGlobal variablesdoublemGlobal variable number
paramParametersint32mParameter number
toolOffsetTool compensationdoublem, nm: Tool compensation number. n: RADIUS_GEOM, RADIUS_WEAR, LENGTH_GEOM, LENGTH_WEAR, WEAR_X, WEAR_Z, WEAR_A, LENGTH_X, LENGTH_Y, LENGTH_A, TOOL_NOSE_RADIUS, TOOL_NOSE_R_WEAR, TOOL_NOSE

TIP

macro and param are readable/writable; others are read-only.

CNC Address Examples

AddressDescription
systemInfo.nc_verRead system software version
machine.XRead X-axis coordinate
macro.100Read/write global variable 100
feedOverrideRead current feed override
alarmsCurrent alarms
partCount.totalTotal part count
toolOffset1.RADIUS_GEOMTool compensation 1, radius compensation

PLC Data ​

Address Format ​

AREA ADDRESS[.BIT][.LEN]

IdentifierDescriptionTypePermission
IInput Bitsbit/int8/uint8Read
OOutput Bitsbit/int8/uint8Read
CC Bitsbit/int8/uint8Read
SS Bitsbit/int8/uint8Read
AA Bitsbit/int8/uint8Read
RRegistersbit/int32/uint32/int64/uint64/float/double/stringRead/Write

TIP

Currently, only partial R area writing is supported; bit writing is not supported.

AREA ADDRESS[.setting/value/state]

IdentifierDescriptionTypePermission
TTimerint32/uint32Read
NCounterint32/uint32Read

TIP

When reading timers and counters, specify whether to read the setting value, current value, or state.

Common PLC Addresses

AddressTypeDescription
I0.0bitInput Bits area, address 0 data
A10int8A Bits area, address 10 data
R100floatRegister area, address 100 data
T0.settingint32Timer area, address 0 setting value
T0.valueint32Timer area, address 0 current value