Omron NT User manual

NT-series
RS-232C/RS422 Interface Unit
Operation Manual
Produced October 1993

Notice:
OMRON products are manufactured for use according to proper procedures by a qualified operator
and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed
the information provided with them. Failure to head precautions can result in injury to people or dam-
age to the product.
DANGER! Indicates informationthat,ifnotheeded,islikelytoresult inlossof lifeor serious
injury.
WARNING Indicates information that, if not heeded, could possibly result in loss of life or
serious injury.
Caution Indicatesinformationthat,ifnotheeded,could resultinrelativeseriousorminor
injury, damage to the product, or faulty operation.
OMRON Product References
All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers
to an OMRON product, regardless of whether or not it appears in the proper name of the product.
The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means
“word” and is abbreviated “Wd” in documentation in this sense.
The abbreviation “PC” means Programmable Controller and is not used as an abbreviation for any-
thing else.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of
information.
Note Indicatesinformationof particular interestfor efficientandconvenientoperation
of the product.
1, 2, 3...
1. Indicates lists of one sort or another, such as procedures, checklists, etc.
OMRON, 1993
!

! "
!
!
## $
%
" ! #
! "
&$ "
% '
$
(#& # )
* +
%
$" &&!
, $ % !
, $ *- "
'
& &&!
-#
#
&&! (
. / # - '
. - *- % ! '
. ) $ 0 -!
. - 0 ) #
. 0!# % 0
)
&$ * "& %%
" 1 *
" * .
(
+,- " '%
+ / &$ $ *& - )
+ -,#$ /

$$!
2 ! +
,# .
0 ,# -! .
0 !# $ .
. / ##

0
About this Manual:
ThismanualdescribestheinstallationandoperationoftheNT-series RS-232C/RS422InterfaceUnitand
includes the sections described below.
Pleasereadthismanualcarefullyandbesureyouunderstandtheinformationprovidedbeforeattempting
to install and operate the NT-series RS-232C/RS422 Interface Unit.
Section 1
describes the role and operation of the RS232C/RS422 Interface Unit, and its relationship to
the PT features and provides a command reference table.
Section 2
describes how to connect the RS-232C Interface Unit to the PT and the PT to the host com-
puter.
Section3
describeshowtosettheRS-422InterfaceUnitandhowtoconnectthePTtothehostcomputer.
Installation of the RS-422 Interface Unit in the PT and the PT DIP switch settings are identical to the
RS-232C Interface Unit.
Section 4
describes RS-232C/RS-422 Interface Unit communication procedures and how to use the
commands.
Section 5
describes the functions of the operating commands and howto use them. The operating com-
mands allows control of the PT by the host computer and notification of PT operations to the host com-
puter.
Section 6
describes the functions of the terminal commands and how to use them. Terminal commands
allowthedisplayofinformationfromthehostcomputerastextandgraphics,independentlyofthescreens
stored in the PT.
Section 7
describes the functions of the online transfer commands to transfer screen and memory table
data between the host computer and PT. The commands cannot be used with PTs fitted with an EPROM
or EEPROM image memory.
Section 8
provides some sample programs using the Transfer commands. Refer to these sample pro-
grams for actual information on using the commands.
Section 9
describes the cause of errors and possible remedies.
Thismanualalsocontainsfour
Appendices
whichprovideinformationoncommunicationspecifications,
preparing RS-232C/RS422 Connector Cables, and connections using different cable types.
WARNING Failure to read and understand the information provided in this manual may result in
personal injury or death, damage to the product, or product failure. Please read each
section inits entirety andbesure youunderstand theinformation providedinthe section
and related sections before attempting any of the procedures or operations given.

-$, $ #! $ 3 #$! $*-
!4 ,#
! "

