Menu

NodeVariables

Mike Johnson

Node variable protocol

There can be up to 256 node variables of 1 byte.

There are 3 packet types for these:

71 Read Node Variable (NVRD)

Format: <0x71><NN hi><NN lo><NV#>

Read an node variable, one of up to 256 single bytes. The reply has opc=97, or an opc=7C acknowledge error message (3) meaning no data if the variable is not used.

96 Set a Node Variable (NVSET)

Format: <96><NN hi><NN lo><NV#><NV val>

The reply will be an opc=7C acknowledge (0) meaning OK, or (4) meaning no space if the variable is not used.

97 Node Variable Value (NVANS)

Format: <97><NN hi><NN lo><NV#><NV val>

The value of an node Variable , a reply to an OPC=71.


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.