beautypg.com

Serial port connection wiring, Protocol format – AW Gear Meters EMO-1005 User Manual

Page 32

background image

AW-Lake Company 8809 Industrial Drive, Franksville, WI 53126  web: www.awgearmeters.com

 Tel: 262-884-9800  Fax: 262-884-9810  Email: [email protected]

REV. 1a 05/98 EMO-1005 Manual.DOC

31

SERIAL PORT CONNECTION WIRING

The serial port connection is established through the 9 pin D-sub connector on the back panel of the
unit.
The pin termination is as follows:

PIN 1 - No connection
PIN 2 - RX TTL level (EMO receiving)
PIN 3 - TX Inverted RS-422 (EMO transmitting)
PIN 4 - RX Inverted RS-422 (EMO receiving)
PIN 5 - GND for shielding
PIN 6 - TX TTL level (EMO transmitting)
PIN 7 - TX RS-422 (EMO transmitting)
PIN 8 - RX RS-422 (EMO receiving)
PIN 9 - GND signal

PROTOCOL FORMAT

The EMO-1005 protocol format follows OPTOMUX by the OPTO-22 company.
The EMO-1005 is treated as a smart front end and the host communication is always initiated by
the host computer.


The following are basic commands and answers.

Reading a channel with the host computer:

>03K0F3403XXcr

^.............. start of text always the > sign
^^............ channel address number (00 through FF)
^........... read command is K (J is write)
^^^^......address that should be read 0000-FFFF
^^..... how many bytes to be read 00 through 0D
^^...checksum for the string 03K0F3403
^.. carriage return (decimal 13)

Answer back from the channel would look like this:

A03FF89XXcr

^.............. every answer back starts with an A

^^............ low byte (at address 0F34)
^^.......... next byte (at address 0F35)
^^........next byte (at address 0F36)
^^......checksum for the string 03FF89
^^....carriage return