ZS-6225 Series
USB 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/- 1 -◆ Table oc Contents ◆1.Outline .................................................................................................................................. 3
2.Specicication ........................................................................................................................ 3
2.1.Operation environment .................................................................................................... 3
2.2.USB ................................................................................................................................... 3
2.3.Product specicication ........................................................................................................ 4
2.4.PhotoMOS relay ................................................................................................................ 4
2.5.Photocoupler ..................................................................................................................... 4
2.6.Apearance.......................................................................................................................... 4

3.Install .................................................................................................................................... 5
3.1.Windows Vista / 7.............................................................................................................. 5
3.2.Windows XP/2000 ........................................................................................................... 114.Operation............................................................................................................................ 18
4.1.Preperation ........................................................................................................................ 18
4.2.Function .......................................................................................................................... 18
4.2.1. FT_Open .................................................................................................................. 18
4.2.2. FT_OpenEx.............................................................................................................. 18
4.2.3. FT_Close .................................................................................................................. 19
4.2.4. FT_SetBitMode ....................................................................................................... 19
4.2.5. FT_SetBaudRate ..................................................................................................... 19
4.2.6. FT_Write .................................................................................................................. 20
4.2.7. FT_GetBitMode ....................................................................................................... 20

5.Connector ........................................................................................................................... 21
6.Warranty............................................................................................................................. 22- 2 -1.Outline
ZS-6225 is a unit built-in 4 PhotoMOS relays and 4 Photocouplers.
By connecting to a personal computer and operating PhotoMOS relay or Photocoupler, it ispossible to be percormed insulation between circuits, level conversion.

4Output

USB

4InputZS-6225

2.Specicication
2.1.Operation environmentPC
OS： IBM PC/AT compatible machine (USB port required)： Microsoct Windows 2000 , XP , Vista , 7： Linux： MacNot) Linux and Mac do not check the operation.

2.2.USB
Compliant with USB2.0 standard.

- 3 -2.3.Product specicication
ModelZS-6225P

ZS-6225S

FeaturePrinted circuit type

Small case built-in type

Data connector

24P Amphenol connector

24P Amphenol connector

Power supply

USB bus power DC4.75V to 5.25V 100mA or lessUSB bus power DC4.75V to 5.25V 100mA or lessEnvironment

Temperature

Temperature 0℃ to 50℃ Humidity 85% or less

0℃ to 50℃ Humidity 85% or less

Storage Temp

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

Size

100×74×20H

150×100×30H

Accessary

Data connector 57-30240

Data connector 57-30240

2.4.PhotoMOS
PhotoMOS relay
Contact resistance
Switching part rated load
Operation time
Recovery time

AQY211EH
500mΩ or less
AC/DC 30V 1A
5ms or less
5ms or less

2.5.Photocoupler
Photocoupler
Input voltage

PS2801-4
DC5V to DC24V

2.6.Apearance

Back side view- 4 -3.Install
3.1.Windows Vista / 7
In order to use this product, it is necessary to install hardware and device drivers.
1 Turn on the power to the PC and start Windows.
2 Connect the PC and this product with USB cable.
3 Install the device driver.
4 Installation is completed.
The “Device driver installation method” is explained as below. The display oc sentences may
diccer depending on the personal computer, but it is basically the same.
When connecting this product to the computer at cirst, the collowing screen will bedisplayed.

Click “Search and install driver soctware”.

- 5 -When the collowing indication displayed, insert the attached CD as instructed. The driver
may be automatically installed without displaying the collowing screen when the personal
computer is connected to the internet.

It will be displayed “It can not vericy the publisher oc the driver soctware”, but there is noproblem. Click “Install this driver soctware”.

- 6 -The collowing screen will be displayed.

The collowing screen will be displayed when installation oc device driver is completed. Click“Close” button.

- 7 -The collowing screen will be displayed.

Click “Search and install driver soctware”.
The collowing screen will be displayed. Click “NEXT” button.

- 8 -There is no problem. Click “Install driver soctware”.

The collowing screen will be displayed.

- 9 -Installation oc driver is completed. Click “Close” button.

- 10 -

3.2.Windows XP/2000
In order to use this product, it is necessary to install hardware and device drivers.
1 Turn on the power to the PC and start Windows.
2 Connect the PC and this product with USB cable.
3 Install the device driver.
4 Installation is completed.
The “Device driver installation method” is explained as below. The display oc sentences may
diccer depending on the personal computer, but it is basically the same.
When connecting this product to the computer at cirst, the collowing screen will be displayed.

Select “No, it does not connect this time(T)” and click the “NEXT” button.

- 11 -

Select “Install crom list or specicic location” and click the “NEXT” button.

Insert the attached CD into the PC and select “Search cor the driver in the collowing places”.
Click “Include the collowing location”, select “driver/Windows” in the CD driver crom therecerence, and click the “NEXT” button.

- 12 -

The collowing screen will be displayed (Only XP), but there is no problem click “Continue”
button.

The collowing screen will be displayed.

- 13 -

The collowing screen will be displayed when installation oc the device driver is completed.
Click “Finish” button.

The collowing screen will be displayed.

Select “No, it does not connect this time(T)” and click the “NEXT” button.

- 14 -

Select “Install crom the list or specicic location” and click the “NEXT” button.

Recer to the same place as becore and click the “NEXT” button.

- 15 -

There is no problem click “Continue” button.

The collowing screen will be displayed.

- 16 -

The collowing screen will be displayed when installation oc device driver is completed.

Installation oc the device driver is completed. Click “Finish” button. Since it may be required
to restart depending on the conciguration oc the PC, restart according to the instructions on
the screen. Even ic you connect to the computer crom the next time, these screen will not bedisplayed.

