0% found this document useful (0 votes)
10 views14 pages

TestToolGuide

Uploaded by

byvgfwyt7d
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views14 pages

TestToolGuide

Uploaded by

byvgfwyt7d
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

1 / 14

April 15, 2009

SankyoCardReader.exe
Test Tool Guide

Contents:

1. Execution Environment ................................................................................................................... 2

2. Installation........................................................................................................................................ 2

3. Execution Procedure ....................................................................................................................... 2

4. Connecting ...................................................................................................................................... 3

5. “Button(s)” Tab................................................................................................................................. 4

6. “Magnetic Read” Tab ....................................................................................................................... 6

7. “Magnetic Write” Tab ....................................................................................................................... 7

8. “IC Card” Tab ................................................................................................................................... 8

9. “Command(s)” Tab........................................................................................................................... 9

9.1 “COMMAND(S)” TAB SCREEN.................................................................................................... 9


9.2 COMMAND LINE(S) ................................................................................................................. 10

10. Firmware updating....................................................................................................................... 12

11. Disconnecting .............................................................................................................................. 14

NIDEC SANKYO CORPORATION


2 / 14

1. Execution Environment
OS (Operating System):
Microsoft Windows 2000, Microsoft Windows XP. They are trademarks of the Microsoft
Corporation, USA

2. Installation
Unpack the ZIP file; SankyoCardReader.zip; and install them on your system.

3. Execution Procedure

Step 1: Connect the Host Computer and the target device with a cable, and then turn on the
device.
Step 2: Run the “SankyoCardReader.exe”.
-> The main dialog box appears.

NIDEC SANKYO CORPORATION


3 / 14

4. Connecting

Step 1: Click the “Connect” button.

Step 1

Fig.4-1 “Main” dialog box

Step 2: Select a number of RS232C Serial port and Baudrate.

Step 2

Step 3

Fig.4-2 “Select port” dialog box


Step 3: Click the “OK” button.

NIDEC SANKYO CORPORATION


4 / 14

5. “Button(s)” Tab

1 2

3 4 5 6

7 8 9 10

11 12

Fig.5 “Button(s)” Tab

NIDEC SANKYO CORPORATION


5 / 14

Button Executed command Function


1. Initialize INITIALIZE Initialize ICRW
2. Status request STATUS REQUEST Inquire status
3. Entry ENTRY Card entry
4. Eject CARD CARRY Eject
5. Retrieve RETRIEVE Retrieve
6. Capture CARD CARRY Capture
7. IC Contact set IC CONTACT IC contact set
8. Activate ICC IC CARDCONTROL Activate
9. Deactivate ICC IC CARDCONTROL Deactivate
10. IC Contact Release IC CONTACT IC contact release
11. Activate SAM SAM CARDCONTROL Activate
12. Deactivate SAM SAM CARDCONTROL Deactivate

NIDEC SANKYO CORPORATION


6 / 14

6. “Magnetic Read” Tab

Step 1: Select track(s) to read.


Step 2: Execute the “Entry” command using “Button(s)” tab.
Step 3: Insert a card.
Step 4: Click the “Read” button.
-> The reading result is displayed.

Step 1

Result

Step 4

Fig.6 “Magnetic Read” Tab

NIDEC SANKYO CORPORATION


7 / 14

7. “Magnetic Write” Tab

Step 1: Select track(s) to write.


Step 2: Input data.
Step 3: Execute the “Entry” command using “Button(s)” tab.
Step 4: Insert a card.
Step 5: Click the “Write” button and insert a card.

Step 1 Step 2

Step 5

Fig.7 “Magnetic Wrute” Tab

NIDEC SANKYO CORPORATION


8 / 14

8. “IC Card” Tab

Step 1: Input data in hexadecimal notation, i.e., two characters following '$' represent
a hexadecimal value.
Step 2: Execute the “Entry” command using “Button(s)” tab.
Step 3: Insert a card.
Step 4: Execute the “IC Contact” command and the “Activate IC” command.
Step 5: Click the “Transmit” button.
-> The output data is displayed.

Step 1

Step 5

Fig.8 “Button(s)” Tab

NIDEC SANKYO CORPORATION


9 / 14

9. “Command(s)” Tab

9.1 “Command(s)” Tab Screen

1
5 6

7 8

10

11
2 3 4

Fig. 8 “Command(s)” Tab

NIDEC SANKYO CORPORATION


10 / 14

1. Input command line(s) to execute.


2. The content of the selected text file is loaded and displayed in 1.
3. The content displayed in 1 to the text file is saved.
4. Clear the display.
5. Execute command lines shown in 1 line by line.
6. Execute a command line input in 1.
7. Resume executing the command lines input to 1.
8. Stop executing the command lines input in 1.
9. Skip a command line input in 1.
10. Cancel the command being in operation.
11. Specify the execution frequency of the command line(s) input in 1.

9.2 Command line(s)

9.2.1 How to input command lines


1. Inputting command line(s) typing keys from the keyboard.
2. Loading a program pushing the "Load" button and then selecting a text file.
This means you must prepare a set of command line(s) in a text format file.

9.2.2 Format
C [CommandCode(1byte)] [ParameterCode(1byte)] [Data(not fixed size)]

The first character must be 'C', which indicates that the line is for command execution.
If there is no data, i.e., the size of the data is 0 bytes, you have to write nothing.
You can write a command code, a parameter code, and data in hexadecimal notation,
i.e., two characters following '$' represent hexadecimal value.
If the first character is ';' or a white space, the line is considered to be a comment and then
ignored.
example)CommandCode is ’0’, ParameterCode is ’1’, Data is ”23456”
->“C0123456”
‘0’=“$30”,
“C0123456”=“C$30123456”=“C0$31$323456”

NIDEC SANKYO CORPORATION


11 / 14

9.2.3 Special formats


T [Integer]
W [Integer]

'T' indicates standing by for specified time.


'W' indicates specifying the timeout time of a command.
The integer is invalid except 0 to 9, the unit is [msec].
example)

; Initialize command
C0032400000

W10000

; Status command
C11

T3000

; Revision command
CA1

Refer to interface specifications for command and response for details.

NIDEC SANKYO CORPORATION


12 / 14

10. Firmware updating

Step 1: Click the “Update Firmware” button.

Step 1

Fig.10-1 “Main” dialog box

NIDEC SANKYO CORPORATION


13 / 14

Step 2: Select a file type.


Step 3: Select a download file.
Step 4: Click the “Open” button.

Step 3

Step 4

Step 2

Fig.10-2 “Open File” dialog box

Step 5: Select a number of RS232C Serial port and Baudrate.


Step 6: Click the “OK” button.

Step 5

Step 6

Fig.10-2 “Select port” dialog box

NIDEC SANKYO CORPORATION


14 / 14

11. Disconnecting

Click “Disconnect” button.

Fig.11 “Main” dialog box

NIDEC SANKYO CORPORATION

You might also like