ZS-6130 User’s manual

ZS-6130B Series
RS-232C - PIO Adapter
User’s Manual

Zenisu Keisoku,Inc.
Zip code: 183-0027
2-13-37, Honmachi, Fuchu, Tokyo, Japan
TEL: +81-(0)42-368-2126
FAX: +81-(0)42-364-0067
URL http://www.zenisu.co.jp/06/03/01

ZS-6130 User’s manual◆ Table of Contents ◆1.Outline .................................................................................................................................. 2
2.Feature .................................................................................................................................. 2
3.Specification ........................................................................................................................ 3
3.1.RS-232C............................................................................................................................. 3
3.2.Parallel port ...................................................................................................................... 3
3.3.Product specification ........................................................................................................ 3
3.4.Appearance ....................................................................................................................... 4

4.RS-232C Interface.............................................................................................................. 5
4.1.RS-232C Signal ................................................................................................................. 5
4.2.RS-232C Cable .................................................................................................................. 5

5.Switch・LED ......................................................................................................................... 65.1.LED ................................................................................................................................... 6
5.2.Switch ................................................................................................................................ 6

6.Operation.............................................................................................................................. 8
6.1.Transmission data method ............................................................................................... 8
6.2.Control signal.................................................................................................................... 96.3.Control command ............................................................................................................ 10
6.4.I/O operation ................................................................................................................... 11

7.Connector ........................................................................................................................... 12
7.1 ZS-6130BP、ZS-6130BT ................................................................................................ 12
7.2 ZS-6130BH..................................................................................................................... 13

8.Option .................................................................................................................................. 14
9.Warranty............................................................................................................................. 14- 1 -ZS-6130 User’s manual

1.Outline
ZS-6130B is a unit that communicates parallel signal and RS-232C. It is possible to beconnected to PC with RS-232C interface, and equipment control and data collection ofBCD output measuring the equipment can be done.

①②③RS-232C④ZS-6130⑤Bidirectional data
8 byte（ 64 bits ）⑥⑦⑧Control signal input
Control signal output

2.Feature(1) It is possible to be easily measurement controlled with laptop computer.
(2) There are 4 ports(8 bits/port) for parallel signals, and I/O can be selected for eachport.
(3) Data code is possible to be selected in units of 4 bits with BCD or HEX.
(4) In addition to data, control lines are prepared so that it can be synchronized withexternal device.
(5) It is possible to be selected positive/negative logic for I/O data and control line.

- 2 -ZS-6130 User’s manual

3.Specification
3.1.RS-232C(1) Communication method: Full duplex communication method(2) Synchronized method: Asynchronous method(3) Communication speed: 2,400, 4,800, 9,600, 19,200, 38,400, 57,600
115,200, 230,400bps(4) Handshake: Hardware method(5) Character bit length: 7, 8
(6) Parity: None, Odd, Even
(7) Stop bit length: 1, 2(8) DTE/DCE: DTE specification(9) Logic: ON(space) +3V to +12V
OFF(mark) -3V to -12V
3.2.Parallel port
Port: 8 ports (8bits/port)
I/O level: Fan-in=1, Fan-out=10
Pull up resistor 10KΩ, it is possible to be pull-down.

+5V or GND

10ＫΩ
74ABT245

ZS-6130 side

3.3.Product specification
ModelZS-6130BP

ZS-6130BT

ZS-6130BH

FeaturePrinted circuit boarded type

Small case built-in type

Small case built-in type

Data connector

50-core flat cable

50-core flat cable

57-40500

Power supply

DC4.75V to 5.25V 400mA

DC4.75V to 5.25V

AC85V to 250V 50Hz/60Hz

Environment

Temp 0℃ to 50℃ Humidity 85% or less←←Storage Temp

-20℃to 80℃-20℃ to 80℃-20℃ to 80℃

Size

150×100×30H

130(W)×40(H)×200

215(W)×59(H)×252

AccessaryDC cableAC adapter (option)

AC power cable

Data connector x 2 HIF3BB-50D-2.54R←

Data connector x 2 個 57-30500

User’s manual

User’s manual

