AXBB Registers

If you have a question about the software please ask it here.

AXBB Registers

Postby valhallaCNC » Mon Sep 20, 2021 6:46 pm

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
valhallaCNC
 
Posts: 81
Joined: Wed Jun 30, 2021 8:04 pm

Re: AXBB Registers

Postby cncdrive » Tue Sep 21, 2021 2:11 pm

What do you mean by "registers".
With what software do you want to read "registers"? (UCCNC, Mach3, Mach4, API?)
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: AXBB Registers

Postby valhallaCNC » Tue Sep 21, 2021 2:40 pm

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 ?
valhallaCNC
 
Posts: 81
Joined: Wed Jun 30, 2021 8:04 pm


Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 30 guests

cron