Omron NT Operation Manual
Omron NT Operation Manual

Omron NT Operation Manual

Rs-232c/rs422 interface unit

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NT and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Omron NT

  • Page 1 NT-series RS-232C/RS422 Interface Unit Operation Manual Produced October 1993...
  • Page 2 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”...
  • Page 5 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.
  • Page 6 -$   , $ #  !   $         3   # $!  $ *-     ! 4       ,#                                                              ...
  • Page 7 To ensure that the RS-232C/RS-422 Interface Unit works correctly, carefully ob- serve the following when positioning and handling it. Location Do not install the RS-232C/RS-422 Interface Unit in a location subject to the fol- lowing conditions: Dust, chemicals, or steam...
  • Page 8 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 Host I/F System Support Expansion I/O System Memory Board/ Unit tools Unit Key Unit Screen Memory...
  • Page 9: Table Of Contents

    [ESC] D 8-digit Write Numeral Table [ESC] / Copy Memory Table Lamp and Touch [ESC] K Lamp and Touch Switch Display (Bit Specification) S it h Di Switch Display [ESC] Q Lamp and Touch Switch Display (Address Specification) [ESC] R...
  • Page 10 The commands notify the host computer of operations at the PT. Terminal Commands Commands for use of the PT as a terminal for the host computer. The commands allow display of information from the host computer as text and graphics, inde- pendently of the screens stored in the PT.
  • Page 11 Section 1-3 Display history data by sequence or by frequency (from PT to host computer only) The online transfer commands allow batch data transfer which simplifies system modification and maintenance. Main applications: Partial screen modification Screen switching when setting up a production line...
  • Page 12 Section 1-3 RS-422 Interface Unit System Configuration Connect a single host computer to a maximum of 16 PTs when the RS-422 Inter- face Unit is used. Host computer: Personal computer or FA computer B500-AL004 Link Adaptor IBM PC/AT or NT-series...
  • Page 13 Section 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. Refer to the appropriate PT Manual Install the RS-232C/RS422 Interface Unit.
  • Page 14 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 This manual provides specifications, functions, and operating V001 Manual instructions for the NT20M and NT2000M Programmable Terminals.
  • Page 15 -$   , $&   $          $ *-  $ *-  $ $ !  !                                                             ...
  • Page 16 The methods of installing the RS-232C Interface Unit in the PT and setting the DIP switches are described below. 2-2-1 Installation Turn the cut-out in the RS-232C Interface Unit to the left and push the Unit in until a “click” is heard. In difficult-to-connect situations move the Unit when connecting the RS-232C Interface Unit.
  • Page 17 Installation in the NT600M NT600M Rear face Cut-out Removal from the NT600M Hold the RS-232C/RS-422 Interface Unit by the indentations at each side, press inwards and pull out the Unit. NT600M Rear face Rear face 2-2-2 RS-232C Interface Unit Switch Settings Set the communication conditions with the RS-232C Interface Unit DIP switches (SW4).
  • Page 18 SW4-9: ON 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 8 data bits, No parity, 2 stop bits...
  • Page 19 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. Host Connections Connect a PT with an RS-232C Interface Unit installed to the host computer with an RS-232C cable.
  • Page 20 PT to host computer. Refer to Appendix C Connections Using Dif- 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.
  • Page 21          ...
  • Page 22 Section 3-2 Components Before explaining how to connect the RS-422 Interface Unit to the PT, the names and functions of the RS-422 Interface Unit Components are described. Description of Components The names and functions of the components of the RS-422 Interface Unit are shown in the diagram below.
  • Page 23 SW4 and the Units digit on switch SW5. The terminal numbers are set independently of the order in which the PTs were connected. The numbers do not have to begin from 0 and do not have to be consecutive.
  • Page 24 10 x 10 x 10 The settings of the PT DIP switches should be identical to those on the RS-232C Interface Unit. Refer to 2-2-3 PT Unit DIP Switch Settings . Host Connections Connect a PT with a RS-422 Interface Unit installed to the hostr with an RS-422 cable.
  • Page 25 3-3-3 Precautions Connecting the Shielding Connect the FG (Pin #7) at one end only to prevent current flowing in the shield- Wire to FG ing wire, as described below. Connecting the Link Adaptor and the PT Connect the shielding wire to FG at the Link Adaptor end of the cable only.
  • Page 26 Section 3-3 Connection Using RS-232C In addition to RS-422 the following two other connection methods are available or Optical-fiber Cable to connect the PT to host computer. Connection through a B500-AL004(-P) Link Adaptor allows connection to the RS-232C connector of a host computer.
  • Page 27 -$   ,            !     $&   $                                                   ...
  • Page 28 LINE INPUT # command CLOSE command Close circuit After a circuit has been opened, it can be used until it is closed again. OPEN Opens the RS-232C circuit. The host computer communication conditions are also set. Refer to 2-3-1 Setting the Host Computer Communication Conditions .
  • Page 29 The polling command must be used before commencing communication even when only a single PT is connected to the host computer. When a PT is polled after a long time, the notify data stored up to that time is sent continuously.
  • Page 30 Send notification command 4-3-2 Terminal Commands The terminal commands allow the PT to be used as a terminal of the host com- puter to display text and graphics independently of the screens stored in the PT. The host computer sends a command and the PT processes the message. The PT does not send back a response to the host computer.
  • Page 31 All display history data stored in the PT in displayed sequence ( PT host computer) quence) Display history data (by fre- All display history data stored in the PT in order of frequency ( PT host computer) quency) Note It is not possible to transfer character-string memory table data and numeral table data independently.
  • Page 32 Received normally response [ESC] y End Transfer command Receive Transfer ended notification Display History Data (By Transfers the screen data one screen at a time in the order they were displayed Sequence) (PT Host on the PT. Computer) Host computer...
  • Page 33 Checksum Calculation The checksum is the two’s compliment (2-digit hexadecimal) of the sum of the code from the [ESC] code (1BH) at the start of the command up to the checksum at the end of the command. Example In the case where screen #762 (hexadecimal: 02FAH) is specified with the Screen# Specify Transfer command [ESC] s.
  • Page 35: Request Screen Number

    NT600M: 0000: No display 0001 to 03E8 : Screen #1 to #1000 Description The specified screen is displayed on the PT when a screen# is sent from the host computer with this command. 5-1-2 Request Screen Number Format [ESC] Description Enquires what number screen is displayed on the PT.
  • Page 36: Digit Write Numeral Table

    If the actual character string is longer than the specified character string length, the specified number of characters is written and the remainder are discarded. A timeout error message is displayed if the actual character string is shorter than the specified character string length.
  • Page 37: Lamp And Touch Switch Display (Address Specification)

    Description Copies the contents of the copy source memory table to the copy destination memory table. The memory table contents are copied to a memory table of the same type: character-string memory table to character-string memory table or numeral table to numeral table.
  • Page 38: Lamp And Touch Switch Display Status Enquiry

    Changes the lamp or touch switch lighting status. Specify the display status as 3 (all not lit) to turn off all the lamps and touch switches. In this case, specify the lamp or touch switch number to any number in the permitted range.
  • Page 39: Backlight Color Switching (Nt20M, Nt2000M)

    Controls the PT buzzer. Comment The buzzer turned on with this command can be stopped with a stop command, by pressing the PT Buzzer Key, or by displaying a screen with no buzzer attrib- utes. 5-1-15 Mode Switch Enable Format...
  • Page 40: Pt Battery Status Enquiry

    When mode switching is disabled, the System Menu can be displayed but the mode cannot be switched from it. The DIP switch (SW1-6) settings are valid after the PT is turned on or reset. 5-1-16 PT Battery Status Enquiry Format...
  • Page 41: Screen Number Response

    ) or -- (2D ) sign : Input number data (4-digit BCD) Description A number with 4 transferred digits set with the PT number setting function is re- ported to the host computer with this command. 5-2-3 8-digit Number Input Notify Format...
  • Page 42: Function Key Number Output

    12-key Function Key Unit: 0 to 11 Comment If more than one of the Unit input terminals is turned ON, the number of the first terminal to turn ON is notified. Function keys allocated as keys on a numeric keypad are not notified when they are pressed for number setting.
  • Page 43: Touch Switch Bit Output

    = 600000A0 Description This command is used by the DF type PTs and some DN type PTs. If the Screen Attribute (bit input/function key) screen is displayed, the change in the bit status corresponding to a pressed function key or the change of status of an input ter- minal is reported to the host computer with this command.
  • Page 44: Pt Battery Status Response

    Lamp and Touch Switch Display Status Enquiry Command (see 5-1-9 ) sent from the host computer. Caution Lamps 0 to 31 are reported as being lit when in the “flashing inverse” status. 5-2-9 PT Battery Status Response Format...
  • Page 46 [ESC] & Description Clears all text and graphics on the PT screen. Comment After the display of number, text, lamps or touch switches is upgraded, only the upgraded parts are re-displayed. 6-1-2 Character Specify Size Format [ESC] : Character size...
  • Page 47 6 (36 ): 8 x 8 times enlargement (NT600M) Description All text and marks sent after this command are displayed in the specified size. Comment The character string is specified with the Specify Displayed Characters Com- mand(refer to 6-1-10 Specify Displayed Characters ).
  • Page 48 Comment The cursor position set with this command is also the bottom-left point of the first character displayed if the displayed characters are enlarged. 6-1-10 Specify Displayed Characters...
  • Page 49 Comment The character string continues on the next line if it cannot fit into a single line. Set the position where the character string is displayed with the Set Cursor Posi- tion Command (refer to 6-1-9 Set Cursor Position ).
  • Page 51 (Online Transfer mode). Caution An error occurs if the PT receives no further command within 5 seconds of re- ceiving this command. An error message is displayed on the screen and the buzzer sounds. Refer to the PT manual for details.
  • Page 52 : Checksum (2-digit hexadecimal) Description The host computer specifies the type of data to be sent from the PT with this command. After this command is executed, the PT returns the type of data to the host computer with the Transfer Non-screen Data Notify Command (refer to 7-3-2 Transfer Non-screen Data Notify ) before sending the data with the Trans- fer Data Command (refer to 7-4-1 Transfer Data ).
  • Page 53 A maximum of 124 bytes can be transferred by this command. Execute this com- mand repeatedly to transfer data exceeding 124 bytes in length. Data must be transferred in a format as an even number of bytes. Divide data longer than 124 bytes into packets containing even numbers of bytes.
  • Page 54 : Checksum (2-digit hexadecimal) Description Notifies that an error occurred during data transmission. Caution If the number of data bits is set to 7 bits, error codes F0 to F9 sent from the PT are received by the host computer as 70 to 79 .
  • Page 56 If this occurs, send an enquiry command to read all the accumulated receive data. 4. When a parameter is input, no check is made that the parameter is in the permitted range. Make sure that parameters are input within the permitted...
  • Page 57 Set display character strings > Set receive interrupt routine Open communication port > Main Menu > > > Sub-menu > > > Branch according to command (parameter input) > > > > > > > > > > > >...
  • Page 58 > > Confirm transmission > > > > > > > > > Send command Press ESC Key > > > > Return to Sub-menu > End routine Close communication port > Send command routine > Receive interrupt routine >...
  • Page 59 Input function key number > > > Notify touch switch (bit) > Pressed touch switch number > > > Notify lamp and touch switch status > Lamp/touch switch number INVERSE Display status > > Notify internal status > Voltage OK...
  • Page 60 Function key/touch switch   $ + ,  Function key only   $ + ,  Touch switch only   $ +) ,,  " ./,, $ ./,, $ ./,, !  (     6   )  *   >...
  • Page 61 Section 8-2 > Display lamps and touch switches (number) Display setting Inverse flashing (lamps only) All ON Lamp/touch switch number > Display lamps and touch switches (bits) > Input # Inverse Input Run input 99: Execute > Lamp/touch switch number >...
  • Page 62 Section 8-2 Alarm output OFF Alarm output ON > Initialize display history > Enquire PT status > Display mode Controlled item Normal display Inverse display > Permit mode switching Controlled item Enable Disable > Display screen Controlled item Display No display >...
  • Page 63 Section 8-2 > > > > >...
  • Page 64 -$   , $        !,#   /     &$ $ *&  -  )                                 ...
  • Page 65 Note A communication error message is displayed and a buzzer sounds if the PT DIP switch (SW1-1) is set off (no automatic reset after communication error). Press the PT Buzzer Key or PT Enter Key to return to the Run mode before correcting the cause of the error.
  • Page 66 Section 9-2 During online transfer command execution, the following error codes may be no- tified with the Not-Acknowledged Command. Error code Cause Remedy F0H (memory full) Insufficient memory during host computer to Replace the screen data memory with one of PT transfer of screen data.
  • Page 67 XON/XOFF control None Connectors 25-pin D-SUB female Optical connection compatible No. of Units 1-to-1 Transmission distance Max. 15 m (up to 500 m using optical-fiber cable) RS-422 Interface Unit Item Specification Communication standard EIA RS-422 Communication settings Start-stop synchronization Baud rate: 300, 600, 1200, 4800, 9600, 19200 bps...
  • Page 68 RS-232C and RS-422 Connector Cables Preparing RS-232C Connector Cables Prepare a connector cable to connect a PT to a host computer separated by more than 2 m so that the supplied connector cable (XZ7-10048) cannot be used. The maximum cable length is 15 m.
  • Page 69 Appendix B Preparing RS-422 Connector Cables Prepare a connector cable to connect a PT to a host computer separated by more than 15 m. The maximum cable length is 500 m. Recommended Parts Name Model Remarks Connector (RS-422 XM2A-0901 9-pin, manufactured by OMRON. Supplied with RS-422 Interface Interface Unit end) Unit.
  • Page 70 Connections Using Different Cable Types The Link Adaptor allows an RS-232C cable to be connected to an RS-422 or an optical fiber cable. The connecting cable wiring to the pins depends on the specification of the host computer connector. Check the specification of the host computer connector before wiring according to the Link Adaptor connector specification.
  • Page 71 The transmission distance depends on the type of cable and the type of Link Adaptor. Optical-fiber cable B500-AL004-P B500-AL004 20 m No connection H-PCF 100 m 200 m 200 m 800 m Refer to the optical fiber and Link Adaptor manuals for information on the optical-fiber cable specifications.
  • Page 72 Special Characters English Character Codes Pin 3 of SW1 must be ON to enable English language messages to use the following codes. Example: Hex code is represented by 30, decimal code by 48, and character by 0. Code 20 and 32 in the table represents a space, as indicated by “SP”.
  • Page 73 Appendix D Hex Digits á í ó ú ñ Ñ ¿ ¡ « »...
  • Page 74 Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. V016-E1-1 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.

This manual is also suitable for:

Rs-232c - 10-1993Rs422 - 10-1993Nt series

Table of Contents