Bootstrak Skip to main content

4. Connector and Cable

Streszczenie: Złącza i przewody ID2000: definicje pinów złącza M12 17-pin i DB15 dla wersji Fast Ethernet i USB, zaciski 8-pin i 6-pin z kolorami żył, kable typu VII (USB i RS-232) z wolnymi przewodami oraz IO box z rezystorami podciągającymi/ściągającymi.
EN: ID2000 connectors and cables: 17-pin M12 and DB15 pin definitions for fast Ethernet and USB versions, 8-pin and 6-pin terminals with wire colours, type VII USB and RS-232 cables with open lines, and the IO box with pull-up/pull-down resistors.

Dotyczy: przemysłowy czytnik kodów Hikrobot serii ID2000 (typy I–VII; Fast Ethernet, USB lub RS-232; obsługa przez klienta IDMVS i kody konfiguracyjne)
Źródło: dokumentacja producenta (Hikrobot ID2000 Series Industrial Code Reader User Manual); tabele i uwagi przepisane z obrazów na tekst; opisy rysunków – opracowanie Multiprojekt

This section introduces the device’s connector, including fast Ethernet interface, USB interface and RS-232 interface, and the supplied cable in the package.

Note: The device’s connector and connector pin definitions may differ by device models.

4.1 Device with Fast Ethernet Interface

Device with fast Ethernet interface includes type I, type II, type III, type IV, type V, and type VI devices.

Type I, Type II, Type III, and Type IV Devices

Type I, type II, type III, and type IV devices have a 17-pin M12 connector. Refer to the figure and table below for details.

17-pin M12 connector pin layout

Figure 4-1 17-Pin M12 Connector

Figure description (text version): Front view of the round 17-pin M12 connector: pins 1–11 arranged around the outer ring, pins 12–17 in the inner circle (pin 17 in the centre).

Table 4-1 Pin Definitions (Type I, Type II, Type III and Type IV Devices)

No.SignalI/O Signal SourceDescriptionSupplied Cable
1DC_PWR–Direct current power supply positive8-pin terminal
2GNDLine 0/1/2/3 signal groundDirect current power supply negative8-pin terminal
3Reserved
4RS232_TX–RS-232 serial port outputDB9 female serial port
5RS232_RX–RS-232 serial port inputDB9 female serial port
6MDI0+–Fast Ethernet signal MDI0+RJ45 Ethernet connector
7MDI1-–Fast Ethernet signal MDI1-RJ45 Ethernet connector
8GPIO2Line 2+Non-isolated input8-pin terminal
9GNDLine 0/1/2/3 signal groundDirect current power supply negative8-pin terminal
10GPIO3Line 3+Non-isolated output8-pin terminal
11GND–Direct current power supply negative8-pin terminal
12Reserved
13Reserved
14MDI0-–Fast Ethernet signal MDI0-RJ45 Ethernet connector
15MDI1+–Fast Ethernet signal MDI1+RJ45 Ethernet connector
16GPIO0Line 0+It can be configured as input or output, and is input by default.8-pin terminal
17GPIO1Line 1+It can be configured as input or output, and is input by default.8-pin terminal

In the source table the title reads “Type VI”; according to the text above, the table applies to type I–IV devices.

Type V Devices

The type V device also has a 17-pin M12 connector. Refer to the figure and table below for details.

17-pin M12 connector pin layout (type V device)

Figure 4-2 17-Pin M12 Connector

Figure description (text version): Front view of the round 17-pin M12 connector of the type V device: pins 1–11 on the outer ring, pins 12–17 in the inner circle.

Table 4-2 Pin Definitions (Type V Device)

No.SignalI/O Signal SourceDescriptionSupplied Cable
1DC_PWR–Direct current power supply positive8-pin terminal
2OUT_COMLineOut 0/1 signal groundOutput common port8-pin terminal
3Reserved
4RS232TX–RS-232 serial port outputDB9 female serial port
5RS232RX–RS-232 serial port inputDB9 female serial port
6MDI0+–Fast Ethernet signal MDI0+RJ45 Ethernet connector
7MDI1-–Fast Ethernet signal MDI1-RJ45 Ethernet connector
8OPTO_OUT0LineOut 0 signal lineOpto-isolated output 08-pin terminal
9IN_COMLineIn 0/1 signal groundInput common port8-pin terminal
10OPTO_OUT1LineOut 1 signal lineOpto-isolated output 18-pin terminal
11GND–Direct current power supply negative8-pin terminal
12Reserved
13Reserved
14MDI0-–Fast Ethernet signal MDI0-RJ45 Ethernet connector
15MDI1+–Fast Ethernet signal MDI1+RJ45 Ethernet connector
16OPTO_IN0LineIn 0 signal lineOpto-isolated input 08-pin terminal
17OPTO_IN1LineIn 1 signal lineOpto-isolated input 18-pin terminal

