AMI gateway physical connection is straight forward. For DG1 drive, 24V (RED) = pin 13, GND (BLK) = pin 12, RS485(+)(GRN) = pin 25, RS485(-)(YEL) = pin 26