1-1 Getting Started
ToensurethattheRS-232C/RS-422InterfaceUnitworkscorrectly,carefullyob-
serve the following when positioning and handling it.
Location Donotinstallthe RS-232C/RS-422 Interface Unitinalocation subjectto thefol-
lowing conditions:
•Dust, chemicals, or steam
•Severe temperature fluctuations
•High humidity and condensation
•Direct sunlight
•Strong electrical or magnetic fields
•Poor ventilation
•Severe vibration
Do not:
•Subject the Unit to strong shocks or vibrations
•Position the Unit’s PCB downward
•Touch the Unit’s PCB
•Put heavy objects on the unit
•Supply a voltage different from the specified voltage
To ensure that the RS-232C/422 Interface Unit works correctly, carefully follow
the advice below on positioning and handling the unit.
Handling
Section 1-1

System Configuration The equipment and parts required to configure the system to use the
RS-232C/RS-422 Interface Unit are shown below.
Programmable Terminal Screen-data
Memory Board/
Screen Memory
Host I/F
Unit System
ROM Support
tools Expansion I/O
Unit System
Key Unit
NT20M/
NT2000M Monochrome LCD:
NT20M-DT121-V2
Touch-panel Model
Screen Memory
SRAM/32 KB:
RAM22-15
RS-232C
I/F Unit
NT600M-
L
K
2
0
1
NT20M-
SMR01-
E
NT20M-
ZASAT-
EV4:
3
5
i
h
For connection
to a without
touch-panel
d
l
NT-FK200
for con-
nection to
N
T
2
0
0
0
M
T
o
u
c
h
-
a
n
e
l
M
o
d
e
l
NT20M-DN121-V2
Without Touch-
panel Model
R
A
M
2
2
-
1
5
SRAM/128 KB:
RAM13-10
EPROM/64 KB:
R
O
M
K
D
B
LK201
RS-422
I/F Unit
N
T
6
0
0
M
3.5-inch
(2DD) and
5.25-inch
(
2HD
)
model
NT20M-FK210
12-key Function
K
e
y
U
n
i
t
NT2000M
Backlit replaceable:
NT20M-DT131
Touch-panel Model
ROM-KD-B
EPROM/128 KB:
ROM13-12B
EEPROM/32 KB:
NT600M-
LK202
(
2
H
D
)
disks Key Unit
T
o
u
c
h
-
a
n
e
l
M
o
d
e
l
NT20M-DN131
Without Touch-
panel Model
E
E
P
R
O
M
/
3
2
K
B
:
EER22-20
Large size:
NT2000M-
DT131/DN131 With-
out Touch-panel
Model
NT600M Monochrome LCD:
NT600M-DT122
Touch-panel Model
NT600M-DF122
Function Key Model
Screen-data
Memory Board
IC socket type:
NT600M-MP251
64K-byte SRAM:
NT600M-MR641
128K-byte
S
R
A
M
:
NT600M-
SMR01-
EV1
For connection
to a without
touch-panel
model
NT600M-FK210
12-key Function
Key Unit
---
S
R
A
M
:
NT600M-MR151
256K-byte
SRAM:
NT600M-MR251
Screen Memory
The screen
memory chip
EL display:
NT600M-DT211
Touch-panel Model
NT600M-DN211
Without Touch-
m
e
m
o
r
y
c
h
i
must be inserted
in the IC socket.
Screen data is
written with a
PROM writer.
E
P
R
O
M
/
6
4
K
B
:
W
i
t
h
o
u
t
T
o
u
c
h
panel Model EPROM/64 KB:
ROM-KD-B
EPROM/128 KB:
ROM13-12B
EEPROM/32 KB:
EER22-20
Section 1-1

