Casio I/O-PB-12 User manual

(without price)
SERVICE MANUAL
ELECTRONIC CASH REGISTER OPTION I/O BOARD
NOV. , 1994
I/O-PB-12 (EX-I/O-PB-12)
FOR MODEL: CE-4700
TK-1300
TK-2300
TK-2700
TK-5100

Table of contents
1. In/On-line board
1-1.To mount the I/O PB-12 in the P/C unit.................................................................. 1
1-2.I/O PB-12 board cables connection........................................................................ 2
1-3.Interface.................................................................................................................. 3
2. In-line cable, Connector, and Terminator
2-1.In-line cable ............................................................................................................ 4
2-2.In-line connector ..................................................................................................... 5
2-3.In-line connector (ECR side) .................................................................................. 5
2-4.Terminator (This part is included with I/O-PB-12 product) ................................... 5
3. Connection
3-1.Cable connection diagram...................................................................................... 6
3-2.Connection on the PC side..................................................................................... 6
3-3.Connection on the end of in-lline cable .................................................................. 6
3-4.Connector between ECRs ...................................................................................... 6
4. Circuit explanations
4-1.Block diagram........................................................................................................ 7
4-2.ISA bus .................................................................................................................. 7
4-3.C-Inline ................................................................................................................... 8
4-3.Timing Chart......................................................................................................... 11
5. Diagnostic
5-1.Summary .............................................................................................................. 12
5-2.Files ...................................................................................................................... 12
5-3.Hardware .............................................................................................................. 12
5-4.Procedure ............................................................................................................. 12
5-5.Operation.............................................................................................................. 13
6. IC data ..................................................................................................
21
7. PCB layout ...........................................................................................
22
8. Circuit diagram....................................................................................
23
9. Parts list ...............................................................................................
29

— 1 —
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) Mount the I/O PB-12 to the mother boards slot connector as shown in the following.
[Hardware Configuration]
1) Release the screw.
2) Lift up the upper case.
NOTE: There are 6 hooks at the
bottom side of upper case. Please
be careful.
BATTERY 1
BATTERY 2
UPS
CPU RAM
R3 Printer cable
HDD cable
M/O Board
VGA BOARD
I/O PB-12
Mother Board 3.5 Inch FDD

— 2 —
1-2. I/O PB-12 board cables connection
CN2
Inline
Connector
CN3
Kitchen
Printer
Connector
SW1
IRQ No. selection
SW2
IRQ No. selection
SW3
I/O Port address
selection
Red wire
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.

— 3 —
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. Am
ECRPC ECR ECR
Terminater(100 ohms) Terminater(100 ohms)
In-line Communication speed Maximum Maximum cable length
(Band rate) connection unit A(m)
1.25 M bps 8 86
625 K bps 12 200
312.5 K bps 20 430
156.25 K bps 32 890
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.
1-3-2. KP In-line
1) BPS speed: 1,200bps, 2,400bps, 4,800bps, 9,600bps, 19,200bps
2) Connection: T branch
3) Terminator: Open
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 a 10 cm of non-terminal resistor and to connect it in this case.
6) Dip switch

— 4 —
[KP-200]
SW1: The blank means off.
Machine 1 2 3 4 BPS 5678
1
600
2 on 1200 Not used
3 on 2400
4onon
4800 on on
5 on 9600 on
6on on
7onon
8ononon
SW2 and SW3: All off
[KP-300]
SW1(Fixed): On: 4, 6 Off: 1,2,3,5,7,8
SW2: The blank means off.
Machine 1 2 3 4 BPS 5 6 7 8
1
600
2 on 1200 Not used
3 on 2400
4onon
4800 on on
5 on 9600 on
6on on
7onon
8ononon
2. IN-LINE CABLE, CONNECTOR, AND TERMINATOR
2-1. In-line cable
Code No. Parts name Specification
1904 4023 In-line cable IPEV-SLA 0.5x1

— 5 —
[In-line cable specification]
1. Structure
Conductor Material: Tin plated mild copper twist
Cross section area: 0.5 mm2
Construction: 20 pieces/0.18 mm
O.D. 0.95 mm
Insulation Material: polyethylene
Thickness: 0.3 mm
Sheath Material: PVC
Finished O.D 6.0 ~ 6.5 mm
Approx. weight 55 kg/km
2. Properties (20 °C)
Maximum conductor resistance 38.7 Ω/Km
Minimum insulation resistance 10 kMΩ•Km
Electric strength AC350 V/1 minute
Electrostatic Capacity (Standard) 75 nF/km
2-2. In-line connector
Code No. Parts name Specification
1904 4069 Connector DE-9PF-N10
1904 4070 Junction shell DE-C8-J9-F1
2-3. In-line connector (ECR side)
Code No. Parts name Specification
3500 5820 In-line connector kit XLP-KIT-1
2-4. Terminator (This part is included with I/O-PB-12 product)
Code No. Parts name Specification
2600 2516 Carbon film resistor R-25-100-J

