Page 1 of 1

AXBB Registers

PostPosted: Mon Sep 20, 2021 6:46 pm
by valhallaCNC
Are there internal AXBB registers that can be read ? I do not want to write to them, just read only. I've been working with the pokeys 57e card. I'd like to be able to read status of AXBB registers, and write it directly to pokeys using modbus . I can do it now with a macro that reads LED state and write it to pokeys card using modbus. If I could read the register direct I would not have to do macro. Pokeys will share data seamlessly. This is for a control panel. Thanks

Re: AXBB Registers

PostPosted: Tue Sep 21, 2021 2:11 pm
by cncdrive
What do you mean by "registers".
With what software do you want to read "registers"? (UCCNC, Mach3, Mach4, API?)

Re: AXBB Registers

PostPosted: Tue Sep 21, 2021 2:40 pm
by valhallaCNC
sorry if I used the wrong term. At the moment to get a LED status from UCCNC. For softlimit I use AS3.GetLED(268) . Then I set a MOdbus register exec.SetModbusregister(60, 1). Then use modbus to write single register to pokey . I can then read that in my pokeys card as a shared value. Is there a way to write the LED status directly without using get led, then set modbus register. Is there a UCCNC register that does that from Modbus function setting in the UCCNC start regeister field ?