A molecular barbiturate messenger, which is reversibly released/captured by a photoswitchable artificial molecular receptor, is shown to act as an effector to control ring gliding on a distant hydrogen-bonding [2]rotaxane. Thus, light-driven chemical communication governing the operation of a remote molecular machine is demonstrated using an information-rich neutral molecule.