Table of Commands
Polling Commands
Type Command Name Page
Polling [ESC] @ Start Polling (RS-422 I/F Unit Read) 25
g
[ESC] A End Polling (RS-422 I/F Unit Read) 25
Operating Commands
Type Command Name Page
Screen control [ESC] 0 Display Specified Screen 32
[ESC] X Request Screen Number 32
Memory table op-
t
i
[ESC] B Write Character-string Memory Table 32
y
eration [ESC] C 4-digit Write Numeral Table 33
[ESC] D 8-digit Write Numeral Table 33
[ESC] / Copy Memory Table 33
Lamp and Touch
S
i
t
h
D
i
l
[ESC] K Lamp and Touch Switch Display (Bit Specification) 34
Switch Display [ESC] Q Lamp and Touch Switch Display (Address Specification) 34
[ESC] R Lamp and Touch Switch Display Status Enquiry 35
Touch Switch and
F
t
i
K
I
t
[ESC] U Touch Switch and Function Key Disable 35
Function Key Input [ESC] V Touch Switch and Function Key Enable 35
System Control [ESC] O Backlight Color Switching (NT20M, NT2000M) 36
y
[ESC] P Screen Display Control 36
[ESC] T Buzzer Control 36
[ESC] W Mode Switch Enable 36
[ESC] Z PT Battery Status Enquiry 37
[ESC] ] Initialize Display History 37
[ESC] ^ Alarm Output Control 37
[ESC] _ Display Mode Control (NT600M-D
"
122 Read) 37
Notification [ESC] Y Screen Number Response 38
[ESC] E 4-digit Number Input Notify 38
[ESC] F 8-digit Number Input Notify 38
[ESC] G Function Key Number Output 39
[ESC] H Touch Switch Number Output 39
[ESC] I Function Key Bit Output 39
[ESC] J Touch Switch Bit Output 40
[ESC] S Lamp/Touch Switch Display Status Response 40
[ESC] [ PT Battery Status Response 41
Section 1-1

%
Terminal Commands
Type Command Name Page
Delete [ESC] & Clear Screen 44
Character Size [ESC] ) Character Specify Size 44
[ESC]
#
Specify Character Enlargement 44
Character Display
A
t
t
i
b
t
[ESC] ! Normal Display 45
y
Attributes [ESC] ” Set Inverse Display 45
[ESC] # End Inverse Display 45
[ESC] $ Set Flashing Display 45
[ESC] % End Flashing Display 46
Character String
D
i
l
[ESC] + Set Cursor Position 46
g
Display [ESC] 4 Specify Displayed Characters 46
Graphic Display [ESC] 7 Draw Polyline 47
y
[ESC] 8 Draw Circle 47
Online Transfer Commands
Type Command Name Page
Start/Stop Online
T
f
[ESC] x Online Transfer Start 50
Transfer [ESC] y Online Transfer End 50
Set Transfer from
P
T
t
o
H
o
s
t
C
o
m
p
u
t
-
[ESC] s Specify Transfer Screen Number (Host Computer to PT) 50
P
T
t
o
H
os
t
C
ompu
t
-
er [ESC] u Specify Transfer Non-screen Data (Host Computer to PT) 51
Data Type Notifica-
t
i
[ESC] r Transfer Screen Number Notify (PT to Host Computer) 51
y
tion [ESC] t Transfer Non-screen Data Notify (PT to Host Computer) 52
Data Transfer and
R
l
t
N
t
i
f
i
t
i
[ESC] z Transfer Data 52
Result Notification [ESC] } Acknowledged 52
[ESC] ~ Not-acknowledged 53
Note The commands are only applicable to NT20M or NT600M PTs fitted with SRAM
memory.
1-2 RS-232C/RS-422 Interface Unit
The RS-232C/RS-422 Interface Unit supports three command types for control
of the PT by the host computer.
Operating Commands Commands for control of the PT display, status, and notification during run op-
eration. The commands write screen displays and data, and make enquiries.
The commands notify the host computer of operations at the PT.
Terminal Commands CommandsforuseofthePTasaterminalforthehostcomputer.Thecommands
allow display of information from the host computer as text and graphics, inde-
pendently of the screens stored in the PT. The commands are used to handle
unforeseen events.
Online Transfer Commands Commandsfortransferofscreenandmemorytabledatabetweenthehostcom-
puter and PT.
Types of data transferred:
•Screen data (1 screen/all screens)
•System memory
•Memory table data
•Mark data
Section 1-2

