
- 12 -
STX
M/S
MachineNumber
Cmd/Status
Data
CheckSum
6.
RS-232 Command / Response List
(1) Transmission Specifications
(2) Message Format
(3) Format Description
ND - 500G
N
D
-
5
0
0
G
Transmission speed 9600bps
Synchronizing method Asynchronizing method
Connection control method Polling method
Data format Start bit : 1
Data bit : 8
Parity bit : even
Stop bit : 1
Function
Size
Code
STX Start code 1 byte [0x01] : Start code
M/S Master/Slave code 1 byte [0x10] : Master code
[0x01] : Slave code
Machine Number Single machine payout 1 byte Currently is set for 0 ~ 7
( max 8 units interlinked )
Multiple machines payout 1 bit control 1 machine
( LSB is No.0 ; MSB is No.7 )
Cmd/Status Master command code 1 byte [0x10] : Request payout
[0x11] : Request machine status
[0x12] : RESET command
[0x13] : Request multiple
machines payout
Slave status code [0xAA] : ACK
[0xBB] : NAK
[0x00] : All status is fine
[0x01] : Dispenser is empty
[0x02] : Stock less
[0x03] : Note is jam
[0x04] : Dispenser is busy
[0x05] : The length in payout too long
[0x06] : The length in payout too short
[0x07] : Sensor problem
[0x08] : Checksum error
Data Data code 1 byte Dispense count
CheckSum Checking code 1 byte STX+M/S+MachineNumber
+Cmd/Data
(4) Message Description
(5) Example
A. User requests machine No.0 to dispense 2 bill.
If the note dispensing process is successful ,ND-500G will reply as follow.
If the note dispensing process fails ,ND-500G will reply as follow.
If the note dispensing process 1 bill and fails ,ND-500G will reply as follow.
ND - 500G
N
D
-
5
0
0
G
STX
STX
STX
STX
STX
M/S
M/S
M/S
M/S
M/S
Machine Number
Machine Number
Machine Number
Machine Number
Machine Number
Cmd/Status
Cmd/Status
Cmd/Status
Cmd/Status
Cmd/Status
Data
Data
Data
Data
Data
CheckSum
CheckSum
CheckSum
CheckSum
CheckSum
Description
0x01
0x01
0x01
0x01
0x01
0x10
0x10
0x01
0x01
0x01
0x00~0x07
0x00
0x00
0x00
0x00
0x10
0x10
0xAA
0xBB
0xBB
Count1
0X02
0X02
0X0B
0X01
**
0X21
0XAE
0XBD
0XBE
Single machine payout
0x01 0x10
0x00~0x07
0x11 0x00 **
Request machine status
0x01 0x10
0x00~0x07
0x12 0x00 **
Reset dispenser
0x01 0x10
0x01~0xFF
0x13 Count1
**
Multiple machines payout
0x01 0x01
0x00~0x07
0xAA Count2
**
Payout successful
0x01 0x01
0x00~0x07
0xBB Count2
**
Payout fails
0x01 0x01
0x00~0x07
0x00 0x00 **
All status is
0x01 0x01
0x00~0x07
0x01 0x00 **
Dispenser is empty
0x01 0x01
0x00~0x07
0x02 0x00 **
Stock less
0x01 0x01
0x00~0x07
0x03 0x00 **
Note is jamed
0x01 0x01
0x00~0x07
0x04 0x00 **
Dispenser is busy
0x01 0x01
0x00~0x07
0x05 0x00 **
The length in payout too long
The length in payout too short
0x01 0x01
0x00~0x07
0x06 0x00 **
0x01 0x01
0x00~0x07
0x07 0x00 **
Sensor problem
0x01 0x01
0x00~0x07
0x08 0x00 **
Checksum error
Note: (1) Count1 : How many bill do you want dispense
(2) Count2 : How many bill already dispense
- 13