For type I, type II, type III, type IV, and type V devices, you should use the supplied 17-pin cable below to wire them. The cable has a DB9 female serial port connector that corresponds to 4th and 5th pins of the 17-pin M12 connector, and a RJ45 connector that corresponds to 6th, 7th, 14th, and 15th pins of the 17-pin M12 connector. Others lines of the 17-pin cable have been made into an 8-pin terminal.

17-pin cable with 8-pin terminal, DB9 and RJ45 connectors

Figure 4-3 17-Pin Cable for Type I, Type II, Type III, Type IV and Type V Devices

Figure description (text version): Cable drawing: 17-pin M12 female connector on the left; the cable splits into three ends – an 8-pin terminal block, a DB9 female serial port connector and an RJ45 Ethernet connector.

The 8-pin terminal is shown below. Refer to table 4-3 for the type I, type II, type III and type IV devices’ pin definitions, and refer to table 4-4 for the type V device’s pin definitions.

8-pin terminal block with pins numbered 1–8

Figure 4-4 8-Pin Terminal

Figure description (text version): Pluggable 8-pin screw terminal block, pins numbered 1 to 8 from left to right.

Table 4-3 8-Pin Terminal Definitions (Type I, Type II, Type III and Type IV Devices)

No.SignalDescriptionCable Color
1DO_5–Brown
2DO_4–Blue
3DO_3Non-isolated outputBrown/White
4DI_2Non-isolated inputBlue/White
5DI_1It can be configured as input or output, and is input by default.White
6DI_0It can be configured as input or output, and is input by default.Gray
7GNDDirect current power supply negativeBlack
8POWER_INDirect current power supply positiveRed

Table 4-4 8-Pin Terminal Definitions (Type V Device)

No.SignalDescriptionCable Color
1OUT_COMOutput common portBrown
2IN_COMInput common portBlue
3GPIO3Opto-isolated output 1Brown/White
4GPIO2Opto-isolated output 0Blue/White
5GPIO1Opto-isolated input 1White
6GPIO0Opto-isolated input 0Gray
7GNDDirect current power supply negativeBlack
8POWER_INDirect current power supply positiveRed

Note: The supplied 17-pin cable may differ by device models.

Type VI Device

Type VI device has a DB15 connector. Refer to the figure and table below for connector pin definitions.

DB15 connector pin layout (pins 1–15)

Figure 4-5 DB15 Connector

Figure description (text version): Front view of the DB15 (D-sub, 3 rows) connector: pins 1–5 in the top row, 6–10 in the middle row and 11–15 in the bottom row.

Table 4-5 Pin Definitions (Type VI Device)

No.SignalI/O Signal SourceDescriptionSupplied Cable
1POWER_IN–Direct current power supply positiveDB9 male serial port
2RS232_TX–RS-232 serial port outputDB9 male serial port
3RS232_RX–RS-232 serial port inputDB9 male serial port
4GNDLine 0/1/2/3-Direct current power supply negative6-pin terminal
5OPTO_IN0LineIn 0+Non-isolated input 06-pin terminal
6TX+–Fast Ethernet signal TX+RJ45 Ethernet connector
7RX-–Fast Ethernet signal RX-RJ45 Ethernet connector
8OPTO_OUTLineOut 2+Non-isolated output 26-pin terminal
9Reserved
10IO_2LineOut 3+Non-isolated output 36-pin terminal
11Reserved
12Reserved
13IO_1LineIn 1+Non-isolated input 16-pin terminal
14TX-–Fast Ethernet signal TX-RJ45 Ethernet connector
15RX+–Fast Ethernet signal RX+RJ45 Ethernet connector

For pins 14 and 15 the source table repeats “TX+” and “RX-” in the description column; the descriptions above follow the signal names.

For type VI device, you should use the supplied cable, as shown below, to wire the device. The cable has a DB9 female serial port that corresponds to 1st, 2nd, and 3rd pins of the device’s DB15 connector, and a 6-pin terminal that corresponds to 4th, 5th, 8th, 10th, and 13th pins of the device’s DB15 connector, and a RJ45 connector that corresponds to 6th, 7th, 14th, and 15th pins of the device’s DB15 connector.