User’s manual- 3 -ZS-6130 User’s manual

100mm

3.4.Appearance(1) ZS-6130BP150mm(2) ZS-6130BT(3) ZS-6130BH- 4 -ZS-6130 User’s manual

4.RS-232C interface4.1.RS-232C signal

Signal
TXD
RXD
CTS
RTS
GND

Connector
PIN NO
Function
3Transmission data from ZS-6130B.
2
Received data from ZS-6130B.
It is an input signal to receive permission of datatransmission.
8Transmission data can be controlled by this signal.
It is an output signal indicating whether or not data I/O is7
possible.
5
All signals become the reference voltage(0V).

Connector: RDED-9P-LNA(4-40) or equivalent

4.2.RS-232C cable
The following products can be used for the ZS-6130B cable.
・Dsub-9p female - Dsub-9p female
KRS-403XF or equivalent・Dsub-9p female - Dsub-25p male
KRS-423XF or equivalent
When communicating with only TXD, RXD, please wire as follows.

Connecteddevice

ZS-6130B
UnusedCD(1)RXD(2)RXD

TXD(3)TXD

DTR(4)
Internal
connected

GND(5)
UnusedGND

DSR(6)
RTS(7)CTS(8)

UnusedRI(9)Short- 5 -ZS-6130 User’s manual

5.Switch・LED
5.1.LED(1) Operation LED
SD1
RD2
POWER1

FunctionTransfer data to RS-232C
Receive data from RS-232C
Power is ON(2) Communication error LED
It is mounted on the printed circuit board of ZS-6130BP, please remove the top
cover in the case built-in type.
LEDD3
D4D5Error
Parity error

Description
Parity or baud rate does not match with connected device.
Since the next data was sent before the received data was processed
Over run error
by ZS-6130B, the handshake was not performed normally.
Framing error There is no stop bit in the received data.

5.2.Switch(1) S3・・・It is possible to be set code and positive/negative logic of data.
D8 D7 D6 D5 D4 D3 D2 D1※OFF(1) ※ ※ ※ ※Initial setting
ON(0)
※ ※ ※
ON：BCD OFF：HEX
PORT P/N logic ON: P OFF: N
UAR P/N logic ON: P OFF: N
EAR P/N logic ON: P OFF: N
STB P/N logic ON: P OFF: N
Unused（２） S4・・・RS-232C Protocol
D8 D7 D6 D5 D4 D3 D2 D1

OFF(1) ※ ※ ※
※ ※ ※
ON(0)
※
※ Initial setting
Character bit length ON:8bit OFF: 7bit
Stop bit ON: 2bit OFF: 1bit
Parity bit
D4 D3
Non OFF OFF
Odd OFF ON
Even ON ON
Delimiter ON: CR/LF OFF: CR
Unused- 6 -ZS-6130 User’s manual(3) S5・・・It is possible to be selected data input or output.
D8 D7 D6 D5 D4 D3 D2 D1※ ※ ※ ※
OFF(1)
Initial setting
ON(0) ※ ※ ※ ※P8 P7 P6 P5 P4 P3 P2 P1

PORT1 to PORT8 I/O setting
ON: Output OFF: Input

Rotary SW・・・Baud rate setting
SW No.
0123456789

Baud rate
2400 bps
4800 bps
9600 bps
19200 bps
38400 bps
57600 bps
115200 bps
230400 bps
UnusedUnused（Initial setting: 2）- 7 -ZS-6130 User’s manual

6.Operation
6.1.Transmission data method(1) Data codeThe data transfer is executed by ASCII code, one character is converted to 4-bit
parallel code.

800000000111111114-bit parallel
4200000
10
1
10
1011
1
100000
10
1
10
10
1
1
1
1

10
10
10
10
1
0
10
1
0
10
1RS-232C Data
HEX BCD
00
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
99A
*B/C.
DEEF+(2) The data sent from the PC is transferred sequentially from smaller numbers of theport set for output. Port numbers set for input are sequentially taken from smaller
numbers and sent to PC. The data of each port is set or taken in 4 bits.
Order to send
to PC
123456Port data

