The DTC P0366 OBDII is a generic code that basically indicates that the PCM (Powertrain Control Module) has detected a problem with the CMP B (Camshaft Position Sensor) signal output. This code applies to engine bank number 1.
The PCM can determine the position of the camshaft through the signal that the CMP Sensor delivers to the PCM. This signal is specific to the top dead center on the compression stroke. To accomplish this, a reluctor ring is attached to the camshaft. If the signal from this sensor is erratic, this code will be set.