Cable for type VI device: DB15, 6-pin terminal, DB9 and RJ45 ends

Figure 4-6 Cable for Type VI Device

Figure description (text version): Cable drawing: DB15 connector (pins 1–15) on the left; the cable splits into a 6-pin terminal block (pins 1–6), a DB9 serial port connector (pins 1–9) and an RJ45 Ethernet connector (pins 1–8).

Refer to the figure and table below for the pin definitions of the 6-pin terminal.

6-pin terminal block with pins numbered 1–6

Figure 4-7 6-Pin Terminal

Figure description (text version): Pluggable 6-pin screw terminal block, pins numbered 1 to 6 from left to right.

Table 4-6 Pin Definitions (6-Pin Terminal)

No.SignalDescriptionCable Color
1LINEIN 0Non-isolated input 0Blue
2LINEOUT 2Non-isolated output 2Gray
3LINEOUT 3Non-isolated output 3Brown
4LINEIN 1Non-isolated input 1Purple
5GNDDirect current power supply groundBlack
6VCCDirect current power supply positiveRed

Caution: You cannot use the DB9 female serial port and VCC to power the device at the same time. Otherwise, the power supply may be damaged.

4.2 Device with USB Interface

Device with USB interface includes type I device to type VII device.

Type I to Type V Devices

Type I, type II, type III, type IV and type V devices all have a 17-pin M12 connector. Refer to the figure and table below for connector pin definitions.

17-pin M12 connector pin layout (USB devices)

Figure 4-8 17-Pin M12 Connector

Figure description (text version): Front view of the round 17-pin M12 connector: pins 1–11 on the outer ring, pins 12–17 in the inner circle.

Table 4-7 Pin Definitions (Type I to Type V Devices)

No.SignalI/O Signal SourceDescriptionSupplied Cable
1DC_PWR–Direct current power supply positive8-pin terminal
2OUT_COMLineOut 0/1 signal groundOutput common port8-pin terminal
3USB_DM–USB DM signalUSB interface
4RS232TX–RS-232 serial port outputDB9 female serial port
5RS232RX–RS-232 serial port inputDB9 female serial port
6Reserved
7Reserved
8OPTO_OUT0LineOut 0 signal lineOpto-isolated output 08-pin terminal
9IN_COMLineIn 0/1 signal groundInput common port8-pin terminal
10OPTO_OUT1LineOut 1 signal lineOpto-isolated output 18-pin terminal
11GND–Direct current power supply negative8-pin terminal
12USB_DP–USB DP signalUSB interface
13Reserved
14Reserved
15Reserved
16OPTO_IN0LineIn 0 signal lineOpto-isolated input 08-pin terminal
17OPTO_IN1LineIn 1 signal lineOpto-isolated input 18-pin terminal

For type I to type V devices with USB interface, you should use the supplied 17-pin cable below to wire them. The cable has a DB9 female serial port connector that corresponds to 4th and 5th pins of the 17-pin M12 connector, and a USB interface that corresponds to 3th and 12th pins of the 17-pin M12 connector. Others lines of the 17-pin cable have been made into an 8-pin terminal.

17-pin cable with 8-pin terminal, DB9 and USB connectors

Figure 4-9 17-Pin Cable for Type I to Type V Devices

Figure description (text version): Cable drawing: 17-pin M12 female connector on the left; the cable splits into an 8-pin terminal block, a DB9 female serial port connector and a USB type-A connector.

Refer to the figure and table below for the pin definitions of the 8-pin terminal.

8-pin terminal block with pins numbered 1–8

Figure 4-10 8-Pin Terminal

Figure description (text version): Pluggable 8-pin screw terminal block, pins numbered 1 to 8 from left to right.

Table 4-8 8-Pin Terminal Definitions (Type I to Type V Devices)

No.SignalDescriptionCable Color
1DO_5–Brown
2DO_4–Blue
3DO_3Non-isolated outputBrown/White
4DI_2Non-isolated inputBlue/White
5DI_1It can be configured as input or output, and is input by default.White
6DI_0It can be configured as input or output, and is input by default.Gray
7GNDDirect current power supply negativeBlack
8POWER_INDirect current power supply positiveRed

Note: The supplied 17-pin cable may differ by device models.

Type VI Device