Order to send
to ZS-6130B
1
23456
789
10

Port_1 D8 to D5
Port_1 D4 to D1
Port_2 D8 to D5
Port_2 D4 to D1
Port_3 D8 to D5
Port_3 D4 to D1- 8 -Port data
Port_4 D8 to D5
Port_4 D4 to D1
Port_5 D8 to D5
Port_5 D4 to D1
Port_6 D8 to D5
Port_6 D4 to D1
Port_7 D8 to D5
Port_7 D4 to D1
Port_8 D8 to D5
Port_8 D4 to D1

ZS-6130 User’s manual
A1B1010 1011
D823Input

ABCDEF

ERS-232C

452

D1

450100 0101

7

D80110 0111
D88

D8

D1610000 0001

30010 0011

6

D10

D1

D87

D81110 1111

ZS-6130

D1100 1101

F

D8Output 0123456789

C

D1

D18

D1

91000 1001
D8D1

6.2.Control signal
A control signal is prepared so that it can be synchronized with the connected equipment.

UAREARSTB

STTTRGCLRSignal
Description
I/O Type
OUT
L It indicates that the adapter is possible to receive the start pulse.
It indicates that external device is possible to receive data.
INL
OUT
P The adapter completes reception of all data from PC and outputs
a pulse signal after outputting to the port. External devices can use
this signal for Latch-Clock etc. as necessary.
Output a signal with pulse width of 100µs.
INP Data ready signal from external device such as end of measurement.
Output a signal with pulse width 30µs.
OUT
P Output 100µｓ pulse signal to external device by trigger function.
Output a pulse signal.
OUTP Output 100µs clear signal by clear function.
It is possible to be used for resetting external device.

Note) Type L: Level signal, P: Pulse signal
Note) It is possible to be set positive/negative logic for UAR, EAR, STB by using
DIP switch.

- 9 -ZS-6130 User’s manual

6.3.Control command
When the following character code is received from the RS232C side, ZS-6130B
executes it as a control command.
Command
Description
SStart reading the parallel port
GOutput TRG pulse signal
LOutput CLR pulse signal- 10 -ZS-6130 User’s manual

6.4.I/O operation（１） Output the data from PC to parallel port.
After receiving the data sent from the PC, wait for the EAR input to become active.
If it is active, data is set in 4 bits to the port set as output. STB pulse is output
after setting the data to the output port.
When more than amount of data that is set for output port is sent, extra data will
be discarded. When less than amount of data that is set for output, the data thatwas sent last time remains in the empty space.
Be sure to set positive/negative logic of EAR to positive logic when not using EARsignal.
125

6

Received data
EAR input(Positive)
Outputport_2

Outputport_4

High

1

Low

2

High

5

Low

6

STB output(Negative)(2) Send data from parallel port to PC.
・ Synchronized input.
It actives the UAR output and wait for the START pulse. It takes the data from theinput port by 4 bits when the start pulse is input, and send it to the PC.
UAR outputTransmission end
to RS232C(Positive)
ＳＴＡＲＴInput data
Data hold・ Asynchronous input
When the “S” command is received from the RS232C interface device, data isloaded from the input port and sent it to the PC.
- 11 -ZS-6130 User’s manual

7.Connector
7.1 ZS-6130BP、ZS-6130BT
Data connector CN5: HIF3BB-50PA2.54WB
CN6: HIF3BB-50PA2.54DS
DATA1 (Connector CN5)
I/O
SIGNAL PIN SIGNAL
D11 2
D1
D23 4
D2
D35 6
D3PORT
D47 8
D4①
D59 10D5
D611 12
D6
D713 14D7D815 16
D8D117 18D1D219 20
D2
D321 22
D3PORTD423 24
D4③
D525 26
D5D627 28
D6D729 30
D7D831 32
D8(NC)
33 34+5V(NC)35 36+5V
OUT
UAR
37 38+5V
IN
EAR
39 40+5V
OUT
STB
41 42
GND
IN
STT
43 44
GND
OUT
TRG
45 46
GND
OUT
CLR
47 48
GND
(NC)
49 50
GND

I/O

PORT
②

