Omron NS12-TS01*-V2, NS12-TS00*-V1, NS12-TV00*-V1, NS12-TV00*-V2, NS12-TV01*-V1 Operation Manual

...
Programmable Terminals
Cat. No. V098-E1-04
OPERATION MANUAL
1
Introduction
This manual describes the configuration and settings required for communicating with the host devices used by NS-series Programmable Terminals for Host Link communications.
First familiarize yourself with the contents of the manuals related to NS-series
Programmable Terminals (the NS-series Setup Manual, NS-series Programming Manual, and the CX-Designer online help), and then use this manual for Host Link communications.
2
1-1 Overview
This section provides an overview of connecting an NS-V1/V2 PT to an OMRON Programmable Controller that supports Host Link communications.
The NS-V1/V2 PT is connected 1:1 to the CPU Unit or a Host Link Unit of an OMRON PLC. Host Link communications are used to read and display or write the words and settings in the host PLC.
NS-V1/V2 PT serial ports A and B can both be connected to a host by means of the Host Link protocol.
Reference
When an NS-V1/V2 PT and a PLC are connected by Host Link, it is not possible to change to RUN Mode. If the PLC is set for RUN Mode, it is automatically switched to Monitor Mode. For example, if a compatible Programming Console is connected to the PLC and the PLC operating mode is switched to RUN mode, the password display for the Monitor Mode will be displayed at the Programming Console.
3
1-2 Connection Configuration
This section describes the system configuration required for connecting to the host by Host Link communications.
1-2-1 NS-V1/V2 Configuration Required for Connection
NS-V1/V2 Models
One of the following NS-V1/V2 PTs is required to connect with the host by Host Link communications.
Model
NS12-TS0@(B)-V1/-V2 NS10-TV0@ (B)-V1/-V2 NS8-TV0@ (B)-V1/-V2 NS8-TV1@ (B)-V1 NS5-SQ@@ (B)-V1/-V2 NS5-TQ@@ (B)-V2 NS5-MQ@@ (B)-V2
Reference
NS-series PTs without the -V1 or -V2 suffix do not support Host Link communications. One of the above NS-V1/V2 models must be used.
NS-V1/V2 System Program
To connect to the host by means of Host Link communications, system program version 6 or later must be installed in the NS-V1/V2 PT.
System program
Ver. 6 or later
4
Communications Ports
Communications
port
Applicable communications method
Serial port A Host Link
1:1 NT link 1:N NT link Memory link (Bar-code reader input) (Temperature controller connection) (CX-Designer connection)
Serial port B Host Link
1:1 NT link 1:N NT link Memory link (Bar-code reader input) (Temperature controller connection) (CX-Designer connection)
The following table shows the communications methods that can be used in combination when serial ports A and B are used at the same time.
Serial port B
Host Link
1:1 NT Link
1:N NT Link
Memory link
Bar-code
reader
Temperature
controller
CX-Designer
connection
Host Link YES YES YES YES YES YES YES 1:1 NT link YES YES YES YES YES YES YES 1:N NT Link YES YES YES YES YES YES YES Memory link YES YES YES No YES YES YES Bar-code reader YES YES YES YES No YES YES Temperature controller YES YES YES YES YES YES YES
Serial port A
CX-Designer connection YES YES YES YES YES YES No
5
Communications Setup
The following table shows the communications settings required at the NS-V1/V2 PT and the host to connect to the host by means of Host Link communications.
Setup
location
Settings (See note 2.)
NS-V1/V2 PT Baud rate: 9,600 or 19,200 bps (See note 1.) Host Start bits: 1 bit
Data: 7 bits Stop bits: 2 bits Parity: Even Host Link unit number: 0 Baud rate: 9,600 or 19,200 bps (See note 1.)
Note 1: The baud rate settings must be the same for both the NS-V1/V2 PT and the host.
2: Use the 1:N protocol setting.
1-2-2 Applicable PLCs
The OMRON PLCs listed below can be connected as hosts using Host Link communications. The connection can be made either directly to the built-in serial port on the CPU Unit or to a Host Link Unit mounted to the PLC.
C Series
C200HS, C200HX/HG/HE(-Z), CQM1, CQM1H, CPM2A/CPM2C, CPM1/CPM1A, C500, C1000H, C2000H
CV Series
CV500, CV1000, CV2000, CVM1
CS/CJ Series
CS1G/CS1H, CS1G-H/CS1H-H, CJ1G, CJ1G-H/CJ1H-H, CJ1M, CP1H/CP1L, CJ2H
6
1-3 Connecting to the Host
The types of host that can be connected to a PT by using the serial ports on the NS-series PT and connecting to an RS-232C port at the host are described here.
1-3-1 Connecting to an RS-232C Port at the Host
Compatible Host Units
Some models and series of OMRON PLCs have the host link function built in.
In the CS-series or CQM1H PLCs, the host link method can be used by installing a Serial Communications Board. 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 or Serial Communications Unit before making a connection.
The PLC Units/Boards that can be connected to an NS-series PT through a Host Link connection using RS-232C ports on both the PLC Unit/Board and PT are listed in the following table.
PLC Series CPU Units with Built-in Host Link
Function
CPU Units Connectable with Host
Link Units or Expansion
Communications Board
Host Link Unit/
Communications
Board
CS1G-CPU42/43/44/45-EV1
CS1H-CPU63/64/65/66/67-EV1
CS1G-CPU42/43/44/45-EV1
CS1H-CPU63/64/65/66/67-EV1
CS Series
CS1G-CPU42H/43H/44H/45H
CS1H-CPU63H/64H/65H/66H/67H
CS1G-CPU42H/43H/44H/45H
CS1H-CPU63H/64H/65H/66H/67H
CS1W-SCU21-V1
CS1W-SCB21-V1
CS1W-SCB41-V1
CJ1G-CPU44/CPU45 CJ1G-CPU44/CPU45
CJ1G-CPU42H/43H/44H/45H CJ1H-CPU65H/66H/67H CJ1H-CPU65H/66H/67H-R CJ2H-CPU64/65/66/67/68-EIP
CJ1G-CPU42H/43H/44H/45H CJ1H-CPU65H/66H/67H CJ1H-CPU65H/66H/67H-R CJ2H-CPU64/65/66/67/68-EIP
CJ1M-CPU11/12/13/21/22/23 CJ1M-CPU11/12/13/21/22/23
CJ1W-SCU21/41-V1
CP1H-XA40DR-A/XA40DT-D/XA40D
T1-D/X40DR-A/X40DT-D/X40DT1-D/ Y20DT-D
CJ Series
CP1L-L14DR-A/L14DR-D/L14DT-D/L
14DT1-D/L20DR-A/L20DR-D/L20DT­D/L20DT1-D/M30DR-A/M30DR-D/M3 0DT-D/M30DT1-D/M40DR-A/M40DR­D/M40DT-D/M40DT1-D
CP1W-CIF01
C1000H-CPU01-EV1
C2000H-CPU01-EV1
C120-LK201-EV1
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
C200H-LK201-EV1
C200HS-CPU21/22/31/33-E
C200HE-CPU42-E C200HE-CPU42-ZE
C200HE-CPU32/42-E C200HE-CPU32/42-ZE
C200HG-CPU43/63-E C200HG-CPU43/63-ZE
C200HG-CPU33/43/53/63-E C200HG-CPU33/43/53/63-ZE
C Series
C200HX-CPU44/64-E C200HX-CPU44/64/65/85-ZE
C200HX-CPU34/44/54/64-E C200HX-CPU34/44/54/64/65/85-ZE
C200HW-COM02/04/ 05/06-EV1
7
PLC Series CPU Units with Built-in Host Link
Function
CPU Units Connectable with Host
Link Units or Expansion
Communications Board
Host Link Unit/
Communications
Board
C1000H-CPU01-EV1
C2000H-CPU01-EV1
C500-LK201-EV1
C1000H-CPU01-EV1
C1000HF-CPUA1-EV1 C2000H-CPU01-EV1
C500-LK203
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
C Series
CQM1H-CPU11/21/51/61 (See note 2.) CQM1H-CPU51/61 CQM1H-SCB41
CV500-CPU01-EV1 CV500-CPU01-EV1 CV500-LK201
CV1000-CPU01-EV1 CV1000-CPU01-EV1
CV Series (See note 3.)
CV2000-CPU01-EV1 CV2000-CPU01-EV1
CVM1 Series (See note 3.)
CVM1-CPU01-EV2 CVM1-CPU11-EV2 CVM1-CPU21-EV2
CVM1-CPU01-EV2 CVM1-CPU11-EV2 CVM1-CPU21-EV2
CV500-LK201
CompoBus/S master control unit
SRM1-C02-V2
Note 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
peripheral port to the PT with a CS1W-CN118 Connecting Cable.
3: CPU Units of CVM1/CV-series PLCs without the suffix –EV@ cannot be connected.
Settings at the Host
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 Switch Setting
I/O port RS-232C
Communications speed Set the same baud rate as set at the NS-series PT (See note 1.)
Transfer code ASCII, 7 data bits, 2 stop bits
Parity Even
1-to-1/1-to-N 1-to-N (See note 2.)
Command level Level 1, 2, 3
Unit # 00
Note 1: Set the Host Link communications speed (baud rate) to 9600 bps or 19200 bps with
the Communications Setting menu item in the CX-Designer and the System Menu for the NS-series PT. For details, refer to 1-4 Settings for Host Link.
2: The 1-to-N setting enables using a BCC (Block Check Character). It is not actually
possible to connect more than one NS-series PT in a single Host Link.
The setting methods for each type of unit are described in the following.
8
Connecting to a C-series Host Link Unit
C200H/C200HS/C200HE(-Z)E/C200HG(-Z)E/C200HX(-Z)E Rack-mounted type: 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.
Unit # (SW1, SW2) Set these switches to 0.
Command level, parity, and transfer code (SW4) Set this switch to 2.
Communications speed (SW3) Set this switch to 5 to select 9600 bps.
Set this switch to 6 to select 19200 bps.
Setting the Rear Switches
1-to-1/1-to-N selection (DIP switch) Set #3 to ON.
CTS selection (selector switch) Set this always to 0 V (ON).
CTS selector switch
External
0 V (ON)
C1000H/C2000H Rack-mounted type: C500-LK201-EV1
Setting the Front Switches
Mode control (key switch) Set this to host link.
9
Setting the Rear Switches
I/O port selection (selector switch) Set this to RS-232C.
Unit # (DIP SW1) Set SW1-1 to SW1-5 to OFF (0).
Synchronization (selector switch) Set this to Internal.
Communications speed (DIP SW2-1 to SW2-4)
Set these switches to 0010 to select 19,200 bps.
Set these switches to 1010 to select 9,600 bps.
(0: OFF 1: ON)
1-to-1/1-to-N selection (DIP SW2-6) Set SW2-6 to OFF (0) (1-to-N).
Command level (DIP SW2-7, SW2-8) Set these switches to ON (1).
(
Levels 1, 2, and 3 are enabled.
)
CTS selection (selector switch) Set this always to 0 V (ON).
I/O port
S
y
nchronization
Terminato
r
0 V
C1000H(F)/C2000H Rack-mounted type: C500-LK203
Setting the Rear Switches
I/O port selection (selector switch) Set this to RS-232C.
Unit #, parity, and transfer code (DIP SW1-1 to SW1-7)
Set SW1-1 to SW1-7 to OFF (0).
Synchronization (selector switch) Set this to Internal.
Communications speed (DIP SW2-1 to SW2-4)
Set these switches to 0010 to select 19,200 bps.
Set these switches to 1010 to select 9,600 bps.
(0: OFF 1: ON)
1-to-1/1-to-N selection (DIP SW2-6) Set SW2-6 to OFF (0) (1-to-N).
Command level (DIP SW2-7, SW2-8) Set these switches to ON (1).
(
Levels 1, 2, and 3 are enabled.
)
CTS selection (selector switch) Set this always to 0 V (ON).
I/O port
S
y
nchronization
Terminato
r
5V suppl
y
0
V
10
C200H/C1000H/C2000H CPU Unit-mounted Type: C120-LK201-EV
Setting the Rear Switches
Unit #, parity, and transfer code (DIP SW1-1 to SW1-5) Set SW1-1 to SW1-5 to OFF (0). * Parity is fixed at Even Parity. Transfer cod e
is fixed at ASCII 7 data bits and 2 stop bits.
Communications speed (DIP SW2-1 to SW2-4) Set these switch es to 0010 t o select 19200 bps. Set these switches to 1010 to select 9600 bps.
(
0: OFF 1: ON
)
1-to-1/1-to- N selection (DIP SW2-6) Set SW2-6 to OFF (0) (1-to-N).
Command level (DIP SW2-7, SW2-8) Set these switches to ON (1).
(Levels 1, 2, and 3 are enabled.)
CTS selection (DIP SW3-1 and SW3-2) Set SW3-1 to ON (1), and SW3-2 to OFF (0).
(Set this always to 0V.)
Synchronizatio n (DIP SW3-3 to SW3-6) Set SW3-3 and SW3-5 to ON (1), and
SW3-4 and SW3-6 to OFF (0) . (Set these t o Internal.)
Connecting to a CVM1/CV Series Host Link Unit
CVM1/CV-series Rack-mounted type: 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 NS-series PT 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 which 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 Setting at Host
Communications speed Set the same baud rate as set at the NS-series PT (See note 1.)
Transfer code ASCII, 7 data bits, 2 stop bits
Parity Even
1-to-1, 1-to-N 1-to-N (See note 2.)
Command level Level 1, 2, 3
Note 1: Set the Host Link communications speed (baud rate) to 9600 bps or 19200 bps with
the Communications Setting menu item in the CX-Designer and the System Menu for the NS-series PT. For details, refer to 1-4 Settings for Host Link.
2: The 1-to-N setting enables using a BCC (Block Check Character). It is not actually
possible to connect more than one NS-series PT in a single Host Link.
11
Set the CPU Bus Unit settings directly from a Programming Device (e.g. CX-Programmer).
For details on the CPU Bus Unit settings, refer to the SYSMAC CVM1/CV-series Host Link Unit Operation Manual (W205-E1-@).
Setting The Front Switches
Unit # (SW3, SW4)
When using communication port 2, set these switches to 0.
I/O port selection (selector switch)
Set this to RS-232C.
CTS selection (DIP SW2 and SW3)
Set SW2 or SW3 to ON. (Set this always to 0V.) To use communication port 1, set SW2. To use communication port 2, set SW3.
Communication condition setting (DIP SW1)
Set this switch to OFF. Communication is executed in accordance with the CPU bus unit system settings made at the PLC. The initial values for the system settings are as follows.
- Communications speed: 9600 bps
- Parity: Even
- Xon/Xoff control: Not executed
- Communication method: Full duplex
- Stop bits: 2 stop bits
- Data length: 7 bits
Connecting to a CS-series Serial Communications Unit
CS-series Rack-mounted type: CS1W-SCU21(-V1)
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.
Set the unit number to 0 through F so that it will not overlap with the numbers used in other
units.
Allocation DM Area Settings in CPU Unit
Settings are written from the Programming Device (a Programming Console or CX-Programmer) directly into the allocation DM area (system setting area) 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 command.
In the following, the words allocated in the DM area and the settings are shown.
Loading...
+ 27 hidden pages