Professional Documents
Culture Documents
Page
Interface Specification
MODEL : PCSU-100/100C
REV. : 2.22
DATE : 2013. Jul. 2nd
(210mm 297mm)
Standard No. Model Name Rev. Page
Revision History
Item
Ver. DATE Name
Title Details
(210mm 297mm)
Standard No. Model Name Rev. Page
1.2 2010.05.03 Color CIS Applied - CIS Operation Mode Added.(R/G/B/WHITE) Y.G. SIM
EEPROM Value GREEN = 0 / RED =1
BLUE = 2 / WHITE = 3
2.0 2011.07.15 - Delete the record of the - Clear Check Memory command added Y.M.KIM
last transaction
2.1 2011.07.28 - Add the space between - Get MICR Space Finder command added J. S. Mun
MICs on check when
responding.
2.2 2011.10.18 - Status and StatusX - Status and StatusX command includes the J. S. Mun
detects opening status of function of checking of Top Cover status.
Top Cover as Error 2000.
2.21 2011.12.28 -Removal of - It is only for internal use and removed to avoid W.H.Pakr
GetMicrRawData user confusion
description
(210mm 297mm)
Standard No. Model Name Rev. Page
Contents
Interface Specification ............................................................................................................................... 1
1 Preface ............................................................................................................................................ 5
2 Command Type............................................................................................................................... 5
2.1 Operation Command ................................................................................................................ 5
2.2 Utility Command ....................................................................................................................... 5
4 Error Code....................................................................................................................................... 36
4.1 Configuration ............................................................................................................................ 36
4.2 Detail description ...................................................................................................................... 36
5 Sensor Assignment........................................................................................................................ 38
(210mm 297mm)
Standard No. Model Name Rev. Page
1 Preface
The document defines the interface specification between Check Accepting Unit (PCSU-
100) and upper level device. This communication is processed by USB.
2 Command Type
The command set for PCSU-100 consists of Operation commend, Test command and
Utility commend.
(210mm 297mm)
Standard No. Model Name Rev. Page
(210mm 297mm)
Standard No. Model Name Rev. Page
① MI 1, 2 : Message Indicator
② L0 ~ L2 : Transmission of Actual Data Length
(Not including MI1, MI2, L0, L1, L2, ASCII Value)
- L0 : Upper level Byte
- L1 : Middle level Byte
- L2 : Lower level Byte
③ Data : Data to transfer by Command
- Real data excepting Header & Tail of Command in Serial Interface
④ Sep: 0x0d (Frame End)
Actual
MI1 MI2 L0 L1 L2 SC Error 4-Byte Dummy Data Sep
Data
(210mm 297mm)
Standard No. Model Name Rev. Page
HOST UNIT
Bulk Tx
Bulk Rx
3.3 Accept
Description
If the command is received, the module will wait until a medium inserts. If a medium is not
inserted for the defined time, the module will return error and the transaction will be
terminated. In case a medium is detected, PCSU drives the medium to the left direction
until it is detected by CIS. Then it enables CIS to scan the medium and MICR to read the
codes.
In normal case, the medium is moved to the end of CIS and PCSU terminates the scanning.
As soon as the scan is finished, the image data will be sent to Host and ACCEPT command
will be completed.
(210mm 297mm)
Standard No. Model Name Rev. Page
Description
If the command is received, PCSU waits for the insertion of the medium. If the medium is
not inserted within the specific period referring to the Command Data5 value, the error
will be returned and PCSU will terminate. If the medium is detected, it will be driven to
left side until it arrives on CIS starting point. Then CIS starts to scan and to read MICs. In
normal case, when it arrives on CIS termination point, the scanning will be stopped and
the data will be sent to the host.
(210mm 297mm)
Standard No. Model Name Rev. Page
3.5 Reject
Description
If this command is received, PCSU returns the inserted medium to user. If the medium is
returned, REJECT command will be completed.
(210mm 297mm)
Standard No. Model Name Rev. Page
Description
If the command is received, PCSU moves the inserted medium to the specific position.
When the medium is moved to the position, the command is terminated normal.
(210mm 297mm)
Standard No. Model Name Rev. Page
4 LEN2 0x30
5 SC 0x** 0x50 or 0x52
6 ERR0 0x**
7 ERR1 0x30
Refer to error code table.
8 ERR2 0x**
9 ERR3 0x**
10 - 126 Dummy 0x30
127 Sep 0x0d Character indicating the end of Response
3.7 Print
Description
If the 13th address value of EEPROM is 0 with the command sent, the medium will be
returned. In case the value is 1, the medium will be passed and deposited into system.
(210mm 297mm)
Standard No. Model Name Rev. Page
9 ERR3 0x**
10 - 126 Dummy 0x30
127 Sep 0x0d Character indicating the end of Response
Description
(210mm 297mm)
Standard No. Model Name Rev. Page
Description
3.10 Eject
Description
(210mm 297mm)
Standard No. Model Name Rev. Page
3.11 Reject_Clip
Description
(210mm 297mm)
Standard No. Model Name Rev. Page
1 „C‟ 0x43
2 LEN0 0x30 For example, if size is 0x2AB bytes, then LEN0 is 0x32, LEN1 is
3 LEN1 0x30 0x41 and LEN2 is 0x42.
4 LEN2 0x30
5 SC 0x** 0x50 or 0x52
6 ERR0 0x**
7 ERR1 0x30
Refer to error code table.
8 ERR2 0x**
9 ERR3 0x**
10 - 126 Dummy 0x30
127 Sep 0x0d Character indicating the end of Response
Description
If the command is received, PCSU transfers the size of the scanned image in just previous
time. When a user needs to acquire memories in advance, a user can get the image size
by this command.
(210mm 297mm)
Standard No. Model Name Rev. Page
8 ERR2 0x**
9 ERR3 0x**
Indicate the size of image by byte.
10-17 DATA 0x** For example, if size is 0x12AB bytes, values may be 0x30,
0x30, 0x30, 0x30, 0x31, 0x32, 0x41 and 0x42.
18 - 126 Dummy 0x30
127 Sep 0x0d Character indicating the end of Response
Description
If the command is received, PCSU transfers the needed size of the data from image
memory to Host. The response includes only the image data.
(210mm 297mm)
Standard No. Model Name Rev. Page
3.14 STATUS
Description
(210mm 297mm)
Standard No. Model Name Rev. Page
3.15 STATUSX
Description
If the command is received, PCSU responded the sensor Status except LED, which is
different from STATUS.
(210mm 297mm)
Standard No. Model Name Rev. Page
Description
If the command is received, PCSU gets ROM version and Check-Sum and sends those.
(210mm 297mm)
Standard No. Model Name Rev. Page
3.17 INITIAL
Description
If the command is received, PCSU clears the path. If there remains a medium on the path,
it will be rejected.
Description
This command is used to decide Blinking operation of LED, which leads customer to left
sided insertion.
(210mm 297mm)
Standard No. Model Name Rev. Page
Description
If the command is received, PCSU drives the medium to the CIS_END and does black
shading during stopping motor. While feeding the medium again, it does white shading, and
then returns the medium.
(210mm 297mm)
Standard No. Model Name Rev. Page
2 LEN0 0x30
For example, if size is 0x2AB bytes, then LEN0 is 0x32, LEN1 is
3 LEN1 0x30
0x41 and LEN2 is 0x42.
4 LEN2 0x30
5 Sep 0x0d Character indicating the end of Command
Description
If the command is received, the transferring data are saved to RAM of PCSU.
(210mm 297mm)
Standard No. Model Name Rev. Page
Description
If the command is received, PCSU save the file for ROM from RAM to ROM.
However, if CheckSum is different, it is not saved on ROM and returns.
(210mm 297mm)
Standard No. Model Name Rev. Page
7 ERR1 0x30
8 ERR2 0x**
9 ERR3 0x**
10 - 126 Dummy 0x30
127 Sep 0x0d Character indicating the end of Response
Description
If the command is received, the main board of PCSU is reset and rebooted.
Description
(210mm 297mm)
Standard No. Model Name Rev. Page
If the command is received, PCSU reads 10th addresses to 20th and reports to the Host.
(210mm 297mm)
Standard No. Model Name Rev. Page
Description
If the command is received, PCSU writes the assigned values in the assigned addresses.
However, a user should pay attention to use it because there is no verification process for
error of the addresses.
(210mm 297mm)
Standard No. Model Name Rev. Page
Description
This command is used to get the version and the Check Sum of Loader.
If the command received, PCSU returns the version and the Check-sum of the Loader.
(210mm 297mm)
Standard No. Model Name Rev. Page
Description
If the command received, the transferred data are saved to RAM memory of PCSU.
(210mm 297mm)
Standard No. Model Name Rev. Page
Description
If the command received, the data on RAM are written onto ROM but if the Check Sum is different,
the data will be returned without saving on ROM.
Description
(210mm 297mm)
Standard No. Model Name Rev. Page
If the command received, the System Value on EEPROM RAM will be returned.
3.29 INITIAL2
Description
This command is to initialize the module with consideration to remaining media on the path.
If the command received, the module operates Motor to clear the remaining check.
(210mm 297mm)
Standard No. Model Name Rev. Page
3.30 Get_pID
Description
This command is to take USB product ID from PCSU.
3.31 Get_vID
Description
This command is to take USB vendor ID from PCSU.
(210mm 297mm)
Standard No. Model Name Rev. Page
3.32 USBConnStatus
Description
This command is to get USB Connection Status.
Description
This command is to get Serial Number from the current unit.
(210mm 297mm)
Standard No. Model Name Rev. Page
th
0x** The 4 address data of Device Serial Number
th
0x** The 5 address data of Device Serial Number
th
0x** The 6 address data of Device Serial Number
th
0x** The 7 address data of Device Serial Number
th
0x** The 8 address data of Device Serial Number
th
0x** The 9 address data of Device Serial Number
th
0x** The 10 address data of Device Serial Number
20- 126 Dummy 0x30
127 Sep 0x0d Character indicating the end of Response.
Description
This command is to get the number of the space characters and its individual position.
This command is available after receiving MICR Data and so Accept command should be done
prior to the command.
For visual display, InsertSpace command (referring to DLL manual) should be used with the
obtained data.
(210mm 297mm)
Standard No. Model Name Rev. Page
10 Count0 0x30 The number of space characters Ex) If the number of space
11 Count1 0x30 characters is 0x06, it is 0x30 and 0x36.
Space 0x30 + The position value of each space character
12-126 0x** st
Location Ex) If it is 0x45, the space is located after the 21 character.
127 Sep 0x0d Character indicating the end of Response.
Description
This command is to delete the transaction record of the last transaction.
When it is received, both the MICR data and the image of the last transaction will be deleted.
(210mm 297mm)
Standard No. Model Name Rev. Page
4 Error Code
4.1 Configuration
ERR
Definition Description
CODE
On command of AC, no medium is inserted within
1000 ERROR_INSERT TIMEOUT
the defined interval.
On command of AC, the medium is driven not so
1001 ERROR_AL_FAIL
enough to be driven to the left side.
On command of AC, the medium is not arrived on
1002 ERROR_JAM_ACCEPT_INLET
CIS_STR within the defined interval.
On command of AC, the medium still blocks INLET
1004 ERROR_JAM_ACCEPT_CIS_END
Sensor even though the specified interval is over.
The medium is shorter than the minimum defined
1006 ERROR_MIN_SIZE
size.
The medium is longer than the maximum defined
1007 ERROR_MAX_SIZE
size.
During operation of AC command, the medium still
1008 ERROR_JAM_ACCEPT_CIS
blocks INLET Sensor.
During operation of AC, the medium is not arrived on
1009 ERROR_ JAM_ACCEPT_ADC_STR
ADC_STR.
On downloading, the calculated value by AP is
1010 ERROR_CHECKSUM
different from the value downloaded Check Sum.
1011 ERROR_ CMD Undefined Command
(210mm 297mm)
Standard No. Model Name Rev. Page
(210mm 297mm)
Standard No. Model Name Rev. Page
5 Sensor Assignment
#2 #3 #6
#1
#5
#4
(210mm 297mm)