Machsupport Forum
Third party software and hardware support forums. => HiCON Motion Controller => Topic started by: a3dcreator on November 15, 2017, 10:54:40 PM
-
Anyone know how to see the registers for hicon integra in mach4?
Im trying to display some encoder dros from registers
Thanks.
-
You can access the registers by name starting with HiCON. You can view the names of registers in Mach4 file menu Diagnostics->Regfile
The registers are read only
local inst = mc.mcGetInstance()
local regHandle = mc.mcRegGetHandle(inst, 'HiCON/Encoder0')
local val = mc.mcRegGetValue(regHandle)