Навигация по разделу "Инструкции, софт и прошивки": Zipstore.ru > Инструкции, софт и прошивки > Меттлер Толедо > Протоколы для простых весов
EPOS 1
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)
Command Descriptions
Command |
COMMENTS |
|||||||||||||||||||||
ENQ (05h) |
Starts the communication sequence |
|||||||||||||||||||||
ACK (06h) |
Data Available |
|||||||||||||||||||||
CAN (18h) |
Repeat weighing |
|||||||||||||||||||||
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 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” | |||||||||||||||||||||
CR (0dh) |
Data received and compared correctly |
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 |
STX ID W5W4W3W2W1 BCC ETX |
|
Confirm Data Errors could be: ACK – Data not confirmed |
|
CR (0dh) |
Data confirmed |
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.