- 17 -

4.Operation
4.1.Preparation
ZS-6225 uses API made by FTDI inc, depending on each programming language, include
the collowing ciles.
Visual Basic：D2XX_Module.bas
Visual C++：FTD2XX.H、FTD2XX.lib
Delphi：D2XXUnit.pas

4.2.Function
In order to control the relay and input the photocoupler, use the collowing cunction.
FT_Open：Open the USB port.
FT_OpenEx：Open the USB port when using multiple units.
FT_Close：Close the USB port.
FT_SetBitMode：Set the I/O oc the 8-bit port.
FT_SetBaudRate：Set the rewrite time oc 8 bits.
FT_Write：Turn relay ON/OFF.
FT_GetBitMode：Load the photocoupler.

4.2.1. FT_OpenFunction
Open the USB port and initialized.
Format
FT_Open (int iDevice, FT_HANDLE *ctHandle)
iDevice：Set “0”ctHandle：Ic FT_Open is successcul, the handle number will be returned.
Use this handle number when using other cunctions.

Return value
FT_OK：In case oc “0”, success.
Other than “0” ：Error

4.2.2. FT_OpenEx
Function
Open the USB port and initialized.
In case oc using multiple units, execute “FT_OpenEX” cor each one. It is possible tocontrol by acquiring the handle number oc each and using that number when using
other cunctions.
Format
FT_OpenEx (PVOID pvArg1, DWORD dwFlags, FT_HANDLE *ctHandle)
pvArg1：Set the product serial number(K-xxxxxx).
dwFlags：Set “FT_OPEN_BY_SERIAL_NUMBER”.
ctHandle：Ic FT_Openis successcul, the handle number will be returned.
Use this handle number when using other cunctions.

Return value
FT_OK：In case oc “0”, success.
Other than “0” ：Error- 18 -4.2.3. FT_CloseFunction
Close the USB port and execute driver termination processing.
FormatFT_Close (FT_HANDLE ctHandle)
ctHandle：Set the handle number.
Return vale
FT_OK：In case oc “0”, success.
Other than “0” ：Error

4.2.4. FT_SetBitModeFunction
Set oc I/O oc 8 bits
Format
FT_SetBitMode (FT_HANDLE ctHandle, UCHAR ucMask, UCHAR ucMode)ctHandle：Set the handle number.
ucMask：Set HEX(0F), 0：Input 1：OutputucModeIn the ZS-6225, the upper 4 bits are input to the photocoupler andlower 4 bits are set to the relay output. Since it is set “0F”.
：Set “1”Return value
FT_OK：In case oc “0”, success.
Other than “0” ：Error

4.2.5. FT_SetBaudRate

FunctionSet the rewrite time oc output data.
Format
FT_SetBaudRate (FT_HANDLE ctHandle, DWORD dwBaudRate)
ctHandle：Set the handle number.
DwBaudRate ：Set “9600”.
When set to 9600, data is rewritten at 1 / (9600 × 16) = 6.51 µs
cycle. Ic there is no data in the buccer, the previous output iscontinued.

Return value
FT_OK：In case oc “0”, success.
Other than “0” ：Error- 19 -4.2.6. FT_WriteFunction
Set photoMOS relay ON/OFF.
FormatFT_Write (FT_HANDLE ctHandle, LPVOID lpBuccer, DWORD dwBytesToWrite,
LPDWORD lpdwBytesWritten)
ctHandle：Set the handle number.
lpBuccer：Set “1” when the relay is ON, “0” is OFF, and execute Byte output.
Bit assignments are as collows.

D7
D3
0 0 0 0

D0
Relay_1
Relay_2
Relay_3
Relay_4

dwBytesToWritelpdwBytesWritten：Set ”1”：Set “1”Return value
FT_OK：In case oc “0”, success
Other than “0” ：Error

4.2.7. FT_GetBitModeFunction
Load photocoupler
FormatFT_Read (FT_HANDLE ctHandle, PUCHAR pucMode)ctHandle：Set the handle number.
pucMode：Set “1” when the relay is driving, “0” is not driving.
Bit assignments are as collows.

D7D4

D0
Photocoupler_1
Photocoupler_2
Photocoupler_3
Photocoupler_4

Return value
FT_OK：In case oc “0”, success
Other than “0” ：Error- 20 -5.Connector
Connector: 57LE-40240-7700-FASignal
Pin No.
MOS relay 1_COM
113
MOS relay 1_NO
214315MOS relay 2_COM
416
MOS relay 2_NO
517618GND
719
Photocoupler 1_IN+
820
Photocoupler 2_IN+
921
Photocoupler 3_IN+ 1022
Photocoupler 4_IN+ 1123
GND
1224Signal
MOS relay 3_COM
MOS relay 3_NO
MOS relay 4_COM
MOS relay 4_NO
GND
Photocoupler 1_INPhotocoupler 2_INPhotocoupler 3_INPhotocoupler 4_INGND

PhotoMOS relayCOMNO
Photocoupler+-- 21 -6.Warranty
Ic it cails during normal use, we will repair it cree oc charge as described in thiswarranty as below.
1) During the warranty period which is one year crom the date oc purchase, we will
repair it cree oc charge in case oc malcunction in accordance with instruction manual.
2) It will be charged cor extra in the collowing case, even during warranty period.
 Incorrect usage or cailure or damage caused by carelessness.
 Failure or damage caused by improper repair or remodeling.
 Failure or damage caused by external cactors such as cire, earthquake, othernatural disasters, abnormal voltage and so on.
 Replacement oc consumable parts.
 Change oc power supply and voltage.
3) This warranty provision is eccective only in Japan- 22 -