— 6 —
Shield wire
Fold the shield and fasten by
wrapping copper tape.
Terminator (100 ohms)
In-line cable In-line connector
Termination 'R in series are connected at pins
1 and 4 of two connectors at both the ends of
the in-line cable.
Red
Wrap bent shield wire
with Copper tape
Red
Black
In-line connector
Red
Black
Black
Black
Red
In-line cable
Wrap bent shield wire
with Copper tape Shield wire
3. CONNECTION
Connect the in-line cable and in-line connector as shown as below:
3-1. Cable connection diagram
Signal Pin Signal Pin
SD 1 SD 1
RD 3 RD 2
FG FG plate FG Cut
( PC side ) ( ECR side )
3-2. Connection on the PC side
3-3. Connection on the end of in-line cable
Notes: 1. Use crimp tool for connecting terminal caps.
2. If crimp tool is not available, connect the wires with soled instead of
terminal cap. After the soldering, insulated the wire with vinyl tape.
3-4. Connector between ECRs
Notes: 1. Use crimp tool for connecting terminal caps.
2. If crimp tool is not available, connect the wires with solder instead of
terminal cap. After the soldering, insulated the wire with vinyl tape.

— 7 —
4. CIRCUIT EXPLANATIONS
4-1. Block diagram
4-2. ISA bus
Pin Signal Pin Signal
A01 NC B01 GND
A02 SD7 B02 RESETDRV
A03 SD6 B03 +5V
A04 SD5 B04 NC
A05 SD4 B05 NC
A06 SD3 B06 NC
A07 SD2 B07 -12V
A08 SD1 B08 NC
A09 SD0 B09 +12V
A10 IOCHRDY B10 GND
A11 AEN B11 NC
A12 NC B12 NC
A13 NC B13 IOW
A14 NC B14 IOR
A15 NC B15 NC
A16 NC B16 NC
A17 NC B17 NC
A18 NC B18 NC
A19 NC B19 NC
A20 NC B20 NC
A21 NC B21 IRQ7
A22 SA09 B22 NC
A23 SA08 B23 IRQ5
A24 SA07 B24 IRQ4
A25 SA06 B25 IRQ3
A26 SA05 B26 NC
A27 SA04 B27 NC
A28 SA03 B28 BALE
A29 SA02 B29 +5V
A30 SA01 B30 NC
A31 SA00 B31 GND
PLD
EPM7064
84pin J-Lead
CPU
HD63B03YP
64pin DIP
GA
LC92011B-630
80pin FP
SRAM
CXK581000P-10L
32pin DIP
ARCNET
COM20020BP
24pin DIP
Driver
Receiver
Driver
Receiver
EPROM
TM27C010A-12JL
32pin DIP
ISA Bus
KP In-line
C in-line

— 8 —
4-3. C-Inline
1. Circuit Diagram
[Pin Configuration] [Internal Block Diagram]

— 9 —
Pin No. Name In/Out Status Status Status Description
of OFF of ON of ON
No Token Token
1 A0/MUX In L L Pulse
2 A1 In L L L
3 A2/ALE In L L L
4 AD0 In/Out L Pulse Pulse
5 AD1 In/Out L Pulse Pulse
6 AD2 In/Out L Pulse Pulse
7 D3 In/Out L Pulse Pulse
8 D4 In/Out L Pulse Pulse
9 D5 In/Out L Pulse Pulse
10 D6 In/Out L Pulse Pulse
11 D7 In/Out L Pulse Pulse
12 GND Power GND GND GND
13 XTAL1 In L Pulse Pulse
14 XTAL2 In L Pulse Pulse
15 PULSE1 Out L H Pulse
16 PULSE2 Out L L L
17 RXIN In L H Pulse
18 TXEN Out L L Pulse
19 RESET IN In L H H
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 pull-
up 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.
A0/MUX
A1
A2/ALE
RESET IN
PULSE1
PULSE2
TXEN
2. COM20020B pin description

— 10 —
Pin No. Name In/Out Status Status Status Description
of OFF of ON of ON
No token Token
20 INTR Out L H Pulse
21 CS In L H Pulse
22 WR/DIR In L Pulse Pulse
23 RD/DS In L L Pulse
24 VCC Power GND +5V +5V
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.
Chip select input. This active low
signal issued by the microcontroller
selects the COM20020 for an access.
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.
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.
Power supply +5V.
CS
WR/DIR
RD/DS
INTR

— 11 —
4-4. Timing Chart
1. EP Rom read
2. S Ram write

