Professional Documents
Culture Documents
V2x_Std_DataTransmisionSpec_A0.doc
GB-H-01047 (A0)
Table of Contents
1. INTRODUCTION...............................................................................................................................................................6
1.1 Introduction................................................................................................................................................................6
1.2 Applicable Card Reader / Writer and CPU / FW........................................................................................................6
1.3 Normative References...............................................................................................................................................6
1.4 Notice for IC card (ICC).............................................................................................................................................6
1.5 Definition of Terminology...........................................................................................................................................7
2. TRANSMISSION SPECIFICATIONS................................................................................................................................9
2.1 Basic Transmission Specifications ............................................................................................................................9
2.2 Transmission Control Method....................................................................................................................................9
2.3 Transmission Control Codes .....................................................................................................................................9
2.4 Message Format .....................................................................................................................................................10
2.4.1 Command/Response Format ..........................................................................................................................10
2.4.2 Usable Codes in Text ......................................................................................................................................10
2.5 Transmission Control Procedure .............................................................................................................................11
2.5.1 Transmission Start ..........................................................................................................................................11
2.5.2 Sequence in Normal Operation .......................................................................................................................11
2.5.3 Sequence in Recovery Operation....................................................................................................................11
2.5.4 Interruption of Transmission and Command sent by the host to the C/R ........................................................12
2.6 Transmission Control Matrix....................................................................................................................................13
2.6.1 Control by the host (provided for reference) ....................................................................................................13
2.6.2 Control by C/R.................................................................................................................................................13
3. TIME CHART OF TRANSMISSION CONTROL SIGNAL LINE .....................................................................................14
3.1 DTR Signal ..............................................................................................................................................................14
3.2 Interruption of Transmission by the CTS Signal ......................................................................................................14
4. MESSAGE SPECIFICATIONS .......................................................................................................................................15
4.1 Command Format (HOST -> C/R)...........................................................................................................................15
4.2 Response Format (C/R -> HOST) ...........................................................................................................................16
4.2.1 Positive Response Format ..............................................................................................................................16
4.2.2 SAM Positive Response Format......................................................................................................................16
4.2.3 Negative Response Format.............................................................................................................................16
5. TABLE OF COMMANDS................................................................................................................................................17
5.1 Card Handling .........................................................................................................................................................17
5.1.1 Initial Reset Commands ..................................................................................................................................17
5.1.2 Status Sense Commands................................................................................................................................17
5.1.3 Insertion Commands .......................................................................................................................................17
5.1.4 Intake Commands ...........................................................................................................................................17
5.1.5 Return Commands ..........................................................................................................................................17
5.1.6 Re-intake Commands......................................................................................................................................18
5.2 Magnetic Track Handling.........................................................................................................................................18
5.2.1 Magnetic Read Commands .............................................................................................................................18
5.2.2 Magnetic Write Commands .............................................................................................................................18
5.3 C/R Setting Commands...........................................................................................................................................18
5.4 Card Reject Number................................................................................................................................................18
5.5 Lifetime Counter ......................................................................................................................................................18
5.6 FW/HW Identification...............................................................................................................................................19
5.7 I/O port handling......................................................................................................................................................19
5.8 Cleaning Commands...............................................................................................................................................19
5.9 IC Chip Card (ICC) Handling ...................................................................................................................................20
5.9.1 ICC Activation / Deactivation Commands........................................................................................................20
5.9.2 ICC Data Transmission Commands ................................................................................................................20
5.10 Secure Application Module (SAM) Handling............................................................................................................21
5.10.1 SAM Activation / Deactivation Commands ......................................................................................................21
5.10.2 SAM Data Transmission Commands ..............................................................................................................21
5.11 Protocol Handling for ICC & SAM............................................................................................................................21
5.12 Memory Card Handling ...........................................................................................................................................22
5.13 Download Function..................................................................................................................................................22
6. TABLE OF RESPONSES ...............................................................................................................................................23
6.1 Table of Positive Response Status..........................................................................................................................23
6.2 Status Table of SAM Positive Response.................................................................................................................23
2 / 218
GB-H-01047 (A0)
3 / 218
GB-H-01047 (A0)
4 / 218
GB-H-01047 (A0)
5 / 218
GB-H-01047 (A0)
1. Introduction
1.1 Introduction
This specification provides the transmission specifications between the V2X Series Card Reader / Writer and the HOST
terminal.
6 / 218
GB-H-01047 (A0)
(2) Mechanical
Front Standby Position Front Position which the C/R stops the card in the C/R.
Gate Position Position that the C/R returns the card to the user.
ICC Contact Press Position Position that the C/R can press the ICC contact.
MM Starting Position Position that the C/R can start to transport the card due to the MM Sensor Read.
Rear Standby Position Position which the C/R intake the card
And Rear Position which the C/R stops the card in the C/R.
7 / 218
GB-H-01047 (A0)
(5) IC Card
APDU Application Protocol Data Unit
ATR Answer to Reset
BWI Block Waiting Time Integer
BWT Block Waiting Time
CLA Class Byte of the Command Message
Cold Reset The reset of the ICC that occurs when the supply voltage (VCC) and other signals
to the ICC are raised from the inactive state and the reset (RST) signal is applied.
D Indicated values of the bit rate adjustment factor
etu Elementary Time Unit
F Indicated values of the clock rate conversion factor
IFS Information Field Size
IFSD Information field size for the interface device
Lc Exact Length of Data Sent by Terminal in Response to a Case 3 or 4 Command
Le Maximum Length of Data Expected by the terminal in Response to a Case 2 or 4
Command
LEN Length
NAD Node Address
P1 Parameter 1
P2 Parameter 2
P3 Parameter 3
PCB Protocol Control Byte
PPS Protocol and Parameter Selection
SAD Source Node Address
S-block Supervisory block
SW1 Status Word One
SW2 Status Word Two
T=0 Character-oriented asynchronous half duplex transmission protocol
T=1 Block-oriented asynchronous half duplex transmission protocol
TCK Check Character
Warm Reset The reset that occurs when the reset (RST) signal is applied to the ICC while the
clock (CLK) and supply voltage (VCC) lines are maintained in their active state.
8 / 218
GB-H-01047 (A0)
2. Transmission Specifications
2.1 Basic Transmission Specifications
Item Content
Electronic Interface RS232 Interface
Synchronous Method Start-Stop Synchronization Method
Communication Method Half~duplex Method
Transmission Speed 1200, 2400, 4800, 9600, 19200, 38400bps
Automatic Recognition *1
Character Format Start Bit 1 bit
Data 8 bit
Vertical Parity Bit: 1 bit (Even)
Stop Bit: 1 bit
Character Code ASCII, Binary
Error Detector Horizontal Parity Check (BCC) Even
Vertical Parity Check: Even
Bit Sending Sequence LSB Priority
*1 After the power is turned on, downloading is successfully completed, or the host receives a response to the
command of “d3” (Prohibition on use of FW), the host shall confirm the DTR signal of C/R turns on, and shall send an
“Initial Reset” command. This “Initial Reset” command determines the transmission speed to be used between the
host and the C/R. When the host sends data other than an “Initial Reset” command (e.g. DLE EOT), it shall send an
“Initial Reset” command after 15 ms.
9 / 218
GB-H-01047 (A0)
D S D E B
L T Text L T C
E X E X C
b8 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
b7 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
b6 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1
b5 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
b4 b3 b2 b1 0 1 2 3 4 5 6 7 8 9 A B C D E F
S
0 0 0 0 0 DLE*1 0 @ P ` p
P
0 0 0 1 1 ! 1 A Q a q
0 0 1 0 2 STX “ 2 B R b r
0 0 1 1 3 ETX # 3 C S c s
0 1 0 0 4 EOT $ 4 D T d t
0 1 0 1 5 ENQ NAK % 5 E U e u
0 1 1 0 6 ACK & 6 F V f v
0 1 1 1 7 ‘ 7 G W g w
1 0 0 0 8 ( 8 H X h x
1 0 0 1 9 ) 9 I Y i y
1 0 1 0 A * : J Z j z
1 0 1 1 B + ; K [ k {
1 1 0 0 C , < L \ l |
1 1 0 1 D ~ = M ] m }
1 1 1 0 E . > N ^ n ~
1 1 1 1 F / ? O _ o
*1 [Transparent Mode]
When “DLE (10H)” is used in text as a part of a command or a response, add one more “DLE (10H)” to the text,
totaling 2 characters on the transmission line.
For details, refer to “4. Presentation of data” and “5. Reception of data” in ISO 2111.
10 / 218
GB-H-01047 (A0)
Processing
CHD DLE ACK (Execution) Response
Processing
CHD DLE ACK (Execution) Response
(3) The host detects an error while it is receiving ACK from the C/R. (The host resends the
Command.)
HOST Command Command Resend DLE ENQ
*1 Processing
CHD DLE ACK DLE ACK (Execution) Response
11 / 218
GB-H-01047 (A0)
(4) Monitoring time-out occurs while the host is waiting for a response from the C/R.
(The host resends ENQ, requesting a response from the C/R.)
Error Processing
CHD DLE ACK (Execution) Response
(5) The host detects an error during receiving a response from the C/R.
(The host resends ENQ, requesting the C/R to resend the response.)
Processing *1
CHD DLE ACK (Execution) Response Response
Resend
*1: The host detected a receiving error.
2.5.4 Interruption of Transmission and Command sent by the host to the C/R
By sending “DLE EOT” from the host to the C/R, transmission and execution of a command can be interrupted any
time except while downloading is in process. For details, see Annex E.
(1) Before the host sends a command (Interrupting transmission from the host to the C/R)
(2) After the host sends a command (Canceling the command from the host to the C/R)
(3) After the host sends ENQ (The host forcefully interrupts the command in process.)
HOST Command DLE ENQ DLE EOT
Processing
CHD DLE ACK (Execution) DLE EOT (Interruption)
(4) While the C/R is sending a response (The host interrupts the transmission.)
HOST Command DLE ENQ DLE EOT
Processing
CHD DLE ACK (Execution) Response DLE EOT
12 / 218
GB-H-01047 (A0)
13 / 218
GB-H-01047 (A0)
off
(1) The host shall send Initial Reset after the DTR Signal is turned ON. After confirming that the DTR Signal is
turned on, the host shall send an Initial Reset command, for example (“07”) but other Initial Reset are also
allowed
(2) After the power is turned on, the C/R boots up within 4sec.
(3) After the host receives a response of either DL Completion (Command “d2”) or DL Preparation (Command
“d3”), the DTR Signal is turned off for 300 ms at most.
(1) When the CTS Signal from the host is turned OFF during transmission of a response from the C/R, the C/R
interrupts the transmission after sending two or less characters.
(2) The C/R resumes transmission within 1ms after the CTS Signal is turned on.
(3) If the CTS Signal has been turned off before C/R’s transmitting a response, the C/R sends a response after the
CTS Signal is turned on.
14 / 218
GB-H-01047 (A0)
4. Message Specifications
Each line in the tables specifies as shown below:
(1) IDN
Specifies its code. The code for commands is “C” (43H).
(2) CMD
Specifies a command. (See 3.3)
(3) CMP
Command Parameter.
This defines details of a CMD processing. However, some CMDs do not have any command parameter.
15 / 218
GB-H-01047 (A0)
(1) JDG
The host judges whether the process was normally completed or not by the JDG code in a response message.
• “P” (50H) in JDG specifies a positive response that the process was normally completed.
• “N” (4EH) in JDG specifies a negative response that the process was abnormally completed.
(2) RCM
RCM in a response message is the same code as the command (CMD) to which the response is responding.
(1) RES
• Data in RES in a response message usually specifies the position of a card in the C/R.
• When a response responds to the ICC Control Command, the RES specifies the ICC Control Status.
• When a response responds to a DL related command, the RES specifies the DL status.
(1) RES
• Data in RES in a response message usually specifies the position of a card in the C/R.
• When a response responds to the ICC Control Command, the RES specifies the ICC Control Status.
(1) RES
• RES in a response message is a code indicating an error resulted from the command process.
16 / 218
GB-H-01047 (A0)
5. Table of Commands
5.1 Card Handling
5.1.1 Initial Reset Commands
CMD
Command Name Function Ref
(ASCII)
Initial Reset “00” Initializes the C/R then returns card to the gate position if card is in the C/R. 7.1
“01” Initializes the C/R then ejects card through to rear if card is in the C/R. 7.2
“02” Initializes the C/R then holds card at the rear standby position if card is in the 7.3
C/R.
“03” Initializes the C/R then ejects card through to front if card in the C/R in order to 7.4
remove the short card or the long card.
“04” Initializes the C/R then returns card to the gate position if card is in the C/R (No 7.5
shutter control when no card is in).
“05” Initializes the C/R then ejects card through to rear if card is in the C/R (No 7.6
shutter control).
“06” Initializes the C/R then holds card in the standby position if card is in the C/R 7.7
(No shutter control).
“07” Initializes the C/R without mechanical movement. 7.8
17 / 218
GB-H-01047 (A0)
18 / 218
GB-H-01047 (A0)
19 / 218
GB-H-01047 (A0)
20 / 218
GB-H-01047 (A0)
21 / 218
GB-H-01047 (A0)
22 / 218
GB-H-01047 (A0)
6. Table of Responses
6.1 Table of Positive Response Status
Response statuses (RES) of Positive Response Format are shown in the table below:
RES
Meaning
(ASCII)
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“04” Card at Read Start Position of MM Sensor
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
“21” In process C/R of Continuous Reception from ICC (With Reception Data, without SW1 + SW2)
“22” In Process C/R of Continuous Transmission to ICC
(Without Reception Data, without SW1 + SW2)
“23” Abort Completion of ICC Transmission by Forcedly Interruption
“30” In Process Downloading
“31” Downloading Normal Completion. Waiting for Initial Reset
SAM RES
Meaning
(ASCII)
“40” Deactivation Status SAM
“41” Activation Status SAM
“50” Transmission to SAM Completion (with/without Receiving Data, with SW1+SW2)
“51” Continuous Reception Status from SAM (with Receiving Data, without SW1+SW2)
“52” Continuous Transmission Status to SAM (without Receiving Data, without SW1+SW2)
“53” Abort Completion of SAM Transmission by Forcedly Interruption.
23 / 218
GB-H-01047 (A0)
24 / 218
GB-H-01047 (A0)
25 / 218
GB-H-01047 (A0)
26 / 218
GB-H-01047 (A0)
27 / 218
GB-H-01047 (A0)
28 / 218
GB-H-01047 (A0)
29 / 218
GB-H-01047 (A0)
7. Command Specification
Descriptions of Command Specification
(1) Command
IDN CMD CMP
(1byte) (2bytes) (0~2bytes)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 0~1 “0” Less than 10ms *2 Minimum Guaranteed Time for
“1”~”9” 10ms~90ms Switching Transmission/Reception
<2> 0~1 “A” Hold inside C/R Card Processing Method After
“B” Return to Front *2 Power Failure
“C” Eject to Rear
*2: Specifies the default value.
*3: Minimum Guaranteed Time for Switching Transmission/Reception means the minimum time until the C/R
sends a response (DLE ACK or response) after the C/R received a Command or DLE ENQ from the host.
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
RES Meaning
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear or Card Jam at Rear
“18” Power Down Detection
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“33” Data Error in Flash Memory Detection
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
30 / 218
GB-H-01047 (A0)
[Card process procedure when the power off] (The host should connect an external capacitor to the C/R.)
• “A”: Hold inside C/R Releases the IC contact and holds inside C/R.
• “B”: Return to Front Releases the IC contact and returns a card to the gate position.
• “C”: Eject to Rear Releases the IC contact and ejects a card to rear.
• Prohibits an insertion permission state so that a card cannot be inserted. (if an insertion permission state).
• Clears the magnetic read and write data.
• Confirms the IC contact and motor behavior.
• Returns a card to the gate position (Only when there is a card).
(5) Notes
• The host should execute one of Initial Reset Commands immediately after the power is turned on.
• The host should send the Initial Reset command when the C/R initialization and the C/R error.
31 / 218
GB-H-01047 (A0)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 0~1 “0” Less than 10ms *2 Minimum Guaranteed Time for
“1”~”9” 10ms~90ms Switching Transmission/Reception
<2> 0~1 “A” Hold inside C/R Card Processing Method After
“B” Return to Front *2 Power Failure
“C” Eject to Rear
*2: Specifies the default value.
*3: Minimum Guaranteed Time for Switching Transmission/Reception means the minimum time until the C/R
sends a response (DLE ACK or response) after the C/R received a Command or DLE ENQ from the host.
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
RES Meaning
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear or Card Jam at Rear
“18” Power Down Detection
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“33” Data Error in Flash Memory Detection
“64” Card Insertion Error by C/R
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
32 / 218
GB-H-01047 (A0)
[Card process procedure when the power off] (The host should connect an external capacitor to the C/R.)
• “A”: Hold inside C/R Releases the IC contact and holds inside C/R.
• “B”: Return to Front Releases the IC contact and returns a card to the gate position.
• “C”: Eject to Rear Releases the IC contact and ejects a card to rear.
• Prohibits an insertion permission state so that a card cannot be inserted. (if an insertion permission state).
• Clears the magnetic read and write data.
• Confirms the IC contact and motor behavior.
• Ejects a card to rear and counts the number of ejected card (Only when there is a card).
(5) Notes
• The host should execute one of Initial Reset Commands immediately after the power is turned on.
• The host should send the Initial Reset command when the C/R initialization and the C/R error.
33 / 218
GB-H-01047 (A0)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 0~1 “0” Less than 10ms *2 Minimum Guaranteed Time for
“1”~”9” 10ms~90ms Switching Transmission/Reception
<2> 0~1 “A” Hold inside C/R Card Processing Method After
“B” Return to Front *2 Power Failure
“C” Eject to Rear
*2: Specifies the default value.
*3: Minimum Guaranteed Time for Switching Transmission/Reception means the minimum time until the C/R
sends a response (DLE ACK or response) after the C/R received a Command or DLE ENQ from the host.
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
RES Meaning
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal from Rear
“16” Card Insertion from Rear or Card Jam at Rear
“18” Power Down Detection
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“33” Data Error in Flash Memory Detection
“64” Card Insertion Error by C/R
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
34 / 218
GB-H-01047 (A0)
[Card process procedure when the power off] (The host should connect an external capacitor to the C/R.)
• “A”: Hold inside C/R Releases the IC contact and holds inside C/R.
• “B”: Return to Front Releases the IC contact and returns a card to the gate position.
• “C”: Eject to Rear Releases the IC contact and ejects a card to rear.
• Prohibits an insertion permission state so that a card cannot be inserted. (if an insertion permission state).
• Clears the magnetic read and write data.
• Confirms the IC contact and motor behavior.
• Transports a card to the rear card stand-by position (Only when there is a card).
(5) Notes
• The host should execute one of Initial Reset Commands immediately after the power is turned on.
• The host should send the Initial Reset command when the C/R initialization and the C/R error.
35 / 218
GB-H-01047 (A0)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 0~1 “0” Less than 10ms *2 Minimum Guaranteed Time for
“1”~”9” 10ms~90ms Switching Transmission/Reception
<2> 0~1 “A” Hold inside C/R Card Processing Method After
“B” Return to Front *2 Power Failure
“C” Eject to Rear
*2: Specifies the default value.
*3: Minimum Guaranteed Time for Switching Transmission/Reception means the minimum time until the C/R
sends a response (DLE ACK or response) after the C/R received a Command or DLE ENQ from the host.
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
RES Meaning
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear or Card Jam at Rear
“18” Power Down Detection
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“33” Data Error in Flash Memory Detection
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
36 / 218
GB-H-01047 (A0)
[Card process procedure when the power off] (The host should connect an external capacitor to the C/R.)
• “A”: Hold inside C/R Releases the IC contact and holds inside C/R.
• “B”: Return to Front Releases the IC contact and returns a card to the gate position.
• “C”: Eject to Rear Releases the IC contact and ejects a card to rear.
• Prohibits an insertion permission state so that a card cannot be inserted. (if an insertion permission state).
• Clears the magnetic read and write data.
• Confirms the IC contact and motor behavior.
• Ejects a card to front (Only when there is a card).
(5) Notes
• The host should execute one of Initial Reset Commands immediately after the power is turned on.
• The host should send the Initial Reset command when the C/R initialization and the C/R error.
37 / 218
GB-H-01047 (A0)
7.5 (04) Initial Reset (Return to Front without the shutter movement)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 0~1 “0” Less than 10ms *2 Minimum Guaranteed Time for
“1”~”9” 10ms~90ms Switching Transmission/Reception
<2> 0~1 “A” Hold inside C/R Card Processing Method After
“B” Return to Front *2 Power Failure
“C” Eject to Rear
*2: Specifies the default value.
*3: Minimum Guaranteed Time for Switching Transmission/Reception means the minimum time until the C/R
sends a response (DLE ACK or response) after the C/R received a Command or DLE ENQ from the host.
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
RES Meaning
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear or Card Jam at Rear
“18” Power Down Detection
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“33” Data Error in Flash Memory Detection
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
38 / 218
GB-H-01047 (A0)
[Card process procedure when the power off] (The host should connect an external capacitor to the C/R.)
• “A”: Hold inside C/R Releases the IC contact and holds inside C/R.
• “B”: Return to Front Releases the IC contact and returns a card to the gate position.
• “C”: Eject to Rear Releases the IC contact and ejects a card to rear.
• Prohibits an insertion permission state so that a card cannot be inserted. (if an insertion permission state).
• Clears the magnetic read and write data.
• Confirms the IC contact and motor behavior. But does not confirm the shutter behavior.
• Returns a card to the gate position (Only when there is a card).
(5) Notes
• The host should execute one of Initial Reset Commands immediately after the power is turned on.
• The host should send the Initial Reset command when the C/R initialization and the C/R error.
39 / 218
GB-H-01047 (A0)
7.6 (05) Initial Reset (Eject to Rear without the shutter movement)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 0~1 “0” Less than 10ms *2 Minimum Guaranteed Time for
“1”~”9” 10ms~90ms Switching Transmission/Reception
<2> 0~1 “A” Hold inside C/R Card Processing Method After
“B” Return to Front *2 Power Failure
“C” Eject to Rear
*2: Specifies the default value.
*3: Minimum Guaranteed Time for Switching Transmission/Reception means the minimum time until the C/R
sends a response (DLE ACK or response) after the C/R received a Command or DLE ENQ from the host.
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
RES Meaning
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear or Card Jam at Rear
“18” Power Down Detection
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“33” Data Error in Flash Memory Detection
“64” Card Insertion Error by C/R
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
40 / 218
GB-H-01047 (A0)
[Card process procedure when the power off] (The host should connect an external capacitor to the C/R.)
• “A”: Hold inside C/R Releases the IC contact and holds inside C/R.
• “B”: Return to Front Releases the IC contact and returns a card to the gate position.
• “C”: Eject to Rear Releases the IC contact and ejects a card to rear.
• Prohibits an insertion permission state so that a card cannot be inserted. (if an insertion permission state).
• Clears the magnetic read and write data.
• Confirms the IC contact and motor behavior. But does not confirm the shutter behavior.
• Ejects a card to rear and counts the number of ejected card (Only when there is a card).
(5) Notes
• The host should execute one of Initial Reset Commands immediately after the power is turned on.
• The host should send the Initial Reset command when the C/R initialization and the C/R error.
41 / 218
GB-H-01047 (A0)
7.7 (06) Initial Reset (Hold inside C/R without the shutter movement)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 0~1 “0” Less than 10ms *2 Minimum Guaranteed Time for
“1”~”9” 10ms~90ms Switching Transmission/Reception
<2> 0~1 “A” Hold inside C/R Card Processing Method After
“B” Return to Front *2 Power Failure
“C” Eject to Rear
*2: Specifies the default value.
*3: Minimum Guaranteed Time for Switching Transmission/Reception means the minimum time until the C/R
sends a response (DLE ACK or response) after the C/R received a Command or DLE ENQ from the host.
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
RES Meaning
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear or Card Jam at Rear
“18” Power Down Detection
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“33” Data Error in Flash Memory Detection
“64” Card Insertion Error by C/R
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
42 / 218
GB-H-01047 (A0)
[Card process procedure when the power off] (The host should connect an external capacitor to the C/R.)
• “A”: Hold inside C/R Releases the IC contact and holds inside C/R.
• “B”: Return to Front Releases the IC contact and returns a card to the gate position.
• “C”: Eject to Rear Releases the IC contact and ejects a card to rear.
• Prohibits an insertion permission state so that a card cannot be inserted. (if an insertion permission state).
• Clears the magnetic read and write data.
• Confirms the IC contact and motor behavior. But does not confirm the shutter behavior.
• Transports a card to the rear card stand-by position (Only when there is a card).
(5) Notes
• The host should execute one of Initial Reset Commands immediately after the power is turned on.
• The host should send the Initial Reset command when the C/R initialization and the C/R error.
43 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (0~2bytes)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 0~1 “0” Less than 10ms *2 Minimum Guaranteed Time for
“1”~”9” 10ms~90ms Switching Transmission/Reception
<2> 0~1 “A” Hold inside C/R Card Processing Method After
“B” Return to Front *2 Power Failure
“C” Eject to Rear
*2: Specifies the default value.
*3: Minimum Guaranteed Time for Switching Transmission/Reception means the minimum time until the C/R
sends a response (DLE ACK or response) after the C/R received a Command or DLE ENQ from the host.
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
RES Meaning
“02” Command Parameter Error
“70” Stored Program in Flash Memory Imperfection
44 / 218
GB-H-01047 (A0)
[Card process procedure when the power off] (The host should connect an external capacitor to the C/R.)
• “A”: Hold inside C/R Releases the IC contact and holds inside C/R.
• “B”: Return to Front Releases the IC contact and returns a card to the gate position.
• “C”: Eject to Rear Releases the IC contact and ejects a card to rear.
• Prohibits an insertion permission state so that a card cannot be inserted. (if an insertion permission state).
• Clears the magnetic read and write data.
(5) Notes
• The host should execute one of Initial Reset Commands after DL Transmission Command (“Cd2”) or DL
Prepare Command (“Cd3”).
45 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“04” Card at Read Start Position of MM Sensor
“10” IC Contact Press to ICC
“11” ICC Activation Status
“19” Waiting Initial Reset
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
“21” In process C/R of Continuous Reception from ICC
(With Reception Data, without SW1 + SW2)
“22” In Process C/R of Continuous Transmission to ICC
(Without Reception Data, without SW1 + SW2)
“30” In Process Downloading
“31” Downloading Normal Completion. Waiting C/R for Initial Reset
“70” Stored Program in Flash Memory Imperfection
RES Meaning
“02” Command Parameter Error
“10” Card Jam in C/R
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear or Card Jam at Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“32” Card Position inserted into C/R Change
“33” Data Error in Flash Memory Detection
“81” IC Contact Solenoid Error Detection
“88” ICC Move during IC Contact Press
46 / 218
GB-H-01047 (A0)
47 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“04” Card at Read Start Position of MM Sensor
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
“21” In process C/R of Continuous Reception from ICC
(With Reception Data, without SW1 + SW2)
“22” In Process C/R of Continuous Transmission to ICC
(Without Reception Data, without SW1 + SW2)
“31” Downloading Normal Completion. Waiting C/R for Initial Reset
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1 “0” No Card In Sensor S1 Card Position Sensor
“1” Card In
<2> 1 “0” Spare Spare
<3> 1 “0” No Card In Sensor S2
“1” Card In
<4> 1 “0” No Card In Sensor S3
“1” Card In
<5> 1 “0” No Card In Sensor S4
“1” Card In
<6> 1 “0” Shutter Close Shutter Echo
“1” Shutter Open
<7> 1 “0” Without Stripe Magnetic Stripe Detection
“1” With Stripe
<8> 1 “0” No Card In Width Detection
“1” Card In
<9> 1 “0” Release IC Contact IC Contact Echo
“1” Press IC Contact
<10> 1 “0” ICC Activation ICC Activation
“1” ICC Deactivation
1 “0” Stop Motor Status
<11> “1” 1st speed
“2” 2nd speed
“3” 3rd speed
<12> 1 “0” Spare Spare
48 / 218
GB-H-01047 (A0)
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
49 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“02” Card in C/R
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear or Card Jam at Rear
“18” Power Down Detection
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“61” Card not Taking-in within Intake Monitoring Time
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
(5) Notes
• When there is a returned card at the gate position, it does not intake another card unless the card has been
withdrawn.
50 / 218
GB-H-01047 (A0)
7.12 (21) Intake (from Front to the Rear Standby Position, with Magnetic Card)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“02” Card in C/R
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal from Rear
“16” Card Insertion from Rear or Card Jam at Rear
“18” Power Down Detection
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“61” Card not Taking-in within Intake Monitoring Time
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
(5) Notes
• When there is a returned card at the gate position, it does not intake another card unless the card has been
withdrawn.
51 / 218
GB-H-01047 (A0)
7.13 (23) Intake (from Front to Rear Standby Position, without Magnetic Card)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“02” Card in C/R
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear or Card Jam at Rear
“18” Power Down Detection
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“60” No Card in C/R or Card Withdrawal
“61” Card not Taking-in within Intake Monitoring Time
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
(5) Notes
• When there is a returned card at the gate position, it does not intake another card unless the card has been
withdrawn.
52 / 218
GB-H-01047 (A0)
7.14 (24) Intake (from Front to Rear Standby Position, with Magnetic Card)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“02” Card in C/R
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear or Card Jam at Rear
“18” Power Down Detection
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“60” No Card in C/R or Card Withdrawal
“61” Card not Taking-in within Intake Monitoring Time
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
53 / 218
GB-H-01047 (A0)
(5) Notes
• When there is a returned card at the gate position, it does not intake another card unless the card has been
withdrawn.
54 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear or Card Jam at Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
(5) Notes
• Sends a normal response when there is a card at the gate position or no card in the C/R.
55 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear or Card Jam at Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
56 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“02” Card in C/R
“04” Card at Read Start Position of MM Sensor
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
57 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“02” Card in C/R
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“15” Jammed Card during Re-intaking
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“60” No Card in C/R or Card Withdrawal
“63” Card not Taking-in C/R within Re-intake Monitoring Time
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
(5) Notes
• Sends a normal response when there is a card in the C/R.
58 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“15” Jammed Card during Re-intaking
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“60” No Card in C/R or Card Withdrawal
“63” Card not Taking-in C/R within Re-intake Monitoring Time
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
59 / 218
GB-H-01047 (A0)
(5) Notes
• When there is a card in the C/R, ejects the card to rear and counts the number of ejected card.
60 / 218
GB-H-01047 (A0)
‐ Intake (+Read)
7.20 (42) Re‐
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1byte)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 1 “1” ISO #1
“2” ISO #2
“3” ISO #3
“4” ISO #1 + ISO #2
“5” ISO #1 + ISO #3
“6” ISO #2 + ISO #3
“7” ISO #1 + ISO #2 + ISO #3
Note: Designation of Multiple Track can be performed.
RES Meaning
“02” Card in C/R
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1 “1” ISO #1 Read Track Number
“2” ISO #2
“3” ISO #3
“4” ISO #1 + ISO #2
“5” ISO #1 + ISO #3
“6” ISO #2 + ISO #3
“7” ISO #1 + ISO #2 + ISO #3
<2> 1~76 Card Data Magnetic Read Data in ISO #1 Magnetic Read Data
1~37 Card Data Magnetic Read Data in ISO #2
1~104 Card Data Magnetic Read Data in ISO #3
61 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“15” Jammed Card during Re-intaking
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“40” SS Error C/R Failure of Detecting SS Code in Read Data.
“41” ES Error C/R Failure of Detecting ES Code after SS Code in Read Data
“42” VRC Error Vertical Parity Error (VRC Error) Detection in Read Data (Excluding SS and
ES Codes).
“43” LRC Error Next Character of ES in Read Data Disagreement with LRC Calculation
Result.
“44” Not Encoded Not Encoded Read Magnetic Data
“45” No Data ES = Next Character of SS in Read Data, and Next Character Agreement with
LRC Calculation Result.
“46” Jitter Error (*1) Jitter Error Occurrence
“60” No Card in C/R or Card Withdrawal
“63” Card not Taking-in C/R within Re-intake Monitoring Time
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
*1: When a jitter error (”N46”), adds the read data to it then sends the jitter error. For details, see below. .
RES Meaning
“46” Jitter Error Occurrence
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1 “1” ISO #1 Read Track Number
“2” ISO #2
“3” ISO #3
“4” ISO #1 + ISO #2
“5” ISO #1 + ISO #3
“6” ISO #2 + ISO #3
“7” ISO #1 + ISO #2 + ISO #3
<2> 1~76 Card Data Magnetic Read Data in ISO #1 Magnetic Read Data
1~37 Card Data Magnetic Read Data in ISO #2
1~104 Card Data Magnetic Read Data in ISO #3
62 / 218
GB-H-01047 (A0)
63 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“02” Card in C/R
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
64 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“02” Card in C/R
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1~76 Card Data Magnetic Read Data in ISO #1
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“40” SS Error C/R Failure of Detecting SS Code in Read Data
“41” ES Error C/R Failure of Detecting ES Code after SS Code in Read Data
“42” VRC Error Vertical Parity Error (VRC Error) Detection in Read Data (Excluding SS and
ES Codes)
“43” LRC Error Next Character of ES in Read Data Disagreement with LRC Calculation
Result.
“44” Not Encoded Not Encoded Read Magnetic Data
“45” No Data ES = Next Character of SS in Read Data, and Next Character Agreement with
LRC Calculation Result.
“46” Jitter Error (*1) Jitter Error Occurrence
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
*1: When a jitter error (”N46”), adds the read data to it then sends the jitter error. For details, see below. .
65 / 218
GB-H-01047 (A0)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1~76 Card Data Magnetic Read Data in ISO #1
(5) Notes
• When the mag. head type is not “No Head”(”0”), sends a “Command Parameter Error”(“N02”). To
confirm the mag. head type, executes the “Optional Device Information Read Command”(“N0”).
66 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“02” Card in C/R
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1~37 Card Data Magnetic Read Data in ISO #2
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“40” SS Error C/R Failure of Detecting SS Code in Read Data
“41” ES Error C/R Failure of Detecting ES Code after SS Code in Read Data
“42” VRC Error Vertical Parity Error (VRC Error) Detection in Read Data (Excluding SS and
ES Codes)
“43” LRC Error Next Character of ES in Read Data Disagreement with LRC Calculation
Result.
“44” Not Encoded Not Encoded Read Magnetic Data
“45” No Data ES = Next Character of SS in Read Data, and Next Character Agreement with
LRC Calculation Result.
“46” Jitter Error (*1) Jitter Error Occurrence
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
*1: When a jitter error (”N46”), adds the read data to it then sends the jitter error. For details, see below. .
67 / 218
GB-H-01047 (A0)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1~37 Card Data Magnetic Read Data in ISO #2
(5) Notes
• When the mag. head type is not “No Head”(”0”), sends a “Command Parameter Error”(“N02”). To
confirm the mag. head type, executes the “Optional Device Information Read Command”(“N0”).
68 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“02” Card in C/R
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1~104 Card Data Magnetic Read Data in ISO #3
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“40” SS Error C/R Failure of Detecting SS Code in Read Data
“41” ES Error C/R Failure of Detecting ES Code after SS Code in Read Data
“42” VRC Error Vertical Parity Error (VRC Error) Detection in Read Data (Excluding SS and
ES Codes)
“43” LRC Error Next Character of ES in Read Data Disagreement with LRC Calculation
Result.
“44” Not Encoded Not Encoded Read Magnetic Data
“45” No Data ES = Next Character of SS in Read Data, and Next Character Agreement with
LRC Calculation Result.
“46” Jitter Error (*1) Jitter Error Occurrence
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
*1: When a jitter error (”N46”), adds the read data to it then sends the jitter error. For details, see below. .
69 / 218
GB-H-01047 (A0)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1~104 Card Data Magnetic Read Data in ISO #3
(5) Notes
• The host should send this command due to the MM sensor read.
• When the mag. head type is not “No Head”(”0”), sends a “Command Parameter Error”(“N02”). To
confirm the mag. head type, executes the “Optional Device Information Read Command”(“N0”).
70 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1byte)
Length Data
CMP Meaning
(Byte) (ASCII)
<1> 1 “1” ISO #1
“2” ISO #2
“3” ISO #3
“4” ISO #1 + ISO #2
“5” ISO #1 + ISO #3
“6” ISO #2 + ISO #3
“7” ISO #1 + ISO #2 + ISO #3
RES Meaning
“02” Card in C/R
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1 “1” ISO #1 Read Track Number
“2” ISO #2
“3” ISO #3
“4” ISO #1 + ISO #2
“5” ISO #1 + ISO #3
“6” ISO #2 + ISO #3
“7” ISO #1 + ISO #2 + ISO #3
<2> 1~76 Card Data Magnetic Read Data in ISO #1 Magnetic Read Data
1~37 Card Data Magnetic Read Data in ISO #2
1~104 Card Data Magnetic Read Data in ISO #3
71 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“40” SS Error C/R Failure of Detecting SS Code in Read Data
“41” ES Error C/R Failure of Detecting ES Code after SS Code in Read Data
“42” VRC Error Vertical Parity Error (VRC Error) Detection in Read Data (Excluding SS and
ES Codes)
“43” LRC Error Next Character of ES in Read Data Disagreement with LRC Calculation
Result.
“44” Not Encoded Not Encoded Read Magnetic Data
“45” No Data ES = Next Character of SS in Read Data, and Next Character Agreement with
LRC Calculation Result.
“46” Jitter Error (*1) Jitter Error Occurrence
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
*1: When a jitter error (”N46”), adds the read data to it then sends the jitter error. For details, see below.
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1 “1” ISO #1 Read Track Number
“2” ISO #2
“3” ISO #3
“4” ISO #1 + ISO #2
“5” ISO #1 + ISO #3
“6” ISO #2 + ISO #3
“7” ISO #1 + ISO #2 + ISO #3
<2> 1~76 Card Data Magnetic Read Data in ISO #1 Magnetic Read Data
1~37 Card Data Magnetic Read Data in ISO #2
1~104 Card Data Magnetic Read Data in ISO #3
72 / 218
GB-H-01047 (A0)
(5) Notes
• When the multiple tracks are read, the host should execute a “69” or “6A” command in order to get the
read data in other tracks.
• When the mag. head type is not “No Head”(”0”), sends a “Command Parameter Error”(“N02”). To
confirm the mag. head type, executes the “Optional Device Information Read Command”(“N0”).
73 / 218
GB-H-01047 (A0)
7.26 (69) Magnetic Read (Magnetic Data memorized in the C/R, 1track only)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1byte)
Length Data
CMP Meaning
(Byte) (ASCII)
<1> 1 “1” ISO #1
“2” ISO #2
“3” ISO #3
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1~76 Card Data Magnetic Read Data in ISO #1
1~37 Card Data Magnetic Read Data in ISO #2
1~104 Card Data Magnetic Read Data in ISO #3
74 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“40” SS Error C/R Failure of Detecting SS Code in Read Data
“41” ES Error C/R Failure of Detecting ES Code after SS Code in Read Data
“42” VRC Error Vertical Parity Error (VRC Error) Detection in Read Data (Excluding SS and
ES Codes)
“43” LRC Error Next Character of ES in Read Data Disagreement with LRC Calculation
Result.
“44” Not Encoded Not Encoded Read Magnetic Data
“45” No Data ES = Next Character of SS in Read Data, and Next Character Agreement with
LRC Calculation Result.
“46” Jitter Error (*1) Jitter Error Occurrence
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
*1: When a jitter error (”N46”), adds the read data to it then sends the jitter error. For details, see below. .
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1~76 Card Data Magnetic Read Data in ISO #1
1~37 Card Data Magnetic Read Data in ISO #2
1~104 Card Data Magnetic Read Data in ISO #3
(5) Notes
• When any read command has not been received yet after taking in a card, sends a “Read No Execution
Error”(“N49”).
• When it is after writing a mag. data, returns the verify result of mag. write as a response without transporting
the card.
• When the mag. head type is not “No Head”(”0”), sends a “Command Parameter Error”(“N02”). To confirm
the mag. head type, executes the “Optional Device Information Read Command”(“N0”).
75 / 218
GB-H-01047 (A0)
7.27 (6A) Magnetic Read (Magnetic Data memorized in the C/R, Multiple Tracks)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (2bytes)
Length Data
CMP Meaning
(Byte) (ASCII)
<1> 1 “1” ISO #1
“2” ISO #2
“3” ISO #3
“4” ISO #1 + ISO #2
“5” ISO #1 + ISO #3
“6” ISO #2 + ISO #3
“7” ISO #1 + ISO #2 + ISO #3
“P” “6” “A” See table below. <1> <2> ~ <4> <5> ~ <7> <8> ~ <10>
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1 “1”~”7” Specified track number by command.
<2> 0 or 2 Result of Reading ISO #1 None order: none data
<3> 0 or 2 Result of Reading ISO #2 Magnetic data normality: “00”
<4> 0 or 2 Result of Reading ISO #3 Magnetic data error: see 6.3
<5> 0 or 3 Length ISO #1 None designating: none data
<6> 0 or 3 Length ISO #2 Magnetic data normality: Magnetic Data Length
<7> 0 or 3 Length ISO #3 Magnetic data error: “000”
<8> 0~76 Card Data ISO #1 None designating: none data
<9> 0~37 Card Data ISO #2 Magnetic data normality:
<10> 0~104 Card Data ISO #3 Magnetic data error: No data
76 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“40” SS Error C/R Failure of Detecting SS Code in Read Data
“41” ES Error C/R Failure of Detecting ES Code after SS Code in Read Data
“42” VRC Error Vertical Parity Error (VRC Error) Detection in Read Data (Excluding SS and
ES Codes)
“43” LRC Error Next Character of ES in Read Data Disagreement with LRC Calculation
Result.
“44” Not Encoded Not Encoded Read Magnetic Data
“45” No Data ES = Next Character of SS in Read Data, and Next Character Agreement with
LRC Calculation Result.
“46” Jitter Error (*1) Jitter Error Occurrence
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
(5) Notes
• When any read command has not been received yet after taking in a card, sends a “Read No Execution
Error”(“N49”).
• When it is after writing a mag. data, returns the verify result of mag. write as a response without transporting
the card.
• When the mag. head type is not “No Head”(”0”), sends a “Command Parameter Error”(“N02”). To
confirm the mag. head type, executes the “Optional Device Information Read Command”(“N0”).
77 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1~76bytes)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 1~76 Card Data Magnetic Write Data in ISO#1
RES Meaning
“02” Card in C/R
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“50” SS Error C/R Failure of Detecting SS Code in Verification after Write
“51” ES Error C/R Failure of Detecting ES Code after SS Code in Verification after Write
“52” VRC Error C/R Detection of Correct SS Code and VRC of Next Character in
Verification. C/R Detection of One of Following Characters as VRC Error
“53” LRC Error C/R Detection of Character after ES in Verification Discordance with LRC
Calculation Result
“54” Not Encoded Not Encoded Write Magnetic Data
“55” Data discordance C/R Detection of Incorrect SS, ES VRC and LRC. Wire Data Discordance
with Read Data
“56” Jitter Error Not above Write Error (“50”~”55”) More than 10 Bits = Over Permission
Value of Jitter in Read Data
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
78 / 218
GB-H-01047 (A0)
79 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1~37bytes)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 1~37 Card Data Magnetic Write Data in ISO#2
RES Meaning
“02” Card in C/R
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“50” SS Error C/R Failure of Detecting SS Code in Verification after Write
“51” ES Error C/R Failure of Detecting ES Code after SS Code in Verification after Write
“52” VRC Error C/R Detection of Correct SS Code and VRC of Next Character in
Verification. C/R Detection of One of Following Characters as VRC Error
“53” LRC Error C/R Detection of Character after ES in Verification Discordance with LRC
Calculation Result
“54” Not Encoded Not Encoded Write Magnetic Data
“55” Data discordance C/R Detection of Incorrect SS, ES VRC and LRC. Wire Data Discordance
with Read Data
“56” Jitter Error Not above Write Error (“50”~”55”) More than 10 Bits = Over Permission
Value of Jitter in Read Data
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
(5) Notes
• When the mag. head type is not “Read/Write”(“2”), sends a “Command Parameter Error”(“N02”). To
confirm the mag. head type, executes the “Optional Device Information Read Command”(“N0”).
81 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1~104bytes)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 1~104 Card Data Magnetic Write Data in ISO#3
RES Meaning
“02” Card in C/R
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“50” SS Error C/R Failure of Detecting SS Code in Verification after Write
“51” ES Error C/R Failure of Detecting ES Code after SS Code in Verification after Write
“52” VRC Error C/R Detection of Correct SS Code and VRC of Next Character in
Verification. C/R Detection of One of Following Characters as VRC Error
“53” LRC Error C/R Detection of Character after ES in Verification Discordance with LRC
Calculation Result
“54” Not Encoded Not Encoded Write Magnetic Data
“55” Data discordance C/R Detection of Incorrect SS, ES VRC and LRC. Wire Data Discordance
with Read Data
“56” Jitter Error Not above Write Error (“50”~”55”) More than 10 Bits = Over Permission
Value of Jitter in Read Data
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
82 / 218
GB-H-01047 (A0)
(5) Notes
• When the mag. head type is not “Read/Write”(“2”), sends a “Command Parameter Error”(“N02”). To
confirm the mag. head type, executes the “Optional Device Information Read Command”(“N0”).
83 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (2~105bytes)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 1 “1” ISO #1 WriteTrack Number
“2” ISO #2
“3” ISO #3
<2> 1-76 Card Data Magnetic Write Data in ISO#1 Magnetic Write Data
1-37 Card Data Magnetic Write Data in ISO#2
1-104 Card Data Magnetic Write Data in ISO#3
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“14” Card Withdrawal
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
84 / 218
GB-H-01047 (A0)
(5) Notes
• The write data set in the C/R memory is written to a mag. card by the “Multitrack Write Command”(“79”).
• When the mag. head type is not “Read/Write”(“2”), sends a “Command Parameter Error”(“N02”). To
confirm the mag. head type, executes the “Optional Device Information Read Command”(“N0”).
85 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1~105bytes)
*1: When <2> is omitted, the C/R writes the write data set by “78” command.
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 1 “1” ISO #1 WriteTrack Number
“2” ISO #2
“3” ISO #3
“4” [ISO #1]+ISO #2
“5” [ISO #1]+ISO #3
“6” [ISO #2]+ISO #3
“7” [ISO #1]+ISO #2+ISO #3
<2> 0-76 Card Data Magnetic Write Data in ISO#1 Magnetic Write Data
(When <1> is “1”, “4”, “5” or “7”)
0-37 Card Data Magnetic Write Data in ISO#2
(When <1> is “2” or “6”)
0-104 Card Data Magnetic Write Data in ISO#3
(When <1> is “3”)
RES Meaning
“02” Card in C/R
86 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“03” The host specified the write track(s) without write data
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“50” SS Error (*1) C/R Failure of Detecting SS Code in Verification after Write
“51” ES Error (*1) C/R Failure of Detecting ES Code after SS Code in Verification after Write
“52” VRC Error (*1) C/R Detection of Correct SS Code and VRC of Next Character in
Verification. C/R Detection of One of Following Characters as VRC Error
“53” LRC Error (*1) C/R Detection of Character after ES in Verification Discordance with LRC
Calculation Result
“54” Not Encoded (*1) Not Encoded Write Magnetic Data
“55” Data discordance C/R Detection of Incorrect SS, ES VRC and LRC. Wire Data Discordance
(*1) with Read Data
“56” Jitter Error (*1) Not above Write Error (“50”~”55”). More than 10 Bits = Over Permission
Value of Jitter in Read Data
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
*1: Sends a write error as a response when there is at least 1 write error among the tracks specified by the
command parameter. The error code shows the error state of track that has a top priority (Priority
ISO#1>ISO#2>ISO#3). The error track number is added to the error response.
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1 “1” ISO #1 Error Track Number
“2” ISO #2
“3” ISO #3
“4” ISO #1 + ISO #2
“5” ISO #1 + ISO #3
“6” ISO #2 + ISO #3
“7” ISO #1 + ISO #2 + ISO #3
87 / 218
GB-H-01047 (A0)
(5) Notes
• When the mag. data (CMP<2>) was omitted by the “Write Data Set Command”(”78”) in the state where
the no write data is set, sends a “Write Data No Set Error”(“03”).
• When the mag. head type is not “Read/Write”(“2”), sends a “Command Parameter Error”(“N02”). To
confirm the mag. head type, executes the “Optional Device Information Read Command”(“N0”).
88 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“13” Motor No Rotation
“18” Power Down Detection
“19” Waiting Initial Reset
“62” Card No Withdrawal from Gate Position during Withdrawal Monitoring Time
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
(5) Notes
• When there is no card at the time this command is received, sends a normal response of “No
Card”(“P9000”).
89 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“10” IC Contact Press to ICC
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“13” Motor No Rotation
“14” Card Withdrawal from Rear
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
90 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal from Rear
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
91 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (0 or 2bytes)
“P” “C” “2” See table below. <1> <2> <3> <4> <5>
RES Meaning
“11” ICC Activation Status
Length Data
RDT Meaning
(Bytes) (BIN)
<1> 1 00H-FFH TS Initial Character
<2> 1 00H-FFH T0 Format Character
<3> 0~31 Undefined 00H-FFH TA1~TDn Interface Character
<4> 0~15 00H-FFH T1~Tk Historical Characters
<5> 0~1 00H-FFH TCK Check Character
For details, see ISO/IEC 7816-3.
92 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“82” ICC Activation Failure
“87” Unsupported ATR (*1) Reception by C/R
“88” ICC Move during IC Contact Press
*1: But only when “Unsupported ATR Error”(“N87”), sends the error with the ATR information as a response.
(For details, see below)
“N” “C” “2” “8” “7” <2> <3> <4> 5> <6>
Length Data
RDT Meaning
(Bytes) (BIN)
<2> 1 00H-FFH TS Initial Character
<3> 1 00H-FFH T0 Format Character
<4> 0~31 Undefined 00H-FFH TA1~TDn Interface Character
<5> 0~15 00H-FFH T1~Tk Historical Characters
<6> 0~1 00H-FFH TCK Check Character
93 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“14” Card Withdrawal from Rear
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“88” ICC Move during IC Contact Press
94 / 218
GB-H-01047 (A0)
+ Activation
7.38 (C5) ICC Press+
(1) Command
IDN CMD CMP
(1byte) (2bytes) (0 or 2bytes)
“P” “C” “5” See table below. <1> <2> <3> <4> <5>
RES Meaning
“11” ICC Activation Status
Length Data
RDT Meaning
(Bytes) (BIN)
<1> 1 00H-FFH TS Initial Character
<2> 1 00H-FFH T0 Format Character
<3> 0~31 Undefined 00H-FFH TA1~TDn Interface Character
<4> 0~15 00H-FFH T1~Tk Historical Characters
<5> 0~1 00H-FFH TCK Check Character
For details, see ISO/IEC 7816-3.
95 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal from Rear
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“82” ICC Activation Failure
“87” Unsupported ATR (*1) Reception by C/R
“88” ICC Move during IC Contact Press
*1: But only when the “Unsupported ATR Error”(“N87”), sends the error with the ATR information as a
response. (For details, see below)
“N” “C” “5” “8” “7” <2> <3> <4> 5> <6>
Length Data
RDT Meaning
(Bytes) (BIN)
<2> 1 00H-FFH TS Initial Character
<3> 1 00H-FFH T0 Format Character
<4> 0~31 Undefined 00H-FFH TA1~TDn Interface Character
<5> 0~15 00H-FFH T1~Tk Historical Characters
<6> 0~1 00H-FFH TCK Check Character
96 / 218
GB-H-01047 (A0)
+Release
7.39 (C6) ICC Deactivation+
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“02” Card in C/R
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal from Rear
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“88” ICC Move during IC Contact Press
97 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1 or 3bytes)
“P” “E” “0” See table below. <1> <2> <3> <4> <5> <6>
RES Meaning
“11” ICC Activation Status
Length Data
RDT Meaning
(Bytes) (BIN)
<1> 1 “0” Enables to execute protocol type T=0 immediately
“1” Enables to execute protocol type T=1 immediately
“P” Needs to select protocol type by PPS Request Commands
“N” Incompletion of PPS Execution
“?” Command Parameter is “ No PPS Execution automatically
<2> 1 00H-FFH TS Initial Character
<3> 1 00H-FFH T0 Format Character
<4> 0~31 Undefined 00H-FFH TA1~TDn Interface Character
<5> 0~15 00H-FFH T1~Tk Historical Characters
<6> 0~1 00H-FFH TCK Check Character
For details, see ISO/IEC 7816-3.
98 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“70” Stored Program in Flash Memory Imperfection
“80” Transmission Error Detection during PPS
“81” IC Contact Solenoid Error Detection
“82” ICC Activation Failure
“87” Unsupported ATR (*1) Reception by C/R
“88” ICC Move during IC Contact Press
*1: But only when the “Unsupported ATR Error”(“N87”), sends the error with the ATR information as a
response. (For details, see below)
“N” “E” “0” “8” “7” <2> <3> <4> 5> <6>
Length Data
RDT Meaning
(Bytes) (BIN)
<2> 1 00H-FFH TS Initial Character
<3> 1 00H-FFH T0 Format Character
<4> 0~31 Undefined 00H-FFH TA1~TDn Interface Character
<5> 0~15 00H-FFH T1~Tk Historical Characters
<6> 0~1 00H-FFH TCK Check Character
99 / 218
GB-H-01047 (A0)
(5) Notes
• C/R supports the following TA1 (F and D).
100 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1 or 3bytes)
“P” “E” “1” See table below. <1> <2> <3> <4> <5> <6>
RES Meaning
“11” ICC Activation Status
Length Data
RDT Meaning
(Bytes) (BIN)
<1> 1 “0” Enables to execute protocol type T=0 immediately
“1” Enables to execute protocol type T=1 immediately
“P” Needs to select protocol type by PPS Request Commands
“N” Incompletion of PPS Execution
“?” Command Parameter is “ No PPS Execution ”
<2> 1 00H-FFH TS Initial Character
<3> 1 00H-FFH T0 Format Character
<4> 0~31 Undefined 00H-FFH TA1~TDn Interface Character
<5> 0~15 00H-FFH T1~Tk Historical Characters
<6> 0~1 00H-FFH TCK Check Character
For details, see ISO/IEC 7816-3.
101 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“70” Stored Program in Flash Memory Imperfection
“80” Transmission Error Detection during PPS
“81” IC Contact Solenoid Error Detection
“82” ICC Activation Failure
“87” Unsupported ATR (*1) Reception by C/R
“88” ICC Move during IC Contact Press
*1: But only when the “Unsupported ATR Error”(“N87”), sends the error with the ATR information as a
response. (For details, see below)
“N” “E” “1” “8” “7” <2> <3> <4> 5> <6>
Length Data
RDT Meaning
(Bytes) (BIN)
<2> 1 00H-FFH TS Initial Character
<3> 1 00H-FFH T0 Format Character
<4> 0~31 Undefined 00H-FFH TA1~TDn Interface Character
<5> 0~15 00H-FFH T1~Tk Historical Characters
<6> 0~1 00H-FFH TCK Check Character
102 / 218
GB-H-01047 (A0)
(5) Notes
• C/R supports the following TA1 (F and D).
103 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (4~261bytes)
“C” “F” “0” <1> <2> <3> <4> <5> <6> <7>
Length Data
CMP Meaning
(Bytes) (BIN)
<1> 1 00H~FEH CLA Instruction Class
<2> 1 00H~FFH INS Instruction Code
<3> 1 00H~FFH P1 Instruction Parameter 1
<4> 1 00H~FFH P2 Instruction Parameter 2
<5> 0 or 1 01H~FFH Lc field Number of Byte Present in Command Data Field
<6> Variable = Lc 00H~FFH Data field String Byte sent in Command Data Field
(0~255)
<7> 0 or 1 00H~FFH Le field Maximum Number of Byte expected in Data Field of
Response to Command
For details, see ISO/ICE 7816-4. But following case 1 to case 4 of table below is able to use.
RES Meaning
“20” Transmission to ICC Completion (With/ without Receiving Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 0~256 ICC Data INF ICC Data (Information Field)
<2> 1 ICC Data SW1 Status-1
<3> 1 ICC Data SW2 Status-2
For details, see ISO/IEC 7816-4.
104 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“84” Communication Error between C/R and ICC Detection
“88” ICC Move during IC Contact Press
(5) Notes
• For Case 1, the host has to send data to the C/R without Lc=00. The C/R sends the command parameter
with Lc=00 to ICC. For details see ISO7816-4 Annex A.
• When a DLE EOT is received during a command execution, the command processing is aborted with the
ICC is remained activated.
105 / 218
GB-H-01047 (A0)
(1) Command
(1-1) Normal Transmission (Lc< or =353 Command)
IDN CMD CMP
(1byte) (2bytes) (4~360bytes)
“C” “F” “1” <1> <2> <3> <4> <5> <6> <7>
Data
CMP Length Meaning
(BIN)
<1> 1 00H~FEH CLA Instruction Class
<2> 1 00H~FFH INS Instruction Code
<3> 1 00H~FFH P1 Instruction Parameter 1
<4> 1 00H~FFH P2 Instruction Parameter 2
<5> 0, 1 or 3 01H~FFH Lc field Number of Byte Present in Command Data Field
<6> Variable = Lc 00H~FFH Data field String Byte sent in Command Data Field
(0~353)
<7> 0, 1 or 3 00H~FFH Le field Maximum Number of Byte expected in Data Field of
Response to Command
For details, see ISO/ICE 7816-4. But following case 1 to case 4 of table below is able to use.
Length Data
CMP Meaning
(Bytes) (BIN)
<6> 0~360 00H~FFH Data field String Byte sent in Command Data Field
For details, see ISO/ICE 7816-4. But following case 1 to case 4 of table below is able to use.
106 / 218
GB-H-01047 (A0)
RES Meaning
“20 Transmission to ICC Completion (With/ without Receiving Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 0~318 ICC Data INF ICC Data (Information Field)
<2> 1 ICC Data SW1 Status-1
<3> 1 ICC Data SW2 Status-2
For details, see ISO/IEC 7816-4.
RES Meaning
“21” In process C/R of Continuous Reception from ICC
(With Reception Data, without SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 0~320 ICC Data INF ICC Data (Information Field)
<2> 0 ~1 ICC Data SW1 Status-1
For details, see ISO/IEC 7816-4.
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“84” Communication Error between C/R and ICC Detection
“88” ICC Move during IC Contact Press
107 / 218
GB-H-01047 (A0)
(5) Notes
• This command should be used for transmission/reception of unchained data or for transmitting the last part
of data chained.
• When a DLE EOT is received during a command execution, the command processing is aborted with the
ICC is remained activated.
108 / 218
GB-H-01047 (A0)
(1) Command
The first block of continuous transmission(Lc>353 command)
IDN CMD CMP
(1byte) (2bytes) (4~360bytes)
“C” “F” “2” <1> <2> <3> <4> <5> <6> <7>
Length Data
CMP Meaning
(Bytes) (BIN)
<1> 1 00H~FEH CLA Instruction Class
<2> 1 00H~FFH INS Instruction Code
<3> 1 00H~FFH P1 Instruction Parameter 1
<4> 1 00H~FFH P2 Instruction Parameter 2
<5> 0, 1 or 3 01H~FFH Lc field Number of Byte Present in Command Data Field
<6> Variable = Lc 00H~FFH Data field String Byte sent in Command Data Field
(0~353)
<7> 0, 1 or 3 00H~FFH Le field Maximum Number of Byte expected in Data Field of
Response to Command
For details, see ISO/ICE 7816-4. But following case 1 to case 4 of table below is able to use.
Length Data
CMP Meaning
(Bytes) (BIN)
<6> 0~360 00H~FFH Data field String Byte sent in Command Data Field
For details, see ISO/ICE 7816-4. But following case 1 to case 4 of table below is able to use.
RES Meaning
“22” In Process C/R of Continuous Transmission to ICC
(Without Reception Data, without SW1 + SW2)
109 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“84” Communication Error between C/R and ICC Detection
“88” ICC Move during IC Contact Press
(5) Notes
• This command should be used to send data after dividing when the data length to be sent to ICC is longer
than the command parameter. But the “F1” command should be used in case that data length to be sent of
the last block is within the command parameter.
• When a DLE EOT is received during a command execution, the command processing is aborted with the
ICC is remained activated.
110 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“20” Transmission to ICC Completion (With/ without Receiving Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 0~318 ICC Data INF ICC Data (Information Field)
<2> 0-1 ICC Data SW1 Status-1
<3> 1 ICC Data SW2 Status-2
For details, see ISO/IEC 7816-4.
RES Meaning
“21” In process C/R of Continuous Reception from ICC
(With Reception Data, without SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 319 ICC Data INF ICC Data (Information Field)
<2> 1 ICC Data SW1 Status-1
For details, see ISO/IEC 7816-4.
111 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“84” Communication Error between C/R and ICC Detection
“88” ICC Move during IC Contact Press
(5) Notes
• This command should be used for continuous data reception when the response status (RES) from the C/R
is “21”.
• When a DLE EOT is received during a command execution, the command processing is aborted with the
ICC is remained activated.
112 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“23” Abort Completion of SAM Transmission by Forcedly Interruption
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“84” Communication Error between C/R and ICC Detection
“88” ICC Move during IC Contact Press
113 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (0~1byte)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 0 or 1 “0” Selection of protocol type T=0.
“1” Selection of protocol type T=1.
RES Meaning
“20” Transmission to ICC Completion (With/ without Receiving Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1 “0” Enable to execute T=0.
“1” Enable to execute T=1.
“N” Incompletion PPS Execution
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“84” Communication Error between C/R and ICC Detection
“88” ICC Move during IC Contact Press
114 / 218
GB-H-01047 (A0)
(5) Notes
• When a DLE EOT is received during a command execution, the command processing is aborted. And the
ICC is remained activated.
• C/R supports the following TA1 (F and D).
115 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1 or 3bytes)
“P” “G” “1” See table below. <1> <2> <3> <4> <5> <6>
RES Meaning
“11” ICC Activation Status
Length Data
RDT Meaning
(Bytes) (BIN)
<1> 1 “0” Enables to execute protocol type T=0 immediately
“1” Enables to execute protocol type T=1 immediately
“P” Needs to select protocol type by PPS Request Commands
“N” Incompletion of PPS Execution
“?” Command Parameter is “ No PPS Execution ”
<2> 1 00H-FFH TS Initial Character
<3> 1 00H-FFH T0 Format Character
<4> 0~31 Undefined 00H-FFH TA1~TDn Interface Character
<5> 0~15 00H-FFH T1~Tk Historical Characters
<6> 0~1 00H-FFH TCK Check Character
For details, see ISO/IEC 7816-3.
116 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“70” Stored Program in Flash Memory Imperfection
“80” Transmission Error Detection during PPS
“81” IC Contact Solenoid Error Detection
“82” ICC Activation Failure
“87” Unsupported ATR (*1) Reception by C/R
“88” ICC Move during IC Contact Press
*1: But only when the “Unsupported ATR Error”(“N87”), sends the error with the ATR information as a response.
(For details, see below)
“N” “G” “1” “8” “7” <2> <3> <4> <5> <6>
Length Data
RDT Meaning
(Bytes) (BIN)
<2> 1 00H-FFH TS Initial Character
<3> 1 00H-FFH T0 Format Character
<4> 0~31 Undefined 00H-FFH TA1~TDn Interface Character
<5> 0~15 00H-FFH T1~Tk Historical Characters
<6> 0~1 00H-FFH TCK Check Character
117 / 218
GB-H-01047 (A0)
118 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal
“16” Card Insertion from Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
119 / 218
GB-H-01047 (A0)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
Length Data
RDT Meaning
(Bytes) (ASCII)
2 RCM Received command The latest local error log
<1> 5 2 RES Error code
1 DATA Error Track Number
2 RCM Received command
<2> 5 2 RES Error code
1 DATA Error Track Number
: : : :
2 RCM Received command
<200> 5 2 RES Error code
1 DATA Error Track Number
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
120 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
“P” “L” “0” See table below. <1> <2> <3> <4> <5> <6>
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
Length Data
RDT Meaning
(Bytes) (ASCII)
1 2 “00”~”33” 0.0~3.3V Sensor S1 Sensor Voltage
2 2 Spare - Extra
3 2 “00”~”33” 0.0~3.3V Sensor S2
4 2 “00”~”33” 0.0~3.3V Sensor S3
5 2 “00”~”33” 0.0~3.3V Sensor S4
6 6 Spare - Extra
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
121 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 8 “00000000” - “16777215” Number of passing on magnetic head
<2> 8 “00000000” - “16777215” Number of shutter open
<3> 8 “00000000” - “16777215” Number of IC contact press
<4> 8 “00000000” - “16777215” Number of ISO #1 read error occurrence
<5> 8 “00000000” - “16777215” Number of ISO #2 read error occurrence
<6> 8 “00000000” - “16777215” Number of ISO #3 read error occurrence
<7> 8 “00000000” Spare 1
<8> 8 “00000000” Spare 2
<9> 8 “00000000” - “16777215” Number of ISO #1 write error occurrence
<10> 8 “00000000” - “16777215” Number of ISO #2 write error occurrence
<11> 8 “00000000” - “16777215” Number of ISO #3 write error occurrence
<12> 8 “00000000” Spare 3
<13> 8 “00000000” - “16777215” Number of IC activation error occurrence
<14> 8 “00000000” - “16777215” Number of IC communication error
<15> 8 “00000000” - “16777215” Number of SAM activation error occurrence
<16> 8 “00000000” - “16777215” Number of SAM communication error
<17> 8 “00000000” Spare 4
<18> 8 “00000000” Spare 5
<19> 8 “00000000” Spare 6
<20> 8 “00000000” Spare 7
122 / 218
GB-H-01047 (A0)
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“33” Data Error in Flash Memory Detection
“70” Stored Program in Flash Memory Imperfection
(5) Notes
• Copy the life counter from RAM to Flash Memory after power on.
• Copy the life counter from RAM to Flash Memory during the read command whenever the card is passed on
the magnetic head 100 times
• When the power of C/R was turned off for a long time, the counter in RAM is erased. When the life counter
was erased after power-on, the C/R copies the life counter from Flash Memory to RAM.
• Returns to 0 when each maintenance information counter exceeds 16777215.
123 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (20bytes)
“C” “M” “2” <1> <2> <3> <4> <5> <6> … <19> <20>
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 1 “0” Not Clear Number of passing on magnetic head
“1” Clear
<2> 1 “0” Not Clear Number of shutter open
“1” Clear
<3> 1 “0” Not Clear Number of IC contact press
“1” Clear
<4> 1 “0” Not Clear Number of ISO #1 read error occurrence
“1” Clear
<5> 1 “0” Not Clear Number of ISO #2 read error occurrence
“1” Clear
<6> 1 “0” Not Clear Number of ISO #3 read error occurrence
“1” Clear
<7> 1 “0” Not Clear Spare 1
“1” Clear
<8> 1 “0” Not Clear Spare 2
“1” Clear
<9> 1 “0” Not Clear Number of ISO #1 write error occurrence
“1” Clear
<10> 1 “0” Not Clear Number of ISO #2 write error occurrence
“1” Clear
<11> 1 “0” Not Clear Number of ISO #3 write error occurrence
“1” Clear
<12> 1 “0” Not Clear Spare 3
“1” Clear
<13> 1 “0” Not Clear Number of IC activation error occurrence
“1” Clear
<14> 1 “0” Not Clear Number of IC communication error
“1” Clear
<15> 1 “0” Not Clear Number of SAM activation error occurrence
“1” Clear
<16> 1 “0” Not Clear Number of SAM communication error
“1” Clear
<17> 1 “0” Not Clear Spare 4
“1” Clear
<18> 1 “0” Not Clear Spare 5
“1” Clear
<19> 1 “0” Not Clear Spare 6
“1” Clear
<20> 1 “0” Not Clear Spare 7
“1” Clear
124 / 218
GB-H-01047 (A0)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
125 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
“P” “N” “0” See table below. <1> <2> <3> <4> … <14>
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1 “0” Without shutter Presence of Shutter
“1” With shutter
<2> 1 “0” Without IC Contact Presence of IC Contact
“1” With IC Contact
<3> 1 “1” Spare Spare
<4> 1 “0” No head ISO #1 head type
“1” Read-only
“2” Read/Write
“?” No setting
<5> 1 “0” No head ISO #2 head type
“1” Read-only
“2” Read/Write
“?” No setting
<6> 1 “0” No head ISO #3 head type
“1” Read-only
“2” Read/Write
“?” No setting
<7> 2 “0” No setting Spare
<8> 2 “1” No setting Spare
<9> 1 “0” Without Hico circuit Presence of Hico circuit
“1” With Hico circuit
<10> 9 “0” Spare Spare
<11> 1 “0” Without SAM board Presence of SAM board
“2” With SAM board
<12> 1 “0” Socket is open Whether the SAM socket is open or not
“1” Socket is closed
<13> 4 “0” Spare Spare
<14> 6 “?” Spare Spare
126 / 218
GB-H-01047 (A0)
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“33” Data Error in Flash Memory Detection
“70” Stored Program in Flash Memory Imperfection
127 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (2~16bytes)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 2~16 “01” Port No.1
“02” Port No.2
“03” Port No.3
“04” Port No.4
“05” Port No.5
“06” Port No.6
“07” Port No.7
“08” Port No.8
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
128 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (2~16bytes)
Length Data
CMP Meaning
(Bytes) (ASCII)
1 2~16 “01” Port No.1
“02” Port No.2
“03” Port No.3
“04” Port No.4
“05” Port No.5
“06” Port No.6
“07” Port No.7
“08” Port No.8
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
129 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
“P” “P” “5” See table below. <1> <2> <3> <4>
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 1 “0” Deactivation Port No.1
“1” Activation
<2> 1 “0” Deactivation Port No.2
“1” Activation
<3> 1 “0” Deactivation Port No.3
“1” Activation
<4> 1 “0” Deactivation Port No.4
“1” Activation
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
130 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
Length Data
RDT Meaning
(Bytes) (ASCII)
1 3 “000”~”999” Captured Number of Card
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“33” Data Error in Flash Memory Detection
“70” Stored Program in Flash Memory Imperfection
131 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“33” Data Error in Flash Memory Detection
“70” Stored Program in Flash Memory Imperfection
132 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1byte)
RES Meaning
“00” No Card in C/R.
“01” Card at Gate Position
“02” Card in C/R
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
133 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1byte)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
134 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
135 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 12 “AAAAAAAAAAAA” FW Type in CPU ROM
<2> 2 “AA” FW Version in CPU ROM
<3> 6 “000000”~”FFFFFF” SUM Value of FW in CPU ROM
<4> 12 Spare Spare
<5> 2 Spare Spare
<6> 6 Spare Spare
<7> 12 “AAAAAAAAAAAA” Total FW Type in Flash Memory
<8> 2 “AA” Total FW Version in Flash Memory
<9> 8 “00000000”~”FFFFFFFF” SUM Value of Total FW in Flash Memory
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
136 / 218
GB-H-01047 (A0)
(5) Notes
• When the FW is not downloaded in the flash memory, “_” is specified in the FW type. (“_” Denotes 20H of
HEX code.)
• When the FW is not downloaded in the flash memory, “0” is specified in the SUM value.
137 / 218
GB-H-01047 (A0)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 12 “AAAAAAAAAAAA” FW type in Memory
<2> 2 “AA” FW Version in Memory
<3> 6 “000000”~”FFFFFF” SUM Value in Memory
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
(5) Notes
• When the FW is not downloaded in the flash memory, “_” is specified in the FW type. (“_” denotes 20H of
HEX code.)
• When the FW is not downloaded in the flash memory, “0” is specified in the SUM value.
138 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 12 “AAAAAAAAAAAA” FW type in Memory
<2> 2 “AA” FW Version in Memory
<3> 6 “000000”~”FFFFFF” SUM Value in Memory
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
(5) Notes
• When the FW is not downloaded in the flash memory, “_” is specified in the FW type. (“_” Denotes 20H of
HEX code.)
• When the FW is not downloaded in the flash memory, “0” is specified in the SUM value.
139 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
(5) Notes
• This command relates to the intake commands (“20”,”21”, “22”, “23” and “24”).
140 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
(5) Notes
• This command relates to the waiting for removal commands (“90”).
141 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
(5) Notes
• This command relates to the re-intake commands (“40”,”41” and “42”).
142 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
“P” “Y” “0” See table below. <1> <2> <3> <4> <5> <6>
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 2 “??” Not selected
“00” ISO 7816-3 (Default)
“05” Europay (EMV3.1.1) / New CB
<2> 2 “06” - “99” Seconds (Default =”10”(10sec)) Timer value of waiting for
reception from ICC
<3> 1 “0” Automatic IFSD Request (Default)
“1” No IFSD Request
<4> 1 “0” TCK Check (Default)
“1” No TCK Check
<5> 1 “0” From high voltage level (5V->3V) (Default) ICC activation voltage level
“1” From low voltage level (3V->5V)
“2” 5V only
“3” 3V only
<6> 9 “0” Spare
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“33” Data Error in Flash Memory Detection
“70” Stored Program in Flash Memory Imperfection
143 / 218
GB-H-01047 (A0)
144 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (2bytres)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 2 “00” ISO7816 (Default)
“05” Europay (EMV3.1.1) / New CB
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“33” Data Error in Flash Memory Detection
“70” Stored Program in Flash Memory Imperfection
“72” Partial FW Error In Flash Memory Detection
145 / 218
GB-H-01047 (A0)
7.71 (Y2) ICC Control Information (Timer value of Waiting for reception from ICC)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (2bytes)
Length Data
CMP Meaning
(Bytes) (ASCII)
1 2 “06” - “99” Seconds (Default =”10”(10sec))
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“33” Data Error in Flash Memory Detection
“70” Stored Program in Flash Memory Imperfection
146 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1byte)
Length Data
CMP Meaning
(Byte) (ASCII)
<1> 1 “0” Automatic IFSD Request (Default)
“1” No IFSD Request
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“33” Data Error in Flash Memory Detection
“70” Stored Program in Flash Memory Imperfection
147 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1byte)
Length Data
CMP Meaning
(Byte) (ASCII)
<1> 1 “0” TCK Checks (Default)
“1” No TCK Check
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“33” Data Error in Flash Memory Detection
“70” Stored Program in Flash Memory Imperfection
148 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1byte)
Length Data
CMP Meaning
(Byte) (ASCII)
<1> 1 “0” Activate ICC from high voltage level. (5V -> 3V) (Default)
“1” Activate ICC from low voltage level. (3V -> 5V)
“2” Activate ICC with 5V only.
“3” Activate ICC with 3V only.
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“33” Data Error in Flash Memory Detection
“70” Stored Program in Flash Memory Imperfection
(5) Notes
• This command is effective only when ICC mode is ISO7816-3 (mode0). In other standards, only 5V enables
activation.
149 / 218
GB-H-01047 (A0)
Length Data
CMP Meaning
(Byte) (ASCII)
<1> 4 ”2054” One Block Size of Download Firmware
<2> 4 “0001”~”9999” Total Block Number of Download Firmware
<3> 16 Variable Download Identification Information
<4> 2 “00”~”10” Downloadable CPU Number (N)
<5> N X 10 12 Variable CPU Type Information for CPU No.1
(0~200) 2 Variable CPU Version
6 Variable CPU SUM Value
12 Variable CPU Type Information for CPU No.2
2 Variable CPU Version
6 Variable CPU SUM Value
: : : :
12 Variable CPU Type Information for CPU No.N
2 Variable CPU Version
6 Variable CPU SUM Value
RES Meaning
“30” In Downloading
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
150 / 218
GB-H-01047 (A0)
Length Data
CMP Meaning
(Byte) (BIN)
<1> 2 0000H~FFFFH Block Number of Download Firmware
<2> 4 Variable Start Address of Download Firmware
<3> 2044 Variable Data of Download Firmware
<4> 4 Variable SUM Value of Data
RES Meaning
“30” In Downloading.
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
151 / 218
GB-H-01047 (A0)
RES Meaning
“31” Normal Completion of Downloading, Status of Initial Reset Waiting.
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 12 “AAAAAAAAAAAA” FW type in Flash Memory
<2> 2 “AA” FW Version in Flash Memory
<3> 6 “000000”~”FFFFFF” SUM Value in Subset FW
8 “00000000”~”FFFFFFFF” SUM Value in Total FW
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
(5) Notes
• The host has to send an “Initial Reset Command” after turning on the DTR signal if it receives a “DL
Completion Response”(“31”) to the “DL Preparation”(“d2”).
152 / 218
GB-H-01047 (A0)
Length Data
CMP Meaning
(Bytes) (ASCII)
1 12 “AAAAAAAAAAA” FW type in Flash Memory
2 2 “AA” FW Version in Flash Memory
3 8 “00000000” ~ “FFFFFFFF” FW SUM Value in Flash Memory
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
(5) Notes
• The program in RAM runs until DL completion.
• The host should send a “DL Start Command”(“d0”) after turning on the DTR signal if it receives a normal
response to the “DL Preparation”(“d3”).
153 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1byte)
Length Data
CMP Meaning
(Byte) (BIN)
<1> 1 “1” SAM Number (Fixed)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
154 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (0 or 2bytes)
“P” “e” “1” See table below. “4” “1” <1> <2> ~ <4> <5>
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (BIN)
<1> 1 00H-FFH TS Initial Character
<2> 1 00H-FFH T0 Format Character
<3> 0~31 Undefined 00H-FFH TA1~TDn Interface Character
<4> 0~15 00H-FFH T1~Tk Historical Characters
<5> 0~1 00H-FFH TCK Check Character
For details, see ISO/IEC 7816-3.
155 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“A0” Transmission Error Detection during PPS
“A2” ICC Activation Failure
“A7” Unsupported ATR (*1) Reception by C/R
*1: But only when the “Unsupported ATR Error”(“A7”), sends the error with the ATR information as a
response. (For details, see below)
“N” “e” “1” “A” “7” <2> <3> <4> 5> <6>
Length Data
RDT Meaning
(Bytes) (BIN)
<2> 1 00H-FFH TS Initial Character
<3> 1 00H-FFH T0 Format Character
<4> 0~31 Undefined 00H-FFH TA1~TDn Interface Character
<5> 0~15 00H-FFH T1~Tk Historical Characters
<6> 0~1 00H-FFH TCK Check Character
(5) Notes
• C/R supports the following TA1 (F and D).
156 / 218
GB-H-01047 (A0)
157 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1byte)
Length Data
CMP Meaning
(Byte) (BIN)
<1> 1 “1” SAM Number (Fixed)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
158 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (2 or 4bytes)
“P” “e” “3” See table below. “4” “1” <1> <2> ~ <5> <6>
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (BIN)
<1> 1 “0” Enables to execute protocol type T=0 immediately
“1” Enables to execute protocol type T=1 immediately
“P” Needs to select protocol type by PPS Request Commands
“N” Incompletion of PPS Execution
“?” Command Parameter is “ No PPS Execution automatically
<2> 1 00H-FFH TS Initial Character
<3> 1 00H-FFH T0 Format Character
<4> 0~31 Undefined 00H-FFH TA1~TDn Interface Character
<5> 0~15 00H-FFH T1~Tk Historical Characters
<6> 0~1 00H-FFH TCK Check Character
For details, see ISO/IEC 7816-3.
159 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“A0” Transmission Error Detection during PPS
“A2” ICC Activation Failure
“A7” Unsupported ATR (*1) Reception by C/R
*1: But only when the “Unsupported ATR Error”(“A7”), sends the error with the ATR information as a
response. (For details, see below)
“N” “e” “3” “A” “7” <2> <3> <4> 5> <6>
Length Data
RDT Meaning
(Bytes) (BIN)
<2> 1 00H-FFH TS Initial Character
<3> 1 00H-FFH T0 Format Character
<4> 0~31 Undefined 00H-FFH TA1~TDn Interface Character
<5> 0~15 00H-FFH T1~Tk Historical Characters
<6> 0~1 00H-FFH TCK Check Character
(5) Notes
• C/R supports the following TA1 (F and D).
(1) Command
IDN CMD CMP
(1byte) (2bytes) (2 or 4bytes)
“P” “e” “4” See table below. “4” “1” <1> <2> ~ <5> <6>
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (BIN)
<1> 1 “0” Enables to execute protocol type T=0 immediately.
“1” Enables to execute protocol type T=1 immediately.
“P” Needs to select protocol type by PPS Request Commands.
“N” Incompletion of PPS Execution
“?” Command Parameter is “ No PPS Execution automatically.
<2> 1 00H-FFH TS Initial Character
<3> 1 00H-FFH T0 Format Character
<4> 0~31 Undefined 00H-FFH TA1~TDn Interface Character
<5> 0~15 00H-FFH T1~Tk Historical Characters
<6> 0~1 00H-FFH TCK Check Character
For details, see ISO/IEC 7816-3.
161 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“A0” Transmission Error Detection during PPS
“A2” ICC Activation Failure
“A7” Unsupported ATR (*1) Reception by C/R
*1: But only when the “Unsupported ATR Error”(“A7”), sends the error with the ATR information as a
response. (For details, see below)
“N” “e” “4” “A” “7” <2> <3> <4> 5> <6>
Length Data
RDT Meaning
(Bytes) (BIN)
<2> 1 00H-FFH TS Initial Character
<3> 1 00H-FFH T0 Format Character
<4> 0~31 Undefined 00H-FFH TA1~TDn Interface Character
<5> 0~15 00H-FFH T1~Tk Historical Characters
<6> 0~1 00H-FFH TCK Check Character
(5) Notes
• C/R supports the following TA1 (F and D).
(1) Command
IDN CMD CMP
(1byte) (2bytes) (5~262bytes)
“C” “f” “0” <1> <2> <3> <4> <5> <6> <7> <8>
Length Data
CMP Meaning
(Bytes) (BIN)
<1> 1 “1” SAM Number (Fixed)
<2> 1 00H~FEH CLA Instruction Class
<3> 1 00H~FFH INS Instruction Code
<4> 1 00H~FFH P1 Instruction Parameter 1
<5> 1 00H~FFH P2 Instruction Parameter 2
<6> 0 or 1 01H~FFH Lc field Number of Byte Present in Command Data Field
<7> Variable = Lc 00H~FFH Data field String Byte sent in Command Data Field
(0~255)
<8> 0 or 1 00H~FFH Le field Maximum Number of Byte expected in Data Field of
Response to Command
For details, see ISO/ICE 7816-4. But following case 1 to case 4 of table below is able to use.
163 / 218
GB-H-01047 (A0)
“P” “f” “0” See table below. “5” “0” <1> <2> <3>
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 0~256 ICC Data INF ICC Data (Information Field)
<2> 1 ICC Data SW1 Status-1
<3> 1 ICC Data SW2 Status-2
For details, see ISO/IEC 7816-4.
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“A4” Communication Error between C/R and SAM Detection
(5) Notes
• For Case 1, the host has to send data to the C/R without Lc=00. The C/R sends the command parameter
with Lc=00 to the SAM. For details see ISO7816-4 Annex A.
• When a DLE EOT is received during a command execution, the command processing is aborted with the
SAM is remained activated.
164 / 218
GB-H-01047 (A0)
(1) Command
(1-1) When Normal Transmission
IDN CMD CMP
(1byte) (2bytes) (5~361bytes)
“C” “f” “1” <1> <2> <3> <4> <5> <6> <7> <8>
Length Data
CMP Meaning
(Bytes) (BIN)
<1> 1 “1” SAM Number (Fixed)
<2> 1 00H~FEH CLA Instruction Class
<3> 1 00H~FFH INS Instruction Code
<4> 1 00H~FFH P1 Instruction Parameter 1
<5> 1 00H~FFH P2 Instruction Parameter 2
<6> 0, 1 or 3 01H~FFH Lc field Number of Byte Present in Command Data Field
<7> Variable = Lc 00H~FFH Data field String Byte sent in Command Data Field
(0~353)
<8> 0, 1 or 3 00H~FFH Le field Maximum Number of Byte expected in Data Field of
Response to Command
For details, see ISO/ICE 7816-4. But following case 1 to case 4 of table below is able to use.
Data
CMP Length Meaning
(BIN)
<1> 1 “1” SAM Number (Fixed)
<7> 0~360 00H~FFH Data field String Byte sent in Command Data Field
For details, see ISO/ICE 7816-4. But following case 1 to case 4 of table below is able to use.
165 / 218
GB-H-01047 (A0)
“P” “f” “1” See table below. “5” “0” <1> <2> <3>
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 0~318 ICC Data INF SAM Data (Information Field)
<2> 1 ICC Data SW1 Status-1
<3> 1 ICC Data SW2 Status-2
For details, see ISO/IEC 7816-4.
“P” “f” “1” See table below. “5” “1” <1> <2>
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 0~320 ICC Data INF SAM Data (Information Field)
<2> 0 ~1 ICC Data SW1 Status-1
For details, see ISO/IEC 7816-4.
166 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“A4” Communication Error between C/R and SAM Detection
(5) Notes
• This command should be used for transmission/reception of unchained data or for transmitting the last part
of data chained.
• When a DLE EOT is received during a command execution, the command processing is aborted with the
SAM is remained activated.
167 / 218
GB-H-01047 (A0)
“C” “f” “2” <1> <2> <3> <4> <5> <6> <7> <8>
Length Data
CMP Meaning
(Bytes) (BIN)
<1> 1 “1” SAM Number (Fixed)
<2> 1 00H~FEH CLA Instruction Class
<3> 1 00H~FFH INS Instruction Code
<4> 1 00H~FFH P1 Instruction Parameter 1
<5> 1 00H~FFH P2 Instruction Parameter 2
<6> 0, 1 or 3 01H~FFH Lc field Number of Byte Present in Command Data Field
<7> Variable = Lc 00H~FFH Data field String Byte sent in Command Data Field
(0~353)
<8> 0, 1 or 3 00H~FFH Le field Maximum Number of Byte expected in Data Field of
Response to Command
For details, see ISO/ICE 7816-4. But following case 1 to case 4 of table below is able to use.
Length Data
CMP Meaning
(Bytes) (BIN)
<1> 1 “1” SAM Number (Fixed)
<7> 0~360 00H~FFH Data field String Byte sent in Command Data Field
For details, see ISO/ICE 7816-4. But following case 1 to case 4 of table below is able to use.
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
168 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“A4” Communication Error between C/R and SAM Detection
(5) Notes
• This command should be used to send data after dividing when the data length to be sent to the SAM is
longer than the command parameter. But the “f1” command should be used in case that data length to be
sent of the last block is within the command parameter.
• When a DLE EOT is received during a command execution, the command processing is aborted with the
SAM is remained activated.
169 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1byte)
Length Data
CMP Meaning
(Byte) (BIN)
<1> 1 “1” SAM Number (Fixed)
“P” “f” “3” See table below. “5” “0” <1> <2> <3>
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 0~318 ICC Data INF ICC Data (Information Field)
<2> 0~1 ICC Data SW1 Status-1
<3> 1 ICC Data SW2 Status-2
For details, see ISO/IEC 7816-4.
170 / 218
GB-H-01047 (A0)
“P” “f” “3” See table below. “5” “1” <1> <2>
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 319~320 SAM Data INF ICC Data (Information Field)
<2> 0~1 SAM Data SW1 Status-1
For details, see ISO/IEC 7816-4.
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“A4” Communication Error between C/R and SAM Detection
(5) Notes
• This command should be used for continuous data reception when the response status (RES) from the C/R
is “21”.
• When a DLE EOT is received during a command execution, the command processing is aborted with the
SAM is remained activated.
171 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1byte)
Length Data
CMP Meaning
(Byte) (BIN)
<1> 1 “1” SAM Number (Fixed)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
RES Meaning
“53” Abort Completion of SAM Transmission by Forcedly Interruption
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“A4” Communication Error between C/R and SAM Detection
172 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1~2byte)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 1 “1” SAM Number (Fixed)
<2> 0 or 1 “0” Selection of protocol type T=0
“1” Selection of protocol type T=1
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (ASCII)
<1> 1 “0” Enable to execute T=0
“1” Enable to execute T=1
“N” Incompletion PPS Execution
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“A4” Communication Error between C/R and SAM Detection
173 / 218
GB-H-01047 (A0)
(5) Notes
• When a DLE EOT is received during a command execution, the command processing is aborted. And the
SAM is remained activated.
• C/R supports the following TA1 (F and D).
174 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1byte)
Length Data
CMP Meaning
(Byte) (ASCII)
<1> 1 “0” SLE 4442
“1” SLE 4432
“2” SLE 4428
“3” SLE 4418
RES Meaning
“11” ICC Activation Status
Length Data
RDT Meaning
(Bytes) (HEX)
<1> 1 00H-FFH Data 1
<2> 1 00H-FFH Data 2
<3> 1 00H-FFH Data 3
<4> 1 00H-FFH Data 4
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“82” ICC Activation Failure
“88” ICC Move during IC Contact Press
175 / 218
GB-H-01047 (A0)
176 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“88” ICC Move during IC Contact Press
177 / 218
GB-H-01047 (A0)
+ Activation
7.92 (m5) Memory Card Press+
(1) Command
IDN CMD CMP
(1byte) (2bytes) (1byte)
Length Data
CMP Meaning
(Byte) (ASCII)
<1> 1 “0” SLE 4442
“1” SLE 4432
“2” SLE 4428
“3” SLE 4418
RES Meaning
“11” ICC Activation Status
Length Data
RDT Meaning
(Bytes) (HEX)
<1> 1 00H-FFH Data 1
<2> 1 00H-FFH Data 2
<3> 1 00H-FFH Data 3
<4> 1 00H-FFH Data 4
178 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal from Rear
“16” Card Insertion from Rear or Card Jam at Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“82” ICC Activation Failure
“88” ICC Move during IC Contact Press
179 / 218
GB-H-01047 (A0)
+Release
7.93 (m6) Memory Card Deactivation+
(1) Command
IDN CMD
(1byte) (2bytes)
RES Meaning
“02” Card in C/R
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“14” Card Withdrawal from Rear
“16” Card Insertion from Rear or Card Jam at Rear
“18” Power Down Detection
“19” Waiting Initial Reset
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“88” ICC Move during IC Contact Press
180 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (5~260bytes)
“C” “m” “7” <1> <2> <3> <4> <5> <6> <7>
Length Data
CMP Meaning
(Byte) (ASCII)
<1> 1 00H~FFH CLA Class Card Type
<2> 1 00H~FFH INS Instruction Command Code
<3> 1 00H~FFH P1 Parameter 1 Address (High)
<4> 1 00H~FFH P2 Parameter 2 Address (Low)
<5> 0 or1 00H~FFH Lc field Length Number of Byte Present in Command
Data Field
<6> Variable = Lc Variable Data field Data String of Byte sent in Command Data
Field
<7> 0 or 1 00H~FFH Le field Length Maximum Number of Byte expected in
Data Field of Response to Command
The format of the command parameter for SIEMENS SLE4442 is shown below.
The card type for SIEMENS SLE4442 is “0”(30H). Therefore, CLA of every command is fixed to 30H.
181 / 218
GB-H-01047 (A0)
182 / 218
GB-H-01047 (A0)
RES Meaning
“20” Transmission to ICC Completion (With/ without Receiving Data, with SW1 + SW2)
Length Data
RDT Meaning
(Byte) (BIN)
<1> 0~512 Variable Reception Data from Memory Card
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“84” Communication Error between C/R and ICC Detection
“88” ICC Move during IC Contact Press
183 / 218
GB-H-01047 (A0)
(5) Notes
• The command parameters and response data are the same as APDU.
• For the details of APDU, see ISO/IEC 7816-4.
184 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (5~260bytes)
“C” “m” “8” <1> <2> <3> <4> <5> <6> <7>
Length Data
CMP Meaning
(Byte) (ASCII)
<1> 1 00H~FFH CLA Class Card Type
<2> 1 00H~FFH INS Instruction Command Code
<3> 1 00H~FFH P1 Parameter 1 Address (High)
<4> 1 00H~FFH P2 Parameter 2 Address (Low)
<5> 0 or1 00H~FFH Lc field Length Number of Byte Present in Command
Data Field
<6> Variable = Lc Variable Data field Data String of Byte sent in Command Data
Field
<7> 0 or 1 00H~FFH Le field Length Maximum Number of Byte expected in
Data Field of Response to Command
RES Meaning
“20” Transmission to ICC Completion (With/ without Receiving Data, with SW1 + SW2)
185 / 218
GB-H-01047 (A0)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“11” Shutter Error Detection
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
“88” ICC Move during IC Contact Press
“8A” • Rejecting Verification Card
• EC Area of Card = 00h, or Protect Bit in EC Area Protection
• Retry and Error Processing If the PSC code specified by the command parameter is not correct, it fails PSC
verification, then transmits a Disagreement of Verification code (“N89”).
• When a memory card failed to execute the PSC verification successively, and the EC of memory card that
has protected the PSC verification is 00h, an Inappropriate Verification Code (“N8A”) is returned as a
response.
• When the host sends the Memory Card Verification Command (“m8”) to a card not supporting the PSC
verification, the C/R sends a “Sequence Error”(“N01”)”.
186 / 218
GB-H-01047 (A0)
(1) Command
IDN CMD CMP
(1byte) (2bytes) (3bytes)
Length Data
CMP Meaning
(Bytes) (ASCII)
<1> 3 “001” - “256” Data Length of User Information
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
Length Data
RDT Meaning
(Bytes) (HEX)
1 256 Variable User Information
RES Meaning
“02” Command Parameter Error
“18” Power Down Detection
“19” Waiting Initial Reset
“70” Stored Program in Flash Memory Imperfection
187 / 218
GB-H-01047 (A0)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in CHD
“11” Shutter Error Detection
“13” Motor No Rotation
“18” Power Down Detection
“19” Waiting Initial Reset
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
(5) Notes
• When there is a returned card at the gate position, it does not intake another card unless the card has been
withdrawn.
• Confirms if a card has been intaken by the “Status Sense Command”(“10” or “11”).
188 / 218
GB-H-01047 (A0)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in C/R
“11” Shutter Error Detection
“13” Motor No Rotation
“18” Power Down Detection
“19” Waiting Initial Reset
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
(5) Notes
• When this command is received during a card is being inserted, the card will be intaken and a normal
response will be returned without the card insertion prohibited,
189 / 218
GB-H-01047 (A0)
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
RES Meaning
“01” Command Sequence Error
“02” Command Parameter Error
“10” Card Jam in CHD
“11” Shutter Error Detection
“13” Motor No Rotation
“18” Power Down Detection
“19” Waiting Initial Reset
“20” Too Long Card Insertion
“21” Too Short Card Insertion
“70” Stored Program in Flash Memory Imperfection
“81” IC Contact Solenoid Error Detection
(5) Notes
• When there is a returned card at the gate position, it does not intake another card unless the card has been
withdrawn.
• Confirms if a card has been intaken by the “Status Sense Command”(“10” or “11”).
190 / 218
GB-H-01047 (A0)
Track
ISO 1 ISO 2 ISO 3
Item
Character Length (including parity) 7 bits 5 bits 5 bits
Parity odd odd odd
Longitudinal Calculation Method (LRC) *1 even LRC even LRC even LRC
Top Character “SP” “0” “0”
Start Sentinel (SS) “%” “;” “;”
End Sentinel (ES) “?” “?” “?”
Data Length (byte) 1-76 1-37 1-104
*1. The LRC Calculation Method is shown below.
Card Data *2
*1 Data recorded on a card includes both card data and parity data.
*2 The data transmitted/received by the HOST or the C/R is only card data not include parity.
191 / 218
GB-H-01047 (A0)
SP 0 @ *1 P
! *1 1 A Q *1.These characters can be used only for hardware control. Do not
“ *1 2 B R use in card data.
# *3 3 C S
$ 4 D T *2.Do not use these characters for cards used internationally.
% *4 5 E U
& *1 6 F V *3.These characters have been prepared for use as the additional
diagram characters. Do not use in the Card Data.
‘ *1 7 G W
( 8 H X
*4.Each character represents as follows:
) 9 I Y
* *1 : *1 J Z "%": Start Sentinel (SS)
+ 1 ; *1 K [ *2 "?": End Sentinel (ES)
, *1 < *1 L *2 "^": Separator
- = *1 M ] *2
. > *1 N ^ *4 However, since restrictions shown above do not apply to LRC, all
/ ? *4 O _ *1 codes in the table are usable.
0 *1. These characters can be used only for hardware control. Do not use in card data.
1 *2. ";" : Start Sentinel (SS)
2 *3. "=" : Separator
3 *4. "?" : End sentinel (ES)
4
5 However, since restrictions shown above do not apply to LRC, all codes in the table
6 are usable.
7
8
9
: *1
; *2
< *1
= *3
> *1
? *4
192 / 218
GB-H-01047 (A0)
9. Detailed Description of FW Download
9.1 Download File Format
Sizes Attrib
Items Notes
(Bytes) ute
Header Filed DL File Identification Code 5 ASCII “OMRON”
Kind of File 1 ASCII “B”
Data Part Off Set 4 ASCII Offset from the top of file to data part.
User Information 256 ASCII The host can read it by “u0” command
Download Firmware Information Type 12 22 ASCII Variable
Version 2
SUM Value 8
Download Data Size / 1block 4 ASCII ”2054”
Download Block Number 4 ASCII “0001”~”9999”
Download Administration Information 20 ASCII Variable
Downloadable CPU Number (N) 2 ASCII “01”~”10”
Downloadable CPU 1 Type 12 20 X N ASCII Variable
Version 2
SUM Value 6 This file is used as the parameter of the “DL Start Command”
Downloadable CPU 2 Type 12 (“d0”).
Version 2
SUM Value 6
:
Downloadable CPU N Type 12
Version 2
SUM Value 6
Data Filed 1st Block 2054 X N BIN This file is divided into 2054 bytes each to be used as the parameter of “DL
2nd Block Transmission Command”(“d1”).
:
Nth Brock
File SUM Value 4 BIN Calculation range is from the top to the end of download file.
The host should check the justification of download file SUM value.
193 / 218
GB-H-01047 (A0)
The below data is stored in the user information area of each FW (download file).
Byte Length
Data Parameter Definitions Parameter Meaning
Order [Byte]
1 5 "$MOD$ Begin of MODSEG identification
6 1 "" Blank
7 6 "YYMMDD" Release date of FW module
13 1 "" Blank
14 4 "RRVV" Release, Version of FW module
18 1 "" Blank
19 12 "name.ext" FW module File name
31 1 ";" End of MODSEG identification
195 / 218
GB-H-01047 (A0)
In Normal Operation
Receives DL
Preparation
Command("Cd3")
Sends Respnse
("Pd3xx")
Sends Respnse
("Nxx70")
196 / 218
GB-H-01047 (A0)
Receives DL Start
Command("Cd0")
Sends DLE-ACK
DLE-EOT
receivable
Receives DLE-ENQ
Parameter NO
Check OK ?
DLE-EOT NO
not receivable Erasure OK ?
YES
Goes on to the status
Send Response capable of receiving DLE-EOT
of DL in Process ("Pd430") DLE-EOT
Sends Imperfect DL Program receivable
Waits for recieving DL ("Nd470")
Transmission Command
197 / 218
GB-H-01047 (A0)
Receives DL Transmission
Command("Cd1")
Sends DLE-ACK
Receives DLE-ENQ
NO
Sequence Check OK ?
Writing in the NO
memory OK ?
Goes on to the status capable
YES of receiving DLE-EOT
NO
Is the block the last one?
YES
198 / 218
GB-H-01047 (A0)
Receives DL Completion
Command ("Cd2")
Sends DLE-ACK
Receives DLE-ENQ
DLE-EOT
not receivable NO
Sequence
Check OK?
NO
All DL Data OK? *1
YES
Goes on to the status Goes on to the status
capable of receiving capable of receiving
DLE-EOT DLE-EOT
199 / 218
GB-H-01047 (A0)
10. Command Matrixes
10.1 In case that the previous command is positive
The below describes if the V2X can execute each command in each state of card position and C/R.
• X --- Executes the command processing.
• N?? --- Sends the "Nxx"error as response without executing the command processing.
RES Meaning
“00” No Card in C/R
“01” Card at Gate Position
“02” Card in C/R
“04” Card in Read Start Position of MM Sensor
“10” IC Contact Press to ICC
“11” ICC Activation Status
“20” Transmission with ICC Completion (With/ without Reception Data, with SW1 + SW2)
“21” In process C/R of Continuous Reception from ICC (With Reception Data, without SW1 + SW2)
“22” In Process C/R of Continuous Transmission to ICC (Without Reception Data, without SW1 + SW2)
“23” Abort Completion of SAM Transmission by Forcedly Interruption
“30” In Process Downloading
“31” Downloading Normal Completion. Waiting C/R for Initial Reset
200 / 218
GB-H-01047 (A0)
201 / 218
GB-H-01047 (A0)
202 / 218
GB-H-01047 (A0)
203 / 218
GB-H-01047 (A0)
10.2 In case that the previous command is negative
The below describes if the V2X can execute each command in each state of card position and C/R.
• X --- Executes the command processing.
• N?? --- Sends the "Nxx"error as response without executing the command processing.
*1: The C/R executes the command processing. But it sends the error response indicated in the parenthesizes.
*2: The process which the C/R can execute is different depending on the IC mode set by the Y1 command.
204 / 218
GB-H-01047 (A0)
205 / 218
GB-H-01047 (A0)
206 / 218
GB-H-01047 (A0)
207 / 218
GB-H-01047 (A0)
11. Command Processing Matrixes
11.1 Matrixes of Commands Relevant to Download (DLC)
- The following matrix shows commands about DL and the status of the C/R. The description of error codes during the execution of each command is omitted.
- “xx” in this matrix shows command code.
- This matrix is effectiveness in condition when no card exists or a card exists at insertion position ( but shutter closed ).
- The response status ”Pxx0x”, ”Pxx1x” and ”Pxx2x” are described as “Pxxnx”.
208 / 218
GB-H-01047 (A0)
209 / 218
GB-H-01047 (A0)
11.2 Matrix of ICC Control Commands
Points to Notice
- “xx” shown in positive response data indicates card position.
- When the C/R cannot support the ATR sent by ICC, the C/R responds an error response of Unsupported ICC Error (“Nxx87”) to an activation command.
- When the C/R receives an activation command during ICC activation, the C/R responds a Command Sequence Error (“Nxx01”) to the activation command.
- “T=0”, ”T=1”, ”PPS Request Required” and ”PPS incompletion” in the matrices below represent response data to a command. For the details, see Annex D.
- If the C/R receives PPS Request Command during processing with a card by T=0 or T=1, it responds a Command Sequence Error (“Nxx01”).
- Forceful Termination Command (“F4”) is available only during continuous reception on processing by T=1.
210 / 218
GB-H-01047 (A0)
(2) Matrix of PPS Right After Activation
Command T=0 Transmission/ Reception T=1 Transmission/Reception PPS
Deactivation
(CMD) Deactivation Warm Reset Transmission/ Continuous
+Release Transmission/ Reception PPS Request
“C3” “E1” Reception Transmission
“C6” “F0” “F8”
Status of C/R “F1” “F2”
2 Right after Deactivation Deactivation Warm Reset + (PPS) T=0 Transmission/Reception *4 Transmission/Reception *5 Continuous transmission *5 PPS Request
Activation “PC310” +Release ”PE111” “Pxx20” “Pxx20” “PF222” “PF820”
->1 “PC602” *3 ->2 ->5 ->6 ->7 T=0->5
->0 *1 T=0->5 Transmission/Reception *5 T=1->6
*2 T=1->6 “PF121” PPS incompleted->4
PPS Req. required->3 ->8
PPS incompleted->4
3 PPS Request Deactivation Deactivation Warm Reset + (PPS) T=0 Transmission/Reception *4 Transmission/Reception *5 Continuous transmission *5 PPS Request
Required “PC310” +Release ”PE111” “Pxx20” “Pxx20” “PF222” “PF820”
->1 “PC602” *3 ->2 ->5 ->6 ->7 T=0->5
->0 *1 T=0->5 Transmission/Reception *5 T=1->6
*2 T=1->6 “PF121” PPS incompleted->4
PPS Req. required->3 ->8
PPS incompleted->4
4 PPS Incompleted Deactivation Deactivation Warm Reset + (PPS) T=0 Transmission/Reception *4 Transmission/Reception *5 Continuous transmission *5 PPS Request
“PC310” +Release ”PE111” “Pxx20” “Pxx20” “PF222” “PF820”
->1 “PC602” *3 ->2 ->5 ->6 ->7 T=0->5
->0 *1 T=0->5 Transmission/Reception *5 T=1->6
*2 T=1->6 “PF121” PPS incompleted ->4
PPS Req. required->3 ->8
PPS incompleted ->4
*1: When the protocol type of ICC indicated at TA2 by the specific mode is T=0, or when the protocol type is set to T=0 as the result of PPS, go to 5.
*2: When the protocol type of ICC indicated at TA2 by the specific mode is T=1, or when the protocol type is set to T=1 as the result of PPS, go to 6.
*3: When the command parameter is set to “No automatic execution of PPS”, and also when the requirement for either *1 or *2 is not met, go to 2.
*4: When T=0 has not been indicated in the ATR as the protocol type for the ICC, a Command Sequence Error will be responded.
*5: When T=1 has not been indicated in the ATR as the protocol type for the ICC, a Command Sequence Error will be responded.
211 / 218
GB-H-01047 (A0)
(3) Matrix of the Status of C/R Processing with ICC of T=0/T=1
T=0
Command T=1 Transmission/Reception
Deactivation Transmission/Reception
(CMD) Deactivation
+ Release Warm Reset Transmission/ Continuous Continuous
“C3” Transmission/Reception Forceful Termination
“C6” “E1” Reception Transmission Reception
Status of C/R “F0” “F4”
“F1” “F2” “F3”
5 Processing with T=0 Card Deactivation Deactivation
Warm Reset + (PPS) T0 Transmission/Reception
“PC310” +Release ”PE111” “Pxx20”
->1 “PC602” *3 ->2
->0 *1 T=0->5
*2 T=1->6
PPS Req. required->3
PPS incompleted->4
6 Processing Idle Deactivation Deactivation Warm Reset + (PPS) Transmission/ Continuous
with “PC310” +Release ”PE111” Reception Transmission
T=1 Card ->1 “PC602” *3 ->2 “Pxx20” ->6 “PF222”
->0 *1 T=0->5 Transmission/ ->7
*2 T=1->6 Reception
PPS Req. required->3 “PF121” ->8
PPS incompleted->4
7 On Deactivation Deactivation Warm Reset + (PPS) Transmission/ Continuous Transmission
Continuous “PC310” +Release ”PE111” Reception Transmission forcefully terminated
Transmission ->1 “PC602” *3 ->2 “Pxx20” ->6 “PF222” “PF423”
->0 *1 T=0->5 Transmission/ ->6
*2 T=1->6 Reception
PPS Req. required->3 “PF121” ->8
PPS incompleted->4
8 On Deactivation Deactivation Warm Reset + (PPS) Continuous Transmission
Continuous “PC310” +Release ”PE111” Reception forcefully terminated
Reception ->1 “PC602” *3 ->2 “PF320” ->6 “PF423”
->0 *1 T=0->5 Continuous ->6
*2 T=1->6 Reception
PPS Req. required->3 “PF321” ->8
PPS incompleted->4
*1: When the protocol type of ICC indicated at TA2 by the specific mode is T=0, or when the protocol type is set to T=0 as the result of PPS, go to 5.
*2: When the protocol type of ICC indicated at TA2 by the specific mode is T=1, or when the protocol type is set to T=1 as the result of PPS, go to 6.
*3: When the command parameter is set to “No automatic execution of PPS”, and also when the requirement for either *1 or *2 is not met, go to 2.
212 / 218
GB-H-01047 (A0)
11.3 Matrixes of SAM Control Commands
Points to Notice
- The “xx” of positive response data indicates card position.
- The unsupported ATR error (“NxxA7”) is transmitted as the response of an activation command in case C/R cannot support the ATR of SAM.
- The response of Command Sequence Error (“Nxx01”) is transmitted in case an activation command is re-sent again during the SAM activation.
- “T=0”, ”T=1”, ”Needs to PTS Req.” and ”PTS incompletion” in matrix below is shows response data for the command. For details, see Annex D.
- The PTS request command (“f8”) under processing ( read /write ) the SAM with T=0/T=1 is responded as a sequence error(“Nxx01”).
- Interruption completion command (“f4”) for transmission is effective only when the status is in processing to T=1 card.
213 / 218
GB-H-01047 (A0)
(2) PTS Matrix of right After Activation
Commands T=0 Transmission T1 Sending/Receiving PTS
(CMD) Sense Deactivation Warm Reset Continuous Others
“e0” “e2” “e4” Transmission Transmission PTS Request “e1” , “e3”
Transmission
Status of C/R “f0” “f1” “f8”
“f2”
2 Immediately “Pe0xx41” Deactivation Warm Reset + (PTS) T=0 Sending/ Sending/ Continuous PTS Request “Nfx01”
after ->2 “Pe2xx40” ”Pe4xx41” Receiving Receiving Sending /Receiving “Pf8xx50” ->2
Activation ->1 *3->2 “Pxxxx50” *4 “Pxxxx50” *5 “Pf2xx52” *5 T=0->5
*1 T=0->5 ->5 ->6 ->7 T=1->6
*2 T=1->6 Sending/ PTS incompletion->4
Needs to PTS Req->3 Receiving
PTS incompletion->4 “Pf1xx51” *5
->8
3 Needs to “Pe0xx41” Deactivation Warm Reset + (PTS) T0 Sending/ Sending/ Continuous PTS Request “Nfx01”
PTS Request ->3 “Pe2xx40” ”Pe4xx41” Receiving Receiving Sending/Receiving “Pf8xx50” ->3
Command ->1 *3->2 “Pxxxx50” *4 “Pxxxx50” *5 “Pf2xx52” *5 T=0->5
*1 T=0->5 ->5 ->6 ->7 T=1->6
*2 T=1->6 Sending/ PTS incompletion->4
Needs to PTS Req->3 Receiving
PTS incompletion->4 “Pf1xx51” *5
->8
4 PTS “Pe0xx41” Deactivation Warm Reset + (PTS) T0 Sending/ Sending/ Continuous PTS Request “Nfx01”
execution ->4 “Pe2xx40” ”Pe4xx41” Receiving Receiving Sending/Receiving “Pf8xx50” ->4
->1 *3->2 “Pxxxx50” *4 “Pxxxx50” *5 “Pf2xx52” *5 T=0->5
*1 T=0->5 ->5 ->6 ->7 T=1->6
*2 T=1->6 Sending/ PTS incompletion ->4
Needs to PTS Req->3 Receiving
PTS incompletion ->4 “Pf1xx51” *5
->8
*1: The SAM of which protocol type indicated by TA2 in the specific mode is T=0 or that of which protocol type fixed T=0 after PTS.
*2: The SAM of which protocol type indicated by TA2 in the specific mode is T=1 or that of which protocol type fixed T=1 after PTS.
*3: In case command parameter is without “PTS Execution automatically” , and the SAM does not comply with the above *1 and *2.
*4: It is counted as Command Sequence Error in case of the SAM of which protocol type is not first-indicated as T=0 in ATR.
*5: It is counted as Command Sequence Error in case of the SAM of which protocol type is not first-indicated as T=1 in ATR.
214 / 218
GB-H-01047 (A0)
(3) Matrix of processing with T=0/T=1 SAM
T=0
Commands T=1 Transmission
Transmission
(CMD) Sense Deactivation Warm Reset Others
“e0” “e2” “e4” Continuous Continuous Compulsory “e1” , “e3”
Transmission Transmission
Status of C/R Transmission Receiving Completion
“f0” “f1”
“f2” “f3” “f4”
5 In Protocol processing “Pe0xx50” Deactivation Warm Reset + (PTS) T0 Sending/ “Nfx01”
with T=0 Card ->5 “Pe2xx40” ”Pe4xx41” Receiving ->5
->1 *3 ->2 “Pxxxx50”
*1 T=0->5
*2 T=1->6
Needs to PTS Req->3
PTS incompletion->4
6 Process Idle “Pe0xx50” Deactivation Warm Reset + (PTS) Sending/ Continuous “Nfx01”
with T=1 or “Pe2xx40” ”Pe4xx41” Receiving Sending/ ->6
Card “Pe0xx53” ->1 *3 ->2 “Pxxxx50” ->6 Receiving
->6 *1 T=0->5 Sending/ “Pf2xx52”
*2 T=1->6 Receiving ->7
Needs to PTS Req->3 “Pf1xx51” ->8
PTS incompletion->4
7 During “Pe0xx52” Deactivation Warm Reset + (PTS) Sending/ Continuous Transmission “Nfx01”
Continuous ->7 “Pe2xx40” ”Pe4xx41” Receiving Sending/ Compulsory ->7
Transmission ->1 *3 ->2 “Pxxxx50” ->6 Receiving Completion
*1 T=0->5 Sending/ “Pf2xx52” “Pf4xx53”
*2 T=1->6 Receiving ->7 ->6
Needs to PTS Req->3 “Pf1xx51” ->8
PTS incompletion->4
8 During “Pe0xx51” Deactivation Warm Reset + (PTS) Continuous Transmission “Nfx01”
Continuous ->8 “Pe2xx40” ”Pe4xx41” Receiving Compulsory ->8
Receiving ->1 *3 ->2 “Pf3xx50”->6 Completion
*1 T=0->5 Continuous “Pf4xx53”
*2 T=1->6 Receiving ->6
Needs to PTS Req->3 “Pf3xx51”->8
PTS incompletion->4
*1: The SAM of which protocol type indicated by TA2 in the specific mode is T=0 or that of which protocol type fixed T=0 after PTS.
*2: The SAM of which protocol type indicated by TA2 in the specific mode is T=1 or that of which protocol type fixed T=1 after PTS.
*3: In case command parameter is without “PTS Execution automatically”, and the SAM does not comply with the above *1 and *2.
215 / 218
GB-H-01047 (A0)
11.4 Matrix of Memory Card
Command(CMD) Press Release Activation Deactivation Press + Activation Deactivation + Release Transmission and Verification
“C0” “C1” “m2” “m3” “m5” “m6” Reception “m8”
Status of C/R “m7”
0 Before Contact Press Press Press + Activation
“PC010” “Pm511”
->1 ->2
1 After Contact Press Release Activation Activation Release
“PC102” “Pm211” “Pm511” “Pm602”
->0 ->2 ->2 ->0
2 After Activation Deactivation Deactivation + Release Data Transmission Verification
“Pm310” “Pm602” and Reception “Pm820”
->1 ->0 “Pm720”
216 / 218
GB-H-01047 (A0)
217 / 218
GB-H-01047 (A0)
C/R condition when The first response after power down After the second response after
power down detection detection power down detection
For the first command, C/R sends the C/R sends “Waiting initial reset (Nxx19) or
response below; (Nxx71)“ when C/R received a command
- “Power down detection (Nxx18)” exclude “initial reset (“00”-“07”)”.
No command receiving
- “Waiting initial reset (Nxx19)”
- “Initial reset” command waiting after FW
loading completion (Nxx71)”
For the response in processing command,
C/R sends the response below;
-“Power down detection (Nxx18)”
In command processing
-“Waiting initial reset (Nxx19)
-“Initial reset” command waiting after FW
loading completion (Nxx71)”
218 / 218