2-6 Connecting to the RS-232C Port at the Host. Omron NT 600M-LB122-V1, NT 20M-DT121-V2, NT 20-IF001, NT 20-ST128, NT 20, NT 20M, NT 20-ST122-V1, NT 20-ST121-EV3, NT 20-ST121-E, NT 20S
Oglas
Oglas
Connecting to the RS-232C Port at the Host
Section 2-6
2-6 Connecting to the RS-232C Port at the Host
The method for connecting directly between the RS-232C port of the PT and the RS-232C port of the host is as follows.
The following discussion is focused on the connection method to OMRON
PLCs.
Direct Connection between RS-232C Ports with RS-232C Cable
This is the easiest connection method. Depending on the host to which the connection is to be made, it may be possible to use OMRON cables with connectors.
NT20 Host
RS-232C cable (15 m max.)
Note
The CS/CJ-series CPU Unit cannot be connected with the 1:1 NT link method. Use the 1:N NT link method instead of making a 1:1 connection. For
details, refer to Using the 1:N NT Link on page 60 or Using the High-speed
2-6-1 Host Types and Settings
The types of host that can be connected to a PT by using the RS-232C ports of both devices, and the settings to be made at the host, are described here.
Using the Host Link Method
Compatible Hosts
Some models and series of OMRON PLCs have the Host Link function built in.
In the CS-series (including the CS1-H PLCs), CJ-series, and CQM1H PLCs, the Host Link method can be used by installing a Serial Communications
Board or Unit. In addition, some C200HX/HG/HE(-Z)E have an integral CPU
Unit that can be connected in the Host Link method by installing a Communications Board.
Check the model and series of the PLC, the type of installed Serial Communications Board, Serial Communications Unit, or Host Link Unit before making a connection.
The hosts that can be connected to the NT20 by the Host Link method using the RS-232C ports of both Units are indicated in the table below.
PLC
Series
Units with Built-in Host Link
Function
CS Series CS1G-CPU42/43/44/45-EV1
CS1H-CPU63/64/65/66/67-EV1
CS1G-CPU42H/43H/44H/45H
CS1H-CPU63H/64H/65H/66H/
67H
CJ Series CJ1G-CPU44/45
CPU Units Connectable with
Host Link Units or Expansion
Communications Board
CS1G-CPU42/43/44/45-EV1
CS1H-CPU63/64/65/66/67-EV1
CS1G-CPU42H/43H/44H/45H
CS1H-CPU63H/64H/65H/66H/
67H
CJ1G-CPU44/45
Host Link Unit/
Communications
Board
CS1W-SCU21
CS1W-SCB21
CS1W-SCB41
CJ1W-SCU41
Connectable to
CS1G
CS1H
CS1G-H
CS1H-H
CJ1G
44
Connecting to the RS-232C Port at the Host
Section 2-6
3.)
PLC
Series
C Series
CVM1
Series
(See note
Compo-
Bus/S
Master
Unit
Units with Built-in Host Link
---
Function
C200HS-CPU21/23/31/33-E
C200HE-CPU42-E
C20HE-CPU42-ZE
C200HG-CPU43/63-E
C200HG-CPU43/63-ZE
C200HX-CPU44/64-E
C200HX-CPU44/64/65/85-ZE
CPU Units Connectable with
Host Link Units or Expansion
Communications Board
C200HS-CPU01/03/21/23/31/
33-E
C200HE-CPU11/32/42-E
C200HE-CPU11/32/42-ZE
C200HG-CPU33/43/53/63-E
C200HG-CPU33/43/53/63-ZE
C200HX-CPU34/44/54/64-E
C200HX-CPU34/44/54/64/65/
85-ZE
---
C200HE-CPU32/42-E
C200HE-CPU32/42-ZE
C200HG-CPU33/43/53/63-E
C200HG-CPU33/43/53/63-ZE
C200HX-CPU34/44/54/64-E
C200HX-CPU34/44/54/64/65/
85-ZE
---
Host Link Unit/
Communications
Board
C200H-LK201-EV1
---
C200HW-COM02/04/
05/06-EV1
--CPM1-10/20/30CDR-
@
+CPM1-CIF01
CPM1A-10/20/30/40CD @-@
+CPM1-CIF01
CPM2A-30/40/60CD @@-@
+CPM1-CIF01
(Peripheral port connection)
CPM2C-10/20 @@@@@@-@
(See note 1.)
CQM1-CPU21-E
CQM1-CPU41/42/43/44-EV1
CQM1H-CPU11/21/51/61 (See note 2.)
CVM1-CPU01-EV2
CVM1-CPU11-EV2
CVM1-CPU21-EV2
---
---
---
---
CQM1H-CPU51/61
CVM1-CPU01-EV2
CVM1-CPU11-EV2
CVM1-CPU21-EV2
SRM1-C02-V1 ---
---
---
---
---
CQM1H-SCB41
CV500-LK201
---
Note
Connectable to
C200HS
C200HE
C200HE-Z
C200HG
C200HG-Z
C200HX
C200HX-Z
C200HS
C200HE
C200HE-Z
C200HG
C200HG-Z
C200HX
C200HX-Z
CPM1
CPM2A
CPM2C
CQM1
CQM1H
CVM1
SRM1
(1) Use a CPM2C-CN111 or CS1W-CN114/118 Connecting Cable, CPM1-
CIF01 RS-232C Adapter, or CPM1-CIF11 RS-422A Adapter to connect.
(2) The CQM1H-CPU11 does not have a built-in RS-232C port, so connect to the PT at the peripheral port with a CS1W-CN118 Connecting Cable.
(3) CPU Units of CVM1/CV-series PLCs without the suffix -EV @ cannot be connected.
45
Connecting to the RS-232C Port at the Host
Settings at the Host
Note
Section 2-6
When using the Host Link method, the settings shown below must be made at the host (depending on the Unit, some of these settings may not be necessary, or settings not shown here may be necessary).
Item
I/O port
Baud rate
Transfer code
Parity
1-to-1/1-to-N
Switch Setting
RS-232C
Set the same baud rate as for the NT20. (See note 1.)
ASCII, 7 data bits, 2 stop bits
Even
Command level
Unit #
1-to-N (See note 2.)
Level 1, 2, 3
00
(1) Set the Host Link baud rate up to 115,200 bps with the memory switch at the NT20.
(2) The 1-to-N setting enables BCC (Block Check Character). It is not actually possible to connect more than one NT20 in a single Host Link.
Connecting to a C-series
Host Link Unit
The setting methods for each Unit are described below.
C200H, C200HS, and C200HE/HG/HX (-Z)E Rack-mounted Unit:
C200H-LK201-V1
Setting the Front Switches
Set each switch with a flat blade screwdriver so that the values or symbols in the setting value window agree with the following.
LK201
RUN
RCV
XMT
ERROR
• Unit # (SW1, SW2)
Set these switches to 0.
SW1
0
0
SW2
SW3
5 2
SW4
• Command level, parity, and transfer code (SW4)
Set this switch to 2.
• Baud rate (SW3)
Set this switch to 5 to select 9,600 bps.
Set this switch to 6 to select 19,200 bps.
Setting the Rear Switches
• 1-to-1/1-to-N selection (DIP switch)
Set pin 3 to ON.
CTS selector switch
External
0 V (ON)
ON
1
2
3
4
• CTS selection (selector switch)
Set this always to 0V (ON).
46
Connecting to the RS-232C Port at the Host
Connecting to a CVM1/CVseries Host Link Unit
Note
Section 2-6
CVM1/CV-series Rack-mounted Unit: CV500-LK201
A CVM1/CV-series Host Link Unit (CV500-LK201) has two connectors (communications ports 1 and 2). Either of these ports can be used for connection to an NT20 by the RS-232C method. However, since the connectors at these ports are of different types, a cable that matches the connector must be prepared.
• Communications Port 1
Communications port 1 is a 25-pin connector for RS-232C use only.
• Communications Port 2
Communications port 2 is a 9-pin connector that allows selection of the
RS-232C or RS-422A method. When this port is used with the RS-232C method, the I/O port selector switch on the front of the Unit must be set to
RS-232C (the upper position).
CPU Bus Unit Settings
When connecting to a CVM1/CV-series Host Link Unit, set the following communications conditions for the CPU Bus Unit settings.
Item
Baud rate
Transfer code
Parity
1-to-1, 1-to-N
Setting at Host
Set the same baud rate as set at the NT20 (See note 1.)
ASCII, 7 data bits, 2 stop bits
Even
Command level
1-to-N (See note 2.)
Level 1, 2, 3
(1) Set the Host Link baud rate at 9,600 bps or 19,200 bps with the memory switch at the NT20.
(2) The 1-to-N setting enables BCC (Block Check Character). It is not actually possible to connect more than one NT20 in a single Host Link.
Set the CPU Bus Unit settings directly from a Programming Device (e.g.,
SYSMAC Support Software).
For details on the CPU Bus Unit settings, refer to the SYSMAC CVM1/CV-
series Host Link Unit Operation Manual (W205-E1@).
47
Connecting to the RS-232C Port at the Host
Setting the Front Switches
Section 2-6
Connecting to a CS/CJseries Serial
Communications Unit
Communications port 1
(RS-232C)
Communications port 2
(RS-232C/RS-422A)
I/O port selector switch
RS-232C
RS-422A
• Unit # (SW3, SW4)
When using communications port 2, set these switches to 0.
• I/O port selection (selector switch)
Set this to RS-232C.
• CTS selection (Pins 2 and 3)
Set pin 2 or 3 to ON. (Set this always to 0V.)
To use communications port 1, turn ON pin 2.
To use communications port 2, turn ON pin 3.
• Communications condition setting (Pin 1)
Set this pin to OFF.
Communications are executed in accordance with the CPU Bus Unit system settings made at the PLC.
The initial values for the system settings are as
- Baud rate: 9,600 bps
- Parity: Even
- Xon/Xoff control: Not executed
- Communications method: Full duplex
- Stop bits: 2 stop bits
- Data length: 7 bits
CS/CJ-series Rack-mounted Unit: CS1W-SCU21CJ-series: CJ1W-SCU41
(Port 2 is an RS-232C Port.)
Setting the Front Switches
Set the unit number of the Serial Communications Unit by using the rotary switch located on the front panel. Set each switch with a flat blade screwdriver so that the values or symbols in the setting value window agree with the following.
CS1W-SCU21
SCU21
RUN
ERC
SD1
RD1
UNIT
10
5
6
FE
C
7 8 9
A
RDY
ERH
SD2
RD2
Set the unit number to 0 through F so that it will not duplicate the numbers used in other Units.
CJ1W-SCU41
Set the unit number to 0 through F so that it will not duplicate the numbers used in other Units.
Allocation DM Area Settings for CPU Unit
Settings are written from the Programming Device (a Programming Console or CX-Programmer) directly into the allocated DM Area (PLC Setup) of the
CPU Unit. After the settings are written, they become effective by turning the power ON, restarting the Unit, restarting the communications port, or execution of the STUP instruction.
48
Connecting to the RS-232C Port at the Host
Connecting to a CPU Unit
Note
Section 2-6
The following table shows the words allocated in the DM Area and the settings.
m = DM30000 + 100
× unit number
Value Settings Allocated DM word
Port 1 Port 2
m m+10 8000 m+1 m+2 m+3 m+11 m+12 m+13
0000
0007
0008
0009
000A
0000
0000
Host Link mode, 2 stop bits, even parity, data length 7 bits
Baud rate: 9,600 bps.
Baud rate: 19,200 bps.
Baud rate: 38,400 bps.
Baud rate: 57,600 bps.
Baud rate: 115,200 bps.
Transmit delay time 0 ms.
No CTS control Unit No.0 for Host Link
CV-series and CVM1/CV-series (-EV @) CPU Units
CVM1-CPU01-EV2/CVM1-CPU11-EV2/CVM1-CPU21-EV2
PLC Setup
When connecting to a CVM1/CV-series CPU Unit, set the following communications conditions for the PLC Setup.
Baud rate
Stop bits
Parity
Data length
Unit #
Item Setting at Host
Set the same baud rate as set at the NT20 (See note.)
2 stop bits
Even
ASCII 7 bits
00
Set the Host Link baud rate at 9,600 bps or 19,200 bps with the memory switch at the NT20.
Either set PLC Setup directly from a Programming Device (e.g., SYSMAC
Support Software), or transmit the PLC Setup made at a Programming Device to the CPU Unit.
For details on the PLC Setup, refer to the SYSMAC CVM1/CV500/1000/2000
Operation Manual: Ladder Diagrams (W202-E1@).
49
Connecting to the RS-232C Port at the Host
Setting the Front Switches
Section 2-6
I/O port selector switch
RS-232C
RS-422A
• Host Link Communications method
(selector switch)
Set this to RS-232C.
• System setting (Pin 4)
To effect the existing DIP switch settings, set SW4 to ON.
To effect the existing PLC Setup, set pin 4 to OFF.
Note
For CPU Units manufactured before or during June 1995 (lot No. jj65), the existing DIP switch settings differ from the existing PLC Setup as follows.
- DIP switch settings:
2,400 bps, 1 stop bit, even parity, 7 bit data length
- PLC Setup:
9,600 bps, 2 stop bits, even parity, 7 bit data length
For CPU Units manufactured from July
1995 onward (lot No.
@@75), the stipulated values in the DIP switch settings also are 9,600 bps and 2 stop bits.
C-series C200HS, C200HX/HG/HE(-Z)E, CPM1, CPM2A, CPM2C, CQM1,
CQM1H CPU Units and SRM1
The connection method depends upon the model of PLC being used, as shown in the following table.
PLC model
C200HS, CQM1
Connection method
Connect to the CPU Unit’s built-in RS-232C port.
C200HX/HG/HE(-Z)E • Connect to the CPU Unit’s built-in RS-232C port.
• Connect to one of the RS-232C ports (port A or port B) on a Serial Communications Board.
CQM1H • Connect to the CPU Unit’s built-in RS-232C port.
• Connect to the peripheral port through a CS1W-CN118
Connecting Cable.
• Connect to the RS-232C port (port 1) on a Serial Communications Board.
CPM1
CPM2A, SRM1
CPM2C
Connect to the peripheral port through a CPM1-CIF01 RS-
232C Adapter.
• Connect to the CPU Unit’s built-in RS-232C port.
• Connect to the peripheral port through a CPM1-CIF01 RS-
232C Adapter.
Connect to the CPU Unit’s RS-232C port or the peripheral port through a Connecting Cable (CPM2C-CN111, CS1W-
CN118, or CS1W-CN114).
(The CPM2C-CN111 splits the Unit’s Communications Port into a RS-232C port and a peripheral port. A CPM1-CIF01
RS-232C Adapter is also required to connect to this peripheral port.)
50
Connecting to the RS-232C Port at the Host
Note
Section 2-6
PLC Setup Settings
When connecting to a C200HS, C200HX/HG/HE(-Z)E, CPM1, CPM2A,
CPM2C, CQM1, or CQM1H CPU Unit, or SRM1, set the following communications conditions for the PLC Setup.
Item
Communications mode
Baud rate
Stop bits
Parity
Data length
Unit #
Setting at Host
Host Link mode
Set the same speed as set at the NT20 (See note.)
2 stop bits
Even
ASCII 7 bits
00
Set the Host Link baud rate at 9,600 bps or 19,200 bps with the memory switch at the NT20.
Set the PLC Setup settings directly from a Programming Device (e.g., the CX-
Programmer Support Software).
For details on operations relating to the PLC Setup, refer to the manual for the
PLC which is used.
The PLC Setup area word addresses and settings to be made depending on the Unit and port to which the connection is made are shown below.
CPM2A, CPM2C, CQM1H, or SRM1: Peripheral Port Connection
Word Writing Value
DM6650 0001
DM6651 0303
0304
DM6653 0000
Settings
Host Link mode, no CTS control
Communications conditions set by the contents of DM
Data length 7 bits, 2 stop bits, even parity, baud rate:
9,600 bps
Data length 7 bits, 2 stop bits, even parity, baud rate:
19,200 bps
Unit # 00
C200HS, C200HX/HG/HE(-Z)E, CPM2A, CPM2C, CQM1, CQM1H (other than the CPU11), or SRM1: Built-in RS-232C Port Connection
Word Writing Value
DM6645 0001
DM6646 0303
0304
DM6648 0000
Settings
Host Link mode, no CTS control
Communications conditions set by the contents of DM
Data length 7 bits, 2 stop bits, even parity, baud rate:
9,600 bps
Data length 7 bits, 2 stop bits, even parity, baud rate:
19,200 bps
Unit # 00
C200HX/HG/HE(-Z)E: Serial Communications Board Port A
CQM1H: Serial Communications Board Port 1
Word Writing Value
DM6555 0001
DM6556 0303
0304
DM6558 0000
Settings
Host Link mode, no CTS control
Communications conditions set by the contents of DM
Data length 7 bits, 2 stop bits, even parity, baud rate:
9,600 bps
Data length 7 bits, 2 stop bits, even parity, baud rate:
19,200 bps
Unit # 00
51
Connecting to the RS-232C Port at the Host
Section 2-6
C200HX/HG/HE(-Z)E: Serial Communications Board Port B
Word Writing Value
DM6550 0001
DM6551 0303
0304
DM6553 0000
Settings
Host Link mode, no CTS control
Communications conditions set by the contents of DM
Data length 7 bits, 2 stop bits, even parity, baud rate:
9,600 bps
Data length 7 bits, 2 stop bits, even parity, baud rate:
19,200 bps
Unit # 00
CPM1: Peripheral Port Connection through a CPM1-CIF01 RS-232C Adapter
Word Writing Value
DM6650 0001
DM6651 0303
0304
DM6653 0000
Settings
Host Link mode
Communications conditions set by the contents of DM
Data length 7 bits, 2 stop bits, even parity, baud rate:
9,600 bps
Data length 7 bits, 2 stop bits, even parity, baud rate:
19,200 bps
Unit # 00
Connecting to a CPM2C
The CPM2C PLCs do not have the same kind of port connectors found on
CS1-series PLCs. The CPM2C’s communications port handles both RS-232C and peripheral port connections, which are divided internally. Therefore, when using the CPM2C, it is necessary to select RS-232C or peripheral port connections, according to the kind of cable and port (on the cable) used, as shown in the following table. Refer to the CPM2C Operation Manual for more details.
Port connecting to PT PLC Setup
RS-232C port (D-Sub 9-pin) of CPM2C-CN111 Built-in RS-232C port settings
Peripheral port of CPM2C-CN111
RS-232C port (D-Sub 9-pin) of CS1W-CN118
Peripheral port of CS1W-CN114
Peripheral port settings
Built-in RS-232C port settings
Peripheral port settings
Peripheral port
CPM2C-CN111
CPM2C
CS1W-CN118
CPM2C
CS1W-CN114
CPM2C
RS-232C port
(D-Sub 9-pin, female)
RS-232C port
(D-Sub 9-pin, female)
Peripheral port
Setting the DIP Switches of a C200HX/HG/HE(-Z)E, CQM1, or CQM1H
When using a C200HX/HG/HE(-Z)E, CQM1, or CQM1H, the DIP switches on the front panel must be set as shown below in order to make the settings in the PLC Setup (in the DM Area) effective.
52
Connecting to the RS-232C Port at the Host
C200HX/HG/HE(-Z)E
CQM1 CQM1H
Section 2-6
RS-232C port communications condition setting
Set pin 5 to OFF to make the settings made in
PLC Setup effective.
When using the CQM1H’s built-in peripheral port, turn ON SW7.
Setting the Switches of a CPM2A
When using a CPM2A, the switches on the front panel must be set as shown below in order to make the PLC Setup settings effective.
Set the Communications switch to OFF (down position).
Setting the Switches of a CPM2C
When using a CPM2C, the switches on the front panel must be set as shown below in order to make the PLC Setup settings effective.
The settings for SW1 and SW2 depend upon the usage of the peripheral port and RS-232C port.
• Connecting PT to peripheral port
• Connecting PT to built-in RS-232C port
(A device that requires non-standard communications settings is connected to the peripheral port.)
SW1: OFF
SW2: ON
• Connecting PT to built-in RS-232C port
(A Programming Console is connected to the peripheral port.)
SW1: OFF
SW2: OFF
Setting the Switches on an RS-232C Adapter
When using a CPM1-CIF01 RS-232C Adapter, set the mode switch as shown in the following diagram.
CPM1-
CIF01
CPM1
Set the mode setting switch to HOST (upper position).
53
Connecting to the RS-232C Port at the Host
Note
Section 2-6
CS/CJ-series CPU Units: CS1G/H-CPU @@-E (-V1)
CS1G/H-CPU @@H
CJ1G-CPU @@
Connect to the built-in RS-232C port of the CPU Unit, or the RS-232C port of the Communications Board. Note that the connection to a peripheral port must be made via an RS-232C Adapter (CS1W-CN118) specially designed for connecting to a peripheral port.
PLC Setup
When connecting to a CS/CJ-series CPU Unit, set the following communications conditions for the PLC Setup. Since the settings shown below are the
PLC default settings for the CPU Unit, no change to the PLC Setup is necessary as long as the baud rate is maintained at 9,600 bps.
Item
Baud rate
Stop bits
Parity
Data length
Unit No. for the Host Link
Setting at Host
Set the same speed as set at the NT20 (See note.)
2 stop bits
Even
ASCII 7 bits
00
Set the Host Link baud rate up to 115,200 bps with the memory switch at the
NT20. When the baud rate is set to 19,200 bps, the PLC Setup of the CPU
Unit need to be changed.
Either set the PLC Setup directly from a Programming Device (Programming
Console), or transmit the PLC Setup made at a Programming Device (CX-
Programmer) to the CPU Unit.
For details on PLC Setup, refer to the SYSMAC CS Series Operation Manual
(W339-E1-
@) or SYSMAC CJ Series Operation Manual (W393-E1-@).
When using the built-in RS-232C port of a CS1G/H, CS1G/H-H, or CJ1G
Word address
CIO 160
CIO 161
CIO 166
8000
Writing Value
0000
0007
0008
0009
000A
0000
Settings
Host Link mode, data length 7 bits,
2 stop bits, even parity
Baud rate: 9,600 bps.
Baud rate: 19,200 bps.
Baud rate: 38,400 bps.
Baud rate: 57,600 bps.
Baud rate: 115,200 bps.
Unit #00
When using the peripheral port of a CS1G/H, CS1G/H-H, or CJ1G
Word address
CIO 144
CIO 145
CIO 150
8000
Writing Value
0000
0007
0008
0009
000A
0000
Settings
Host Link mode, data length 7 bits,
2 stop bits, even parity
Baud rate: 9,600 bps.
Baud rate: 19,200 bps.
Baud rate 38,400 bps.
Baud rate 57,600 bps.
Baud rate 115,200 bps.
Unit #00
54
Connecting to the RS-232C Port at the Host
Peripheral port
This is used mainly for connection to the
Programming Device.
(This also supports the
RS-232C Unit connection.)
Section 2-6
Setting the Front Switches
Set pins 4 and 5 of the CPU Unit DIP switch according to the port that the
NT20 is connected to.
CS1G/H, CS1G/H-H
RUN
ERR/ALM
INH
PRPHL/COMM
SYSMAC CS1G
PROGRAMMABLE CONTROLLER
CPU42
MCPWR
OPEN
OPEN
BUSY
DIP switches (inside the battery storage)
• Set pin 4 to ON (establishing communications in accordance with PLC Setup) when connecting the
NT20 to the peripheral port.
• Set pin 5 to OFF (establishing communications in accordance with PLC Setup) when connecting the
NT20 to the RS-232C port.
PERIPHERAL
RS-232C port
This is used mainly for connection to the RS-
232C Unit. (This also supports a CX-
Programmer connection.)
PORT
CJ1G
DIP switches (inside the battery storage)
• Set pin 4 to ON (establishing communications in accordance with PLC Setup) when connecting the
NT20 to the peripheral port.
• Set pin 5 to OFF (establishing communications in accordance with PLC Setup) when connecting the
NT20 to the RS-232C port.
Peripheral port
This is used mainly for connection to the Programming Device.
(This also supports the RS-232C
Unit connection.)
RS-232 port
This is used mainly for connection to the RS-232C
Unit. (This also supports a CX-Programmer connection.)
Connecting to CS-series Serial Communications Board
Serial Communications Board equipped with a RS-232C port for CS-series
CPU Units: CS1W-SCB41/21
Allocation DM Area Settings for CPU Unit
Settings are written from the Programming Device (a Programming Console or CX-Programmer) directly into the allocated DM Area (PLC Setup) of the
CPU Unit. After the settings are written, they become effective by turning the power ON, restarting the Unit, restarting the communications port, or execution of the STUP instruction.
55
Connecting to the RS-232C Port at the Host
Section 2-6
The following table shows the words allocated in the DM Area and the settings.
Value Settings Allocated DM word
Port 1 Port 2
DM32000 DM32010 8000
DM32001
DM32002
DM32003
DM32011
DM32012
DM32013
0000
0007
0008
0009
000A
0000
0000
Host Link mode, 2 stop bits, even parity, data length 7 bits
Baud rate 9,600 bps.
Baud rate 19,200 bps.
Baud rate 38,400 bps.
Baud rate 57,600 bps.
Baud rate 115,200 bps.
Transmit delay time 0 ms.
No CTS control Unit No.0 for Host Link
Using the 1:1 NT Link Compatible Host Units
Some models and series of OMRON PLCs have the 1:1 NT Link function built in. With CQM1H PLCs, a Serial Communications Board can be added to provide 1:1 NT Link communications. Some C200HX/HG/HE(-Z)E CPU Units can be connected by the 1:1 NT Link by installing a Communications Board.
Check the model and series of the PLC against the model of CPU Unit before making the connections.
56
Connecting to the RS-232C Port at the Host
Section 2-6
The hosts that can be connected to the NT20 by the 1:1 NT Link using the
RS-232C ports of both Units are indicated in the table below.
PLC Series CPU Units with Built-in
NT Link Function
---
CPU Units Connectable with Expansion
Communications Board
(See note 1.)
Connectable to
C Series C200HS-CPU21-E, -EC
C200HS-CPU23-E
C200HS-CPU31-E
C200HS-CPU33-E
C200HE-CPU42-(Z)E
C200HG-CPU43-(Z)E
C200HG-CPU63-(Z)E
C200HX-CPU44-(Z)E
C200HX-CPU64-(Z)E
C200HX-CPU65-ZE
C200HX-CPU85-ZE
CPM1-10CDR@ (See note 2.)
CPM1-20CDR@ (See note 2.)
CPM1-30CDR@ (See note 2.)
CPM1A-10CD @-@ (See note 2.)
CPM1A-20CD @-@ (See note 2.)
CPM1A-30CD @-@ (See note 2.)
CPM1A-40CD @-@ (See note 2.)
CPM2A-30CD @@-@
CPM2A-40CD
@@-@
CPM2A-60CD @@-@
CPM2C-10
@@@@@@-@ (See note 3.)
CPM2C-20 @@@@@@-@ (See note 3.)
CQM1-CPU41-EV1
CQM1-CPU42-EV1
CQM1-CPU43-EV1
CQM1-CPU44-EV1
CQM1-CPU45-EV1
CQM1H-CPU21-E
CQM1H-CPU51-E
CQM1H-CPU61-E
CVM1 Series
(See note 5.)
CVM1-CPU01-EV2
CVM1-CPU11-EV2
CVM1-CPU21-EV2
CompoBus/S
Master Unit
SRM1-C02-V2
C200HE-CPU32-(Z)E
C200HE-CPU42-(Z)E
C200HG-CPU33-(Z)E
C200HG-CPU43-(Z)E
C200HG-CPU53-(Z)E
C200HG-CPU63-(Z)E
C200HX-CPU34-(Z)E
C200HX-CPU44-(Z)E
C200HX-CPU54-(Z)E
C200HX-CPU64-(Z)E
C200HX-CPU65-ZE
C200HX-CPU85-ZE
---
---
---
---
CQM1H-CPU51 (See note 4.)
CQM1H-CPU61 (See note 4.)
---
---
C200HS
C200HE (-Z)E
C200HG (-Z)E
C200HX (-Z)E
CPM1
CPM2A
CPM2C
CQM1
CQM1H
CVM1
SRM1
Note
Note
(1) One of the following Communications Boards is required: C200HW-
COM02/COM04/COM05/COM06-EV1.
(2) A CPM1-CIF01 adapter is required.
(3) Use a CPM2C-CN111 or CS1W-CN114/118 Connecting Cable, CPM1-
CIF01 RS-232C Adapter, or CPM1-CIF11 RS-422A Adapter to connect.
(4) A CQM1H-SCB41 Serial Communications Board is required.
(5) CPU Units of CVM1/CV-series PLCs without the suffix -EV
@ cannot be connected.
CS/CJ-series CPU Unit cannot be connected with the 1:1 connection NT link method. Use the 1:N connection NT link method (standard or high-speed)
instead of making the 1:1 connection. For details, refer to Using the 1:N NT
Link (page 60) or Using the High-speed 1:N NT Links (page 65).
57
Connecting to the RS-232C Port at the Host
Note
Section 2-6
Settings at the Host
The setting methods for each Unit are as follows:
Connecting to a C-series C200HS, C200HX/HG/HE(-Z)E, CPM1, CPM2A,
CPM2C, CQM1, CQM1H, or SRM1
PLC Setup Settings
Write the PLC Setup (in the DM Area) settings directly from a Programming
Device (e.g., SYSMAC Support Software) according to the host model and port.
Host Model
RS-232C port of C200HS, C200HX/
HG/HE(-Z)E, CPM2A, CPM2C,
CQM1, CQM1H, SRM1
Port A of C200HX/HG/HE(-Z)E (See note 1.)
Port 1 of CQM1H (See note 2.)
Port B of C200HX/HG/HE(-Z)E (See note 1.
CPM1
Word
DM6645
DM6555
DM6550
DM6650
Writing Value
4000
Setting
Use 1:1 NT
Link
(1) RS-232C port of the Communications Board
(2) RS-232C port of the Serial Communications Board
For details on operations relating to the PLC Setup, refer to the manual for the
PLC that is used.
Connecting to a CPM2C
The CPM2C PLCs do not have the same kind of port connectors found on CS/
CJ-series PLCs. The CPM2C’s communications port handles both RS-232C and peripheral port connections, which are divided internally. Therefore, when using the CPM2C, it is necessary to select RS-232C or peripheral port connections, according to the kind of cable and port (on the cable) used, as shown in the following table. Refer to the CPM2C Operation Manual for more details.
Port connecting to PT PLC Setup
RS-232C port (D-Sub 9-pin) of CPM2C-CN111 Built-in RS-232C port settings
Peripheral port of CPM2C-CN111
RS-232C port (D-Sub 9-pin) of CS1W-CN118
Peripheral port of CS1W-CN114
Peripheral port settings
Built-in RS-232C port settings
Peripheral port settings
Peripheral port
CPM2C-CN111
CPM2C
CS1W-CN118
CPM2C
CS1W-CN114
CPM2C
RS-232C port
(D-Sub 9-pin, female)
RS-232C port
(D-Sub 9-pin, female)
Peripheral port
Setting the DIP Switches on the Front of a C200HX/HG/HE(-Z)E, CQM1,
CQM1H
When using a C200HX/HG/HE(-Z)E, CQM1, or CQM1H, the DIP switches on the front panel must be set as shown below in order to make the settings in the PLC Setup (data memory) effective.
58
Connecting to the RS-232C Port at the Host
C200HX/HG/HE(-Z)E
CQM1 CQM1H
Section 2-6
RS-232C port communications condition setting
Set pin 5 to OFF to make the settings made in
PLC Setup effective.
Setting the Switches of a CPM2A
When using a CPM2A, the switches on the front panel must be set as shown below in order to make the PLC Setup settings effective.
Set the Communications switch to OFF (down position).
Setting the Switches of a CPM2C
When using a CPM2C, the switches on the front panel must be set as shown below in order to make the PLC Setup settings effective.
The settings for SW1 and SW2 depend upon the usage of the peripheral port and RS-232C port.
• Connecting PT to peripheral port
• Connecting PT to built-in RS-232C port
(A device that requires non-standard communications settings is connected to the peripheral port.)
SW1: OFF
SW2: ON
• Connecting PT to built-in RS-232C port
(A Programming Console is connected to the peripheral port.)
SW1: OFF
SW2: OFF
Setting the Switches on an RS-232C Adapter
When using a CPM1-CIF01 RS-232C Adapter, set the mode switch as shown in the following diagram.
CPM1-
CIF01
Set the mode setting switch to NT (lower position).
59
Connecting to the RS-232C Port at the Host
Connecting to a CVM1/CV (-EV @)
Set the DIP switch on the front panel as follows:
Section 2-6
I/O port selection (selector switch)
Set this to RS-232C.
DIP switch setting (Pin 3)
2
1
4
3
6
5
ON
OFF
↔ ON
Set Pin 3 to use NT Link
(ON, right side).
Using the 1:N NT Link
PLC Series
CS Series
CJ Series
When using a CVM1/CV-series PLC, CPU Unit execution processing (execution control 2) in the PLC Setup must be set to Simultaneous processing.
Compatible Host Units
The OMRON PLCs that can be connected using the 1:N NT Link are the CSseries (CS1G/H or CS1G/H-H), CJ-series CJ1G, C-series C200HX/HG/HE(-
Z)E, CQM1H, and SRM1 only. With the CS/CJ-series PLCs, it is possible to connect a 1:N NT Link using a CS1W-SCU21 or CJ1W-SCU41 Serial Communications Unit.
Check the model and series of the PLC as well as the model of Serial Communications Board or Unit being used before making the connections.
The hosts that can be connected to the NT20 by the 1:N NT Link using the
RS-232C ports of both Units are indicated in the table below.
CPU Units with Built-in
NT Link Function
CS1G-CPU42/43/44/45-EV1
CS1H-CPU63/64/65/66/67-EV1
CS1G-CPU42H/43H/44H/45H
CS1H-CPU63H/64H/65H/66H/67H
CJ1G-CPU44/45
CPU Units Connectable with
Communications Board or Unit
(See note 1.)
CS1G-CPU42/43/44/45-EV1
CS1H-CPU63/64/65/66/67-EV1
CS1G-CPU42H/43H/44H/45H (See note 1.)
CS1H-CPU63H/64H/65H/66H/67H
(See note 1.)
CJ1G-CPU44/45 (See note 2.)
Connectable to
CS1G
CS1H
CS1G-H
CS1H-H
CJ1G
60
Connecting to the RS-232C Port at the Host
Section 2-6
PLC Series
C Series
CPU Units with Built-in
NT Link Function
C200HE-CPU42-(Z)E
C200HG-CPU43-(Z)E
C200HG-CPU63-(Z)E
C200HX-CPU44-(Z)E
C200HX-CPU64-(Z)E
C200HX-CPU65-ZE
C200HX-CPU85-ZE
---
CPU Units Connectable with
Communications Board or Unit
(See note 1.)
C200HE-CPU32-(Z)E (See note 3.)
C200HE-CPU42-(Z)E (See note 3.)
C200HG-CPU33-(Z)E (See note 3.)
C200HG-CPU43-(Z)E (See note 3.)
C200HG-CPU53-(Z)E (See note 3.)
C200HG-CPU63-(Z)E (See note 3.)
C200HX-CPU34-(Z)E (See note 3.)
C200HX-CPU44-(Z)E (See note 3.)
C200HX-CPU54-(Z)E (See note 3.)
C200HX-CPU64-(Z)E (See note 3.)
C200HX-CPU65-ZE (See note 3.)
C200HX-CPU85-ZE (See note 3.)
CQM1H-CPU51 (See note 4.)
CQM1H-CPU61 (See note 4.)
---
Connectable to
C200HE (-Z)E
C200HG (-Z)E
C200HX (-Z)E
CQM1H
SRM1 CompoBus/S
Master Control
Unit
SRM1-C02-V2
Note
(1) A CS1W-SCB21 or CS1W-SCB41 Serial Communications Board or
CS1W-SCU21 Serial Communications Unit is required.
(2) A CJ1W-SCU41 Serial Communications Unit is required.
(3) One of the following Communications Boards is required:
C200HW-COM02/COM04/COM05/COM06 (-EV1)
(4) A CQM1H-SCB41 Serial Communications Board is required.
(5) The -V1 versions of CS-series PLCs and CJ-series PLCs support the high-speed 1:N NT Link as well as the standard 1:N NT Link. Furthermore, the high-speed 1:N NT Link can be used in earlier versions of CSseries PLCs by installing a new version of Serial Communications Board
or Unit. For details, refer to Using the High-speed 1:N NT Links
Settings at the Host
The Settings required for each Unit are described below.
Connecting a C200HX/HG/HE(-Z)E, CQM1H, or SRM1
PLC Setup Settings
Write the PLC Setup (in the DM Area) settings directly from a Programming
Device (e.g., SYSMAC Support Software) according to the host model and port.
Connection to
C200HX/HG/HE(-Z)E, SRM1
Built-in RS-232C port
C200HX/HG/HE(-Z)E
Communications Board port A
(See note 1.)
CQM1H port 1 (See note 2.)
C200HX/HG/HE(-Z)E
Communications Board port B
(See note 1.)
Word Writing
Value
DM6645 5 @00
DM6555
Setting
Use 1:N NT Link
@ = largest unit number of the connected PTs (1 to 7)
(See note 3.)
DM6550
Note
(1) RS-232C port on the Communications Board
(2) RS-232C port on the Serial Communications Board
61
Connecting to the RS-232C Port at the Host
Section 2-6
(3) When using a C200HE (-Z)E, the maximum PT unit number is 3.
Refer to the PLC’s operation manual for details on changing PLC Setup settings.
Setting the DIP Switches of a C200HX/HG/HE(-Z)E
When using a C200HX/HG/HE(-Z)E, the DIP switches on the front panel must be set as shown below in order to make the settings in the PLC Setup (in the
DM Area) effective.
RS-232C port communications condition setting
Set pin 5 to OFF to make the settings made in
PLC Setup effective.
Note
Connecting to CS/CJ-series CPU Units
CS-series CPU Unit: CS1G/H-CPU @@-E(V1), CS1G/H-CPU@@H
CJ-series CPU Unit: CJ1G-CPU @@
PLC Setup
When connecting to a CS/CJ-series CPU Unit, set the following communications conditions for the PLC Setup, according to the communications port to be used.
When using the built-in RS-232C port of a CS1G/H, CS1G/H-H, or CJ1G
Word
CIO 160
CIO 161
CIO 166
Value
8200
0000 to 0009 (See note.)
000
@
Settings
1:N NT Link mode
Communications baud rate (standard)
@ = The largest model number of the connected PT (0 – 7)
Set any value between 0000 and 0009 Hex for the communications baud rate.
The same baud rate will be used regardless of the value as long as it is between 0000 and 0009 Hex.
Note
When using the peripheral port of a CS1G/H, CS1G/H-H, or CJ1G
Word
CIO 144
CIO 145
CIO 150
Value
8200
0000 to 0009 (See note.)
000 @
Settings
1:N NT Link mode
Communications baud rate (standard)
@ = The largest model number of the connected PT (0 – 7)
Set any value between 0000 and 0009 Hex for the communications baud rate.
The same baud rate will be used regardless of the value as long as it is between 0000 and 0009 Hex.
When connecting PTs with model numbers 0 and 2 to 5 to the built-in RS-
232C port, for example, set CIO 160 to 8200 Hex, CIO 161 to 0000 Hex and set CIO166 to 0005 Hex.
62
Connecting to the RS-232C Port at the Host
Section 2-6
Peripheral port
This is used mainly for connection to the
Programming Device.
(This also supports the
RS-232C Unit connection.)
RS-232C port
This is used mainly for connection to the RS-
232C Unit.
(This also supports a
CX-Programmer connection.)
Either set PLC Setup directly from a Programming Device (Programming Console), or transmit the PLC Setup made at a Programming Device (CX-Programmer) to the CPU Unit. For details on PLC Setup ,refer to the SYSMAC
CS Series Operation Manual (W339-E1@) or SYSMAC CJ Series Operation
Manual (W393-E1@).
Setting the Front Switches
Set pins 4 and 5 of the CPU Unit DIP switch according to the port that the
NT20 is connected to.
CS1G/H, CS1G/H-H
RUN
ERR/ALM
INH
PRPHL/COMM
SYSMAC CS1G
PROGRAMMABLE CONTROLLER
CPU42
MCPWR
OPEN
OPEN
BUSY
DIP switches (inside the battery storage)
• Set pin 4 to ON (establishing communications in accordance with PLC Setup) when connecting the NT20 to the peripheral port.
• Set pin 5 to OFF (establishing communications in accordance with PLC Setup) when connecting the NT20 to the RS-232C port.
PERIPHERAL
PORT
CJ1G
DIP switches (inside the battery storage)
• Set pin 4 to ON (establishing communications in accordance with PLC Setup) when connecting the
NT20 to the peripheral port.
• Set pin 5 to OFF (establishing communications in accordance with PLC Setup) when connecting the
NT20 to the RS-232C port.
Peripheral port
This is used mainly for connection to the
Programming Device.
(This also supports the
RS-232C Unit connection.)
RS-232C port
This is used mainly for connection to the RS-232C
Unit. (This also supports a CX-Programmer connection.)
Connecting to CS-series Serial Communications Board
Serial Communications Board equipped with a RS-232C port for CS-series
CPU Units: CS1W-SCB41/21
63
Connecting to the RS-232C Port at the Host
Note
Section 2-6
CPU Unit Allocation DM Area Settings
Setting is written from the Programming Device (a Programming Console or
CX-Programmer) directly into the allocated DM Area (PLC Setup) of the CPU
Unit. After the setting is written, it becomes effective by turning the power ON, restarting the Unit, restarting the communications port, or execution of the
STUP instruction.
The following table shows the words allocated in the DM Area and the settings.
Allocated DM word
Port 1 Port 2
DM32000
DM32001
DM32010
DM32011
DM32006 DM32016
Value Settings
8200
0000 to 0009 (See note.)
000
@
1:N NT Link mode
Communications baud rate (standard)
@ = The largest model number of the connected PT (0 - 7)
Set any value between 0000 and 0009 Hex for the communications baud rate.
The same baud rate will be used regardless of the value as long as it is between 0000 and 0009 Hex.
For example, when connecting PTs with model numbers 3, 4, 5, and 6 to port
1, set DM 32000 to 8200 Hex, DM 32001 to 0000 Hex, and DM 32006 to 0006
Hex.
Connecting to CS/CJ-series Serial Communications Unit
A CS-series Rack-mounted Unit: CS1W-SCU21
CJ-series: CJ1W-SCU41 (Port 2 is an RS-232C port.)
Setting the Front Switches
Set the unit number of the Serial Communications Unit by using the rotary switch located on the front panel. Set each switch with a flat blade screwdriver so that the values or symbols in the setting value window agree with the following.
CS1W-SCU21
SCU21
RUN
ERC
SD1
RD1
UNIT
No.
32
10
5
6
7 8
FE
C
9
A
RDY
ERH
SD2
RD2
Set the unit number to 0 through F so that it will not duplicate the numbers used in other Units.
CJ1W-SCU41
Set the unit number to 0 through F so that it will not duplicate the numbers used in other Units.
64
Connecting to the RS-232C Port at the Host
Section 2-6
Allocation DM Area Settings for CPU Unit
Setting is written from the Programming Device (a Programming Console or
CX-Programmer) directly into the allocated DM Area (PLC Setup) of the CPU
Unit. After the setting is written, it becomes effective by turning the power ON, restarting the Unit, restarting the communications port, or execution of the
STUP instruction.
The following table shows the words allocated in the DM Area and the settings.
m = DM30000 + (100
× unit number)
Value Settings
m m+1
Allocated DM word
Port 1 Port 2
m+10 m+11 m+6 m+16
8200
0000 to 0009 (See note.)
000
@
1:N NT Link mode
Communications baud rate (standard)
@ = The largest model number of the connected PT (0 - 7)
Using the High-speed 1:N
NT Links
Note
Set any value between 0000 and 0009 Hex for the communications baud rate.
The same baud rate will be used regardless of the value as long as it is between 0000 and 0009 Hex.
Compatible Host Units
Only the -V1 versions of the CS1-series CS1G/H, CS1-H-series CS1G/H-H, and CJ-series CJ1G PLCs support the high-speed 1:N NT Links directly.
Other CS/CJ-series PLCs can use the high-speed 1:N NT Links indirectly through a CS1W-SCU21 or CJ1W-SCU41 Serial Communications Unit. (If a
Serial Communications Unit is used, even CS1-series Units without the “-V1” suffix can be connected via high-speed 1:N NT Links.)
Be sure to check the model number of the PLC and Serial Communications
Board/Unit before trying to establish the high-speed 1:N NT Links.
The following table shows which CS1-series PLCs can be connected to an
NT20 with the high-speed 1:N NT Links.
PLC model
CS Series
CJ Series
CPU Units with Built-in
NT Link Function
CS1G-CPU42/43/44/45-EV1 (See note 1.)
CS1H-CPU63/64/65/66/67-EV1 (See note 1.)
CS1G-CPU42H/43H/44H/45H (See note 1.)
CS1H-CPU63H/64H/65H/66H/67H (See note
1.)
CJ1G-CPU44/45
CPU Units Connectable only through a
Serial Communications Board or Unit
CS1G-CPU42/43/44/45-E(V1) (See note
2.)
CS1H-CPU63/64/65/66/67-E(V1) (See note 2.)
CS1G-CPU42H/43H/44H/45H (See note
2.)
CS1H-CPU63H/64H/65H/66H/67H (See note 2.)
Connectable models
CS1G
CS1H
CS1G-H
CS1H-H
CJ1G-CPU44/45 (See note 3.)
CJ1G
Note
(1) The direct high-speed 1:N NT Link connection is not supported by CS1series CPU Units without the -V1 suffix.
(2) A CS1W-SCB21 or CS1W-SCB41 Serial Communications Board or
CS1W-SCU21 Serial Communications Unit is required.
(3) A CJ1W-SCU41 Serial Communications Unit is required.
Settings at the Host
The Settings required for each Unit are described below.
65
Connecting to the RS-232C Port at the Host
Note
Section 2-6
Connecting CS/CJ-series CPU Units
CS-series CPU Unit model: CS1G/H-CPU @@-EV1, CS1G/H-CPU@@H
CJ-series CPU Unit model: CJ1G-CPU @@
PLC Setup
When connecting to a CS/CJ-series CPU Unit, set the following communications conditions for the PLC Setup, according to the communications port to be used.
When using the built-in RS-232C port of a CS1G/H, CS1G/H-H, or CJ1G
160
161
166
Word
8200
000A
000 @
Value Settings
1:N NT Link mode
Communications baud rate (high-speed)
@ = The largest model number of the connected PT (0 - 7)
When using the peripheral port of a CS1G/H, CS1G/H-H, or CJ1G
144
145
150
Word
8200
000A
000 @
Value Settings
1:N NT Link mode
Communications baud rate (high-speed)
@ = The largest model number of the connected PT (0 - 7)
When connecting PTs with model numbers 0, 2, 3, 4, and 5 to the built-in RS-
232C port, for example, set CIO 160 to 8200 Hex, CIO 161 to 000A Hex, and
CIO166 to 0005 Hex.
Either set PLC Setup directly from a Programming Device (Programming Console), or transmit the PLC Setup made at a Programming Device (CX-Programmer) to the CPU Unit.
For details on PLC Setup, refer to the SYSMAC CS Series Operation Manual
(W339-E1@) or SYSMAC CJ Series Operation Manual (W393-E1-@).
When using the CX-Programmer to set the high-speed 1:N NT Link, set the communications baud rate to 115,200 bps.
Setting the Front Switches
Set pins 4 and 5 of the CPU Unit DIP switch according to the port that the
NT20 is connected to.
66
Connecting to the RS-232C Port at the Host
Section 2-6
Peripheral port
This is used mainly for connection to the
Programming Device.
(This also supports connection of RS-232C devices.)
RS-232C port
This is used mainly for connection of RS-232C devices.
(This also supports the connection of CX-
Programmer.)
CS1G/H, CS1G/H-H
RUN
ERR/ALM
INH
PRPHL/COMM
SYSMAC CS1G
PROGRAMMABLE CONTROLLER
CPU42
MCPWR
OPEN
OPEN
BUSY
PERIPHERAL
PORT
DIP switches (inside the battery storage)
• Set pin 4 to ON (establishing communications in accordance with PLC Setup) when connecting the
NT20 to the peripheral port.
• Set pin 5 to OFF (establishing communications in accordance with PLC Setup) when connecting the
NT20 to the RS-232C port.
CJ1G
DIP switches (inside the battery storage)
• Set pin 4 to ON (establishing communications in accordance with PLC Setup) when connecting the NT20 to the peripheral port.
• Set pin 5 to OFF (establishing communications in accordance with PLC Setup) when connecting the NT20 to the RS-232C port.
Peripheral port
This is used mainly for connection to the
Programming Device.
(This also supports connection of RS-232C devices.)
RS-232C port
This is used mainly for connection of
RS-232C devices. (This also supports the connection of CX-Programmer.)
Note
Connecting to a CS-series Serial Communications Board
Serial Communications Board equipped with a RS-232C port for CS-series
CPU Units: CS1W-SCB41/21
Serial Communications Boards and Serial Communications Units with lot number 991220 (12/20/99) and later support the high-speed 1:N NT Link.
Boards and Units with earlier lot numbers cannot be used.
CPU Unit Allocation DM Area Settings
Setting is written from the Programming Device (a Programming Console or
CX-Programmer) directly into the allocated DM Area (PLC Setup) of the CPU
Unit. After the setting is written, it becomes effective by turning the power ON, restarting the Unit, restarting the communications port, or execution of the
STUP instruction.
67
Connecting to the RS-232C Port at the Host
Note
Section 2-6
The following table shows the words allocated in the DM Area and the settings.
Value Settings Allocated DM word
Port 1 Port 2
DM32000
DM32001
DM32006
DM32010
DM32011
DM32016
8200
000A
000 @
1:N NT Link mode
Communications baud rate (high-speed)
@ = The largest model number of the connected PT (0 - 7)
For example, when connecting PTs with model numbers 3, 4, 5, and 6 to port
1, set DM 32000 to 8200 Hex, DM 32001 to 000A Hex, and DM 32006 to 0006
Hex.
Connecting to a CS/CJ-series Serial Communications Unit
A CS-series Rack-mounted Unit: CS1W-SCU21
CJ-series: CJ1W-SCU41 (Port 2 is an RS-232C port.)
Serial Communications Boards and Serial Communications Units with lot number 991220 (12/20/99) and later support the high-speed 1:N NT Link.
Boards and Units with earlier lot numbers cannot be used.
Setting the Front Switches
Set the unit number of the Serial Communications Unit by using the rotary switch located on the front panel. Set each switch with a flat blade screwdriver so that the values or symbols in the setting value window agree with the following.
CS1W-SCU21
SCU21
RUN
ERC
SD1
RD1
UNIT
No.
32
10
5
6
7 8
FE
C
9
A
RDY
ERH
SD2
RD2
Set the unit number to 0 through F so that it will not duplicate the numbers used in other Units.
CJ1W-SCU41
Set the unit number to 0 through F so that it will not duplicate the numbers used in other Units.
Allocation DM Area Settings for CPU Unit
Setting is written from the Programming Device (a Programming Console or
CX-Programmer) directly into the allocated DM Area (PLC Setup) of the CPU
Unit. After the setting is written, it becomes effective by turning the power ON, restarting the Unit, restarting the communications port, or execution of the
STUP instruction.
The following table shows the words allocated in the DM Area and the settings.
Word m = DM30000 + 100
× unit number
Value Settings
m
Allocated DM word
Port 1 Port 2
m+10 8200 1:N NT Link mode
68
Connecting to the RS-232C Port at the Host
Section 2-6
m+1 m+6
Allocated DM word
Port 1 Port 2
m+11 m+16
Value
000A
000 @
Settings
Communications baud rate (high-speed)
@ = The largest model number of the connected PT (0 - 7)
2-6-2 Connecting Directly between RS-232C Ports
The method for connection between the RS-232C ports of the NT20 and the host is described here.
Recommended Connector Cable
When making the connector cable, as far as possible use the recommended connectors, connector hoods, and cables indicated in the table below. Some
Units come supplied with one connector and one connector hood.
Check the required components and prepare them in advance.
Name Model
Connector XM2A-0901
XM24-2501
Connector hood
XM2S-0911
Remarks
9-pin
Made by OMRON
25-pin
Made by OMRON
9-pin
Made by OMRON
XM2S-0913 9-pin
Made by OMRON
XM2S-0911-E 9-pin
Made by OMRON
Delivered with
CS-series CS1G/CS1H,
CS1G-H/CS1H-H
CJ-series CJ1G
C-series CQM1, C200HS,
C200HX/HG/HE(-Z)E,
CVM1/CV-series CPU
Units
CV500-LK201
CV500-LK201
C200H-LK201-EV1
C-series CQM1, C200HS,
C200HX/HG/HE-(Z)E,
CVM1/CV-series CPU
Units
CV500-LK201
---
CS-series CS1G/CS1H,
CS1G-H/CS1H-H
CJ-series CJ1G
Note
Cable
XM2S-2511
AWG28
×5P
IFVV-SB
CO-MA-VV-SB
5P
×28AWG
25-pin
Made by OMRON
Multi-core shielded cable
Made by Fujikura, Ltd.
Multi-core shielded cable
Made by Hitachi Cable,
Ltd.
CV500-LK201
C200H-LK201-EV1
---
---
After connecting a communications cable, always secure it with the screws.
Otherwise the cable may disconnect, causing operation to fail.
69
Connecting to the RS-232C Port at the Host
Wiring for a Host Link Unit
(25-pin) Connection
1
5
Note
Note
Section 2-6
OMRON Cables with Connectors
The OMRON cables listed below can be used when connecting with a method other than the RS-232C communications method.
Model
XW2Z-200S
XW2Z-500S
XW2Z-200T
XW2Z-500T
2 m
5 m
2 m
5 m
Cable Length Connector Specification
9-pin
⇔ 25 pin
9-pin
⇔ 9-pin
The OMRON cable listed below can be used when connecting to a personal computer using RS-232C communications.
Model
XW2Z-S002 2 m
Cable Length Connector Specification
9-pin
⇔ 9 pin
The cable’s tensile load is 30 N. Do not subject it to loads greater than this.
Otherwise a discontinuity may occur, causing operation to fail.
Applicable Units: C200H-LK201-EV1
CV500-LK201 (communications port 1)
Compatible cables with attached connectors:
XW2Z-200S (9-pin
⇔ 25-pin, 2 m)
XW2Z-500S (9-pin
⇔ 25-pin, 5 m)
CVM1/CV-series Host Link Units (CV500-LK201) have two types of connector; a 25-pin connector (communications port 1), and a 9-pin connector (communications port 2). When using communications port 2, refer to Wiring for
Other Connections (Other Than the Memory Link Method) below.
1 14
6
9
NT20
RS-232C interface
Abbreviation
FG
Pin number
Connector hood
1
Shield
2
SD
RD
RS
CS
+5V
3
4
5
5G
8
9
6
7
(9-pin type)
PLC (Host Link Unit)
(See note.)
Pin number
Connector hood
2
Abbreviation
FG
SD
3
4
5
RD
RS
CS
RS-232C interface
6
7
8
-
5G
-
-
-
-
-
-
-
-
ER
(25-pin type)
13 25
For Units that have a CTS setting selector switch, RS and CS do not have to be shorted if this switch is set to 0 V.
Wiring for Other
Connections
Applicable Units:
CV500-LK201 (communications port 2)
CS1W-SCU21 CJ1W-SCU41
CPM1-10CDR@
CPM1-30CDR-
@
CPM1-20CDR@
CPM1A-10CD @-@
CPM1A-30CD @-@
CPM2A-30CD @-@
CPM2A-60CD @-@
CPM1A-20CD
CPM1A-40CD
CPM2A-40CD
@-@
@-@
@-@
CPM2C-10 @@@@@@-@ CPM2C-20 @@@@@@-@
70
Connecting to the RS-232C Port at the Host
1
5
Note
Section 2-6
CQM1-CPU21-E
CQM1-CPU41-EV1
CQM1-CPU43-EV1
CQM1H-CPU11
CQM1H-CPU51
CS1G-CPU42-E(V1)
CS1G-CPU44-E(V1)
CS1H-CPU63-E(V1)
CS1H-CPU65-E(V1)
CS1H-CPU67-E(V1)
CS1G-CPU42H
CS1G-CPU44H
CS1H-CPU63H
CS1H-CPU65H
CS1H-CPU67H
CJ1G-CPU44
C200HS-CPU21-E, -EC
C200HS-CPU31-E
C200HE-CPU32-(Z)E
C200HG-CPU33-(Z)E
C200HG-CPU53-(Z)E
C200HX-CPU34-(Z)E
C200HX-CPU54-(Z)E
C200HX-CPU65-ZE
CVM1-CPU01-EV2
CVM1-CPU21-EV2
SRM1-C02-V2
CQM1-CPU42-EV1
CQM1-CPU44-EV1
CQM1H-CPU21
CQM1H-CPU61
CS1G-CPU43-E(V1)
CS1G-CPU45-E(V1)
CS1H-CPU64-E(V1)
CS1H-CPU66-E(V1)
CS1G-CPU43H
CS1G-CPU45H
CS1H-CPU64H
CS1H-CPU66H
CJ1G-CPU45
C200HS-CPU23-E
C200HS-CPU33-E
C200HE-CPU42-(Z)E
C200HG-CPU43-(Z)E
C200HG-CPU63-(Z)E
C200HX-CPU44-(Z)E
C200HX-CPU64-(Z)E
C200HX-CPU85-ZE
CVM1-CPU11-EV2
Compatible cables with attached connectors:
XW2Z-200T (9-pin
⇔ 9-pin, 2 m)
XW2Z-500T (9-pin
⇔ 9-pin, 5 m)
CPU Units of CVM1/CV-series PLCs without the suffix -EV @ cannot be connected by any connection method.
6
1
6
9
NT20
RS-232C interface
Abbreviation
FG
-
Pin number
Connector hood
1
SD 2
RD
RS
CS
+5V
-
-
SG
3
4
5
6
7
8
9
(9-pin type)
PLC
Shield
(See note.)
Pin number
Connector hood
Abbreviation
FG
2 SD
3
4
5
RD
RS
CS
-
8
9
6
7
-
-
SG
RS-232C interface
(9-pin type)
5
9
For Units that have a CTS setting selector switch, RS and CS do not have to be shorted if this switch is set to 0 V.
Wiring for a RS-232C
Connection
Compatible cables with attached connectors:
XW2Z-S002 (9-pin
⇔9-pin, 2 m)
Prepare the adapter cable while referring to the following diagram.
71
Connecting to the RS-232C Port at the Host
1
5
6
9
RS-232C interface
NT20
Abbreviation
FG
-
Pin number
Connector hood
1
2
+5V
-
-
SG
SD
RD
RS
CS
8
9
6
7
3
4
5
(9-pin type)
Shield
PLC
Abbreviation
Connector hood
SD
RD
RS-232C interface
RS
CS
SG
Section 2-6
72
Preuzimanje
Oglas