— 12 —
5. DIAGNOSTIC
5-1. Summary 1. In-line ( 1 to 1 : Connection type)
2. In-line ( 1 to Multiple : Connection-Less type )
3. Rom Check
4. Ram Write/Read
5. KP testing Print
6. The status for UPS
7. UPS DC cutting
5-2. Files 1. C_SETUP.EXE
2. C_NETDRV.COM
3. C_DIAG.EXE
5-3. Hardware 1. I/O-PB-12
2. PC(IBM-AT) and Display
3. ECR
Model: CE-4700,TK-1300,TK-2300,TK-2700,TK-5100
4. KP Model: KP-200, KP-300
5. In-line cable
6. KP Cable
Note: Ensure that ID=1, speed= 4,800bps for KP.
5-4. Procedure
1. To connect In-line, KP and UPS under power off mode.
2. Load C_SETUP.EXE and press Enter.
3. Load C_NETDRV.COM and press Enter.
4. Load C_DIAG.EXE and press Enter.

— 13 —
5-5. Operation
5-5-1. C_SETUP.EXE
Load C_SETUP.EXE and press Enter.
CASIO (R) SETUP Utility for I/O-PB-12, Version 0.02
Copyright(c) CASIO COMPUTER CO.,Ltd. All right reserved.
Which port Address ?
—> 1) 1E0
2) 280
3) 290
4) 2A0
5) 320
6) 330
7) 340 Input the number and press Enter
8) 350
Choose 1 - 6 from above ( default = 1E0): __
Which hardware Interrupt Address For C_NET ?
1) 3
2) 4
3) 5
4) 7
—> 5) 10
6) 11 Input the number and press Enter
7) 12
Choose 1 - 6 from above (default = 10): __
Which Hardware Interrupt Address For KP ?
1) 3
2) 4
3) 5
4) 7
5) 10
—> 6) 11 Input the number and press Enter
7) 12
Choose 1 - 6 from above (default = 11): __

— 14 —
My Node Number (default = 254): __ Input 1 ~ 254 and press Enter
BPS(default = 0) / 0(156.25K), 1(312.5K), 2(625K), 3(1.25M) : __ Input 0 ~ 3 and press Enter
Do you use UPS (SA3000 only) (Yes /No) ? (default = Yes): __ Input the Yes or No and press Enter
Write the file (Yes/No) ? : __ Input the Yes or No and press Enter
5-5-2. C_NETDRV.COM
Store in the resident area: Load C_NETDRV and press Enter.
Restore from the resident area: Load C_NETDRV -R and press Enter.
The message will be displayed as follows:
1) C_NETDRV.COM is stored in the memory.
CASIO Network Driver / Version 0.02
Cop[y right (c) CASIO COMPUTER CO.,Ltd. All right reserved.
Hardware configuration: IO: 1E0 / IRQ: 10 / Service Vector: 87
Installed.
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.

— 15 —
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 *
*******************************************************************************************************
1: NET START 11: CPU Software RESET & Set DIAG Mode
2: NET END 12: ROM Sum Check
3: SEND/RECV MODE (Connection) 13: RAM Check ( Write & Read )
4: RECS/SEND MODE (Connection) 14: RAM Check ( Read only )
5: SEND MODE (Connection Less) 15: Ram Check ( Write & Read/ Repeat )
6: RECV MODE (Connection Less) 16: Ram Check ( Read only / Repeat )
7: SEND MODE Not allowed 17: KP_PRINT_OUT
8: RECV MODE Not allowed 18: KP_PRINT_OUT ( Repeat )
19: ROM & RAM & KP
*******************************************************************************************************
21: UPS STATUS 98: DRV INF
22: UPS DC CUT 99: 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

— 16 —
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 = 0000 ECR side: After setting ID and BPS speed.
n_open ret = 0300 Then input 840<#2>.
HIT RETURN KEY TO GO NEXT Press 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 = 0000 ECR side: After setting ID and
n_open ret = 0300 BPS speed. Then input 830<#2>.
HIT RETURN KEY TO GO NEXT Press 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

— 17 —
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 = 0000 ECR side: After setting ID and
n_open ret = 0300 BPS speed. Then input 860 <#2>.
HIT RETURN KEY TO GO NEXT Press Enter.
n_write ( Loop = 0001 )
Counting up the number of packet.
n_close ret = 0000 Press 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 = 0000 ECR side: After setting ID and
n_open ret = 0300 BPS speed. Then input 850<#2>.
HIT RETURN KEY TO GO NEXT Press Enter.
n_write ( Loop = 0001 )
Counting up the number of packet.
n_close ret = 0000 Press Esc.
n_del_sckt ret = 0000
7. 8. Not allowed

— 18 —
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 NEXT Press 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 NEXT Press Enter
13. RAM Check (Write & Read )
Ram read and write check.
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 RETURN KEY TO GO NEXT Press Enter
This manual suits for next models
1
Table of contents
Popular I/O System manuals by other brands

Leader Light
Leader Light LL ANA8 user manual

YASKAWA
YASKAWA JAPMC-AN2300-E user manual

Automationdirect.com
Automationdirect.com Productivity 2000 P2-32NE3 manual

Allen-Bradley
Allen-Bradley 1771-IB Installation data

National Instruments
National Instruments NI 6583R USER GUIDE AND SPECIFICATIONS

WAGO
WAGO Automation WAGO-I/O-SYSTEM 750 manual