'
•Display history data by sequence or by frequency (from PT to host computer
only)
Theonlinetransfercommandsallowbatchdatatransferwhichsimplifiessystem
modification and maintenance.
Main applications:
•Partial screen modification
•Screen switching when setting up a production line
•Data backup
1-3 System Configuration
ThesystemconfigurationusingtheRS-232CInterfaceUnitortheRS-422Inter-
face Unit is shown below.
PT The PT displays monitored data from the production line and instructions to the
factory workers. It notifiesthe host computerof switch ON/OFF settings and nu-
meric inputs.
Host Computer Controls the PT display and status. Processes data notified by the PT.
Support Tool Creates the screens for display by the PT.
RS-232C Interface Unit System Configuration
Create a one-to-one connection between the host computer and PT when the
RS-232C Interface Unit is used.
Host computer: Personal computer or FA computer
RS-232C cable
(max. 15 m)
RS-232C
Interface
Unit
IBM PC/AT or
compatible NT-series
Support Tool
RS-232C cable
Section 1-3

#
RS-422 Interface Unit System Configuration
Connectasinglehostcomputertoamaximumof16PTswhentheRS-422Inter-
face Unit is used.
PT
PT
B500-AL004
Link Adaptor
RS-422 cable
B500-AL001
Link Adaptor
RS-422
Interface Unit
B500-AL001
Link Adaptor
RS-422
Interface Unit
IBM PC/AT or
compatible
RS-232C cable
NT-series
Support Tool
Host computer: Personal computer or FA computer
Section 1-3

)
1-4 Before Operating
Follow the procedure indicated below before operating a PT with
RS-232C/RS-422 Interface Unit installed.
Support Tool
Check the PT power supply and
ground cable connections.
Install the RS-232C/RS422
Interface Unit.
Check settings and communica-
tions.
Create the host computer pro-
gram.
Check and set the PT and
RS-232C/RS422 Interface Unit.
Connection to the host computer.
Transfer screen data
Create screens with the Support
Tool
Check and change the host
computer connections.
Trial operation
Refer to the NT-series
Support Tool Manual.
Refer to the appropriate
PT Manual
PTPC
Refer to the appropriate
Host Computer Manual
Refer to the appropriate
Host Computer Manual
Refer to the appropriate
PT Manual
Refer to page 15.
Refer to page 13.
Refer to page 12.
Section 1-4

