S: source device. D: device storing GRAY code.     
  Converts the BIN value of the device designated by S to a GRAY code, and stores 
the result in the device designated by D.   
  The valid range for S is as shown below; if you exceed this range, it is an error, and 
the command does not execute.   
16-bit command: 0–32,767 
32-bit command: 0–2,147,483,647