OPOS Protocols

Transcription

OPOS Protocols
PD/SW ECR PROTOCOL
(V1.4)
N
W
Update : 2013/04/01
E
S
페이지 1
Date
Version
Issue
2011/10/17
1.0
Type-7 추가 - R&D Center 김광현
2012/11/07
1.1
Type#6 Weight에 Decimal Point 추가 – AP Protocol과 동일하게 함
2013/02/13
1.2
Type#4,6 PD-2와 동일하게 Weight Unit(kg, lb, oz, g) 소문자로 변경
2013/02/22
1.3
Type#12 Dialog6 프로토콜 추가
2013/06/13
1.4
Type#5 프로토콜 추가
N
W
E
S
페이지 2
Transmission Data Description
Data
Hex
Description
Data
Hex
Description
SOH
01h
Start of heading
UN1~UN2
KG, LB
Unit of weight
STX
02h
Start of Text
BCC
STA
53h, 55h
S(53h) : Stable, U(55h): Unstable
ETX
03h
End of text
SIGN
2Dh, 20h
Sign of the weight data(2Dh-‘-‘, 20h-‘ ‘ )
EOT
04h
End of transmission
W5~W0
N
P7~P0
U7~U0
W
PN4~PN0
S
Block check character(exclusive or - ^)
Weight data
Total Price data
E
Unit Price Data
PLU number data
페이지 3
ECR
SCALE
ENQ
(05h)
ACK
(06h)
Or
NAK
(15h)
DC2
(12h)
Weight Value Data Format
STX
(02h)
ID
W4 ~ W0
BCC
ETX
BCC has all data bytes except
STX and ETX through exclusive OR(XOR)
Or
BEL
(07h)
When weight is zero.
Or
RS-232c
N Configuration
Databit
7
W
Parity
Stop Bit
Baudrate
S
E
Even
1
9600bps
Most P.O.S, ECRs and Some TEC P.O.S system
Scale Type Identifier
NAK
(15h)
★ Response time : Typicaly 50ms, max 150ms
페이지 4
ECR
SCALE
Request Weight Value
‘W’
(57h)
STX
(02h)
Weight Value Data Format
CR
(0Dh)
W5 ~W0
Or
STX
(02h)
Error Value Data Format
‘?’
(3Fh)
STAT
CR
(0Dh)
STATus Byte
PARITY Always
Bit
1
X
ZERO
X
Over
Load
Minus
Motion
Or
RS-232c
N Configuration
Databit
7
W
Parity
Stop Bit
Baudrate
S
E
Even
Wrong Request Command
‘X’
1
9600bps
★ Response time : Typicaly 50ms, max 150ms
SHARP ER-Axxx, ER-A450T, New SANYO ECRs using RS-232, TOLEDO 3212, etc.
페이지 5
Unit of Weight
ECR
SCALE
Request Weight Value
‘W’
(57h)
CR
(0Dh)
Weight Value Data Format
LF
(0Ah)
W4
W3
‘.’
(2Eh)
W2
W1
W0
UN1
And
Variable
Position
STATUS DATA Format
CR
(0Dh)
UN2
LF
(0Ah)
‘S’
(53h)
B1
B2
CR
(ODh)
ETX
(03h)
Simplified Status Codes
RS-232c
N Configuration
Databit
7
W
Parity
Stop Bit
Baudrate
S
E
B1
B2
Status Definition
‘0’(30h)
‘0’(30h)
OK
‘1’(31h)
‘0’(30h)
Motion
‘2’(32h)
‘0’(30h)
Scale at Zero
‘0’(30h)
‘1’(31h)
Under Capacity
‘0’(30h)
‘2’(32h)
Over Capacity
Even
1
9600bps
CRS, NCR2170, SAMAUNG ER-5100, ER5115 and Many other ECRs
★ Response time : Typicaly 50ms, max 150ms
페이지 6
Unit of Weight
ECR
SCALE
Request Weight Value
‘W’
(57h)
CR
(0Dh)
Weight Value Data Format
LF
(0Ah)
W4
W3
‘.’
(2Eh)
W2
W1
W0
UN1
And
Variable
Position
STATUS DATA Format
CR
(0Dh)
UN2
LF
(0Ah)
B1
B2
CR
(Odh)
ETX
(03h)
Simplified Status Codes
RS-232c
N Configuration
Databit
7
W
Parity
Stop Bit
Baudrate
S
E
B1
B2
Status Definition
‘0’(30h)
‘0’(30h)
OK
‘1’(31h)
‘0’(30h)
Motion
‘2’(32h)
‘0’(30h)
Scale at Zero
‘0’(30h)
‘1’(31h)
Under Capacity
‘0’(30h)
‘2’(32h)
Over Capacity
Even
1
9600bps
NCI General, SAMSUNG ER-5100, ER-5115, Most P.O.S System
★ Response time : Typicaly 50ms, max 150ms
페이지 7
ECR
SCALE
ENQ
(05h)
Unit of Weight
ACK
(06h)
DC1
(11h)
Weight Value Data Format
SOH STX
(01h) (02h)
STA
SIGN W4 W3
‘.’
W2 W1 W0
(2Eh)
UN1
UN2
BCC
ETX EOT
(03h) (04h)
Variable
Position
BCC has all data bytes except
Prifix and Subfix through exclusive OR(XOR)
Symbol
STA
RS-232c
N Configuration
Databit
8
W
Parity
Stop Bit
Baudrate
S
None
E
1
9600bps
Samsung ER-670
SIGN
Char.
Definition
‘S’(53h)
Scale is stable
‘U’(55h)
Scale is unstable
‘ ’(20h)
Zero and positive weight
‘-’(2Dh)
Negative weight
‘F’(46h)
Over load
★ Response time : Typicaly 50ms, max 150ms
페이지 8
ECR
SCALE
Request Weight Value
‘$’
(24h)
Weight Value Data Format
W4
‘.’
(2Eh)
W3
W2
W1
W0
CR
(0Dh)
Variable
Position
RS-232c
N Configuration
Databit
8
W
Parity
Stop Bit
Baudrate
S
None
E
1
9600bps
Samsung ECR(SPAIN)
★ Response time : Typicaly 50ms, max 150ms
페이지 9
Checkout-Dialogue#06
ECR
EOT STX
‘0’
‘1’
ESC
(04h) (02h) (30h) (31h) (1Bh)
SCALE
U5~U0
ETX
(03h)
Request to change scale information
Scale Action
1. Active Unit Price change
Communication Good
ACK
(06h)
Communication no Good
NAK
(15h)
SW can t change
RS-232c
N Configuration
Databit
7
W
Parity
Stop Bit
Baudrate
S
E
Odd
1
9600bps
Most P.O.S System
★ Response time : Typicaly 50ms, max 150ms
페이지 10
Checkout-Dialogue#06
ECR
EOT STX
‘0’
‘3’
ESC
(04h) (02h) (30h) (33h) (1Bh)
TARE ONLY
U5~U0
SCALE
ESC
(1Bh)
T3~T0
ETX
(03h)
Scale Action
Request to change scale information
1. Active Unit Price change
2. Tare value change
Communication Good
ACK
(06h)
Communication no Good
NAK
(15h)
RS-232c
N Configuration
Databit
7
W
Parity
Stop Bit
Baudrate
S
E
Odd
1
9600bps
Most P.O.S System
★ Response time : Typicaly 50ms, max 150ms
페이지 11
Checkout-Dialogue#06
ECR
EOT STX
‘0’
‘4’
ESC
(04h) (02h) (30h) (34h) (1Bh)
SCALE
U5~U0
ESC
(1Bh)
Txt12~Txt0
ETX
(03h)
Scale Action
Request to change scale information
1. Active Unit Price change
2. Active PLU Name change
(only 6byte)
Communication Good
ACK
(06h)
Communication no Good
NAK
(15h)
SW can t change
RS-232c
N Configuration
Databit
7
W
Parity
Stop Bit
Baudrate
S
E
Odd
1
9600bps
Most P.O.S System
★ Response time : Typicaly 50ms, max 150ms
페이지 12
Checkout-Dialogue#06
ECR
SCALE
EOT STX
‘0’
‘5’
ESC
(04h) (02h) (30h) (35h) (1Bh)
(Continue)
T3~T0
U5~U0
ESC
(1Bh)
ESC
(1Bh)
Txt12~Txt0
ETX
(03h)
Scale Action
Request to change scale information
RS-232c
N Configuration
Databit
7
W
Parity
Stop Bit
Baudrate
S
E
Odd
1. Active Unit Price change
2. Tare Value change
2. Active PLU Name change
(only 6byte)
Communication Good
ACK
(06h)
Communication no Good
NAK
(15h)
SW can t change
1
9600bps
Most P.O.S System
★ Response time : Typicaly 50ms, max 150ms
페이지 13
Checkout-Dialogue#06
ECR
SCALE
Request scale information
EOT
(04h)
ENQ
(05h)
STX
‘0’
‘2’
ESC
(02h) (30h) (32h) (1Bh)
Weight Value Data Format
Weight Unit
STA
kg
3
g
2
oz
1
lb
0
(Continue)
ESC
(1Bh)
U5~U0
STA
ESC
(1Bh)
ESC
(1Bh)
W4 ~ W0
P5 ~ P0
ETX
(03h)
Simple weighting sclae: 30h 30h 30h 30h 30h 30h
Or
RS-232c
N Configuration
Databit
7
W
Parity
Stop Bit
Baudrate
S
E
Communication no Good
NAK
(15h)
Odd
1
9600bps
Most P.O.S System
★ Response time : Typicaly 50ms, max 150ms
페이지 14
Checkout-Dialogue#06
ECR
SCALE
Request Status information
‘0’
‘8’
EOT STX
(04h) (02h) (30h) (38h)
ETX
(03h)
STX
‘0’
‘9’
ESC
(02h) (30h) (39h) (1Bh)
Send Status information
Stop Bit
Baudrate
S
E
ETX
(03h)
S0
‘0’(30h)
‘0’(30h)
There is no error present
‘0’(30h)
‘0’(30h)
‘1’(31h)
‘2’(32h)
GENERAL error on the scales
PARITY error, or more characters than permitted
‘1’(31h)
‘0’(30h)
Incorrect record number detected
‘1’(30h)
‘1’(31h)
No valid unit price
‘1’(31h)
‘2’(32h)
No valid tare value received
‘1’(30h)
‘3’(33h)
No valid text received
‘2’(32h)
‘0’(30h)
Scale still in motion ( no equilibrium )
‘3’(33h)
‘0’(30h)
Scale in MIN range
Odd
‘3’(33h)
‘1’(31h)
Scale in underload range or negative weight display
1
‘3’(33h)
‘2’(32h)
Scale in overload range
RS-232c
N Configuration
Databit
7
Parity
S0
S1
SW don t change
W
S1
9600bps
Most P.O.S System
Description
★ Response time : Typicaly 50ms, max 150ms
페이지 15

Similar documents

Mobile RFID Technologies and Standards

Mobile RFID Technologies and Standards 부록 – 관련 권고(안) 제목 (1/2)  F.771: Service description and requirements for multimedia information access triggered by tag-based identification  H.621: Architecture of a system for multimedia inform...

More information