The setmessagenumber command defines the message number that is used in
the command. The response message has the same number (Nb
). The value can be
from 0 to 255.
Example
/> setmessagenumber 10
/> getunitid
/> Unit ID: 1, Client ID: 0, ID: 0x10, Nb: 10, Len: 10, icd_version: D, Err: 0
Serial number: R2730011
/> setmessagenumber 100
/> getunitid
/> Unit ID: 1, Client ID: 0, ID: 0x10, Nb: 100, Len: 10, icd_version: D, Err: 0
Serial number: R2730011
/> setmessagenumber 0
/> getunitid
/> Unit ID: 1, Client ID: 0, ID: 0x10, Nb: 0, Len: 10, icd_version: D, Err: 0
Serial number: R2730011