No, I'm saying when you add a DeviceID in the Machines table, you cannot allow the same device in more than one Machine record. If you transfer a device from one vending machine to another, you must first remove the device from the current machine before adding it to another machine. If some machines don't have those devices installed, then that device field in those machine records would have a null value. Every time you enter a DeviceID in the Machines form, you'll have to do a self join lookup on the Machines table to see if that DeviceID already exists in another machine record. If the value is null, you allow it, if it exists in another machine record, you can use vba to remove it from the other machine and add it to the current machine your updating.
If you need to track the history of which machines a device has been installed on, then you would create a machine detail history table and store a snapshot of the machine record in it every time you change any information on a machine. However, I doubt you or the new owner would need that history? Do you wish to track the history of all repairs done to each machine? Do the machines provide any statistics of how many times each item has been purchased? How often does each machine need to be restocked? Whats the best route for restocking the machines?