Навигация по разделу "Инструкции, софт и прошивки": Zipstore.ru > Инструкции, софт и прошивки > Меттлер Толедо > Протоколы для простых весов

EPOS 2

Data Format

2400 Baud (select 2400, 4800 or 9600)

7 data bits (select 7 or 8)

Even parity (select Even, None or Odd parity)

1 stop bit (select 1 or 2 stop bit)

Handshaking

For PC DB25 serial port connector:  Jumper 4 to 5, and 6, 8, & 20 together.

For PC DB9 serial port connector:  Jumper 4 to 6 and 7 to 8.

Command Descriptions

Command

COMMENTS

ENQ (05h)

Starts the communication sequence

ACK (06h)

Data Available

NAK (15h)

No acknowledgement

NUL (00h)

No data available

DC1 (11h)

Data Request

STX (02h)

Start of text

ID

Information byte, broken down into the following bits:

Bit

Capacity

2

1

0

0

0

1

15kg x 0.005kg

0

1

0

30lb x 0.01lb

0

1

1

6kg x 0.002kg

Bit 3 - Logic 1

Bit 4 - Logic 1 means under/over range

Bit 5 - Logic 1

Bit 6 - Logic 1 indicates non-AVR capacities

Weight

5 bytes with MSD first

BCC

Block Check Character calculated as the even column parity (Longitudinal Redundancy Check) of all characters except the STX and ETX.

ETX (03h)

End of text

STX Z NUL NUL NUL NUL NUL ETX BCC

Command String to Zero the scale from the EPOS, note that the BCC in this case will be “Z”

STX N NUL NUL NUL NUL NUL ETX BCC

Command String to Tare the scale from the EPOS, note that the BCC in this case will be “N”

 

 

Command Flow

ECR

Scale

COMMENTS

ENQ (05h)

 

 

 

ACK (06h)

Data Available.

Errors could be:

CAN - repeat weighing

NAK - no acknowledgement

NUL - no data available

DC1 (11h)

 

Data Request

Errors could be:

NAK – no acknowledgement

 

STX ID W5W4W3W2W1 BCC ETX

Transmitted Data


Note:  Spaces depicted in the description above are only used for ease of reading.  No space characters are used unless the BCC result yields the space character.