Setting the Conditions of Communications with the Host by Using the Memory Switches
Section 3-5
3-5 Setting the Conditions of Communications with the Host by Using the Memory Switches
The communications between the NT20 and a PLC/Host are called the host communications.
The NT20 PTs can be connected to the host using the following communications methods.
NT20-ST121-E: Host Link or NT Link (both direct connections)
NT20-ST121-E + NT20-IF001 + NT600M-LB122-V1:
C200H direct communications (direct connection)
NT20-ST128: RS-232C communications (command control)
With the NT20-ST121-E, the Host Link, 1:1 NT Link, or 1:N NT Link communications method is set using a memory switch. Other settings, such as the band rate and automatic resetting of communications, are also set with memory switches. This section describes the communications condition settings using the memory switches.
Memory Switches
The NT20 has the memory areas used to store the PLC connection method, communications conditions, system settings, etc. which can be used as the switches and called the “memory switches”. Since the memory switches use the flash memory, the stored data can be held even when the power supply is turned OFF.
If the memory switch memory is corrupted for any reason, a message will be displayed when the operating mode is changed. Press the Write touch switch and initialize the memory.
Setting Functions and the
Memory Switch Menu
The memory switches can be set easily by using the memory switch menu in the System Menu.
The following settings can be made with the memory switches. Refer to the
subsequent pages and 3-8 Various System Settings for details on each set-
ting and function.
• Host Link Method
[ MEMORY SW MENU ]
(1/2)
Comm. Type Host Link
Key Sound
Buzzer Sound
Bk light Off
OFF
OFF
None
Tool Mode NT20
• NT Link (1:1) Method
Quit
Page
WRT&
EXIT
[ MEMORY SW MENU ]
(2/2)
Automatic Reset
No
Baud Rate
Comm. Port
Language
9600bps
Port B
English
Quit
Page
WRT&
EXIT
[ MEMORY SW MENU ]
(1/2)
Comm. Type
NT Link
Key Sound
Buzzer Sound
OFF
OFF
Bk light Off
Tool Mode
None
NT20
Quit
Page
WRT&
EXIT
[ MEMORY SW MENU ]
(2/2)
Automatic Reset
No
Comm. Port
Language
Port B
English
Quit
Page
WRT&
EXIT
91
Setting the Conditions of Communications with the Host by Using the Memory Switches
• NT Link (1:N) Method
[ MEMORY SW MENU ] (1/2)
Comm. Type
NT Link 1: N
Key Sound
Buzzer Sound
OFF
OFF
Quit
Page
Bk light Off
Tool Mode
None
NT20
WRT&
EXIT
• C200H Direct Communications
[ MEMORY SW MENU ]
(1/2)
Comm. Type C200H
Key Sound
Buzzer Sound
Bk light Off
OFF
OFF
None
Tool Mode NT20S
• RS-232C (NT20-ST128)
[ MEMORY SW MENU ]
(1/3)
Key Sound
ON
Buzzer Sound
Bk light Off
ON
10 min
Tool Mode
Automatic Reset
NT20S
Yes
Quit
Page
WRT&
EXIT
Quit
Page
WRT&
EXIT
Section 3-5
[ MEMORY SW MENU ]
(2/2)
Automatic Reset
No
Unit No.
7
Comm. Speed
Comm. Port
Language
Standard
Port B
English
Quit
Page
WRT&
EXIT
[ MEMORY SW MENU ]
(2/2)
Automatic Reset
No
Language
English
Quit
Page
WRT&
EXIT
[ MEMORY SW MENU ] (2/3)
Data Bits 8 bits
1bit
Stop Bits
Parity Check
Flow Control
Baud Rate
Even
RS/CS
9600 bps
Quit
Page
WRT&
EXIT
[ MEMORY SW MENU ]
LMP Bit Control
Comm. Port
(3/3)
Enable
Port B
Language English
Quit
Page
WRT&
EXIT
92
Setting the Conditions of Communications with the Host by Using the Memory Switches
Section 3-5
3-5-1 Selecting the Host Communications Method
The NT20 can be connected to a PLC by the Host Link, the NT link, or the
C200H Direct communications. Either link can be selected by setting the
“Comm. Type” memory switch. The factory setting has been made to the
“Host link”.
Select the host communications method by the menu operation from the System Menu as described below.
Select “Maintenance Mode”.
[ SYSTEM MENU ]
Quit
Transmit Mode
Maintenance Mode
[ MAINTENANCE MENU ]
Quit DIP-SW Status
PT Setting
I/O Check
Init. Memory
Memory Switch
Select “Memory Switch”.
Note
[ MEMORY SW MENU ]
(1/2)
Quit
Comm. Type
Key Sound
Host Link
OFF
Page
Buzzer Sound
Bk light Off
Tool Mode
OFF
None
NT20S
WRT
&
EXIT
Repeatedly pressing the
“Comm. Type” touch switch causes the setting to cycle through the options “Host link”, “NT link”, “NT Link
1:N”, and “C200H” in that order.
To set and quit the menu, press the [WRT&EXIT] touch switch. To quit without setting, press [Quit].
The communications method must be selected according to the method that the connecting PLC supports.
93
Setting the Conditions of Communications with the Host by Using the Memory Switches
Section 3-5
3-5-2 Selecting the Host Communications Port
Note
There are two communications ports in NT20. Either of them can be set for communications. But Port A can be set to communications with either the host
(Host link, NT link 1:1, NT link 1:N, RS-232C) or Support Tool and Port B can only be set to communications with the host (Host link, NT link 1:1, NT link
1:N, RS-232C).
The NT20 can not communicate with both two ports at one time.
The factory setting has been made at “Port B”.
Select the host communications port by the menu operation from the System
Menu as described below. (e.g., Host Link)
Select “Maintenance Mode”.
[ SYSTEM MENU ]
Quit
Transmit Mode
Maintenance Mode
[ MAINTENANCE MENU ]
Quit
PT Setting
I/O Check
Init. Memory
Memory Switch
DIP-SW Status
Select “Memory Switch”.
[ MEMORY SW MENU ]
(1/2)
Comm. Type
Host Link
Key Sound
OFF
Buzzer Sound
OFF
Quit
Page
Bk light Off
Tool Mode
None
NT20S
WRT
&
EXIT
Select “Page”.
[ MEMORY SW MENU ]
(2/2)
Automatic Reset
No
Baud Rate
9600bps
Comm. Port
Port B
Quit
Page
Language
English
WRT
&
EXIT
Each time the “Comm.
Port” touch switch is pressed, the setting option alternates between “Port A” and “Port B”.
To set and quit the menu, press the [WRT&EXIT] touch switch. To quit without setting, press [Quit].
94
Setting the Conditions of Communications with the Host by Using the Memory Switches
Section 3-5
3-5-3 Selecting the Host Link Communications Speed
When using the NT20 with the host link, the baud rate of the communications with the PLC can be set. Use the “Baud Rate” switch and select 9600 bps,
19200 bps, 38400 bps, 57600 bps, or 115200 bps.
The factory setting has been made at 9600 bps.
Select the baud rate of the communications with the PLC by the menu operation from the System Menu as described below.
Select “Maintenance Mode”.
[ SYSTEM MENU ]
Quit
Transmit Mode
Maintenance Mode
[ MAINTENANCE MENU ]
Quit
PT Setting
I/O Check
Init. Memory
Memory Switch
DIP-SW Status
Select “Memory Switch”.
[ MEMORY SW MENU ]
(1/2)
Comm. Type
Host Link
Key Sound
OFF
Buzzer Sound
OFF
Quit
Page
Bk light Off
Tool Mode
None
NT20S
WRT
&
EXIT
Select “Page”.
If the host link is not selected, press the “Comm.
Type” touch switch and select “Host link”.
[ MEMORY SW MENU ]
(2/2)
Automatic Reset
No
Baud Rate
9600bps
Comm. Port
Port B
Quit
Page
Language
English
WRT
&
EXIT
Each time “Baud Rate” is pressed, the setting that is displayed will change.
To set and quit the menu, press the [WRT&EXIT] touch switch. To quit without setting, press [Quit].
95
Setting the Conditions of Communications with the Host by Using the Memory Switches
Section 3-5
3-5-4 Selecting the NT Link (1:N) Communications Speed
When using the NT20 with the NT Link (1:N), the baud rate of the communications with the PLC can be set. Use the “Comm. Speed” switch and select High or Standard.
Select the speed of the communications with the PLC by the menu operation from the System Menu as described below.
Select “Maintenance
Mode”.
[ SYSTEM MENU ]
Quit
Transmit Mode
Maintenance Mode
[ MAINTENANCE MENU ]
Quit
DIP-SW Status
PT Setting
I/O Check
Init. Memory
Memory Switch
Select “Memory Switch”.
[ MEMORY SW MENU ]
(1/2)
Comm. Type
NT Link 1:N
Key Sound
OFF
Buzzer Sound
OFF
Quit
Page
Bk light Off
Tool Mode
None
NT20
WRT
&
EXIT
Select “Page”.
If the NT Link 1:N is not selected, press the “Comm.
Type” touch switch and select “NT Link 1:N”.
[ MEMORY SW MENU ]
(2/2)
Automatic Reset
Unit No.
No
7
Quit
Page
Comm. Speed
Comm. Port
Language
Standard
Port B
English
WRT
&
EXIT
Each time the “Comm.
Speed” touch switch is pressed, the setting option alternates between “High” and “Standard”.
To set and quit the menu, press the [WRT&EXIT] touch switch. To quit without setting, press [Quit].
96
Setting the Conditions of Communications with the Host by Using the Memory Switches
Section 3-5
3-5-5 Selecting Unit Numbers
When using NT20 with the NT link (1:N) communications method, set unit numbers.
When using NT link (1:N), unit numbers are used to identify each of the multiple PTs connected to a single PLC port. Set a different unit number for each of the PTs connected to the port.
The unit numbers that can be set differ according to the type of host PLC as follows.
C200HE: Unit Nos. 0 to 3
C200HG, C200HX: Unit Nos. 0 to 7
Set the unit numbers by following the menu operation from the System Menu described below.
Select “Maintenance Mode”.
[ SYSTEM MENU ]
Quit
Transmit Mode
Maintenance Mode
[ MAINTENANCE MENU ]
Quit
PT Setting
I/O Check
Init. Memory
Memory Switch
DIP-SW Status
Select “Memory Switch”.
[ MEMORY SW MENU ]
(1/2) Quit
Comm. Type
NT Link 1:N
Key Sound
OFF
Page
Buzzer Sound
OFF
Bk light Off
Tool Mode
None
NT20S
WRT
&
EXIT
Press the “Comm Type” touch switch to select “NT link (1:N)”.
Select “Page”.
97
Setting the Conditions of Communications with the Host by Using the Memory Switches
Section 3-5
[ MEMORY SW MENU ]
(2/2)
Automatic Reset
No
Unit No.
Comm. Speed
7
Standard
Quit
Page
Comm. Port
Language
Port B
English
WRT
&
EXIT
Repeatedly pressing the
“Unit No.” touch switch cycles through the numbers that can be set.
To set and quit the menu, press the [WRT & EXIT] touch switch. To quit without setting, press [Quit]. The run mode will be established.
3-5-6 Selecting the Automatic Reset Function
The “Automatic Reset” memory switch is used to set whether or not the communications are automatically reset after the occurrence of a communications error.
The factory setting has been made at “No”.
Select the baud rate of the communications with the PLC by the menu operation from the System Menu as described below.
Select “Maintenance Mode”.
[ SYSTEM MENU ]
Quit
Transmit Mode
Maintenance Mode
[ MAINTENANCE MENU ]
Quit DIP-SW Status
PT Setting
I/O Check
Init. Memory
Memory Switch
Select “Memory Switch”.
[ MEMORY SW MENU ]
(1/2)
Comm. Type
Host Link
Key Sound
OFF
Quit
Page
Buzzer Sound
OFF
Bk light Off
Tool Mode
None
NT20S
WRT
&
EXIT
Select “Page”.
98
Setting the Conditions of Communications with the Host by Using the Memory Switches
Section 3-5
[ MEMORY SW MENU ]
(2/2)
Automatic Reset
No
Baud Rate
Comm. Port
9600bps
Port B
Quit
Page
Language
English
WRT
&
EXIT
Each time the “Automatic
Reset” touch switch is pressed, the setting option
“Yes” alternates with “No”.
To set and quit the menu, press the [WRT&EXIT] touch switch. To quit without setting, press [Quit].
• “No”: If a communications error has occurred, corresponding error message is displayed and the operation stops.
• “Yes”: If a communications error has occurred, corresponding error message will not be displayed and the operation will be automatically reset.
3-5-7 Setting RS–232C Communications Conditions (NT20-ST128)
When using an NT20-ST128 (using the RS-232C interface for communications with the host), set the following communications conditions.
• Data Bits
• Stop Bits
• Parity Check
• Flow Control
• Baud Rate
Set the same communications conditions at the host and the NT20. You are recommended to set the highest baud rate that can be used by the host and
NT20.
The factory settings are as follows:
• Data Bits 8 bits
• Stop Bits 2 bits
• Parity Check Even
• Flow Control None
• Baud Rate 9600 bps
Set the conditions of the communications with the Host by the menu operation from the System Menu as described below.
Select “Maintenance Mode”.
[SYSTEM MENU]
Quit
Transmit Mode
Maintenance Mode
99
Setting the Conditions of Communications with the Host by Using the Memory Switches
Section 3-5
[MAINTENANCE MENU]
Quit
DIP-SW Status
PT Setting
I/O Check
Init. Memory
Memory Switch
Select “Memory Switch”.
[MEMORY SW MENU]
(1/3)
Key Sound
ON
Buzzer Sound
ON
Bk light Off
10 min
Quit
Page
Tool Mode
Automatic Reset
NT20S
Yes
WRT
&
EXIT
[MEMORY SW MENU]
(2/3)
Data Bits
8 bits
Stop Bits
1 bit
Quit
Page
Parity Check
Flow Control
Baud Rate
Even
RS/CS
19200 bps
WRT
&
EXIT
[MEMORY SW MENU]
(3/3)
LMP Bit Control
Enable
Comm. Port
Port B
Language
English
Quit
Page
WRT
&
EXIT
The selected option displayed when the corresponding touch switch is pressed: the options for each switch are indicated below:
• Data Bits:
• Stop Bits:
7 bits/8 bits
1 bit/2 bits
• Parity Check: None/Even/Odd
100
Setting the Conditions of Communications with the Host by Using the Memory Switches
Note
Section 3-5
• Flow Control: None/RS/CS/XON/XOFF
• Baud Rate: 2400 bps/4800 bps/9600 bps/19200 bps
• LMP Bit Control: Enable/Disable
Use the same condition settings as set for the host. It is recommended that the highest baud rate possible is selected for both the host and the NT20.
For details on lamp bit control, refer to 3-8 Various System Settings on page page 106.
101