(
Reference Manuals The NT20M/NT2000M Series and NT600M Series are covered in the six
manuals described below.
Name of Manual Contents Manual No.
NT20M/NT2000M Operation
Manual This manual provides specifications, functions, and operating
instructions for the NT20M and NT2000M Programmable Terminals. V001
NT600M Operation Manual This manual provides specifications, functions, and operating
instructions for NT600M Programmable Terminals. V002
NT-series Host Interface Unit
Operation Manual This manual covers the commands, controls, and communications
specifications for operating the NT20M and the NT600M. Refer to
this manual when programming host computer communications.
V003
NT20M/NT600M Support Tool
Operation Manual This manual covers methods for creating screens, including screen
data preparation, switches, lights, and alarms. V004
NT-series Host Interface Unit
Direct Connection Operation
Manual
This manual covers the Direct Connection feature which has been
added to the Host Interface Unit. V015
NT-series RS-232C/RS-422
Interface Unit Operation Manual This manual covers the commands, controls, and communications
specifications for operating the NT20M and the NT600M with the
RS-232C/RS-422 Interface Unit. Refer to this manual when
programming host computer communications.
V016
Section 1-4

!
-$ , $& $ $ *- $ *- $ $ !
!
## $
##
&$
*- &$
%
% !
* 2

2-1 Components
Before explaining how to connect the RS-232C Interface Unit to the PT, the
names and functions of the RS-232C Interface Unit components aredescribed.
Description of Components
The names and functions of the components of the RS-232C Interface Unit are
shown in the diagram below.
NT600M-LK201 RS-232C Interface Unit
Host Interface RS-232C Connector:
Connector for connection to the host computer.
RS-232C Interface Unit
front face
Switch cover:
Open this cover to reveal the DIP switches
(SW4) which set the basic operation of the
RS-232C Interface Unit.
RS-232C Interface Unit rear
face
Unit connector for
connection to the PT.
2-2 Installing the RS-232C Interface Unit
The methods of installing the RS-232C Interface Unit in the PT and setting the
DIP switches are described below.
2-2-1 Installation
Turnthecut-outintheRS-232CInterfaceUnittotheleftandpushtheUnitinuntil
a “click” is heard.
In difficult-to-connect situations move the Unit when connecting the RS-232C
Interface Unit.
Note Turn off the PT power supply when installing or removing the RS-232C/RS-422
Interface Unit.
Section 2-2

Installation in the NT600M
NT600M
Cut-out
Rear face
Removal from the NT600M HoldtheRS-232C/RS-422InterfaceUnitby theindentationsateachside,press
inwards and pull out the Unit.
Rear face
NT600M
Rear face
2-2-2 RS-232C Interface Unit Switch Settings
SetthecommunicationconditionswiththeRS-232CInterfaceUnitDIPswitches
(SW4).
Switch cover The DIP switches are under
the switch cover on the front
of the Interface Unit.
1234567890
SW4-1 Data Bits Data bits (see note following the switch settings)
ON:8bits,OFF:7bits
SW4-2 Stop Bits Stop bits (see note following the switch settings)
ON: 1 bit, OFF: 2 bits
SW4-3/4 Parity Check Also see note following the switch settings.
None Even Odd
SW4-3: ON
SW4-4: ON SW4-3: OFF
SW4-4: ON SW4-3: OFF
SW4-4: OFF
SW4-5/6 Flow Control
None RS/CS control XON/XOFF control
SW4-5: ON
SW4-6: OFF SW4-5: OFF
SW4-6: ON SW4-5: OFF
SW4-6: OFF
Section 2-2

SW4-7/8/9 Baud Rate Sets the PT Baud Rate
Setto themaximumbaudratesupportedbyboth thePTand thehostcomputer.
However, the baud rate must be set to the same value on both devices.
19,200 bps 9,600 bps 4,800 bps 2,400 bps 1,200 bps 600 bps 300 bps
SW4-7: ON
SW4-8: ON
SW4-9: OFF
SW4-7: ON
SW4-8: OFF
SW4-9: ON
SW4-7: ON
SW4-8: OFF
SW4-9: OFF
SW4-7: OFF
SW4-8: ON
SW4-9: ON
SW4-7: OFF
SW4-8: ON
SW4-9: OFF
SW4-7: OFF
SW4-8: OFF
SW4-9: ON
SW4-7: OFF
SW4-8: OFF
SW4-9: OFF
SW4-10 Not Used
Note Set the data, stop, parity, flow control, and baud rate bits to match one of the
combinations as shown in the following.
7 data bits, Even parity, 2 stop bits 8databits,Noparity,2stopbits
7 data bits, Odd parity, 2 stop bits 8databits,Noparity,1stopbit
7 data bits, Even parity, 1 stop bit 8 data bits, Even parity, 1 stop bit
7 data bits, Odd parity, 1 stop bit 8 data bits, Odd parity, 1 stop bit
Caution Turn off the power supply before setting the DIP switches.
2-2-3 PT Switch Settings
NT20M
Switch cover
Rear face
Rear face
NT600M
TheDIPswitches are undertheswitch
cover on the rear of the PT.
12345678
NT2000M
Switch cover
Switch cover
SW1-1 Automatic release after communication error.
ON: No automatic release
OFF: Automatic release
SW1-2 Enable/Disable host RUN
ON: Disable
OFF: Enable
SW1-3 Reserved for system use. Always set ON.
SW1-4/5 Not used
SW1-6 Mode change Enable/Disable (NT20M/NT2000M/NT600M)
ON: Enable
OFF: Disable
Section 2-2

%
SW1-7 Not used
SW1-8 Communication specification setting
Always set OFF when the RS-232C Interface Unit is installed.
Note Turn off the power supply before setting the DIP switches.
SW1-8 can be set ON or OFF when the RS-422 Interface Unit is installed.
2-3 Host Connections
ConnectaPTwithanRS-232CInterfaceUnitinstalledtothehostcomputerwith
an RS-232C cable.
RS-232C connection allows a single PT to be connected to the host.
Acomputerorothercontroldevicewithabuilt-inRS-232Cinterfaceisasuitable
host for connection to the PT.
2-3-1 Host Computer Communication Settings
Set the host communication conditions according to the following table.
Item Setting
Baud rate Set to the same baud rate as the PT: 300, 600, 1200, 2400,
4800, 9600, 19200
Data bits 7bits/8bits
Stop bits 1 bit/2 bits
Parity Even, Odd, None
Flow control RS/CS control
XON/XOFF control
None
Note Set the same communication conditions at the PT and host computer.
Refer to the appropriate instruction manuals for the method of setting the host
computer communication conditions.
Set to the maximum baud rate supported by both the PT and host computer.
2-3-2 Connector Pin Arrangement
The RS-232C connection between the PT and host computer is described be-
low.
The connector and cable specifications are described below.
Electrical characteristics: Conforms to EIA RS-232C specifications.
Signal direction: Signal input and output are relative to the host computer.
14
1
13 25
RS-232C Interface Unit
Section 2-3

'
Connec-
t
i
#
Signal name Abbrevi-
t
i
Signal direction
tor pin #
g
ation Input Output
1Frame ground FG --- ---
2Send data SD (TXD) --- Yes
3Receive data RD (RXD) Yes ---
4Request to send RS (RTS) --- Yes
5Clear to send CS (CTS) Yes ---
7Signal ground SG (GND) --- ---
14 Optical connector +5V +5 V --- ---
Note 1. FG is not connected internally in the PT.
2. Unlisted pins are not used.
Refer to
Appendix B RS-232C/RS-422 Connector Cables
for details on cable
parts and wiring connections.
Connecting to the Host Computer
NT600M
25-pin connector
RS-232C Interface Unit
Host Interface
connector (RS-232C,
25-pin type)
PT
rear face
25-pin
connector
RS-232C cable
Note Turn off the PT power supply when connecting or disconnecting connectors.
InadditiontoRS-232Cthefollowingtwootherconnectionmethodsareavailable
toconnectthePTtohostcomputer.Referto
AppendixCConnectionsUsingDif-
ferent Cable Types
for more information on these connection methods.
RS-422
Use RS-422 connections if the PT is more than 15 m from the host computer.
Communication is possible up to 500 m through a multicore shielded cable.
Optical-fiber
Optical-fiber cable connections are used in situations where unstable commu-
nication occurs because of noise problems. Communication is possible up to
500 m through optical-fiber cable.
Connection Using RS-422
or Optical-fiber Cable
Section 2-3
This manual suits for next models
3
Table of contents
Other Omron Recording Equipment manuals

Omron
Omron CQM1-ARM21 User manual

Omron
Omron Q2A-A Series Installation instructions

Omron
Omron SCARA Robots YRCX Series User manual

Omron
Omron IC-3USB User manual

Omron
Omron SYSMAC NX-CIF Series User manual

Omron
Omron IC-3USB User manual

Omron
Omron NT-DRT21 User manual

Omron
Omron NT - 10-1993 User manual

Omron
Omron CJ1W-CTS21-E User manual

Omron
Omron ZFX-XEQ01 User manual