As the accelerator pedal position changes, the sensor varies the signal voltage to the PCM which then controls the throttle position.