Type VI device has a DB15 connector. Refer to the figure and table below for connector pin definitions.

DB15 connector pin layout (pins 1–15)

Figure 4-11 DB15 Connector

Figure description (text version): Front view of the DB15 connector: pins 1–5 in the top row, 6–10 in the middle row and 11–15 in the bottom row.

Table 4-9 Pin Definitions (Type VI Device)

No.SignalI/O Signal SourceDescription
4GND–Direct current power supply negative
9POWER_5IVN–USB power interface
11USB_DM–USB 2.0 signal negative
12USB_DP–USB 2.0 signal positive

For type VI device, you should use the supplied cable, as shown below, to wire the device. The cable has a 15-pin connector for connecting with the device, and a USB interface for connecting with the PC.

Cable for type VI device: DB15 connector to USB type-A

Figure 4-12 Cable for Type VI Device

Figure description (text version): Cable drawing: DB15 connector with screw locks on the left and a USB type-A plug on the right.

Type VII Device

Type VII device with USB interface has a cable with 10-pin RJ45 female connector. It is recommended to use the supplied cable, as shown below, in the package when using the device. The supplied cable has a RJ45 male connector for connecting the device, and a USB interface for connecting external devices.

Type VII USB cable: RJ45 male plug, USB plug and 4 open lines

Figure 4-13 Cable for Type VII Device with USB Interface

Figure description (text version): Cable drawing: RJ45 male plug on the left; the cable splits into a USB type-A plug and four open lines numbered 1–4 (see Table 4-10).

The supplied cable also has four open lines with different colors, and you can wire them according to actual demands.

Table 4-10 Open Line Definitions

No.SignalI/O Signal SourceDescriptionColor
1OPTO_OUT0LineOut 3Non-isolated outputBrown
2OPTO_IN0LineIn 1Non-isolated inputYellow
3GPIO1Line 2It can be configured as input or output via the client software.Orange
4GND–Direct current power supply groundBlack

4.3 Device with RS-232 Interface

Type VII device with RS-232 interface has a cable with 10-pin RJ45 female connector. It is recommended to use the supplied cable, as shown below, in the package when using the device. The supplied cable has a RJ45 male connector for connecting the device, and a DB9 interface for connecting external devices.

Type VII RS-232 cable: RJ45 male plug, DB9 and 5 open lines

Figure 4-14 Cable for Type VII Device with RS-232 Interface

Figure description (text version): Cable drawing: RJ45 male plug on the left; the cable splits into a DB9 serial connector and five open lines numbered 1–5 (see Table 4-11).

The supplied cable also has five open lines with different colors, and you can wire them according to actual demands.

Table 4-11 Open Line Definitions

No.SignalI/O Signal SourceDescriptionColor
1OPTO_OUT0LineOut 3Non-isolated outputBrown
2OPTO_IN0LineIn 1Non-isolated inputOrange
3GPIO1Line 2It can be configured as input or output via the client software.Yellow
4VCC–Direct current power supply positiveRed
5GND–Direct current power supply groundBlack

Caution: You cannot use the DB9 serial port and VCC to power the device at the same time. Otherwise, the power supply may be damaged.

4.4 IO Box

You can use IO box to connect NPN/PNP devices to access to pull-up and pull-down resistors.

  • ID2000 series industrial code reader: You should use the supplied cable to connect the code reader to the top terminal of the IO box.
  • External devices: You should connect external devices to the bottom terminal of the IO box.
  • Pull-up and pull-down resistors: if the DIP switch is switched to DOWN, pull-down resistor is connected. If the DIP switch is switched to UP, pull-up resistor is connected.

IO box wiring diagram with DIP switches for pull-up/pull-down resistors

Figure 4-15 IO Box

Figure description (text version): Top terminal (connect to the device’s supplied cable), wire colours from left: Red, Black, Brown, Brown/White, Blue/White, Blue, White, Gray. Bottom terminal (connect to external device): VCC, GND, NA, GPIO3, GPIO2, NA, GPIO1, GPIO0. Each of the six signal lines has a resistor R that a DIP switch connects to GND (switch DOWN – pull-down) or to VCC (switch UP – pull-up).

Note: The IO box may not be included in the package due to different device models.

Słowa kluczowe

Hikrobot ID2000, connector, cable, 17-pin M12, DB15, pinout, pin definitions, 8-pin terminal, 6-pin terminal, cable color, RJ45, DB9, USB, RS-232, open line, IO box, DIP switch, pull-up, pull-down