Youcan get the code by turn ignition to run (don't start) and quickly cycle (turn ignition on and off quickly 3 times) then leave on the 4th time. Your odometer will display the code.
Simply disconnecting the Edge should not set a code with just starting the truck, I don't think unless wires are damaged or shorted. You could set a code running id you have a boost elbow w/out the Edge possible setting an overboost code.
Let us know what the code is.
Wiredawg