Using the Command Palette:
Press Ctrl+Shift+P (or Cmd+Shift+P on Mac) and run AutomationView: Assign Addresses Automatically.
Using the Variables view:
Click the Assign Automatic Addresses magic wand icon in the title bar of the Variables view.
The command walks every station and module, computes non-conflicting addresses for the free channels, opens the Machine editor's Architecture tab, and reports how many channels it auto-assigned.
To persist the assignments in the
.machinefile, apply them from the Machine editor's Architecture tab. The palette command computes and counts the assignments and opens that tab, but the persistent I/O mapping is saved through the Machine editor itself.