9.Parts list ...............................................................................................
22
23
29
1. IN/ON LINE BOARD I/O PB-12
1-1. To mount the I/O pb-12 in the P/C unit
1)To open upper case of the P/C unit (In case using SA-3000 as a P/C unit), release the
one screw of the back side and lift the upper cas up from the CPU unit.
2) Lift up the upper case.
1) Release the screw.
NOTE: There are 6 hooks at the
bottom side of upper case. Please
be careful.
2)Mount the I/O PB-12 to the mother boards slot connector as shown in the following.
[Hardware Configuration]
BATTERY 1
UPS
BATTERY 2
Mother Board
CPU
RAM
R3 Printer cable
M/O Board
VGA BOARD
3.5 Inch FDD
HDD cable
I/O PB-12
— 1 —
1-2. I/O PB-12 board cables connection
CN2
Inline
Connector
CN3
Kitchen
Printer
Connector
SW1
IRQ N o . selection
SW2
IRQ N o . selection
SW3
I/O Port address
selection
Red w ire
CN4
From Power supply (UPS)
1)Connect the following cable to the I/O-PB12.
CN2: Kitchen printer
CN3: In-line
CN4: Power cable from the UPS.
Ensure that the red dot line mark is No.1 pin.
2)The standard setting for SW1(INT1), SW2(INT2) and SW3(PORT) are as follows:
SW1: Standard setting is IRQ10.
SW2: Standard setting is IRQ11.
SW3: Standard setting is 1E0H.
— 2 —
1-3. Interface
1-3-1. C In-line
1)In-line connection diagram
The maximum in-line cable length and the maximum connection unit will be varied by the
in-line communication speed as shown below list.
[In-line cable wiring]
Total cable length is max. A m
ECRPC
Terminater(100 ohms)
ECRECR
Terminater(100 ohms)
In-line Communication speedMaximumMaximum cable length
(Band rate)connection unitA (m)
1.25 M bps886
625 K bps12200
312.5 K bps20430
156.25 K bps32890
2)Connection:Multi drop
3)Terminator:100 Ω
4)We recommend that PC is a terminal set.
5)If PC is not the terminal set, FG(PC side) should not connect with cable ground.
Then to make 10 cm of cable which is non-terminal resist.
5)If PC is not the terminal set, FG(PC side) should not connect with cable ground.
Then to make a 10 cm of non-terminal resistor and to connect it in this case.
6)Dip switch
— 3 —
[KP-200]
SW1: The blank means off.
Machine1234BPS5678
1
2on1200Notused
3on2400
4onon
5on9600on
6on on
7onon
8ononon
SW2 and SW3: All off
[KP-300]
SW1(Fixed):On: 4, 6Off: 1,2,3,5,7,8
SW2:The blank means off.
Machine1234BPS 5678
600
4800onon
1
2on1200Not used
3on2400
4onon
5on9600on
6on on
7onon
4AD0In/Out L Pulse Pulse
5AD1In/Out L Pulse Pulse
6AD2In/Out L Pulse Pulse
7D3In/Out L Pulse Pulse
8D4In/Out L Pulse Pulse
9D5In/Out L Pulse Pulse
10D6In/Out L Pulse Pulse
11D7In/Out L Pulse Pulse
12GNDPower GND GND GND
13XTAL1In L Pulse Pulse
14XTAL2In L Pulse Pulse
15PULSE1Out L H Pulse
16PULSE2Out L L L
PULSE1
PULSE2
17RXINIn L H Pulse
18TXENOut L L Pulse
19RESET INIn L H H
TXEN
RESET IN
Input. On a non-multiplexed bus,
these signals are dirctly connectoed to
the low bits of the host address bus.
On a multiplexed address/data bus,
A0/MUX is tied low, A1 is left open,
and A2 is tied to the address latch
enable signal of the host. A1 is
connectoed to an internal pull-up
resistor.
Input/Output. On a non-multiplexed
bus, these signals are used as the
data lines for the device. On a
multiplexed address/data bus,
AD0~AD2 act as the address lines
(latched by ALE) and as the low data
lines for the device. D3~D7 are
always used for data only. These
signals are connected to internal pullup resistors.
Signal ground.
An external crystal shoul be connected
to these pins. If an external TTL clock
is used instead, it must be connected
to XTAL1 with a 390 ohms pull-up
resistor, and XTAL2 should be left
floating.
Output. In normal mode, these active
low signals carry the transmit data
information, encoded in pulse format,
from the COM20020 to the media
driver circuitry. When the device is in
backplane mode, the PULSE1 signal
driver is programmable (push/pull or
open-drain), while the PULSE2 signal
provides a clock with frequency of
crystal/4. PULSE1 is connected to a
week internal pull-up resistor in
backplane mode.
Receive input. This signal carries the
receive data information from the line
receiver circuitry to the COM20020.
Transmit Enable output. This signal
used in backplane mode to enable the
line drivers for transmission. The
polarity of the signal is programmable
by grounding the PULSE2 pin. This
option is valid only in backplane mode.
Input. This active low signal issued by
the microcontroller executes a
hardware reset. It is used to activate
the internal reset circuitry within the
COM20020.
— 9 —
Pin No.NameIn/Out Status Status StatusDescription
of OFF of ON of ON
No token Token
20INTROut L H Pulse
INTR
Interrupt output. This active low signal
is generated by the COM20020 when
an enabled interrupt condition occurs.
INTR returns to its inactive state when
the interrupt status condition or the
corresponding interrupt mask bit is
reset.
21CSIn L H Pulse
CS
Chip select input. This active low
signal issued by the microcontroller
selects the COM20020 for an access.
22WR/DIRIn L Pulse Pulse
WR/DIR
Input. On a 68XX-like bus, this signal
is issued by the microcontroller as the
Read/Write signal to determine the
direction of data transfer. In this case,
a logic "1" selects a read operation,
while a logic "0" selects a write
operation. In this case, data is
actually strobed by the DS signal. On
an 80XX-like bus, this active low
signal is isuued by the microcontroller
to indicate a write operation. in this
case, a logic "0" on this pin, when the
COM20020 is accessed, enables data
from the data bus to be written to the
device.
23RD/DSIn L L Pulse
RD/DS
Read/ Data strobe signal input. On a
68XX-like bus, this active low signal is
issued by the microcontroller as the
data strobe signal to strobe the data
onto the bus. On a 80XX-like bus, this
active low signal is issued by the
microcontroller to indicate a read
operation. In this case, a logic "0" on
this pin, when the COM20020 is
accessed, enables data from the
device to the data bus to be read by
the microcontroller.
24VCCPower GND+5V +5V
Power supply +5V.
— 10 —
4-4. Timing Chart
1. EP Rom read
2. S Ram write
— 11 —
5. DIAGNOSTIC
5-1. Summary
5-2. Files
5-3. Hardware
1. In-line ( 1 to 1: Connection type)
2. In-line ( 1 to Multiple: Connection-Less type )
2)C_NETDRV.COM is already stored in the memory.
CASIO Network Driver / Version 0.02
Cop[y right (c) CASIO COMPUTER CO.,Ltd. All right reserved.
C_NET DRIVER already exist in memory.
3)C_NETDRV.COM is restored from the memory.
CASIO Network Driver / Version 0.02
Cop[y right (c) CASIO COMPUTER CO.,Ltd. All right reserved.
C_NET DRIVER Removed.
— 14 —
5-5-3. C_SETUP.EXE
Load C_DIAG and press Enter.
POS_check Exist();
= 0001 (If the driver is not exist, No more message and to be error end.)
POS = read ID();= ca02 (If the ID is wrong, No more message and to be error end.)
POS_read Version();= 0002 (Version for driver)
board_chk();= 0001 (If the I/O-PB board is not exist, No more message and error end.)
*******************************************************************************************************
*DIAG For I/O-PB-12 Ver 0.03*
*******************************************************************************************************
*NETWORK TEST ( C_NET CHIP )*CPU TEST*
*******************************************************************************************************
21:UPS STATUS98:DRV INF
22:UPS DC CUT99:END
*******************************************************************************************************
ENTER DIAG Number:=>
1)Input the number and press Enter.
2)Thereafter testing program, The display will be going back to menu screen as above.
3)All testing program can quit by <ESC> key, then going back to menu screen.
Note:1. Test program No. 7 and 8 are not allowed. (Only software testing)
2. In case of that test programming No. 3, 4, and 6 are not working as long as
No. 5 is working, The IRQ setting of C_NET may clash with the other software.
[Each test command programming]
1. NET START
To initialize the Network and Network controller.
You have to install this program first, before using program 3. ~ 6. or after using
the program No. 2.
u_ioctrl ( start ) ret = 0000
— 15 —
2. NET END
To quit Network and Network controller and stop the token.
u_ioctrl ( end ) ret = 0000
3. SEND/RECV MODE (Connection)
To repeat In-line communication. ( 1 to 1)
In case of communication error, Going to retry 10 times at every 0.5 second.
Ensure that install the program No.1 before using this operation.
Send to ( Target ECR Number ):__Input the ECR ID and press Enter.
n_mk_socket ret = 0000
n_bind ret= 0000ECR side: After setting ID and BPS speed.
n_open ret = 0300Then input 840<#2>.
HIT RETURN KEY TO GO NEXTPress Enter.
n_write ( Loop = 0001 )
Counting up the number of packet.
Blinking n_write and n_read.Press Esc.
n_close ret = 0000
n_del_sckt ret = 0000
4. RECV/SEND MODE (Connection)
To repeat In-line communication. ( 1 to 1)
In case of communication error, Going to retry 10 times at every 0.5 second.
Ensure that install the program No.1 before using this operation.
Recv from ? ( Target ECR Number ):__Input the ECR ID and press Enter.
n_mk_socket ret = 0000
n_bind ret= 0000ECR side: After setting ID and
n_open ret = 0300BPS speed. Then input 830<#2>.
HIT RETURN KEY TO GO NEXTPress Enter.
n_read ( Loop = 0001 )
Counting up the number of packet.
Blinking n_write and n_read.Press Esc.
n_close ret = 0000
n_del_sckt ret = 0000
— 16 —
5. SEND MODE (Connection-Less)
The communication for 1 to Multiple.
In case of communication error, does not retry or resend any more.
Ensure that install the program No.1 before using this operation.
Send to ( Target ECR Number ):__Input the ECR ID and press Enter.
n_mk_socket ret = 0000
n_bind ret= 0000ECR side: After setting ID and
n_open ret = 0300BPS speed. Then input 860 <#2>.
HIT RETURN KEY TO GO NEXTPress Enter.
n_write ( Loop = 0001 )
Counting up the number of packet.
n_close ret = 0000Press Esc.
n_del_sckt ret = 0000
6. RECV MODE (Connection-Less)
The communication for 1 to multiple.
In case of communication error, does not retry or resend any more.
Ensure that install the program No.1 before using this operation.
Recv From ( Source ECR Number ):__Input the ECR ID and press Enter.
n_mk_socket ret = 0000
n_bind ret= 0000ECR side: After setting ID and
n_open ret = 0300BPS speed. Then input 850<#2>.
HIT RETURN KEY TO GO NEXTPress Enter.
n_write ( Loop = 0001 )
Counting up the number of packet.
n_close ret = 0000Press Esc.
n_del_sckt ret = 0000
7. 8. Not allowed
— 17 —
11. CPU Software RESET & Set DIAG Mode
To initialize the CPU.
You have to install this program first, before using program 12. ~ 19. or after CPU
rocking out for noise examination.
Send CPU RESET Command
Send OK
Wait Response From CPU !
Result = OK !!
Please Wait !! ( For CPU Initialize)
Send DIAG_SET_MODE Command
Send OK
Wait Response From CPU !
Result = OK !!
HIT RETURN KEY TO GO NEXTPress Enter
12. ROM Sum Check
Verify for Rom sum check.
Ensure that install the program No.11 before using this operation.
Get Rom Version
Send OK
Wait Response From CPU !
Result = OK !!
Rom_Version = 2772
Send ROM_CHK Command
Send OK
Wait Response From CPU !
Result = OK !!
HIT RETURN KEY TO GO NEXTPress Enter
Ensure that install the program No.11 before using this operation.
Send Ram Check ( W / R ) Command
Send OK
Wait Response From CPU !
Result = OK !!
( Hit Esc Key stop )
HIT RETURN KEY TO GO NEXTPress Enter
16. RAM Check ( Read only / Repeat )
To repeat program No. 14. RAM Check ( Read only )
Ensure that install the program No.11 and 13 before using this operation.
Send Ram Check ( Read ) Command
Send OK
Wait Response From KP !
Result = OK !!
( Hit Esc Key stop )
HIT RETURN KEY TO GO NEXTPress Enter
— 19 —
5-5-4. Diagnostic program error code
CodeDetails
8080A PW-On Error of C-NET chip.
8081A receiving permission of C-NET could not be reset.
8082A ID of C-NET is not set up.
8083No token on the In-line circuit.
8084A sending data is too much.
8085A sending is not exist. / No token on the In-line circuit.
8086A NCB (Network Control Block) is not enough.
8091A network could not be open.
8092A network could not be close.
8095A network could not be synchronizing
8099A sending retry is over.
809BA sending / receiving block is counter mis-match.
809CA sending application is not exist or stop.
809DA receiving memories are empty.
809EA sending queued time is out. (WAK retry over.)
809FNo sending response.
80C6A sending time out for a waiting