Protocol format, Emo-500 – AW Gear Meters EMO-500 User Manual

Page 33

Advertising
background image

EMO-500

Operation and Programming Manual

32


Communication through the serial port does not work if the EMO-500 is in programming mode.

Protocol Format

The EMO-500 uses a protocol format that follows OPTO 22 Company’s OPTOMUX.

^ means “add one letter or digit”; ^^ means add two letters or digits, ^^^ means add three letters or
digits, etc.; “cr” means “carriage return.”

The format for reading from the EMO-500 is as follows:

>01K0F3404XXcr

^................start of string must use the > sign

^^.............unit number (under global variables)

^.............read command K (use J to write)

^^^^......address to read from

^^......number of bytes to read

^^....checksum for the string 01K0F3404

......carriage return (ASCII 13) ends the string

The answer received back from the EMO-500 looks like this:

A03E36712XXcr

^...............all answers start with A

^^............low byte (at address 0F34)

^^..........next byte(at address 0F35)

^^........next byte(at address 0F36)

^^......high byte(at address 0F37)

^^....checksum

......carriage return ends the string

The protocol format for writing to the EMO-500 is as follows:

Notice

Notice

Advertising