To Set the DG-ID on a Yaesu FTM400D
Press the GM button for 2 seconds
Press the GM button again, briefly

Turn the dial to set the Desired TX DG-ID
The TX DG-ID shown here (23) will connect the Coos Bay Repeater with the Sherwood Repeater. (Repeater 2 with repeater 3) 32 would also work just as well.
Hold down the GM Button for 2 seconds and you will see the main screen come back. Notice in the upper middle of the screen it shows
TX23, this shows that you made the correct change.
When your done with you link remember to put your TX DG-ID back to 00!