PORT
④

OUT
OUT
OUT
OUT

DATA2 (Connector CN6)
I/O
SIGNAL PIN SIGNAL
D11 2
D1
D23 4
D2
D35 6
D3PORT
D47 8
D4⑤
D59 10D5D611 12D6D713 14
D7D815 16D8D117 18
D1
D219 20
D2
D321 22
D3PORTD423 24
D4⑦
D525 26
D5D627 28
D6D729 30
D7D831 32
D8(NC)
33 34+5V(NC)35 36+5V
OUT
UAR
37 38+5V
IN
EAR
39 40+5V
OUT
STB
41 42
GND
IN
STT
43 44
GND
OUT
TRG
45 46
GND
OUT
CLR
47 48
GND
(NC)
49 50
GND

I/O

PORT
⑥PORT
⑧OUT
OUT
OUT
OUT

Note) I/O indicates the direction between signals of ZS-6130B and parallel signal
input/output device.
IN： ZS-6130B ← External device
OUT ： ZS-6130B → External device
PORT ： Bidirectional data bus. It is possible to be switched IN/OUT by
setting of PC.
Power connector CN1: IL-4P-S3EN2-1
PIN
1234

SIGNAL+5V switching power supply+5V external power supply+5V power supply for RS-232C
GND- 12 -ZS-6130 User’s manual

7.2 ZS-6130BH
Data connector: 57-40500
DATA1
I/O

PORT
①

PORT
③

OUT
IN
OUT
IN
OUT
OUT

SIGNAL
D1
D2
D3
D4
D5D6D7D8
D1
D2
D3D4D5D6D7D8(NC)
(NC)
UAR
EAR
STB
STT
TRG
CLR(NC)PIN SIGNAL
1 26
D12 27
D23 28
D34 29D45 30
D56 31
D67 32
D78 33
D89 34
D110 35
D211 36
D312 37
D413 38
D514 39
D615 40
D716 41
D817 42+5V
18 43+5V
19 44+5V
20 45+5V
21 46
GND
22 47
GND
23 48
GND
24 49
GND
25 50
GND

I/O

DATA2
I/O

PORT
②

PORT
⑤

PORT
④PORT
⑦

OUT
OUT
OUT
OUT

OUT
IN
OUT
IN
OUT
OUT

SIGNAL
D1D2
D3
D4
D5D6D7D8
D1
D2
D3
D4
D5
D6
D7
D8(NC)(NC)
UAR
EARSTB
STT
TRG
CLR(NC)PIN SIGNAL
1 26
D12 27
D23 28
D34 29D45 30
D56 31
D67 32
D78 33
D89 34
D110 35
D211 36
D312 37
D413 38
D514 39
D615 40
D716 41
D817 42+5V
18 43+5V
19 44+5V
20 45+5V
21 46
GND
22 47
GND
23 48
GND
24 49
GND
25 50
GND

I/O

PORT
⑥PORT
⑧OUT
OUT
OUT
OUTNote) I/O indicates the direction between signals of ZS-6130B and parallel signalinput/output device.
IN： ZS-6130B ← External device
OUT ： ZS-6130B → External device
PORT ： Bidirectional data bus. It is possible to be switched IN/OUT bysetting of PC.

- 13 -ZS-6130 User’s manual

8.Option
The following expansion boards are available as options for ZS-6130B.
ZS-7220P： 32-bit isolator input board.
ZS-7221P： 32-bit isolator output board.
ZS-7211P： 24-point relay output board.

9.Warranty
If it fails during normal use, we will repair it free of charge as described in thiswarranty as below.
1) During the warranty period which is one year from the date of purchase, we will
repair it free of charge in case of malfunction in accordance with instruction manual.
2) It will be charged for extra in the following case, even during warranty period.
 Incorrect usage or failure or damage caused by carelessness.
 Failure or damage caused by improper repair or remodeling.
 Failure or damage caused by external factors such as fire, earthquake, othernatural disasters, abnormal voltage and so on.
 Replacement of consumable parts.
 Change of power supply and voltage.
3) This warranty provision is effective only in Japan- 14 -