- Posts: 19311
- Thank you received: 4655
fupeama wrote: You can define read/write, size for each type in bits (8 bits are 256 steps) and min max value (IEEE-754). maximal 96 bits in and 96 out.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
andypugh wrote:
fupeama wrote: You can define read/write, size for each type in bits (8 bits are 256 steps) and min max value (IEEE-754). maximal 96 bits in and 96 out.
In LinuxCNC Master the limit is now 224 bits if you use the sserialB GTAG (198)
github.com/LinuxCNC/linuxcnc/blob/master...mot2/hostmot2.h#L133
It was my intention to support the use of minifloats in addition to (part of) IEEE-754
github.com/LinuxCNC/linuxcnc/blob/master...mot2/sserial.c#L1531
ie 8, 16, 32 and 64 bit floats.
Though looking at the code it doesn't seem that 8 and 16 bits are implemented yet.
Please Log in or Create an account to join the conversation.
fupeama wrote: When I try to write 4 bytes (32bits) to non volatile variable, linuxcnc only send 2 bytes. how can i send 4bytes information to my own sserial card? I want to add my own non volatile variables and control it.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.