MSS Defender

MSS Defender
, MSS Defender

Section 98

Command: vr_setid

The vr_setid command is used to set the Node_ID and Group_ID of a module.

Use

vr_setid [OPTIONS] SN Node_ID Group_ID

  • SN - See the table below
  • Node_ID - The Node ID to program into the module (1 - 255)
  • Group_ID - The Group ID to program into the module (1 - 255)
OPTION Alternate Argument(s) Description Default
-? --help Display this help information
--version Display the Version Number
-c --com Com_Port_Name Com port to use dev/ttyUSB0
--arguments Node_ID Group_ID The Node_ID (1 - 254) and the Group_ID (1 - 254)
to program into the module

Examples

To use vr_enum on modules connected to the communications module, you need to open a virtual port and specify the port to use. See vr_create_virtport_all.sh for more information.

For the examples below, replace "S.N" with the actual serial number. The serial number is case sensitive.

Power Module

  • vr_setid S/N 1 196

Communications Module

  • vr_setid S/N 2 193

AHRS Module

  • vr_setid S/N -c vrport2 3 194

Thruster Module (Use the correct Serial Number and Node ID)

  • vr_setid S/N 5 129

Camera Module

  • vr_setid SN -c vrport3 4 196

LED Module (Use the correct Serial Number and Node ID)

  • vr_setid S/N 11 131

Some of the options use two dashes "--," not a long dash

Document Path: MSS Defender
Operator's Manual > Software Guide > Module Configuration > Configuration Commands > Command: vr_setid