ZS-6216E
USB-DIO Unit
User’s Manual

Ver.01

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- 1 -◆ Table of contents ◆1.Outline ..................................................................................................................................... 3
2.Specification ............................................................................................................................ 3
2.1.Operating environment .................................................................................................... 3
2.2.USB ................................................................................................................................... 3
2.3.Product sprcification ......................................................................................................... 4
2.4.Photo MOS relay ............................................................................................................... 4
2.5.Photo coupler .................................................................................................................... 4
2.6.Appearance ....................................................................................................................... 4
3.Install ....................................................................................................................................... 5
3.1.Windows 7 ......................................................................................................................... 5
3.2.Windows 10 ....................................................................................................................... 7
3.3.Windows 8/8.1 （Without operation guarantee） .............................................................. 7
4.Operation ................................................................................................................................. 84.1.Outline of operation .......................................................................................................... 8４.2.I/O operation ..................................................................................................................... 94.3.Command table ................................................................................................................. 94.3.1. R command ................................................................................................................ 94.3.2. W command ............................................................................................................. 104.3.3. O command (ON / OF command)............................................................................ 10
5.Connector table ..................................................................................................................... 116.Warranty ................................................................................................................................ 11- 2 -1.OutlineZS-6126E is a unit that built-in 8 photo MOS relays and 8 photo couplers.
It is possible to be controlling of I/O and doing level conversion by operating photo MOS relay
and photo coupler with connecting PC having USB interface.

OutputCOM8USBNO

ZS-6216E

Input
AN8CA+5VGND

2.Specification
2.1.Operation environmentPC
OS： IBM PC/AT compatible machine (USB port is necessary)： Microsoft Windows 7, 10 ※Windows 8 / 8.1 (without operation guarantee)

2.2.USB
Compliant with USB2.0 standard.

- 3 -2.3.Product specification
ModelZS-6216E

USB connector

Micro USB2.0 micro-B （female）

Data connector

D-SUB 37 pin (female)PowerUSB bus power (DC4.75V to 5.25V 100mA 以下)

Environment of usage

Temperature 0℃ to 50℃ Hummidity85% or less

Storage temperature-20℃ to 80℃

Size76(W) × 16(H) × 52(D) mm

Accessary

D-SUB 37 pin (male) x 1

2.4.Photo MOS relay
Relay

TLP3215 （Toshiba）

Contact resistance

1.5Ω or lessRelated load

40V, 300mA

Operation time

500µs or less

Recovery time

500µs or less

2.5.Photo coupler
Photo coupler

PS2911-1-A/K （Renesas）

Input voltage

DC5V to DC24V

2.6.Appearance

Top view

USB connector side

Data connector side- 4 -3.Install
3.1.Windows 7
In order to use this product, it is necessary to install the device driver at first.
When it is connected to a computer, the following screen will be displayed.

→Click “close” button.
Open the device manager, and click “other device” and choose “Zenisu USB Device”.

Click “driver update”.
- 5 -Click “Refer to the computer and search a driver software”.

Specify “Win7_inf” and click “Next” button.
Installation starts automatically.
Click “Install this driver” if the following screen will be displayed.

- 6 -Install is completed. Please check the “COM port number” displayed on the top side.

It is possible to confirm “COM port number” from the device manager too.

3.2.Windows 10
In case of Windows 10, installation starts automatically when connecting with computer.
It is possible to confirm “COM port number” from the device manager.

3.3.Windows 8/8.1 （Without operation guarantee）
In case of Windows 8 / 8.1, operation is not guarantee.
If disable driver signature of Windows 8, it is possible to install the device driver in thesame way as Windows 7.

- 7 -4.Operation
4.1.Operation outline① ZS-6216E is recognized as COM port from the computer.
When it will be installed the device driver, “ZS-6216E Serial Port(COM x)” or “USB Serialdevice(COM x)” is displayed on the device manager.
Note) “x” is the number.
If you create a program, please create it according to the displayed COM number.
If it is difficult to confirm the port number, you can identify it by plugging in and pullingout the USB cable while displaying the device manager.
Please set as follows when setting the port open in the program.
・COM port number：The specified number by the device manager.
・Baud rate：9600bps It does not affect communication speed.
・Character length：8 bit・Stop bit length：1 bit
・Parity bit：None・Flow control：None② Assignment table of data code
The data transfer method is ASCII code. 1 character will be converted to 4 bit binarycode.
84 bit binary
421USB data
HEX

00000000

1

100

102001

1

30

100

40

10

1

50

1

10

601

1

1

7

1

000

8

100

1

910

10A

101

1B

1

100C

1

101D

1111

1
10
1EF- 8 -４.2.I/O operation① Output to the port Port output (1 byte)
It will set the data to the output port when the data is received from the computerby ”W” command. It will return “OK” to the computer when the data will be set to theoutput port.
②Bit output
It will set the data to the specified bit when the data is received from the computer by“O” command. It will return “OK” to the computer when the data will be set to thespecified bit.

Input from the port Port input
When ZS-6216E will be received “R” command from the computer, capture the datafrom the input port and return it to the computer.

4.3.Command table
ZS-6216E recognizes the 1st byte of the data as the control command and control it.
It has to attach a delimiter (CR+LF) on the end of data when send the data.
It will be returned “NG” if the 1st byte of the data should not be as a command.
CommandRWO (ON)O (OF)

Function
Read the data from the input port.
Write the data to the output port.
Specified bit on the output port will be “ON” (Hi).
Specified bit on the output port will be “OFF” (Low).

4.3.1. R commandFunction
Read the data from the input port. The return is 2 bytes, the order is high and low.

Format
R CR LF



Return valuexx CR LF
NG CR LF



ExampleSend
Reply： It will be received 2 bytes of input port data.
“x” is ASCII code from 0 to F.
： Recognition error of command or data.

： R CR LF： 01 CR LF(IN1 is ON , from IN2 to 8 are OFF)- 9 -

4.3.2. W commandFunction
Write the data to the output port. The data is 2 bytes, the order is high and low.

Format
Wxx CR LF： Write the output data following ”W” to the output port.
“x” is ASCII code 0 to F.

Return value
OK CR LF
NG CR LF

： Data output to the output port is complete.
： Recognition error of command or data.

ExampleSend
Reply： W01 CR LF： OK CR LF (OUT1 is ON, from OUT2 to 8 are OFF)

4.3.3. O command (ON / OF command)
Function
Specified bit on the output port will be set “ON” or “OFF”.

Format
ONx CR LF： Write the specified bit number following “ON”.
“x” is ASCII code 1 to 8.

OFx CR LF： Write the specified bit number following “OF”.
“x” is ASCII code 1 to 8.

Return value
OK CR LF
NG CR LF

： Data output to the output bit is complete.
： Recognition error of command or data.

ExampleSend
Reply： ON1 CR LF： OK CR LF (OUT1 is ON)

Send
Reply

： OF2 CR LF： OK CR LF (OUT2 is OFF)- 10 -5.Connector table
Connector: DC-37S-NR (JAE)

6.Warranty
If it fails during normal use, we will repair it free of charge as described in this warranty asbelow.
1During the warranty period which is one year from the data of purchase, we will repair it
free of charge in case of malfunction in accordance with instruction manual.
2It 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, other naturaldisasters, abnormal voltage and so on.
 Replacement of consumable parts.
 Change of power supply and voltage.
3
This warranty provision is effective only in Japan.

- 11 -