Serial (RS232):

RS485:

Keyboard Wedge: