Omron NS10-TV Series Programming Manual

Omron NS10-TV Series Programming Manual

Ns-series programmable terminals
Hide thumbs Also See for NS10-TV Series:
Table of Contents

Advertisement

Cat. No. V073-E1-14
NS-Series
NS15-TX_, NS12-TS_, NS10-TV_,
NS8-TV_,
NS5-SQ_, NS5-TQ_, NS5-MQ_
Programmable Terminals
PROGRAMMING MANUAL

Advertisement

Table of Contents
loading

Summary of Contents for Omron NS10-TV Series

  • Page 1 Cat. No. V073-E1-14 NS-Series NS15-TX_, NS12-TS_, NS10-TV_, NS8-TV_, NS5-SQ_, NS5-TQ_, NS5-MQ_ Programmable Terminals PROGRAMMING MANUAL...
  • Page 3 OMRON, 2002 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.
  • Page 4 The following notation is used in this manual. Note Indicates additional information on operation, descriptions, or settings. ♦ Precautions for Correct Use Precautions for correct use describe items that are essential for functionality and performance when using the product, and operating methods for maintaining reliability.
  • Page 5 PLC. Communications Board Indicates a Communications Board for an OMRON C200HX/HG/HE-E/-ZE PLC. CPU Unit Indicates a CPU Unit in the OMRON SYSMAC CS/CJ, C, or CVM1/CV Series of Programmable Controllers. CX-Designer Indicates the OMRON CX-Designer (NS-CXDC1-V@). Host Indicates the PLC, FA computer, or personal computer functioning as the con- trol device and interfaced with the NS-series PT.
  • Page 6 Preliminary Material Related Manuals NS Series Programming Manual Related Manuals The following manuals are used for NS-series PTs. (The boxes at the end of the catalog numbers in- dicate the revision code.) Confirming Screen Configurations, Object Functions, and Host Communica- tions •...
  • Page 7: Table Of Contents

    ..............................P-1 Notation and Terminology............................P-2 Related Manuals ..............................P-4 Section 1 Overview 1-1 NS-series PT Operation ..........................1-1 1-1-1 How NS-series PTs Work at FA Production Sites ................1-1 1-1-2 NS-series PT Operation ........................1-2 1-2 NS-series PT Functions ..........................1-4 1-2-1 NS-series PT Functions........................1-4 1-2-2 Differences between Models......................1-7...
  • Page 8 2-10 Lamps ..............................2-153 2-10-1 Bit Lamps ............................2-153 2-10-2 Word Lamps ..........................2-157 2-11 Multifunction Objects..........................2-161 2-11-1 Functions That Can Be Executed Using Multifunction Objects ..........2-163 2-11-2 Execution Conditions for Multifunction Objects.................2-164 2-11-3 Safety Functions ..........................2-165 2-11-4 Writing and Reading Communications Addresses...............2-167 2-11-5 Canceling Multifunction Object Processing ................2-168...
  • Page 9 2-14 Alarms and Events...........................2-298 2-14-1 Outline............................2-298 2-14-2 Alarm/Event Display Objects......................2-309 2-14-3 Alarm/Event Summary and History ....................2-314 2-14-4 Searching for Alarms and Events Using the Ladder Monitor............2-322 2-15 Data Logs..............................2-327 2-15-1 Outline............................2-327 2-15-2 Data Log Graphs .........................2-336 2-15-3 Example Setting Procedure ......................2-347 2-16 Broken-line Graphs..........................2-365...
  • Page 10 3-10 Prohibiting and Allowing PT Operation ....................3-29 3-10-1 Prohibiting and Allowing System Menu Movement ..............3-29 3-10-2 Prohibiting and Allowing Input to All Screen Functional Objects ..........3-29 3-10-3 Prohibiting and Allowing Input for Individual Functional Objects ..........3-30 3-11 Using Memory Cards..........................3-31 3-11-1 Transferring Data Using Memory Cards ..................3-31...
  • Page 11 PT Models.............................A-10 Appendix-3 PLC Memory Areas ........................A-12 A-3-1 OMRON C-series PLC Memory Areas (Same for 1:1 and 1:N NT Links)........A-12 A-3-2 OMRON CVM1 and CV-series PLC Memory Areas ..............A-12 A-3-3 OMRON CS-series CS1G, CS1H, CS1G-H, and CS1H-H PLC Memory Areas ......A-13 A-3-4 OMRON CJ-series CJ1G, CJ1G/H-H, CJ1M, and CJ2H PLC Memory Areas......A-14...
  • Page 12 Contents NS Series Programming Manual...
  • Page 13 NS Series Programming Manual Overview Section 1 This section provides an outline of the NS-series PTs, including their functions, features, connection types, and communication methods. It gives an understanding of the capabilities of the NS-series PTs. 1-1 NS-series PT Operation ..........................1-1 1-2 NS-series PT Functions ..........................1-4...
  • Page 14: Ns-Series Pt Operation

    The system and device operating status can be displayed in real time. Graphs can be used to improve visual expressions to display data in an easy-to-understand format. Instructions for FA Staff PTs can be used to notify operators if there is a system or device error and provides information on appropriate countermeasures. Replacing Control Panel Switches NS-series PTs have a touch panel.
  • Page 15: Ns-Series Pt Operation

    The data to be displayed on the screens (screen data) is created using the CX-Designer on a personal computer and the data is stored in the PT. The required screen can be displayed by a command from the host or by operating the touch switches.
  • Page 16 The screen data displayed on PTs is created using CX-Designer on a personal computer. Screen data is transferred to the PT by connecting the PT and the personal computer using an RS-232C cable, a USB cable, or Ethernet (NS15-TX01@-V2, NS12-TS01(B)-V1/-V2, NS10-TV01(B)-V1/-V2, NS8-TV@1(B)-V1/-V2, NS5-SQ01(B)-V1, NS5-SQ@1(B)-V2, NS5-TQ@1(B)-V2, or S5-MQ@1(B)-V2).
  • Page 17: Ns-Series Pt Functions

    Connection to Both CX-Designer and the Host 1. Communications with the host via the other port are possible while still connected to CX-Designer. 2. Bar code data can be read from a bar code reader via the other port while communicating with the host.
  • Page 18 Fast System Program and Screen Data Replacement Using Memory Cards 1. Screen data can be written on site simply by mounting an HMC-EF*** Memory Card on the PT. 2. System programs can also be stored on Memory Cards with NS-series PTs.
  • Page 19 The PT conforms to UL standards, CSA standards, and EC Directives. Multiple Windows Up to 3 pop-up windows can be displayed at the same time on a normal screen. Commands to switch screens can also be given from the host.
  • Page 20: Differences Between Models

    1-2 NS-series PT Functions NS Series Programming Manual 1-2-2 Differences between Models The NS15, NS12, NS10, NS8, and NS5 have different screen sizes. Also, some models support only serial communications while others also support communications via the Ethernet. Model Color Display panel...
  • Page 21 Section 1 Overview 1-2 NS-series PT Functions NS Series Programming Manual Model Color Display panel Ethernet NS5-TQ11B-V2 Black 5.7-inch bright TFT 10/100Base-T NS5-MQ00-V2 Ivory 5.7-inch monochrome STN Not available NS5-MQ00B-V2 Black 5.7-inch monochrome STN Not available NS5-MQ01-V2 Ivory 5.7-inch monochrome STN...
  • Page 22: Main Ns-Series Functions

    V1/-V2, NS10- TV01(B)-V1/-V2, NS8-TV@1(B)-V1/-V2, NS5- SQ01(B)-V1, NS5-SQ@1(B)-V2, NS5-TQ@1-V2, and NS5-MQ@1-V2), or Controller Link. Host data can be read and displayed, and data can be input and sent to the host, for buttons, numeral display and input objects, and character display and input objects.
  • Page 23 Device Monitor Function When connected to a PLC via a 1:1 NT Link, 1:N NT Link, or Ethernet, the PLC’s operating mode can be changed, words in the PLC can be read or written, error information can be written, etc.
  • Page 24: Ns-Series Displays

    Stop the buzzer (command buttons). Buttons can be lit depending on the status of the allocated address. Also, inputs from the host can be controlled (enabled or disabled) by allocating the address of a control flag. There are three display shapes for buttons: Rectangle, select shape (ON/OFF buttons and word but- tons), and circle (for ON/OFF buttons only).
  • Page 25 There are two types of functional objects, bit lamps and word lamps, that change the display status depending on the status of the allocated address. The color and shape of the lamps can be changed depending on the ON/OFF status of bits for bit lamps or the contents of words for word lamps.
  • Page 26 Character string data stored at allocated addresses can be displayed and can be input to the address. Bar code data can be read using a bar code reader. Also, inputs from the host can be controlled (enabled or disabled) by allocating the address of a control flag.
  • Page 27 The following three methods are available for changing displayed characters. • Indirect Specification From a Text File A list of character strings to be displayed can be stored in a text file and any character string in the text file can be specified for display. •...
  • Page 28 Section 1 Overview 1-2 NS-series PT Functions NS Series Programming Manual play direction (up, down, left, or right), different color for each specified range, and whether or not scaling will be used can be set. Allocated address Allocated address Allocated address contains 20.
  • Page 29 Set width: 150, height: 54, and color: blue for product B. Just select product B to set these three items in the PLC. If product A is selected a width for 100, a height of 52, and a color of red are set in the PLC.
  • Page 30 NS Series Programming Manual Using data blocks, users do not need to save data in the PLC beforehand, so that the memory of the PLC can be saved and the ladder program can be reduced. Data blocks also have the following fea- tures.
  • Page 31 Multifunction Objects are functional objects that can execute multiple functions in order with a one-touch operation. The set functions are executed one after the other when the Multifunction Object is pressed or the value at a specified address changes. Up to 32 functions can be set for each execution condition.
  • Page 32 Section 1 Overview 1-2 NS-series PT Functions NS Series Programming Manual Contents switching address value: 0 Character string Displays the character string and image registered Manual1.bmp to contents number 0. Contents switching address value: 1 Switches to display the character string and image...
  • Page 33: Communicating With The Host

    Communications with multiple PLCs are also possible with NS-series PTs. Host names are registered for the connected PLCs and any area in the PLC can be accessed by specifying the host name and address. Connect to the host using one of the following methods.
  • Page 34: Nt Links

    2. Data can be written to PLC memory areas in bit units. This allows other bits in the word to which a touch switch has been allocated to be used for another applications, such as lamp allocations.
  • Page 35: Host Link

    1-3-5 Host Link The Host Link method uses a 1:1 connection between the host and a PT to read and display word and bit data from the host. Many PLC models can be connected using Host Link. The following PLCs can be connected to NS-series PTs using Host Link. The PLCs are connected via their built-in serial port or a Host Link Unit supported by the PLC.
  • Page 36 Internal memory cannot be read and written from the host. System Memory System memory is used to change information between the host and the PT, such as controlling the PT and notifying the host of PT status. The system memory is divided into two sections.
  • Page 37 Input Disable (ON: Disabled, OFF: Enabled) NS status control To clear input disable, touch the screen and enter the password for the password level set under $SW13 in the dialog box that will be displayed prompting password input. Contrast Adjustment (+10 levels) (NS5 only)
  • Page 38 Macro Error Notification NS status notification (Turns ON when a macro error is generated. Stays ON when an error is detected until this bit is turned OFF using a user macro or a func- tional object.) History Processing Error Flag...
  • Page 39 Macro execution error number NS status notification (The error is ignored when the number is 0. The value will be held when an error is detected until 0 is written using a user macro or func- tional object.) Macro error screen number (FFFFh for project macros.)
  • Page 40 Refer to System Word Memory under 2-4 System Memory for information on the date formats written to $SW14 to $SW17. ♦ System memory allocations in the PLC area can be allocated the same way as for the NT Series. For details, refer to 2-4-3 System Memory Compatibility with the NT Series. 1-27...
  • Page 41: System Configuration

    Note 4: General-purpose color printers cannot be connected directly to NS5-SQ0@(B)-V@, NS5-TQ0@(B)-V@, or NS5-MQ0@(B)-V@ PT. Note 5: Refer to the Setup Manual (Cat. No. V083) to connect the PT and computer with a USB cable. Note 6: A monitor can be connected only to the NS15-TX01@.
  • Page 42 1-4 System Configuration NS Series Programming Manual PTs (Refer to the appendices in the NS Series Setup Manual.) Recommended Bar Code Readers (Refer to 3-4 Connecting to Bar Code Readers in the NS Se- ries Setup Manual.) OMRON V520-RH21-6/V400-H111/V400-H211 Bar Code Reader RS-232C/RS-422A Converter (Refer to the appendices in the NS Series Setup Manual.)
  • Page 43 Replacement Battery CJ1W-BAT01 (Replacement Battery for NS12/NS10/NS8/NS5) Attachment (For replacing NT Series with NS Series) NS12-ATT01 (B) (For replacing NT625C/631/631C Series with NS12/10 Series) NS12-ATT02 (For replacing NT610C Series with NS12/10 Series) NS8-ATT01 (For replacing NT620S/620C/600S Series with NS8 Series)
  • Page 44: Connecting To The Host

    NS5-SQ@1(B)-V2, NS5-TQ@1(B)-V2, and NS5-MQ@1(B)-V2. Ethernet interface: 8-pin modular connector 10/100Base-T With the NS15, NS12, and NS10, a Controller Link Interface Unit (NS-CLK21) can be installed to en- able communications with a Controller Link Network. Controller Link interface: Special Connector Specified shielded twisted-pair cable...
  • Page 45: Procedure Before Operation

    Controller Link (Refer to NS-Series Setup Manual.) Settings/com check PT connections Operation System maintenance Note: The system program is installed only in special circumstances, such as when the system program is re- placed or repaired. (The system program is included with the NS-CXDC1-V @ CX-Designer.) 1-32...
  • Page 46 SYSMAC CJ Series CJ2 CPU Unit Hardware User's Manual W472 SYSMAC CJ Series CJ2 CPU Unit Software User's Manual W473 SYSMAC CP Series CP1E CPU Unit Hardware User's Manual W479 SYSMAC CP Series CP1E CPU Unit Software User's Manual W480 Programming...
  • Page 47 SYSMAC CS/CJ Series EtherNet/IP Units Operation Manual W465 Controller Link Controller Link Support Board Operation Manual W307 Support Board Controller Link Support Board for PCI Bus Operation Manual W383 Controller Link Controller Link Unit Operation Manual W309 Unit Optical Ring Controller Link Units Operation Manual...
  • Page 48 Section 1 Overview 1-5 Procedure before Operation NS Series Programming Manual 1-35...
  • Page 49 2-1 Project Data NS Series Programming Manual Section 2 NS Series Functions This section provides a detailed explanation of NS Series functions and CX-Designer setting methods. 2-1 Project Data ..............................2-1 2-2 NS Series Screen Types..........................2-9 2-3 Internal Memory ............................2-18 2-4 System Memory............................2-19 2-5 Communications Address Settings ......................2-47...
  • Page 50: Project Data

    2-1 Project Data NS Series Programming Manual 2-1 Project Data 2-1-1 Project Configuration Data is created in units called "projects." This section describes in detail the data that makes up projects. CX-Designer Functional objects/ Project Screen fixed objects Functional objects/...
  • Page 51 Sheets are screens that can be displayed in layers on normal screens. Sheets are useful when Sheets the same images are to be displayed on more than one screen. Up to 32 sheets can be created in each project. Functional objects include buttons, lamps, numeral display and input objects, and string display Functional and input objects.
  • Page 52: Project Properties

    This function transfers data from transfer sources to transfer destinations when specified conditions are met. Transfer Settings Note: With product data versions earlier than 8.1, a total of 1,024 functional objects, graphs, frames, and tables can be placed on one screen. ♦...
  • Page 53 Set the label number. Label name Set the name for each label number (up to 15 characters). Initial label Set the label number to show on the screen after power to the PT is turned ON. The default setting is 0.
  • Page 54 2-1 Project Data NS Series Programming Manual Macros 1. Select the Macro Tab. 2. Set the macros to be used for the project. Refer to Section 1 Outline of Macro Function in the Macro Reference included on the CX-Designer CD-ROM. Settings Contents Project Specify whether to execute the macro when loading a project.
  • Page 55 The system language will be displayed on the PT for system menus, keypads, messages, dialog boxes, etc. Pop-up Menu Setting 1. Click the Pop-up Menu Tab. 2. Make the settings for the pop-up menu used to set word button, command button, string display, and string input objects.
  • Page 56 NS Series Programming Manual Macro Option 1. Click the Macro Option Tab. 2. Select the option to recognize “\n” in character strings as the line feed code and to display multiple-line messages when using the message box macro (MSGBOX). Numeral Input Option 1.
  • Page 57 Data Format 1. Click the Data Format Tab. 2. Select either BCD or binary as the data format when specifying the line numbers for indirectly specified files.
  • Page 58: Ns Series Screen Types

    Some objects can be set so that the background will not be filled. If the object is set for no tiling, the background of the object will not have a color and other objects un- der the background or the screen background color will show through.
  • Page 59: Screen Configuration

    The screen attributes are set using CX-Designer as properties for each screen. Character Colors The color of the characters themselves can also be set. The character color is set as one of the properties when setting the labels for each object using CX-Designer. Character colors can also be specified indirectly. 2-2-2...
  • Page 60: Screen Numbers

    Screen Numbers NS-series screens are categorized and controlled using screen numbers. Screen numbers are used to specify the display screen when the PT is started or when switching the displayed screen. Except for the System Menu Screen for which specific functions have been set, up to 4,000 screens can be set for NS-series PTs.
  • Page 61: Screen Types

    Normal screens are basic screens displayed during PT operation. Any functional objects or fixed objects can be created for normal screens. Up to 4,000 screens can be created for each project and any number between 0 and 3,999 can be al- located to the screens.
  • Page 62 Pop-up screens are created the same way as normal screens. After a screen is created, specify under the screen properties whether it will be a normal screen or pop-up screen. Screen number 0, however, cannot be set as a pop-up screen.
  • Page 63 Up to 10 sheets can be applied over one user screen. ♦ If multiple sheets are applied to a normal screen and if the position of the functional objects for the normal screen and the sheets overlaps, the standard screen objects will be displayed on top. The sheet objects will be displayed in order, with the object with the highest screen number on top.
  • Page 64 NS Series Programming Manual Frames A frame object enables creating areas on a screen so that only part of the screen can be switched to another page. Frames consist of more than one page based on the user settings and the displayed contents of the functional objects configuring each page can be switched based on PT or PLC status.
  • Page 65: Screen Objects

    Displays graphs in three colors in circles, semi-circles, or quarter circles for the word data at the specified addresses. Level Meter Displays levels in three colors for the word data at the specified ad- dress. Broken-line Graph Displays broken-line graphs for the word data at the specified ad- dresses.
  • Page 66 Section 2 NS Series Functions 2-2 NS Series Screen Types NS Series Programming Manual Tables and Frames The following frames and tables are available. Icon Name Contents Frame Switches the specified rectangle area (frame). Table Displays functional objects in a table format.
  • Page 67: Internal Memory

    2-3-1 Bit Memory ($B) The bit memory in a PT is indicated by $B. Up to 32,768 bits can be used. Addresses from $B0 to $B32767 can be read and written by the user. Bit memory is used for signal information that indicate ON/OFF status for functional object addresses and control flags.
  • Page 68: System Memory

    2-4-1 System Bit Memory ($SB) System bit memory is used to exchange information between the host and the PT, such as for control- ling the PT and notifying the host of PT status, in bit units. The system bit memory contains 64 bits with predefined functions.
  • Page 69 Wd m+3: $SB48 to $SB63 ♦ The method for allocating system memory in the PLC areas is the same as for the NT Series. Refer to 2-4-3 System Memory Compatibility with the NT Series for details. ♦ Set a BOOL variable with 64 elements when allocating a tag.
  • Page 70 Section 2 NS Series Functions 2-4 System Memory NS Series Programming Manual $SB0 will not turn OFF and ON if no communications between $SB0 and the allocated address is set in the CX-Designer system settings. Status RUN signal status Operation when status cleared System Menu Stops notification.
  • Page 71 Battery Low ($SB4) $SB4 is for notification of a drop in the PT battery voltage. $SB4 turns ON when the voltage drops and turns OFF when the battery is replaced and the voltage returns to normal.
  • Page 72 $SB9 turns OFF, the screen saver is canceled and the backlight turns ON. Even if the screen saver is set to OFF on the PT Tab Page of the System Settings, the screen saver will start when this bit turns ON.
  • Page 73 Bits $SB12 to $SB14 all turn OFF if the buzzer is stopped using the command buttons. The buzzers sound only when the buzzer sound setting in the System Menu is set to ON in the CX-Designer system settings. (The buzzer will not sound if this setting is set to OFF or ERROR ON.) ♦...
  • Page 74 = 1500 + 25 × Serial Communications Unit No. (CIO Area) Display Keypad with Temporary Input ($SB18) $SB18 changes the keypad displayed for a Numeral Display & Input or Data Block Table object. The following keypads will be displayed according to the bit status.
  • Page 75 If $SB20 to $SB23 is turned ON while displaying the screen saver, the screen saver will remain. ♦ If more than one of these bits turns ON at the same time, the order of priority is $SB20, $SB21, $SB22, and then $SB23.
  • Page 76 Fixed character string “screen_cap” ♦ When a video object is on the screen, the video image can not be printed or saved as a BMP file by using $SB25. ♦...
  • Page 77 Test Pattern Printing, Printer head-cleaning, or Update Printer Status. It also turns ON if a printer is not detected when the PT is started or if an error is detected, including USB port errors, printer not con- nected errors, broken connection errors, no paper errors, no ink errors, and other hardware printer er- rors.
  • Page 78 $SB33 saves alarm and event history data. When $SB33 is turned ON, the alarm and event history data is saved to the Memory Card as a CSV file. Once the data has been saved, the system auto- matically turns OFF $SB33.
  • Page 79 $SB36 saves data log data. When “0” is stored in $SW37 and $SB36 is turned ON, log data for all groups is saved to the Memory Card as a CSV file. If a group number is stored in $SW37 and $SB36 is turned ON, the data log information for that group only will be saved as a CSV file.
  • Page 80 (year, month, day) Fixed text string If there is no accumulated data log, only the title line will be output. ($SB33 will turn OFF and $SB47 will not turn ON.) If an error occurs during the save operation (e.g., the Memory Card is not in place, there is insufficient free disk space, or the Memory Card is damaged), $SB38 will turn OFF and $SB47 will turn ON.
  • Page 81 The data is output to a file called MacroErr.csv in the Memory Card \log\ directory. The file names are fixed and files previously output to the Memory Card will be overwritten. If there is no accumulated data log, only the title line will be output. ($SB43 will turn OFF and $SB47 will not turn ON.) If an error occurs during the save operation (e.g., the Memory Card is not in place, there is insufficient...
  • Page 82 $SB50 turns ON. After the Memory Card has been removed and $SB49 automatically turns OFF, and $SB50 also automatically turns OFF. This bit indicates the power supply status of the Memory Card. If $SB50 is OFF, it indicates that the power is ON.
  • Page 83 Bank 18 Note 1. LR 00000 to LR 00199 are converted to and used as I/O area words CIO 01000 to CIO 01199. 2. C200HX/HG/HE-E/-ZE PLCs are the only C-series PLCs that support the EM Area (EM). All bits in the AR Area for CVM1/CV-series PLCs are allocated for system functions and cannot be used for any other application.
  • Page 84: System Word Memory ($Sw)

    2-4-2 System Word Memory ($SW) System word memory ($SW) is used to exchange information between the host and the PT in word units, such as for controlling the PT and notifying the host of PT status. The system word memory contains 41 items with predefined functions.
  • Page 85 If a screen number is written to $SW1, that pop-up screen will be displayed. The display will not switch to that screen, however, if that screen does not exist or if it is a base screen. In such cases, no error message will be displayed but the system will change the screen number stored in $SW1 back to the original screen number.
  • Page 86 If a screen number is written to $SW4, that pop-up screen will be displayed. The display will not switch to that screen, however, if that screen does not exist or if it is a base screen. In such cases, no error message will be displayed but the system will change the screen number stored in $SW4 back to the original screen number.
  • Page 87 2-4 System Memory NS Series Programming Manual The upper left X coordinate for pop-up screen 3 is stored in $SW8 and the upper left Y coordinate is stored in $SW9. If the display position is written directly to $SW8 and $SW9, the pop-up screen will move to the speci- fied position.
  • Page 88 The macro execution error number is stored in $SW23. There are no errors if 0 is stored in $SW23. The error number is held until 0 is written to $SW23 from the host, using a functional object, or other method. (Stored in BCD or binary.) ♦...
  • Page 89 (Stored in BCD or binary.) If an illegal value is set in BCD as the index number (e.g., AAAAh) when stored in BCD, the index will operate as index 0. (Values between –999 and 9999 (BCD) or between –32768 and 32767 (binary) can be specified as index values.)
  • Page 90 Alarm/event history data is checked using the alarm/event summary/history object. Set the alarm his- tory as the display data for the alarm/Event Summary/History object. If $SW40 contains a value other than 0 to 4, $SB32 will not initialize when turned ON. ♦...
  • Page 91: System Memory Compatibility With The Nt Series

    E18_ Bank 18 Note 1. LR 00000 to LR 00199 are converted to and used as I/O area words CIO 01000 to CIO 01199. 2. C200HX/HG/HE-E/-ZE PLCs are the only C-series PLCs that support the EM Area (EM). All bits in the CVM1/CV-series Auxiliary Area are allocated for system functions and cannot be used for any other application.
  • Page 92 (The options if NT compatibility is not used are as follows: ON: Flashing, OFF: Lit.) 2: Notification will not be provided in the allocated PLC address even if the corresponding $SB is directly manipulated. The value at the PLC address is always written to $SB.
  • Page 93 NS Series pop-up screens do not distinguish between global windows and local windows like the NT Series. The screens are differentiated as pop-up screen 1 (k to k+2), pop-up screen 2 (k+3 to k+5), and pop-up screen 3 (k+6 to k+8).
  • Page 94 − Not used Note 1: The operation for Backlight Mode is different if NT compatibility is not used. (The options if NT compatibil- ity is not used are as follows: ON: Flashing, OFF: Lit.) 2: Notification will not be provided in the allocated PLC address even if the corresponding $SB is directly manipulated.
  • Page 95 3. Select the Allow system memory compatibility with NT checkbox and select the corresponding NT Series. 4. Make the PLC address allocations for the PT Status Control, PT Status Notification, and Window Control Areas. 4. Set PLC address to allocate.
  • Page 96: Register Host

    Properties in the online help of the CX-Designer. ♦ When the NSH Series is set as the PT model, do not set a host connection other than serial port A. ♦ If “/” characters are used in the host names of a project created in CX-Designer, the “/” characters will be converted to “_”...
  • Page 97: Communications Addresses

    A direct address specifies a specific element in host memory by using an area name and numeric ad- dress. A tag specifies a network variable set in the PLC. Tags can be used if the project version is 8.0 or higher and connection is made to the CJ2H-CPU@@-EIP or the CJ2M-CPU3@ using EtherNet/IP.
  • Page 98: Directly Specifying Addresses

    Data structure can be created with the CX-Programmer. In the CX-Designer, a data structure will be separated into its members, and each will be treated as one variable. Arrays in data structures will be separated into individual elements and each will be treated as a separate variable. Members and ele- ments can be created as individual variables in the CX-Designer.
  • Page 99 • XA3: Incorrect input If a 0 is not input, the number will be treated as a symbol without an address. It is not necessary to input a 0 between the area name and the address number if hexadecimal is not used to input the address number.
  • Page 100 ♦ With any one of the input methods, a communications address can be input when specifying the address. In this case, input the address in the Name or Address Field. The address can be input with an index Method 3: Selecting a Registered Symbol Select the List Tab from the Switch Options.
  • Page 101 A list of the registered symbol is displayed in the symbol table. Select the desired sym- bol . Symbols In the CX-Designer, it is possible to set a symbol as the data referenced by a functional object instead of a directly specified host address or internal memory address. Inputting an Address...
  • Page 102: Tags

    • [!] [”] [$] [%] [&] [’] [(] [)] [-] [=] [^] [~] [|] [@] [`] [[] [{] [;] [+] [:] [*] [] ] [] ] [,] [<] [.] [>] [/] [?] If the project version is lower than version 8.0, [#] and [\] cannot be used in addition to the symbols given above.
  • Page 103 2. Drag and drop the tag to the CX-Designer’s symbol table to copy it. 3. A dialog box for selecting the host for which the tag will be set will be displayed. Select a host that can use tags, and then click the OK Button.
  • Page 104 The following restrictions apply to tag names. • The following characters cannot be used. [!], ["], [$], [%], [&], ['], [(), []], [=], [-], [~], [^], [¦], [`], [@], [{}, [[], [+], [;], [*], [:], [[], [[], [<], [,], [>], [.], [?], [/], space •...
  • Page 105 Other items CHANNEL ♦ Even if the Treat As Tags When Inputting New Variable Names Option is selected in the Option Dialog Box, tags will be treated as direct addresses or variable names of direct addresses in the following cases.
  • Page 106 2. Double-click the address to display the Address Setting Dialog Box. Click the Input Tag Button. Click here. 3. The host setting, data type, and I/O comment will be inherited if the host supports tags. If the host does not support tags, the host will be changed to a host that support tags.
  • Page 107: Fixed Objects

    Draws a circle and then an arc from a specified angle in that circle. All display properties for fixed objects, such as color and size, are set in the Fixed Object Property Set- ting Dialog Box. The properties for each fixed object are displayed, with the items that cannot be set for that particular fixed object shown in gray (i.e., invalid).
  • Page 108 Fixed Object Property Line: Set the line color and type. Size/position: Set the position and size of the fixed object. (Displayed for fixed objects other than lines.) Start/end: Set the start and end points for lines. (Displayed only for lines.) Flicker: Set the flicker display.
  • Page 109 Set the position so that the object is not outside the screen or frame area. ♦ Validation can be performed to check for fixed objects outside the screen or frame area. For details on error checks, refer to Validation in the CX-Designer Online Help.
  • Page 110 NS Series Programming Manual ♦ Care must be taken when setting the start and end points of lines within frames so that the line is not positioned outside the frame area. Be careful when setting the position so that the line is not outside the screen.
  • Page 111 No Tiling Select whether or not to tile the object. Color Set the object color. Frame, Shade, and Beveling Specify the frame, shading color, size, and bevel setting for the three-dimensional display of fixed objects. Setting Details Type Select one of the following three types of fixed objects.
  • Page 112 Select one of the following three bevel choices. None: No bevel Radius of curve: Rounds the corners using the bevel size setting for the radius. Cut: Cuts off an isosceles triangle from each corner based on the bevel size setting. Size Specify the bevel size.
  • Page 113: Registering/Using Library

    When functional objects are registered to the library, the property settings for those objects are also registered. When frames are registered, all of the information within the frame is registered and can be used as is. ♦ The computer’s available free disk space determines how many library items can be registered.
  • Page 114: Table Of Functional Object Settings

    − − − Contents display : Supported, −: Not supported Note 1: Communications address can be set in the General Tab Page as well as other Tab Pages. Note 2: : Controls input and display. : Controls display only. 2-65...
  • Page 115: Address Settings (General Tab And Other Tabs)

    Address Settings (General Tab and Other Tabs) If addresses are set in the properties of functional objects, the colors can be made to change depend- ing on the status read via communications and the host can be notified when objects are pressed.
  • Page 116 If there is no host with the same host name, the default value ($B0, $W0) will be used. Example: If “HOST1” is created for the number 2 host for project 1 and no host is registered as the number 2 host for project 2.
  • Page 117 Internal holding word memory Inputting Addresses Use the numeric buttons 0 to 9 below the input field to enter the address. Press the CLR Button to clear the address and the BS Button to delete the last character in the ad- dress. ♦...
  • Page 118: Unit And Scale (General Tab)

    If Indirect specification of unit and scale No. is selected in the Functional Object Properties Dialog Box, the contents at the address is taken as the unit and scale number and the unit number is switched accordingly. The display unit or scale conversion coefficient can be switched from the host using this indirect specification method.
  • Page 119 ♦ The scale for a thumbwheel switch must be set to a power of 10, and the offset must be set to 0. If any other values are set, the thumbwheel switch many not operate properly.
  • Page 120: Numeral Display And Storage Type (General Tab)

    When display formats other than decimal are selected, real number and BCD cannot be selected for the storage type. Once decimal has been selected as the display type, real number or BCD can be selected for the storage type. If other display formats are then selected, UINT (1-word unsigned) is automatically set as the storage format.
  • Page 121 Address b16 b15 1 0 1 0 0 0 0 1 0 0 0 1 0 0 0 1 1 0 1 0 0 0 0 1 0 0 0 1 0 0 0 1 Sign The set address and the address + 1 are used (2 words) and displayed as one nu- meral.
  • Page 122 0 1 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 3 Sign: +...
  • Page 123 0 0 1 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2 3 Sign: + −...
  • Page 124 Address b16 b15 1 1 1 1 0 1 1 1 0 1 1 0 0 1 0 1 0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1 Sign Example: 1111 0111 0110 0101 0100 0011 0010 0001 1st digit: 2 = 1;...
  • Page 125 Address + 1 Address b16 b15 1 1 1 1 0 1 1 1 0 1 1 0 0 1 0 1 0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1 ↑ Sign...
  • Page 126 NS Series Programming Manual Using Tags If screens are to be created using tags, the storage type and the size of the tag data type (1 word or 2 words) must be the same in the settings for functional objects that handle numbers.
  • Page 127: Date And Time Format (General Tab)

    NS Series Programming Manual 2-8-5 Date and Time Format (General Tab) The display formats outlined below can be used for functional objects that display date and time. In most cases, the date and time format is set on the General Tab Page. Setting...
  • Page 128 MMMM month full spell out, e.g., February dd: day of month (2 digits) ddd: day of the week (1 Japanese characters, e.g., dddd: day of the week (3 Japanese characters, e.g., DDD: day of the week (3 characters, e.g., Sat)
  • Page 129: Text Attributes

    Display at PT [JY] [JM] [JD] [Jh] [Jm] [Js] 2-8-6 Text Attributes The text attributes such as font, size, and color can be set for functional objects that display characters. The text attributes are set on the Text Tab Page. 2-80...
  • Page 130 The 7-segment font uses a 7-segment LED-type font. The following characters can be displayed: 0 to 9, A to F, the plus and minus signs (+ and –), periods (.), commas (,), spaces ( ), and colons (:). The 7-segment font can be used for all functional objects that display text.
  • Page 131 Note: For the NS5, NSJ5, and NSH5, sizes 8x14 to 96x161 can be used. The following characters can be displayed in 7-segment font: 0 to 9, A to F, the plus and minus signs (+ and –), periods (.), commas (,), spaces ( ), and colons (:).
  • Page 132 Text attributes such as font, size, and color can be applied to other labels. Click the Apply Attribute Button on the Label Tab Page (or Text Attribute Tab Page) to display the Apply Text Attribute Dialog Box. Select the attributes to be applied to other labels.
  • Page 133 Attribute type Details Font name Selected font types Font size Sets the font size. Set the magnification for raster and 7-segment fonts and character size for vector and scalable fonts. Font style Bold, italic (for vector fonts only) Vertical position...
  • Page 134: Setting Colors (Color/Shape Tab)

    The following dialog box can be displayed by clicking the Other Colors Button. Use the Color Setting Dialog Box to select a color that is not registered in the color palette or register a color in the color palette. 2-85...
  • Page 135: Background

    Displays the selected colors RGB values (in hexadecimal). Sample The Color Setting display can be set to Order of Col No. (color code matrix) or Gradation . Pattern The Order of Col No. display shows all 256 colors. The Gradation display shows only 138 colors, but makes it easy to change the color slightly by selecting a nearby color tone.
  • Page 136: Selecting Shape (Color/Shape Tab)

    ♦ If an indirect reference of color is set, set a color code between 0 and FF to the address. If a value other than 0 to FF is set as the address, the display color will be invalid.
  • Page 137 Frame and border set to OFF. Selecting Shape Select the shape to be displayed in the Select Shape Dialog Box. Click the shape type to be displayed as the functional object and click the OK Button to set that selection.
  • Page 138: Labels

    Resets the color setting for all selected bitmaps. 2-8-10 Labels Up to 16 different labels (characters) can be set for each functional object. Multiple labels can be set for each project. This means that screen data and settings can be combined without separating projects simply by using different labels, e.g., Japanese and English.
  • Page 139 PT operation ♦ The number of labels is set under PT - Project properties . Refer to Project Properties in Section 2 NS Series Functions. ♦ Labels can be switched by setting the desired label number from the host to system memory ad- dress $SW10.
  • Page 140 Line feeds in label character strings are counted as 2 characters. ♦ The display color will be invalid if a value other than 0 to FF is set to the address when an indirect reference of text color is selected.
  • Page 141 1. Select Tools – Option to display the Option Dialog Box. Open the Edit/Disp Tab. 2. Select the Reflect to label when an address is set Option and select either the Symbol Name or I/O comment as the label text.
  • Page 142: Scroll Bars

    5. The symbol names or I/O comments that have been set will be automatically set as label character strings. ♦ If there are two or more labels, the symbol names and I/O comments will be set for the character strings for all of the labels. ♦...
  • Page 143: Frames

    NS Series Programming Manual 2-8-12 Frames The color and size of buttons, lamps, and other frames can be set. The frame settings are made on the Frame Tab Page of the Functional Object Properties Dialog Box. 1. Color (left and top) 3.
  • Page 144: Flicker (Extension Tab)

    The flicker settings make functional objects flicker at specified intervals. Select a flicker type from the 10 registered types. The flicker settings are made on the Flicker Tab Page of the Functional Object Properties Dialog Box. Flicker settings can be made for each screen.
  • Page 145 Repeats alternate display of the current display color and the specified color. Specify display The color for flicker can be specified as Text Color , Background Color , or Line Color . color Select the checkbox under Specified Color for what color is to be changed (text, back- ground, or line color) and specify the color.
  • Page 146 Depending on the set color, the inverse color during flickering may differ between the PT and the CX-Designer test mode. ♦ If the control flag is set to Indirect, the display color will return to the original color when the set ad- dress turns OFF. For this reason, the whole screen is refreshed. ♦...
  • Page 147 2-8 Common Functional Object Functions NS Series Programming Manual Specify Display Color Repeats alternate display of the current display color and the specified color. The text color, back- ground color, or line color can be specified. When text color is specified.
  • Page 148 : Action depends on settings, – : Flicker function not supported Note 1: The object will not flicker if Flowing text is selected in the alarm/event display property settings. 2: The whole object will flicker, regardless of the flicker range settings.
  • Page 149: Write Settings (Extension Tab)

    Section 2 NS Series Functions 2-8 Common Functional Object Functions NS Series Programming Manual ♦ A functional object will not flicker if an unsupported flicker method is specified in the property settings for that object. 2-8-14 Write Settings (Extension Tab) A confirmation message can be set to be displayed when data is written using buttons and other func- tional objects that are manipulated.
  • Page 150 MARK Focus Changes the default focus position when the message is displayed. Select Yes to change the focus to Yes , and select No to change the focus to No . CSV import Imports a message from a CSV file.
  • Page 151 A File Specification Dialog Box will be displayed. If importing from a CSV file, select the name of the file to be imported and press the Open Button. If exporting to a CSV file, enter the name of the file in the File name input field and click the Save Button.
  • Page 152 Turn ON the Specified Addresses when the Value is Written A specified address can be turned ON (1) whenever a button is pressed or a value is entered and written. Turn OFF the address from a PLC or other external device.
  • Page 153: Passwords (Extension Tab)

    The password must be input before an operation on a password-protected functional object. An opera- tion can be performed on a functional object only if the password is at the protection level set for that functional object. The password must be input each time that an operation is performed on the func- tional object.
  • Page 154 The screen can be switched depending on the level that is authenti- cated. A level would be set for each command buttons, for example level 1 for operators and level 5 for man- agers. All screens displayed after authentication (e.g., device operation monitoring screens and main- tenance screens) would contain a command button to cancel authentication.
  • Page 155 Passwords and authentication is keyboard screens are canceled. set for levels 1 and 5. Level 1 password input, authenticating level 1 Authentication screen Operator screen Operator The passwords for levels 1 and 5 are set for command buttons to change the screen.
  • Page 156 NS Series Programming Manual Setting Passwords Click the Set password Button on the Password Tab Page to set a password. Level 1 to level 5 pass- words can be set. The set password is shared by all functional objects. Operation of functional objects with set passwords will only be permitted if the password that matches the password character string for the specified level is entered when the operation is received by the object.
  • Page 157 NS Series Programming Manual Password Setting Properties This section describes the password settings for PT system version 8.2 or higher. To set a password, click the Set Password Button on the Password Tab Page from the functional ob- ject properties. Password: Set the password and keypad for each level from 1 to 5.
  • Page 158 If a functional object with a password set is pressed during PT operation, a Password Dialog Box will be displayed. Press the input area to display the keyboard screen that has been set for that level. Use this keyboard to enter the password.
  • Page 159 Macro Setting Example: Closing a Pop-up Window Under the properties of the functional object, select Touch OFF on the Macro Tab Page and then click the Macro Edit Button. A pop-up window can be closed by setting CLOSEPOPW(-1) in the Program Field.
  • Page 160: Control Flags (Extension Tab)

    Control flags control the input and display of functional objects. Control flags can be used for an inter- lock function and are used to enable display or enable input depending on the ON (1) or OFF(0) status of the address. The control flag settings are made on the Control Flag Tab Page of the Functional Ob- ject Properties Dialog Box.
  • Page 161: Macro (Extension Tab)

    The macro function allows users to create and execute simple programs. Arithmetic operations, discrimi- nation between conditions, and other functions that are not supported by functional objects can be added by the user. This section describes how to set macro execution using the Functional Object Properties Dialog Box.
  • Page 162: Size/Position (Extension Tab)

    Display and set the size of the functional object and the position from the upper left of the screen (frame/table). Size Set the height and width of the functional object in dot units. The height can be set between 1 and 1,920 and the width between 1 and 2,560. Width...
  • Page 163 Specify the horizontal position (X coordinate) and vertical position (Y coordinate) of the functional ob- ject from the top left of the screen or frame. The horizontal position can be set between 0 and 2,559 and the vertical position between 0 and 1,919. Set the horizontal and vertical positions in dot units.
  • Page 164: Change Input Order

    2-8-19 Change Input Order The input order that was set on the Keypad Tab Page of the Property Dialog Box for numeral input and display objects or string input and display objects can be changed here. Select Change Input Order from the PT Menu.
  • Page 165: String Table

    Up to a maximum of 10,000 strings can be registered in a string table and each string can be up to a maximum of 1,024 characters. The maximum setting file size that can be registered for one project, however, is 5 MB.
  • Page 166 2-8 Common Functional Object Functions NS Series Programming Manual Registering Strings To register a string in a string table, select PT – String Table in the CX-Designer or click the Refer to the String Table Button in the functional object Property Dialog Box. Item...
  • Page 167 CSV file. Do not change the title row. ♦ An error will be displayed and the import canceled when importing CSV files if the CSV file for- mat is different (e.g., if the title line has changed or the number of labels has changed.) ♦...
  • Page 168: Buttons

    NS Series Programming Manual 2-9 Buttons 2-9-1 ON/OFF Buttons An ON/OFF Button is a functional object that turns the status of a specified address ON or OFF using a touch switch input. Touch Status of address 0 Status of address 1...
  • Page 169 Section 2 NS Series Functions 2-9 Buttons NS Series Programming Manual Write: Sets the contents of the write confirmation message when the ON/OFF Button is pressed. (See note.) Password: Sets the password to be entered when the ON/OFF Button is pressed. (See note.) Group: Sets group numbers to exclusive buttons.
  • Page 170 Action type Select an operation for when the button is pressed from the following 4 options. Momentary Writes 1 to the write address when the button is pressed and writes 0 to when the button is released. Alternate Alternates between writing 0 and 1 to the write address when the button is pressed.
  • Page 171 If Select shape is selected under Button type, select a display shape from the list. For all other cases, select one of the 256 colors. Depending on the button type, only colors 1 and 2 may be used, or all colors 1 to 4 may be used.
  • Page 172 The setting screen will be displayed for specifying the shape. Select shape (Type 3) Cannot be set here. The setting screen will be displayed for specifying the shape. Refer to Setting Colors in 2-8 Common Functional Object Functions for information on how to set col- ors. 2-123...
  • Page 173 To change the button color based on the contents of an address, select Indirect Reference and allocate an address. Set a hexadecimal color code to the address. If a value other than 0 to FF is set the display color will be invalid.
  • Page 174 Momentary, SET, or RESET. The frame is concave when the button is pressed. To make the frame concave when the write address is ON, set the same address as the write address to Link with the specified address ON/OFF.
  • Page 175 NS Series Programming Manual Password (Extension Tab) Set a password for when buttons are pressed. Five passwords of up to 16 characters each can be set. One password can be requested for each object. Refer to Passwords under 2-8 Common Functional Object Functions for details.
  • Page 176: Word Buttons

    OFF for all objects (regardless of the individual settings) if the touch switch input sound (Key Press Sound) has been set to OFF in the PT’s System Menu or in the System Setting PT Tab Page in the CX-Designer.
  • Page 177 Flicker: Sets the flicker display. (See note.) Write: Sets the contents of the write confirmation message when the Word Button is pressed. (See note.) Password: Sets the password to be entered when the Word Button is pressed. (See note.) Control flag: Sets enable/disable input and display/no display for objects.
  • Page 178 Shape Types Selection Dialog Box on the Color/shape Tab Page. Numeral Type Select the write format for the numeral when the button is clicked from the following eleven types. INT (signed, 1 word) UINT (unsigned, 1 word)
  • Page 179 Select one of the following three types of action. Set Value Sets a set value to the write address when the button is pressed. The numeric value can only be input as a decimal. Hexadecimal values cannot be input. To input hexadecimal values to the PLC, first convert the hexadecimal number to decimal and then input the converted value.
  • Page 180 Color/Shape Tab Page Specify the color and shape of the button. If Rectangle is selected as the button shape, one of 256 colors can be selected. If Select shape is selected under Button type, select a display shape from the list.
  • Page 181 Multiple word buttons can be used as exclusive buttons by specifying the same word address and changing each of the values set to Set Value. Refer to Setting Colors in 2-8 Common Functional Object Functions for information on how to set col- ors.
  • Page 182 Frame Tab Page Specify the colors and sizes of the button frame to change the shape or color when the button is de- pressed or raised. Refer to Frames under 2-8 Common Functional Object Functions for details. Maximum/Minimum Limits Tab Page Set the maximum and minimum limits for the contents of the write address.
  • Page 183 The setting ranges for maximum and minimum limits depend on the Numeral types set on the General Tab Page. If a value is set under Value that exceeds the range set under Numeral types and the OK Button is pressed, a message stating that the setting range has been exceeded will be displayed and the setting will not be made.
  • Page 184: Command Buttons

    OFF for all objects (regardless of the individual settings) if the touch switch input sound (Key Press Sound) has been set to OFF in the PT’s System Menu or in the System Setting Window’s PT Tab Page in the CX-Designer.
  • Page 185 Section 2 NS Series Functions 2-9 Buttons NS Series Programming Manual Settings for Functional Object Properties This section describes the settings items in the Functional Object Properties Dialog Box for Command Buttons. General: Sets the types of functions and operations for the Command Button.
  • Page 186 Button shape Used to select Rectangle, Circle, or Select Shape. Switch Screen The screen can be switched when the button is pressed and released again. The destination screen for the switch screen can be selected from the following five types. Setting...
  • Page 187 A Key Button is an object that transmits a specified character code to the numeral display and input or character string display field in focus. Character codes (combinations of 0 to 9 and A to F) can be trans- mitted to the numeral display and input object. The transmitted code will, however, be displayed in the display type for the Numeral display and Input object.
  • Page 188 NS Series Programming Manual Note: A functional object on the base screen or pop-up screen must be set as the destination. The destination cannot be a functional object on a different screen, e.g., a functional object on the base screen cannot be used as the destination from a pop-up screen.
  • Page 189 Focus is not moved to input-prohibited objects for focus control codes. ♦ If there are two input objects at an equal distance from the current object, the focus will move to the object created first on the CX-Designer. Focus moved to object 2.
  • Page 190 ♦ If the screen specified under Close Local pop-up screen, Close specified pop-up screen, or Move Local pop-up screen is a base screen, the Command Button will be disabled while the PT is oper- ating. ♦...
  • Page 191 The current buzzer will stop when the Command Button is pressed. There are no settings to be made for this option. None There are no functions for the button itself. This option is used for starting macros. There are no set- tings to be made for this option. 2-142...
  • Page 192 Stop: "Cannot write to Memory Card” will be displayed and the file will not be saved. Note: When using NS hardware that has been upgraded from Ver. 1 to Ver. 2, keep the file name within 5 char- acters in length.
  • Page 193 999, the next file will be numbered 001. ♦ Operation will be as follows if the “If Memory card is full” property is set to “Update” and the file size in the Memory Card and the current file size are not the same: 1.
  • Page 194 Refer to the NS-series RGB/Video Input Unit User’s Manual (V086) Green for details on the setting method. Blue Video Control – Vision Sensor Console Output Various control signals can be sent to the OMRON Vision Sensor by pressing the button. Number Item Detail Signal type Set the signal type to send to the Vision Sensor.
  • Page 195 To add the SHIFT signal, press another signal button while holding down the SHIFT button. ♦ There is only one SHIFT state held by the system. The last operation for the SHIFT state will be valid when multiple SHIFT buttons are arranged, pressed, or released.
  • Page 196 Data Block Control – File -- PLC This function operates on data blocks. When a button is pressed, CSV file data is transferred to the specified addresses in the PLC or the data from specified addresses in the PLC is transferred to the specified record in the CSV file.
  • Page 197 If the specified address is 1, the Memory Card will be used. Record Method If the Control Content Field is set to Write data from NS PT Memory to CSV file, the data at the specified record can be overwritten or it can be inserted at the specified record number.
  • Page 198 NS Series Programming Manual Data Block Control -- Read Record Label This function operates on data blocks. When a button is pressed, the record labels for the specified records in the CSV file are transferred to the specified addresses in the PT.
  • Page 199 2-9 Buttons NS Series Programming Manual Authentication Cancellation The authentication will be cancelled when the Command Button is pressed. There are no settings to be made for this option. ♦ No processing is performed if the button is pressed when the authentication has already cancelled.
  • Page 200 Set a label for the button. Refer to Labels under 2-8 Common Functional Object Functions for details. Frame Tab Page Specify the colors and sizes of the button frame to change the shape or color when the button is depressed or raised. Refer to Frames under 2-8 Common Functional Object Functions for details.
  • Page 201 OFF for all objects (regardless of the individual settings) if the touch switch input sound (Key Press Sound) has been set to OFF in the PT’s System Menu or in the System Setting Window’s PT Tab Page in the CX-Designer.
  • Page 202: Lamps

    2-10 Lamps NS Series Programming Manual 2-10 Lamps Lamps are functional objects for which the display depends on the contents of the address on the host. There are bit lamps and word lamps. 2-10-1 Bit Lamps The bit lamp display color depends on the ON/OFF status of the specified address.
  • Page 203 Specifies the shape and color when lamps are ON and OFF. If a selection other than Select shape is made for the lamp type, one of 256 colors can be selected. If Select shape is selected under Lamp type, select a display shape from the list.
  • Page 204 Sets the lamp color when the contents of the lamp address is 0 or 1 (OFF/ON). (OFF/ON) Colors can also be set after referencing the contents of the address. Refer to Setting Colors in 2-8 Common Functional Object Functions for information on how to set col- ors. Select Shape...
  • Page 205 Frame Tab Page Specify the colors and sizes of the lamp frame to change the shape or color when the button is de- pressed or raised. Refer to Frames under 2-8 Common Functional Object Functions for details. Flicker Tab Page Make flicker settings to make the lamp flicker (flash).
  • Page 206: Word Lamps

    Displays and sets the functional object size and position. Refer to Size/Position under 2-8 Common Functional Object Functions for details. 2-10-2 Word Lamps A word lamp is a functional object where the lamp color depends on the level (0 to 9) of the contents of a specified address (word). Address 0, 1, 2, 3……...
  • Page 207 Specify the color and shape of the lamp. If a selection other than Select shape is made for the lamp type, one of 256 colors can be selected. If Select shape is selected under Lamp type, select a display shape from the list.
  • Page 208 Click this button to display the file selection dialog box and select the file containing text strings. Edit Starts the text editor so that the text file can be edited. To set the text editor that is started when the Edit Button is pressed, select Tools – Option and open the Editor Tab Page. Character Sets the text code used to store text strings in the file.
  • Page 209 NS Series Programming Manual Frame Tab Page Specify the colors and sizes of the lamp frame to change the shape or color when the button is de- pressed or raised. Refer to Frames under 2-8 Common Functional Object Functions for details.
  • Page 210: Multifunction Objects

    When the object is touched or the value at a specified address changes, the functions that have been set will be executed consecutively. Up to 32 functions can be set for each execution condition.
  • Page 211 Section 2 NS Series Functions 2-11 Multifunction Objects NS Series Programming Manual With Multifunction Objects, the series of operations for each function can be executed in any order, by making property settings as shown below. Set operations for 1. Register each function in order of execution.
  • Page 212: Functions That Can Be Executed Using Multifunction Objects

    • Operation log (sort by occurrence) • Operation log (sort by frequency) Object Key Button Transmits a key code to the object to which an Control input is being made. Data Block Control Controls data blocks. The following functions are supported.
  • Page 213: Execution Conditions For Multifunction Objects

    Multifunction Objects can be used as lamps if When pressing is not specified. ♦ The operation for when the object is pressed and when the address value is changed can be set separately. Both can also be used at the same time.
  • Page 214: Safety Functions

    The entire Multifunction Object will flicker (reverse its display state) in the following cases when the double-pressing operation is performed. From the first time the Multifunction Object is touched ON until the second time it is touched ON. From the first time the Multifunction Object is touched ON until the reception time expires (when the Multifunction Object is not touched a second time).
  • Page 215 ♦ If both the ON delay and double pressing are set, the ON delay will function the first time the Mul- tifunction Object is pressed, and will not function the second time it is pressed. ♦...
  • Page 216: Writing And Reading Communications Addresses

    Macro execution will be performed with synchronous communications, regardless of the settings. ♦ If functions are executed that do not read or write to a communications address, the next function will be executed without waiting for a response about the results.
  • Page 217: Canceling Multifunction Object Processing

    Operations When Communications Errors Occur A communications error will occur if an attempt is made to read or write to a communications address in an unconnected host. This function is used to set whether or not to continue with subsequent set operations or to interrupt the operations when such a communications error occurs.
  • Page 218: Converting From Other Objects To Multifunction Objects

    Object. 2. Click the Convert Button. 3. A confirmation message asking if it is OK to convert the object will be displayed. Click the OK But- ton to execute the conversion. 4. The functional object will be converted to a Multifunction Object and the Property Settings Dialog Box will be opened.
  • Page 219: Functional Object Property Settings

    Multifunction Object. ♦ Even if the screen display is incomplete, such as when switching screens to a screen with a lot of functional objects, inputting to Multifunction Objects is possible by clicking the Multifunction Object position. In such cases, the functions will be executed once the screen display has been com- pleted, so execution of the functions may take some time.
  • Page 220 Note: The Flicker, Size/Position, and Expansion Setting Tabs are displayed when the Display Extension Tabs Checkbox is selected. General The General Tab Page is used to set the functions to be executed and the execution conditions for the Multifunction Object. Setting Execution Conditions The execution condition can be set to When pressing or to When a value changed.
  • Page 221 Switch Screen (if not set to Pop-up page selection.) Control Pop-up Screen Display System Menu Authentication Cancellation ♦ Key Button and Video Control – Vision Sensor Console Output can be set only for touch ON tim- ing. The settings for When pressing operation are outlined below. 2-172...
  • Page 222 Object will not produce a sound when operated. All object touch switch sounds will object be OFF if the touch switch input sound is set to OFF under the NS System Menu or on the PT Tab Page of the CX Designer System Settings.
  • Page 223 ON/OFF buttons set in the same group in the same screen. (The communications address that was ON will be turned OFF.) If more than one Write Bit function is set for a Multifunction Object, all addresses set for those functions will turn ON. (If an- other object in the same group is pressed, all addresses will turn OFF.)
  • Page 224 Setting the Functions To Be Executed More than one function can be executed at the same time when a Multifunction Object is used. Up to 32 functions can be executed for each of the When pressing and When a value changed Options.
  • Page 225 Using Multifunction Objects as Lamps To use a Multifunction Object as a lamp, clear the selection of the Perform an action when pressing the object Checkbox on the When Pressing Tab Page in the Action Item List. The address to be monitored is set under Display Address on the Color/Shape Tab Page.
  • Page 226 NS Series Programming Manual Set the address to be monitored. Make the settings on the When a Value Changed Tab Page in the Action Item List to execute actions corresponding to bit lamp or word lamp When a value changed macros. 2-177...
  • Page 227: Detailed Settings For Each Function

    ON/OFF Buttons. ♦ Group settings are enabled only when Momentary, Alternate, or SET button action is selected in the property settings. If the action type is set to RESET, the button will not operate according to group settings. ♦ If the button is set to Alternate and is pressed when ON, the button will turn OFF.
  • Page 228 Section 2 NS Series Functions 2-11 Multifunction Objects NS Series Programming Manual Write Word The Write Word function changes the value at a specified address. Press the Write Button and select Write Word from the list that is displayed. Item Details Write Used to set the word address to be written to.
  • Page 229 Sets the maximum limit. Either a fixed value or indirect specification can be selected. Limit Minimum Sets the minimum limit. Either a fixed value or indirect specification can be selected. Limit Increment/Decrement When the button is pressed, the contents of the address are incremented or decremented and set. 2-180...
  • Page 230 Display Pop-up Menu When the button is pressed, a pop-up menu will be displayed and the write value can be selected from the menu. As many pop-up menus as there are label switches can be set. If labels are switched during NS operations, the displayed pop-up menu will also change.
  • Page 231 Specifies the value that will be written to the communications address when the corresponding menu item is selected. Adds a menu item below the currently selected row. If there is no row selected, a new row is added to the bottom of the list. Delete Deletes the currently selected menu item.
  • Page 232 Above the button Below the button ♦ When a row has been selected by clicking the row number, the row can be dragged and dropped in another location to change its order in the list. AND/OR/XOR When the button is pressed, AND, OR, or XOR calculations are applied to the Set Value and the write address value and the write address is set to the result.
  • Page 233 Fill the blank If this option is selected, spaces or null characters are automatically added to the characters end of strings to fill the space if the number of input characters is less than the set with a speci- number of characters.
  • Page 234 If the maximum address in an area is exceeded, a communications error will occur when the screen to which the string display and input object is set is opened on the NS. Make sure the maxi- mum address is not exceeded.
  • Page 235 Selection Displays a pop-up menu for screen selection. by Pop-up (Up to 32 items of up to 64 characters each). The display position of the pop-up Menu menu can be specified to be above or below the button. Pop-up menu settings are made in the Pop-up Setting Dialog Box displayed when the Register Button is pressed.
  • Page 236 Section 2 NS Series Functions 2-11 Multifunction Objects NS Series Programming Manual Specified Screen Specifies the destination screen. Indirect Specification of Screen Numbers Sets the communications address that specifies the destination screen number. 2-187...
  • Page 237 There are no settings to be made for Backward, Forward, Next Page, or Previous Page. Control Pop-up Screen Control Pop-up Screen controls the pop-up screen specified for display when a button is pressed. Click the Switch Screen Button and select Control Pop-up Screen from the list that is displayed. 2-188...
  • Page 238 Close Specified Pop-up Screen Select Close Specified Pop-up Screen . There are no settings to be made for Close Local Pop-up Screen or Move Local Pop-up Screen. ♦ If pop-up screens are controlled (e.g., moved or closed) frequently, the display update may take some time and communications may be delayed.
  • Page 239 • Operation log (sort by frequency) ♦ If the model is NS5, the System Menu top page will be displayed if a Multifunction Object set to System Menu Top Page (initialize Tab) is executed. ♦ When the Ladder Monitor starts, communications addresses set for alarms and events can be automatically searched for.
  • Page 240 The setting items depend on the selected transmission type. Note: A functional object on the base screen or pop-up screen must be set as the destination. The destination cannot be a functional object on a different screen, e.g., a functional object on the base screen cannot be used as the destination from a pop-up screen.
  • Page 241 Select the control code to be sent. Code Refer to 2-9-3 Command Buttons for information on control codes. Send a Specified String Sends the character codes for a specified string (up to 256 characters). Item Details String Specifies the character string to be sent (up to 256 characters).
  • Page 242 Indirect Specification of String Sends the string data stored at a specified communications address. Item Details Transmit from Specifies the communications address at which the send string is stored. No. of Words Transmits the specified number of words as the data. 2-193...
  • Page 243 ♦ Set Input Field with Focus to transmit to other screens. Data cannot be transmitted even if the ID number is set under Specified Input Field. ♦ A backslash will be sent if a yen symbol is specified as one of the characters to be sent. ♦ Focus is not moved to input-prohibited objects for focus control codes.
  • Page 244 NS Series Programming Manual Data Block Control This function operates on data blocks. When a button is pressed, CSV file data is transferred to the specified addresses in the PLC or the data from specified addresses in the PLC is transferred to the specified record in the CSV file.
  • Page 245 Section 2 NS Series Functions 2-11 Multifunction Objects NS Series Programming Manual Read Data from CSV File to PLC Data Block Reads the data from the specified record in the CSV file to the specified address set in each field. Item Details Record No.
  • Page 246 2-11 Multifunction Objects NS Series Programming Manual Write Data from PLC Data Block to CSV File Transfers the data from the specified addresses in the PLC Data Block set in each field to the specified record in the CSV file. Item Details Record No.
  • Page 247 Reads the data from the specified record in the CSV file to the specified NS address. Item Details Record No. Specifies the record number in the CSV file (0 to 999) to use in the control op- eration. The record number can be set indirectly through a communications address by selecting the Indirect Option.
  • Page 248 Section 2 NS Series Functions 2-11 Multifunction Objects NS Series Programming Manual Write Data from NS to CSV File Transfers one record of data from the specified addresses in the NS to the specified record in the CSV file. Item Details Record No.
  • Page 249 Section 2 NS Series Functions 2-11 Multifunction Objects NS Series Programming Manual Read Data from NS to PLC Data Block Transfers one record of data from the specified addresses in the NS to the PLC Data Block address set in each field. Item Details Address Specifies the PT memory address where the one record of data is stored.
  • Page 250 Specifies the PT memory address where the one record of data will be stored. Record Label Specifies whether to include the record label when reading. Read Record Label Reads the record labels for the specified number of records in the CSV file to the specified NS ad- dress. Item Details Record No.
  • Page 251 Deletes the data for the specified CSV file record. Item Details Record No. Specifies the record number in the CSV file (0 to 999) to use in the control opera- tion. The record number can be set indirectly through a communications address by selecting the Indirect Option.
  • Page 252 ♦ Multifunction Object processing will be canceled in the following cases. If the specified contents number does not exist. If contents control is executed in a screen where contents switching has not been set, the op- eration will be canceled and the next function will be executed.
  • Page 253 Switch to the Indirect Reference Contents No. Sets the communications address that specifies the contents number to be switched to. There are no settings to be made for Switch to the next contents No. and Switch to the previous con- tents No. 2-204...
  • Page 254 NS Series Programming Manual Alarm/Event Control This function operates on alarm/event functions. It saves and clears alarm/event histories. It can also be used to manipulate Alarm/Event Summary & History. Press the Object Control Button and select Alarm/Event Control from the list that is displayed.
  • Page 255 Clear and Save are not selected. ject ID Note: An Alarm/Event Summary & History on the base screen or pop-up screen must be set for the control opera- tion. An Alarm/Event Summary & History on a different screen cannot be controlled, e.g., an Alarm/Event Summary &...
  • Page 256 Note: A Data Log Graph on the base screen or pop-up screen must be set for the control operation. A Data Log Graph on a different screen cannot be controlled, e.g., a Data Log Graph on the base screen cannot be controlled from a pop-up screen.
  • Page 257 2-11 Multifunction Objects NS Series Programming Manual ♦ Even if display update is stopped because the Pause function is being used, data logging will con- tinue when Start is selected. The latest log will be displayed when the screen is updated.
  • Page 258 Section 2 NS Series Functions 2-11 Multifunction Objects NS Series Programming Manual Read File Specify the data log graph for the control operation and the display method for the graph that is read. Item Details Data log graph Specifies the ID number of the data log graph for the control operation.
  • Page 259 Video Control – Video Capture Captures a video image at a specified location and saves it in .bmp format to the Memory Card. Click the Object Control Button and select Video Control – Video Capture from the list that is dis- played.
  • Page 260 Capture posi- Sets the video display position for capture. tion Select Upper left or none for video display objects with a 640 x 480 display size. Video images with a display size of 800 x 600 cannot be captured. File name Sets the file name for saving the captured data (up to 32 characters).
  • Page 261 ♦ Video Control – Contrast Adjustment can be used only once for each Multifunction Object. The setting items depend on the Video Board selected in the System Settings Dialog Box. (Select PT – System Settings to display the System Settings Dialog Box.)
  • Page 262 Four-channel Video Input Units (NS-CA001) Item Details Contrast Select to adjust contrast. Select –10, –1, +1, or +10. Contrast can be set in 64 levels. Brightness Select to adjust brightness. Select –10, –1, +1, or +10. Brightness can be set in 128 levels. Depth Select to adjust depth.
  • Page 263 Select –10, –1, +1, or +10. Video Control – Vision Sensor Console Output Sends a one of various control signals to an OMRON Vision Sensor. Click the Object Control Button and select Video Control – Vision Sensor Console from the list that is displayed. 2-214...
  • Page 264 The Multifunction Object processing will be canceled if there is no Video Board ♦ mounted on the NS. ♦ Execute Video Control – Vision Sensor Console Output as the last function for touch ON timing. ♦ Video Control – Vision Sensor Console Output can be used only once for each Multifunction Object.
  • Page 265 Contents Display (for image display) Note: A functional object on the base screen or pop-up screen must be set for scrolling. A functional object on a different screen cannot be set, e.g., a functional object on the base screen cannot scrolled from a pop-up screen.
  • Page 266 ♦ Refer to 2-8-15 Passwords (Extension Tabs) for details on password functions. ♦ If the Switch Screen is set after Password Setting when the execution condition is set to When pressing, the screen will be switched even if the password is entered incorrectly three times or password entry is canceled.
  • Page 267 Section 2 NS Series Functions 2-11 Multifunction Objects NS Series Programming Manual Item Details Password Select the password level (1 to 5). If no password is to be specified, select None. 2-218...
  • Page 268 For example, if the following settings are made, a confirmation message will be displayed after Write Bit and Write Word are executed. If the Yes Button is pressed, the Write String and Switch Screen functions will be executed. If the No Button is pressed, the Write String and Switch Screen functions will not be executed.
  • Page 269 Message User Specified Displays a unique confirmation messaged created by the user. Message Press the Edit Message Button to display the Dialog Settings Dialog Box to cre- ate a message. Refer to 2-8-14 Write Settings (Extension Tabs) for details. 2-220...
  • Page 270 Section 2 NS Series Functions 2-11 Multifunction Objects NS Series Programming Manual Buzzer The Buzzer function is used to sound and stop the buzzer. Press the Special Button and select Buzzer from the list that is displayed. Item Details Action Sets the control operation for the buzzer function.
  • Page 271 2-11 Multifunction Objects NS Series Programming Manual Macro The macro function can be used to set macros. Refer to NS Series Macro Reference for details on macros. Press the Special Button and select Macro from the list that is displayed.
  • Page 272 Sets the color and shape of the Multifunction Object. Use the following procedure to make the settings. 1. Select Shape from the Color/Shape List at the left of the Dialog Box. (Shape will be selected by default when the Color/Shape Tab is opened.) 2.
  • Page 273 NS Series Programming Manual Item Details Display Method Selects the method for color/shape changes for the specified shape. Refer to Display Method Settings later in this section for details. Normal Color Always displays the same shape/color, whether or not the Multifunction Object is pressed.
  • Page 274 ON/OFF status of Display Address (2). Same Value Displays the set value match color (shape) if the contents of the specified address and the set value match. Displays the normal color (shape) if the values do not match.
  • Page 275 Selects the method for color/shape changes for the specified shape. Refer to Display Method Settings later in this section for details. Word Address Displays the set color (shape) according to the value at the specified com- (16 Colors) munications address (0 to 15).
  • Page 276 NS Series Programming Manual Bit Address, Bit Address/When Pressed, and Word Address (16 Colors) Sets display address 1. Bit Address 1, 2 (4 Colors), Bit Address 1, 2 (Upper/Lower), and Bit Address 1, 2 (Circle/Whole) Sets display addresses 1 and 2-227...
  • Page 277 Details Display Sets the communications address for comparison with the Set Value . Address (1) Storage Format Select the storage format for the numeric value stored at the communications address from the following. • INT (signed, 1 word) • UINT (unsigned, 1 word) •...
  • Page 278 NS Series Programming Manual Setting Color/Shape Method for Setting Color/Shape List 1. Displays the setting items in the Color/Shape List corresponding to the selected Shape and Display Method. 2. Click the items to be set. 3. The detailed setting items are displayed. Make the required settings.
  • Page 279 The angle settings are made when Sector has been selected under Shape . Frame Specifies the frame color and size and changes the shape and color of the button. Refer to Frames in 2-8 Common Functional Object Functions for details.
  • Page 280 2-11 Multifunction Objects NS Series Programming Manual Shape Sets the displayed shape file. Refer to Selection Shape in 2-8 Common Functional Object Functions for details. Color Sets the display color. Refer to Setting Colors in 2-8 Common Functional Object Functions for details.
  • Page 281 NS Series Programming Manual Line Sets the line type for polygons and sectors. Refer to Line in 2-6 Fixed Objects for details. Shade Sets the shading for polygons and sectors. Refer to Frame, Shade, and Beveling in 2-6 Fixed Objects for details.
  • Page 282 2. Select Edit –Edit Node. 3. Squares ( ) will be displayed at the nodes. 4. Place the node on a corner and, when the cursor shape changes to , drag the node to the de- sired position. Nodes can be added or deleted for polygons.
  • Page 283 2-11 Multifunction Objects NS Series Programming Manual 6. Press and hold the Ctrl Key and bring the cursor close to the node to be deleted. When the cursor shape changes to , click on the node to be deleted. 7. Right-click to exit the node edit mode.
  • Page 284 Address . Select OFF under Switch Status and set the label for when the bit address is OFF. Select ON under Switch Status and set the label for when the bit address is Bit address OFF Bit address ON...
  • Page 285 If the Switch Status cannot be set, then the Apply String Button can also not be set. ♦ The file name specifications for the text file set under File Name when Refer to the file is selected are as follows: File name: 8 characters + extension (txt) The following characters can be used in the file name.
  • Page 286 NS Series Programming Manual Flicker (Extension Tab) Make settings on the Flicker Tab Page to make functional objects flicker (flash). Refer to Flicker in 2-8 Common Functional Object Functions for information on basic settings. This section describes the set- tings for Multifunction Objects only.
  • Page 287 2-11 Multifunction Objects NS Series Programming Manual Expansion Settings (Extension Tab) Used to set the operations when writing to or reading from communications addresses. Refer to the previous section 2-11-4 Writing and Reading Communications Addresses for details of operations. Item Details...
  • Page 288: Display And Input Objects

    CX-Designer to create a numeral display and input object. ♦ The numeral display and input object can be used for numeral display only (i.e., no input) by changing the control flag settings. Input is enabled under the default control flag settings. The following procedure must be performed to use the display-only function.
  • Page 289 Sets the frame display for numeral display. Max/Min: Sets the maximum and minimum limits for input. This Tab Page also sets the watch mini- mum limit and watch maximum limit, as well as the colors displayed when the input exceeds the watch minimum or watch maximum limit value. (See note.) Flicker: Sets the flicker display.
  • Page 290 Fill blank digits Inserts zeros to fill the specified number of display digits. For example, if the num- with zeros ber of display digits is set to 4 and the value is 1, the display will be 0001. 2-241...
  • Page 291 Note 1. Can be selected only when display format is set to Decimal. 2. When set to Fill blank digits with zeros, 9.51 in the example in the table will be displayed as 09.51. Tick Display commas to insert commas after every 3 digits in an integer, e.g., 999,999.
  • Page 292 2-12 Display and Input Objects NS Series Programming Manual Text Tab Page Sets the text attributes, such as font and color, for the display string. Refer to Text Attributes under 2-8 Common Functional Object Functions for details. Background Tab Page Set the fill color for the background of functional objects.
  • Page 293 ♦ If displaying the unit name is specified, it will be displayed in the temporary input field as well. Frame Tab Page Specify the colors and sizes of the object frame to change the shape or color when the button is de- pressed or raised. Refer to Frames under 2-8 Common Functional Object Functions for details.
  • Page 294 The same message will be displayed and the setting will not be made if a value is set that exceeds the input range for the storage format, even if unit and a scale are set.
  • Page 295 The write confirmation dialog box will not be displayed if no value is entered and the ENTER Button on the tenkey pad is pressed or ENT or RET is sent using a Command Button (Key Button). The contents of the address set under Turn ON the specified address when the value is confirmed will not turn ON either.
  • Page 296: String Display And Input

    String display and input objects also convert data through character string input from a barcode reader or virtual keyboard. The string display and input object can be used for string display only (i.e., no input) by changing the control flag settings.
  • Page 297 2-12 Display and Input Objects NS Series Programming Manual Settings for Functional Object Properties This section describes the settings items in the Functional Object Properties Dialog Box for string dis- play and input. General: Sets the address and string display type.
  • Page 298 If the number of characters or the address is set too high, the maximum address for the specified area may be exceeded, e.g., when the number of words is 256 and the start address is $W32767. If the maximum address in the area is exceeded, a communications error will occur when the screen to which the string display and input object is set is opened on the PT.
  • Page 299 2-12 Display and Input Objects NS Series Programming Manual ♦ If ASCII codes are set in string displays, the following character codes will be used by the PT de- pending on the system language that has been set. System language...
  • Page 300 Refer to 2-9-3 Command Buttons for information. ♦ The Add to the current string (Move the cursor to front of string when setting the input focus been set.) option can be set only for PT system version 8.2 or higher.
  • Page 301: Thumbwheel Switches

    Control flags control the input and display of functional objects. Use control flags to enable display or input when the contents of an address turn ON or OFF. Refer to Control Flags under 2-8 Common Functional Object Functions for details.
  • Page 302 Sets whether or not a confirmation message is displayed when values are written to addresses. (See note.) Password: Sets whether or not a password input field is displayed when values are written to ad- dresses. (See note.) Control Flag: Sets display/no display for objects and enable/disable for input. (See note.) Macro: Sets macros that operate when values are input or address contents change.
  • Page 303 Units cannot be displayed for thumbwheel switches. ♦ The scale for a thumbwheel switch must be set to a power of 10, and the offset must be set to 0. If any other values are set, the thumbwheel switch many not operate properly.
  • Page 304 Colors under 2-8 Common Functional Object Functions for details. Frame Tab Page Specify the colors and sizes of the object frame to change the shape or color when the button is de- pressed or raised. Refer to Frames under 2-8 Common Functional Object Functions for details.
  • Page 305 Functions for details. Password Tab Page A password can be set for when the object area is pressed. Five passwords of up to 16 characters each can be set. One password can be requested for each object. Refer to Passwords under 2-8 Common Functional Object Functions for details.
  • Page 306: List Selection

    List selection objects can write the selected line or string information to a specified address, allowing the string information to be received and used by the host. List strings to be displayed from the host can also be specified.
  • Page 307 2-12 Display and Input Objects NS Series Programming Manual Settings for Functional Object Properties This section describes the settings items in the Functional Object Properties Dialog Box for list selec- tion. General: Sets the reference destination for list data, list size, and object comment.
  • Page 308 The file to be read can also be specified indirectly. Select Use a file for indirect refer- ence and specify Store in a file for the LST file that created the list of file names to be read. The list file that will be read will switch based on the contents of the address specified under Address for Specifying the File Line.
  • Page 309 2-12 Display and Input Objects NS Series Programming Manual If list strings are held in internal memory at $W, the settings will be as shown below because $W is one word (two bytes) in length. When list size in the list selection settings is set to 64 characters per line with a maximum of 4 lines and the address is set to $W0: ASCII (Half-size Characters: 1 byte;...
  • Page 310 ♦ Click the Edit Button to open the text editor and, if creating a new LST file, save the file with LST as the extension. Refer to the manual for the text editor you are using for information on methods for saving files.
  • Page 311 If the font size is too small for the strings to be selected, set a larger font size so that only 1 char- acter string is displayed for each element touch switch.
  • Page 312 Object Functions for details. Password Tab Page Set a password for when objects are pressed. Five passwords of up to 16 characters each can be set. One password can be requested for each object. Refer to Passwords under 2-8 Common Functional Object Functions for details.
  • Page 313 NS Series Programming Manual Switching Blocks When blocks are specified, internal memory or the contents of text files are split into a maximum of 32 blocks and the blocks are switched based on the contents (0 to 31) of the allocated address.
  • Page 314: Temporary Input Objects

    The Temporary Input Object displays a temporary input display field when keypads and keyboards have been created for Numeral Display and Input Objects or String Display and Input Objects using Command Keys. Temporary input objects can also be displayed for the maximum and minimum values set for Numeral Display and Input Objects.
  • Page 315 Object Functions for details. Frame Tab Page Specify the colors and sizes of the object frame to change the shape or color when the button is de- pressed or raised. Refer to Frames under 2-8 Common Functional Object Functions for details.
  • Page 316 Input Method. Select the Use temporary input option under Input Method. 4. Select the Display Extension Tabs Option to display the Max/Min Tab Page. Select both the Check Maximum Input Limit and the Check Minimum Input Limit, and select the Value option. The maxi- mum and minimum values are set as shown in the following diagram.
  • Page 317 The following example shows creating a keypad using a temporary input object. 1. Position the temporary input object, which will be the temporary input display field, on the screen. 2. Double-click the object to display the Properties Dialog Box. Select the Temporary input option under Function on the General Tab Page.
  • Page 318 6. Check the keypad operation using the test function. When the focus is on the numeral display and input object, the input value is displayed in the tempo- rary input object. Click the Command Button to overwrite the present values with the new input value.
  • Page 319: Display

    Display characters can also be changed. The following three methods can be used to change display characters. Indirect Specification from a Text File A list of display strings can be stored in a text file and any string can be specified for display from that list. Indirect Specification from a String Table Any string can be specified for display from the strings registered in the string table.
  • Page 320 Section 2 NS Series Functions 2-13 Display NS Series Programming Manual Settings for Functional Object Properties This section describes the settings in the Functional Object Properties Dialog Box for text objects. General: Sets object comments. Background: Sets the background color for the text object.
  • Page 321 The Indirect reference of color option is enabled only when raster font is specified for label charac- ter strings. ♦ Vector fonts cannot be used however for labels set to text objects if the PT is version 1.0. Use a version 1.1 PT or later if a vector font is to be used. Label Tab Page Labels can be set for text objects.
  • Page 322 • The previously displayed string will remain if the file line specification address contents change to 0. The display will be cleared when the contents change to 0 if the Clear display when address value is 0 checkbox is selected.
  • Page 323 Up to 32,767 lines can be set but this may depend on the text editor being used. ♦ If ASCII is set in text, the following character codes will be used by the PT depending on the system language that has been set.
  • Page 324 2-13 Display NS Series Programming Manual Message Sets the display data for when the message display function is used. The display string can be directly input or selected from the string table. Direct Input of Strings Item Details No. of Statuses Sets the number of statuses (2 to 10000).
  • Page 325 Registered strings can be changed as a group by importing/exporting CSV files. The string table can be exported as a CSV file, edited or translated, and then imported. All of the data in the edited CSV file can then be registered together in the string table.
  • Page 326: Bitmaps

    ♦ The vector font cannot be used when referencing the string table for label strings. Frame Tab Page (Extension Tab) Specifies the colors and sizes of the object frame to change the shape or color when the button is de- pressed or raised. Refer to Frames under 2-8 Common Functional Object Functions for details.
  • Page 327 RLE bitmap files and progressive format jpg files are not supported. ♦ If a corrupted jpg file is set, the CX-Designer will not operate correctly. Check that the file can be displayed correctly before specifying an image file for the bitmap.
  • Page 328 Indirect Reference of Display File option is selected. Click the Browse Button to specify a text file in any directory. This text file is then automatically copied to the folder where the project files are stored. Use this copied file for any subsequent editing.
  • Page 329 1. Display File 6. Specify the address for specifying the file lines. If necessary, select Clear the Im- age when the Value is 0. 7. A separate program must be created if you want to switch bitmap displays like animation.
  • Page 330 2-13 Display NS Series Programming Manual ♦ If there are more than 32,000 colors in a True Color image file set under Display file, the number of colors will be automatically reduced to 32,000. ♦ Always use the Browse Button to select the display file. Always use the Browse Button for indirectly referenced files as well.
  • Page 331: Level Meters

    2-13 Display NS Series Programming Manual 2-13-3 Level Meters Level Meter objects are functional objects that fill rectangular regions based on the contents of a specified address. Ranges can be specified for color differentiation. Contents of the Contents of the...
  • Page 332 Select a display direction of Up, Down, Left, or Right. direction Scale Set whether to use a scale. If a scale is used, set the number of divisions (1 to 99), the scale color, and the horizontal size (4 to 32). Set 0 as...
  • Page 333 When referencing the border indirectly, specify a value in the same type as the storage type set on the General Tab Page. For example, if REAL (real number) is specified on the General Tab Page, set the border as a real number.
  • Page 334 Colors can also be set by referencing the contents of the address. Frame Tab Page (Extension Tab) Specifies the colors and sizes of the object frame to change the shape or color when the button is de- pressed or raised. Refer to Frames under 2-8 Common Functional Object Functions for details.
  • Page 335: Analogue Meter

    Sets the object size and position. (See note 2.) Note 1: Can be set only when Needle is selected as the display method on the General Tab Page. Note 2: These tabs are displayed when the Display Extension Tabs Option is selected.
  • Page 336 Display Set the display direction as Up, Down, Left, or Right for quarter-circle and semi-circle direction meters. For circle meters, the starting point for the meter is set by the display direction. Quarter-circle Analogue Meters Down Left...
  • Page 337 Sets the display type for the meter. Selects whether up to the current value will be filled or whether it will be indicated by the needle. If the origin is 0, select Set 0 as the Origin (i.e., fill). If the origin is 0, 0 becomes the border and the meter is filled in the incremental direction if the value is position and in the opposite direction if the value is negative.
  • Page 338 Selects straight line, arrow, or triangular arrow as the needle shape. note.) Width (See Selects the width from 1 to 3 (dots). This setting can be made when the shape is set to note.) either straight line or arrow. Color Selects the color for the arrow.
  • Page 339 Functional Object Functions for details. Frame Tab Page (Extension Tab) Specifies the colors and sizes of the functional object frame to change the shape or color when the button is depressed or raised. Refer to Frames under 2-8 Common Functional Object Functions for details.
  • Page 340: Video Display

    2. Using a 800x600 Display as the Default If the NS12 is set for the PT model and the 800x600 size is set as the default for video displays and then the model is changed from NS12 to NS10 or NS8 and a video display is created on the screen, the size of the object will be 800x600.
  • Page 341 The Video Input Unit has four Input channels so that up to 4 video devices can be connected. If the size is set to 800 x 600 or 640 x 480, 1 channel will be specified in the properties and displayed even if all channels have devices connected to the PT.
  • Page 342 Enter the comment as an explanation of created object (up to 32 characters). Size Select the display size. A 800x600 size can be specified only when the NS12-TS0 @ -V @ is selected for the PT model. 320x240 When 320x240 size is selected, a screen is split into 4 areas and pictures of all four channels can be displayed on the screen.
  • Page 343 NS Series Programming Manual Image Position Tab Page Select the part of the image that is to be displayed on the screen. This function is designed to modify non-display areas contained in the data so that only necessary parts are displayed.
  • Page 344 Specify the display position for the video display by entering the horizontal position (X) and the vertical position (Y) from the upper left corner of the screen. The setting ranges for X and Y are 0 to 160 and 0 to 120.
  • Page 345: Consecutive Line Drawings

    Unlike regular polylines, these shapes can be changed dy- namically. The top left vertex of the created object is the origin. If a vertex is outside of the object area, that vertex will not be drawn.
  • Page 346 Thickness Sets the line thickness. If the Line Style is set to Solid Line , the thickness can be set between 1 and 8. For other line styles, the thickness can be set to either 1 or 2. Line Style Sets the line style to one of the following 5 styles.
  • Page 347: Alarms And Events

    Alarms and events can also be used as functions that exe- cute display when a bit to which start operation or a similar event has been specified is turned ON. Up to 5,000 alarms and events can be registered and monitored for one project with NS-series PTs.
  • Page 348 Allocates the address to refer when an alarm or event occurs. Click the Add Info. Button to display the Add Alarm/Event Info. Dialog Box. Icon Specifies a bitmap or JPEG file for the icon. Click the Icon Button to display the Details Dialog Box. ♦...
  • Page 349 Select the group, add it, and click the OK Button. Refer to Specifying Alarm/ Event Groups for details. Only information for specified groups can be displayed when displaying on re- lated functional objects. Screen Switch Sets the screen that will be automatically switched to when an alarm or event is generated. 2-300...
  • Page 350 ♦ The following restrictions apply when referencing the character string table. • If the character string has more than 80 characters, it will be treated as a message with 80 char- acters max. • If there are multiple lines set for the character string, the first line of the character string will be treated as the message.
  • Page 351 ♦ If the Reflect to label when an address is set Option is selected in the Option Dialog Box, the sym- bol name or I/O comment will be reflected in the label of an ON/OFF Button, Word Button, Bit Lamp, or Word Lamp when the communications address is set.
  • Page 352 A File Selection Dialog Box will be displayed. If exporting to a CSV file, enter the name of the file in the File name input field and click the Save Button. If importing from a CSV file, select the name of the file to be imported and press the Open Button.
  • Page 353 Leave blank if the message character string will be referenced in the character string table. Title The CX-Designer version information and the title for each item will be displayed in lines one and two of the CSV file. Do not change or delete this information. 2-304...
  • Page 354 Alarm/event settings can be changed and added by using the import function. The contents of the CSV file will change if an address is set in the file that is registered as an existing alarm/event. Alternatively, if an address that has not been registered yet is set to the CSV file, it will be added as a new alarm/event.
  • Page 355 Alarm and event histories are kept separately. Level Detection Level detection is used to take a level when an alarm or event is generated and switch screens to the specified screen for the alarm/event with the highest priority. If multiple alarms or events occur at the same time, the display is automatically switched to the screen for the alarm/event with the highest pri- ority.
  • Page 356 Button at the bottom of the screen to display the Details Dialog Box. 2. Select the check box for the icon for which the bitmap will be specified and click the Browse Button. The File Selection Dialog Box will be displayed. Specify the file to be displayed as the icon.
  • Page 357 2-14 Alarms and Events NS Series Programming Manual 3. Click the Select Button to close the dialog box. An image of the selected bitmap file will be dis- played to the right of the existing icon in the Details Dialog Box.
  • Page 358: Alarm/Event Display Objects

    Alarm/event display objects are functional objects that display the current recorded alarm or event in one line. The highest priority alarm or event will normally be displayed, but multiple alarms or events can be displayed in order of highest priority if flowing text is specified.
  • Page 359 Button to display Select Alarm/Event Group Dialog Box. Time and date Displays the date and time of the alarm or event. Select both Date and Time and select the display format display format from the list. Refer to Date and Time Format in 2-8 Common Functional Object Functions for information.
  • Page 360 ♦ If nothing is selected under Display type , there will be no alarm/event to display and nothing will be displayed during PT operation. Flowing String Tab Page Displayed character strings can be set to flowing string.
  • Page 361 Password Tab Page (Extension Tab) A password can be set for when the alarm object area is pressed. Five passwords of up to 16 charac- ters each can be set. One password can be requested for each object. Refer to Passwords under 2-8 Common Functional Object Functions for details.
  • Page 362 Control flags control the input and display of functional objects. Use control flags to enable display or input when the contents of an address turn ON or OFF. Refer to Control Flags under 2-8 Common Functional Object Functions for details.
  • Page 363: Alarm/Event Summary And History

    2-14-3 Alarm/Event Summary and History Alarm/event summary/history objects are functional objects that display the current recorded alarm or event messages as a list. The display order can be specified, e.g., by date, by priority level, and by fre- quency. Alarm 1 Alarm 2 •...
  • Page 364 For information on the Ladder Monitor, refer to the NS-series Ladder Monitor Operation Manual (Cat. No. V082). ♦ This function can be used if the NS system is version 8.0 or higher and the Ladder Monitor is ver- sion 3.0 or higher. 2-315...
  • Page 365 2-14 Alarms and Events NS Series Programming Manual Settings for Functional Object Properties This section describes the settings in the Functional Object Properties Dialog Box for alarm/event summary and history objects. General: Sets the alarm/event display format and display order.
  • Page 366 The display can be set to include only information from groups specified when alarms/events are registered. Click the Select Button to display Select Alarm/Event Group Dialog Box. Date and Time dis- Displays the date and time of the alarm or event. Select the date and time display format from play Format the list.
  • Page 367 ♦ Alarm ID refers to the number set under PT - alarm/event setting - No. To set the data type (BCD or binary) for the specified address, select PT – Project Properties and set the data type on the Data Format Tab Page.
  • Page 368 Section 2 NS Series Functions 2-14 Alarms and Events NS Series Programming Manual Display Tab Page Sets the selection bar color that will be reversed and the display items when alarm/event summaries or histories are selected. 2-319...
  • Page 369 Title line If the Display a title option is selected, the title of each item will be displayed at the top. Message box If the Show alarm message option is selected, the entire alarm message will be dis- display played in a message box when the alarm message area is clicked.
  • Page 370 NS Series Programming Manual Setting Details Icon Icon buttons that perform specific operations can be set to be displayed at the bottom of the alarm/event summary/history object. The following icon buttons can be displayed. From New Sorts the display from latest to oldest.
  • Page 371: Searching For Alarms And Events Using The Ladder Monitor

    Refer to Scroll Bars in 2-8 Common Functional Object Functions for details. Frame Tab Page Specifies the colors and sizes of the object frame to change the shape or color when the button is de- pressed or raised. Refer to Frames under 2-8 Common Functional Object Functions for details.
  • Page 372 1. Click a multifunction button set to start the Ladder Monitor. 2. Start the Ladder Monitor from the alarm/event summary or history. ♦ This function can be used if the NS system is version 8.0 or higher and the Ladder Monitor is ver- sion 3.0 or higher. ♦...
  • Page 373 Starting the Ladder Monitor from an Alarm/Event Summary and History If an alarm or event is selected in the alarm/event summary or history, a message will be displayed to confirm whether to start the Ladder Monitor.
  • Page 374 5. Click the EXIT Button to close the System Menu. Operation on the NS-series PT 1. Select an alarm or event from the alarm/event and history when an alarm or event is generated. 2. The following confirmation message will be displayed. The message depends on the settings in the alarm/event summary and history.
  • Page 375 ♦ The display will switch to the display set to the alarm or event if the Switch Screen Button is clicked with the message displayed while alarm/event is selected. 2-326...
  • Page 376: Data Logs

    The data log function saves changes over time in the contents of the allocated address. The saved data can be displayed as a data log graph object for each set data logging group. In Version 6 and later versions, the following two applications can be executed by using data log objects. Refer to 2-15-3 Example Setting Procedure for information on how to make settings for each application.
  • Page 377 NS Series Programming Manual Setting Details Delete To delete a set data logging group, select the display line for that group and click the Delete Button. A confirmation message will be displayed. Click the Yes Button to delete the selected group.
  • Page 378 Settings that will affect the whole group, such as group names, are made under group setting. New settings can be made and settings can be edited and confirmed for lines displayed on data log graphs. Up to 100 groups can be registered for each project.
  • Page 379 Sampling cycle: 1 to 86,400s, or each event Sampling cycle: 0.5 s B: Number of digits in value stored in log address +1 (for a value of 1,000 to 9,999: 4 + 1 = 5) C: Number of log addresses...
  • Page 380 NS Series Programming Manual Data Log Address Settings Sets the address for the data to be saved and the graph line information to be displayed on the data log graph. The settings for each line shown in the data log graph are made under the data log address setting. Up to 16 items of data can be set for each group.
  • Page 381 If the Display the logging data without data during power off and stopping Option is selected, no blanks will be left in the graph when power is turned OFF or logging is stopped. If this option is not selected or if the project data version is lower than 8.1, the graph line will not be displayed in a data log graph...
  • Page 382 Display. Note: If the Display the logging data without data during power off and stopping Option is selected for a data log graph for which any of the above settings has already been made, the settings will automatically be can- celed.
  • Page 383 Section 2 NS Series Functions 2-15 Data Logs NS Series Programming Manual Calculating Logging Points This section describes how the number of logging points displayed in the Data Log Setting Dialog Box are calculated. 2-334...
  • Page 384 3,000 Logging Points Total The "'Always' Log Address Total" is the sum of the products of the number of points registered and the number of logging points for each group. (Number registered × Number of log points)+(Number registered × Number of log points)+…...
  • Page 385: Data Log Graphs

    Data log graphs are objects that display in graph format the registered data contained at registered data group addresses. The general position of the current graph in relation to the overall data can be checked using the scroll bar to the top of the graph.
  • Page 386 Data log address Displays the registered addresses for the selected data log groups. Deselect ad- list dresses that are not to be displayed on the graph. Remove the tick to the left of the address to deselect it. Direction Select one of the following four display directions.
  • Page 387 Setting Details Display offset Displays the data log graph in an offset position, where a specified offset (number of dots) have been added to the position for the present value. Fine adjustment can be made to the display position. Step display When step display is selected, the logged points are connected by vertical and hori- zontal lines.
  • Page 388 Sets the scale color (from 256 available colors). Scale length Sets the scale length between 4 and 32. (Units: Dots) Sub-scale Sets whether or not there will be sub-scale. Select Sub-scale to display sub-scale. Sub-scale Select Sub-scale Line to display the auxiliary gradation (sub-scale) lines. Line No.
  • Page 389 When a date display and time display are not selected (OFF). Use Cursor Sets whether or not there will be a cursor on the time axis. Select Use cursor to use a cursor. A vertical line will be displayed on the time axis if Use cursor is selected. The value for the position where the time axis cursor and the log graph cross is sent to a specified address.
  • Page 390 Transfer Set the destination address under the Set Button. Date & Time One word of data each is stored for the year, month, day, day of the week, hour, min- ute, second, and millisecond. Example: Transmit Time Data To: $W100 This is stored from $W100 to $W107.
  • Page 391 ON. For example, if the display direction has been set to Left , the data displayed at the left of the graph may have already been deleted. In this situation, the graph display is also refreshed when the address for updating display turns OFF and the data registered at that time is displayed on the graph.
  • Page 392 Section 2 NS Series Functions 2-15 Data Logs NS Series Programming Manual Numeral Value Axis Settings Click the Scale Settings Button to display the following Details of Numeral Value Axis screen. Setting Details Scale Makes the settings related to the numeral value axis’ scale.
  • Page 393 For details, refer to 2-8-6 Text Attributes . Background Tab Page Sets whether or not the background is tiled. If the background is to be tiled, the background color for the graph can be selected from 256 colors. Click Indirect reference of color to reference the color code stored at a specified address for the background color.
  • Page 394 Select to allocate the set address to the icon, if the Control start/stop data log by the specified address option was selected when data log group settings were made.
  • Page 395 Sets display/no display, scroll width, and button size for the graph scroll bar displayed at the top of the data log graph. The scroll bar will appear at the top of the graph when the display direction is set to Left or Right.
  • Page 396: Example Setting Procedure

    The procedure for saving data log files to the Memory Card and continuing logging is provided below. Example: To automatically save every 5 hours a data log file with 5 log addresses and a sampling cy- cle of 2 seconds.
  • Page 397 Settings for Data Logging Group Registration 1. Select PT – Data log, or click the Register Group Button on the General Tab Page in the data log Functional Object Properties Dialog Box, to display the Data Log Setting Dialog Box.
  • Page 398 5. Set the number of logging points to be saved in one CSV file. In this example, the logging period is 5 hours (18,000 s) and the sampling cycle is 2 s, so the number of logging points is 18,000 ÷ 2, i.e., 9,000, so 9000 is set.
  • Page 399 2. Double-click the data log object to display the Functional Object Properties Dialog Box. 3. Display the Time Axis Tab Page and set the scale for the time axis. In this example, “10” minutes’ worth of log data is set for display.
  • Page 400 Memory Card. To read the saved data from the Memory Card, click the Read File Icon on the Object while logging is stopped to display the list of data file names, in descending order, in a pop-up menu. Select the desired file from the pop-up menu.
  • Page 401 (measured data) is shown below. When setting the logging address cycle time to, for example, 100 s, to log data for one address at a sampling cycle of 1 s for a period of 100 s after the specified address changes from OFF to ON.
  • Page 402 Section 2 NS Series Functions 2-15 Data Logs NS Series Programming Manual Example 1: Allocation of Specified Address (PT Memory: $B100) to an Icon and Manual Control of Log Start/Stop Display direction: Right 100 s $B100 Numeral value Measured data...
  • Page 403 Settings for Data Logging Group Registration 1. Select PT – Data log, or click the Register Group Button on the General Tab Page in the data log Functional Object Properties Dialog Box, to display the Data Log Setting Dialog Box.
  • Page 404 5. Set the number of logging points. 10. Add the logging addresses. 6. Click the Set Button next to Output file name at the upper right of the screen to display the Data Log Output File Name Setting Dialog Box.
  • Page 405 Button at the top right of the screen to display the Display Parameter Settings Dialog Box. 4. Click the Line Color Box to set the line color for the stored graph, to distinguish the stored graph read from the Memory Card from the graph of data currently being logged. In this example, No. 012 (red) is selected for the stored graph.
  • Page 406 7. Select Position end of scrolling at the center of data log graph . 8. Display the Icon Tab Page and select Cascade the read data to a graph under Options. Select Cascade the read data to a graph. 9. Click the OK Button and transfer the project to the NS hardware.
  • Page 407 When the Start icon is pressed, $B100 changes to ON and logging starts. When the Stop icon is pressed, $B100 changes to OFF and logging stops. To read saved data, press the Read File icon on the object while logging is stopped and select the de- sired file from the pop-up menu.
  • Page 408 Settings for Data Logging Group Registration 1. Select PT – Data Log Setting, or click the Register Group Button on the General Tab Page in the data log Functional Object Properties Dialog Box, to display the Data Log Settings Dialog Box.
  • Page 409 5. Set the number of logging points. 10. Add the logging addresses. 6. Click the Set Button next to Output file at the upper right of the screen to display the Data Log Output File Dialog Box. Enter the output file name.
  • Page 410 Button at the top right of the screen to display the Display Parameter Settings Dialog Box. Click the Set Button next to Line color to set the line color for the stored graph, to distinguish the stored graph read from the Memory Card from the graph of data currently being logged. In this example, No.
  • Page 411 Section 2 NS Series Functions 2-15 Data Logs NS Series Programming Manual 6. Set the amount of the logging period to be displayed at one time. 7. Select Position end of scrolling at the center of data log graph .
  • Page 412 Saving Logging Data to Memory Card and Using as Standard Data The procedure for setting logged data as standard data is shown below. 1. While logging is stopped, make sure the data to be saved is displayed on the data log object, and press the Save to file icon.
  • Page 413 A comment can be inserted in the first line of the file. When inserting a comment, put a hash mark (#) directly in front of it. ♦ When the logging start time is omitted, it will appear on the graph as January 1, 1970 0 (h) 0 (m) 0 (s). ♦...
  • Page 414: Broken-Line Graphs

    Broken-line graphs are objects that display in graphs current values for multiple consecutive addresses. Up to 256 line graphs can be displayed in one broken-line graph display region. The Batch Read and the History functions can be used when a broken-line graph group is registered. Start address: $W0...
  • Page 415 A broken-line graph group must be registered when using the Batch Read and History functions. Select PT – Broken-line Graph Group Setting to display the Broken-line Graph Group List Window. This window can be used to add a new broken-line graph group, edit a group’s settings, delete a group, and verify group settings.
  • Page 416 Setting a Broken-line Graph Group The following Broken-line Graph Group Setting Window will be displayed when the Add or Edit Button is clicked in the Broken-line Graph Group List Window. This window can be used to add a new group or edit a registered group.
  • Page 417 Trigger A batch read is performed when the specified communications address goes from OFF to ON. Operation Sets the address that will be turned ON by the system when the batch read is com- Complete Flag pleted. No. of Histories Sets the number of graphs to be retained in the broken-line graph history.
  • Page 418 PLC. ♦ When the No. of Histories is set to 1 or higher, the most recent graph and the specified number of previous graphs are displayed in the broken-line graph. When the No. of Histories is set to 0, only the most recent graph is displayed in the broken-line graph.
  • Page 419 DINT Bytes used = (2 × 1 × 10 × 2 × 10) + (2 × 2 × 20 × 5 × 5) = 400 + 4,000 = 4,400 bytes Use the following equation to calculate the number of bytes remaining: Remaining bytes = 300,000 –...
  • Page 420 General: Sets the display direction and gradation lines for broken-line graphs. Graph: Registers the start address for monitoring, the number of points, and the type of lines. Background: Sets the base color for broken-line graphs. Scroll bar: Sets the scroll bar size and scroll width.
  • Page 421 Sets an explanatory comment for the pasted object (up to 32 characters). Display direction Select a display direction of Up , Down , Left , or Right . The axis for showing the number of graph points monitored (indicated by a in the diagram) and the axis for showing the values for each graph point (indicated by b in the diagram) depends on the set display direction.
  • Page 422 Deletes the selected line or lines on the graph list, including the settings information for those lines. Set Line Sets the line attributes. Select a line on the graph list and press the Set Line Button to display the Line Setting Dialog Box. Refer to Line Setting Dialog Box for further infor- mation.
  • Page 423 The Display start position sets the broken-line graph’s a starting display position. The start position is treated as point 0. Set a display start position that is smaller than the difference of the Monitor Points – Display Points. When the Indirect reference is specified, the value of the specified address is used for the display start position.
  • Page 424 Section 2 NS Series Functions 2-16 Broken-line Graphs NS Series Programming Manual Line Setting (Broken-line Graph) Dialog Box Sets the line attributes. Press the Add Line and Set Line Buttons on the Graph Tab Page to display the following dialog box. Setting Details Start address Sets the start address referenced for the data.
  • Page 425 Displaying the Graph of a Broken-line Graph Group Setting Details Use the graph of a Select this option to display the graph of a broken-line graph group. broken-line graph group Graph list Displays the information about graph lines registered in the displayed broken-line graph group.
  • Page 426 Control flags can control the display of and input to functional objects. Use control flags to enable dis- play or control input when the contents of an address turn ON or OFF. Refer to Control Flags under 2-8 Common Functional Object Functions for details.
  • Page 427: Data Blocks

    Set width: 150, height: 54, and color: blue for product B. Just select product B to set these three items in the PLC. If product A is selected, a width of 100, a height of 52, and a color of red are set in the PLC.
  • Page 428 Record To set data from a data block in the PT to the PLC, select the record from the data block and write it to PLC. When writing to the PLC, fields are written in order one at a time from the beginning of the record.
  • Page 429 NS Series Programming Manual Procedures for Data Blocks There are two methods that can be used to transfer, display, and edit recipe data: manipulate the data in the data block or combine functional objects, such as command buttons and Numeral Display & In- put objects.
  • Page 430 The following items, however, must correspond. • Number of fields • Data format • Number of records Refer to the relating parts of this manual for items set on the CX-Designer and the data file setting first, and then make the settings.
  • Page 431 A confirmation dialog box will be displayed when the Delete Button is clicked. Click the Yes Button to delete. Parameter Button Selects the character code to use in the data file. A data block parameter setting dialog box will be displayed when the Parameter Button is selected, enabling selection of the char- acter code between multibyte and Unicode.
  • Page 432 Refer to Restrictions on Data Blocks on page 2-387 for details. Specify Interlock Writing to the CSV file from the data block can be enabled and disabled. If this option is selected, writing to the CSV file will be disabled when the communications address set (Data updating for the interlock address is ON.
  • Page 433 Always specify the data file. The PT automatically reads data file when displaying data blocks. If data file set in the data block setting does not exist, the following message will be displayed. Although the data block table exists on the screen, failed to read CSV file to display in the data block table.
  • Page 434 Sets the input method, and the display position and size of the keypad. The detailed settings for each tab page are the same as for Numeral Display & Input objects. Refer to 2-12 Display and Input Objects for details. ♦...
  • Page 435 Keypad: Sets the input method, and the display position and size of the keypad. The detailed settings for each tab page are the same as for Numeral Display & Input objects. Refer to 2-12 Display and Input Objects for details.
  • Page 436 8.2 or higher) 1. Number of Data Blocks per Project Up to 100 data blocks can be set for one project. To add or delete data blocks, display the Data Block Setting Dialog Box, and click the Add or Delete Button.
  • Page 437 1 record = [8 characters × 2 bytes/character]+[4 bytes]+[4 bytes]+[8 bytes]= 32 bytes 100 records = 32 bytes/record × 100 records = 3,200 bytes ♦ The record labels are not calculated in the data quantity. Refer to Creating Data Files on page 2-397 for record labels. 2-388...
  • Page 438: Data Block Tables

    2-17 Data Blocks NS Series Programming Manual 2-17-2 Data Block Tables A data block table is a functional object that displays a preset data file as a table and sets the specified data in the PLC. "Product A", "A-000",100,20,200 CSV-format data file "Product B", "B-000",90,22,180...
  • Page 439 Section 2 NS Series Functions 2-17 Data Blocks NS Series Programming Manual Setting Data Block Tables This section explains the properties set for data block tables in the Data Block Table Dialog Box. General: Sets the data block and display format. Text: Sets the text attribute for displaying numeral and string data.
  • Page 440 Sets a label name of up to 32 characters for the record label and each field label. Width Sets the width for record and field label display to 0 or to between 16 and 800 (dots). If the width is set to 0, the labels will not be displayed.
  • Page 441 The number of fields displayed in the data block table is determined by widths of the object and fields. If all fields will not fit in the data block table, they can be displayed by using the horizontal scroll bar.
  • Page 442 Sets whether an icon button is displayed at the bottom of object. Item Details Icon Icon buttons that perform operations can be displayed at the bottom of the data block object. Read Data File Reads data from the specified CSV data file, and displays it in the data block table.
  • Page 443 Sets the horizontal and vertical dimensions of the icon. (16 to 48) ♦ The icon size and button size of the horizontal scroll bar are the same. When changing the icon size, the button size of the horizontal scroll bar will be changed simultaneously.
  • Page 444 2. Click the Icon Button at the bottom right of the screen to display the Details Dialog Box. 3. Select the check box for the icon to which a bitmap is to be specified and click the Browse Button. The File Selection Dialog Box will be displayed. Specify the file to be displayed as the icon.
  • Page 445 Write Setting Tab Page (Extension Tab) Sets whether a confirmation message is displayed when writing a value to each field in the data block table. Any confirmation message can be set. Refer to 2-8-14 Write Settings (Extension Tab) for details.
  • Page 446 Record label B, Field data B2, Field data B2, ••• • Set the record label on the left of each line. Any character string can be set for record label as the re- cord name. Up to 32 characters can be displayed in the data block table.
  • Page 447 “a,b,c,” registered in the data file will be deleted when writing to the data file. 3. If the number of fields set in the data file is less than that set in the data block, the following error message will be displayed when displaying the data block, and PT will not display the data block.
  • Page 448 When writing to the data file or address, the number before rounding up will be used. 12. Lines at the beginning of the CSV file that start with #COMMENT will not be read as part of the data log. 2-399...
  • Page 449: Using Data Blocks

    Inputting Value in a Data Block Table The user can change the value of a field in the data block table. Touch field for which you want to change the value. The keyboard or keypad will be displayed. Then, change the value.
  • Page 450 The record numbers are automatically renumbered. Editing Record Labels in a Data Block Table Up to 32 characters can be displayed for a record label. Record labels are set in data file beforehand, but they can be also edited from the data block table.
  • Page 451 ♦ Be sure to write the data file to save any changes made in the data block table. If the screen is switched before writing to the data file, the changed values will not be saved.
  • Page 452 Display & Input objects. Refer to 2-9-3 Command Buttons for command button settings to control data blocks. Reading/Writing Communications Addresses and Adding/Deleting Records Command button data block control functions are used to read and write data between a CSV file and communications addresses and to add and delete records from CSV files. 2-403...
  • Page 453 The command button data block control functions can be combined with Numeral Display & Input ob- jects, Character Display & Input objects, and other functional objects to edit CSV files or to display only the desired files on the screen.
  • Page 454 PT. Restrictions on Writing to Addresses 1. When writing data to an address, the data will be written one at a time and in order starting from the leftmost field. Time is required until the last field data is written.
  • Page 455: System Clock

    The maximum monthly clock error margin will be –39 to +65 seconds at room temperature (25 ° C). Adjust the clock regularly. ♦ If the date object extends off the screen, the setting dialog box (i.e., the keypad) will also extend off the screen. Always be sure that date objects are completely within the screen. 2-406...
  • Page 456 Section 2 NS Series Functions 2-18 System Clock NS Series Programming Manual Settings for Functional Object Properties This section describes the settings in the Functional Object Properties Dialog Box for date objects. General: Sets the date display format. Text: Sets the font and size for date display characters.
  • Page 457 De-select (i.e., remove the tick from) Tile background to have a transparent background. Frame Tab Page Specifies the colors and sizes of the object frame to change the shape or color when the button is de- pressed or raised. Refer to Frames under 2-8 Common Functional Object Functions for details.
  • Page 458: Time Objects

    Time objects are functional objects used to display or set the time for the system clock. The display section is a touch switch. A Setting Dialog Box (keypad) for changing the system time is displayed when this touch switch is pressed.
  • Page 459 Refer to Date and Time Format in 2-8 Common Functional Object Functions for informa- tion on the time display format. Apply to All Uses the date display method of the selected label for all labels. Apply to All Labels cannot Labels be set in the following cases.
  • Page 460 Common Functional Object Functions for details. Frame Tab Page Specifies the colors and sizes of the object frame to change the shape or color when the button is de- pressed or raised. Refer to Frames under 2-8 Common Functional Object Functions for details.
  • Page 461: Machine Navigator Function

    The Machine Navigator function switches the display of strings and image files registered to screens based on the value at a specified address or on the occurrence or clearing of an alarm/event. The general term “contents” is used here for strings and image files. Contents are displayed using contents display objects.
  • Page 462 Section 2 NS Series Functions 2-19 Machine Navigator Function NS Series Programming Manual Automatically Switching Contents When Alarm Occurs The settings shown in the following table are made. 2章 Settings for switching contents Alarm/event settings Link with alarm: ON Displayed...
  • Page 463 Section 2 NS Series Functions 2-19 Machine Navigator Function NS Series Programming Manual Switching Contents from Alarm/Event Objects The settings shown in the following table are made. Settings for switching contents Alarm/event settings Link with alarm: ON Displayed Automatically contents num-...
  • Page 464 Set the total number of contents to be displayed. Enter the contents number to be edited in the input field for Contents No. on the Edit Contents tool bar. Set the contents number to be edited.
  • Page 465 Click the Edit Contents Button on the tool bar or select PT – Edit Contents. The Edit Contents Dialog Box will be displayed. Click the screen number at the top left of the dialog box (1 in the following graphic.) Make the contents switching settings.
  • Page 466 The Contents Switching Setting screen will be displayed when the screen number is clicked. Contents A list of the contents display ID numbers created for the screen and the registered contents will be displayed. The registered strings will be displayed for strings.
  • Page 467 Registered strings can be changed as a group by importing/exporting CSV files. The string table can be exported as a CSV file, edited or translated, and then imported. All of the data in the edited CSV file can then be registered together in the string table.
  • Page 468 Functional Object Functions for details. Text Attribute Sets the text attributes. Refer to Text Attributes in 2-8 Common Func- tional Object Functions for details. ♦ The background color and text attributes can be set for each contents number. 2-419...
  • Page 469 The specified image file will be copied to the folder where the project file is stored. Specify a string of up to 12 characters (8 characters for the file name + 3 characters for the extension) as the file name. The following characters can be used.
  • Page 470: Contents Display

    2-19 Machine Navigator Function NS Series Programming Manual 2-19-2 Contents Display Contents display is a functional object for displaying contents (strings and image files) according to the contents switching settings. Select Functional Objects – Contents Display from the CX-Designer or select the icon to create a contents display object.
  • Page 471 Section 2 NS Series Functions 2-19 Machine Navigator Function NS Series Programming Manual General The General Tab page is used to select whether to display character strings or images. Item Details Object Comment Sets a comment to describe the pasted object. (Up to 32 characters.
  • Page 472 Example When the Wrap Function Is Used (i.e., When the Checkbox Is Selected) The text is wrapped at the right edge of the object and all characters are displayed on each line. This function is enabled when displaying strings.
  • Page 473 Vertical Scroll Bar Tab Page The Vertical Scroll Bar Tab Page is used to display/hide the scroll bar and to set the scroll width and the button size for the vertical scroll bar. Strings are scrolled by line and images are scrolled by dot.
  • Page 474 Horizontal Scroll Bar Tab Page The Horizontal Scroll Bar Tab Page is used to display/hide the scroll bar, and to set the scroll width and the button size for the horizontal scroll bar. Horizontal scroll is by dot for both string and image display.
  • Page 475: Usage Examples For Machine Navigator Function

    2. Place two contents display objects in the created pop-up screen 100. One will be for string display and the other for image display. Set each one to Display a String or Display an Image in the Con- tents Property Settings Dialog Box.
  • Page 476 If the contents numbers are not displayed, click after the settings have been input. Click here. Set the contents. Contents No. when alarm does not occur has been set to Contents No. 0, so no settings are required. • Click the string for Contents No. 1 and enter the string describing the countermeasure.
  • Page 477 Click the OK Button to close the Edit Contents Dialog Box. Make the alarm settings. Select PT – Alarm/Event Settings to display the Alarm/Event Settings Dialog Box. Click the Add Button. Make the settings for HOST1:100.00 in the Alarm/Event Details Dialog Box.
  • Page 478 Set to “1”. Select this checkbox. Click the OK Button to close the Alarm/Event Details Dialog Box. Make the settings for HOST1:100.01 in the same way. In this example, “2” will be set as the contents number. Set HOST1:100.01. Set screen 100.
  • Page 479 Section 2 NS Series Functions 2-19 Machine Navigator Function NS Series Programming Manual HOST1 100.00 or HOST1 100.01 turns ON. Pop-up screen 100 will be automatically displayed and the contents corresponding to the alarm will be shown in the contents display. 2-430...
  • Page 480: Special Functions

    Select the Record to Operation Log Check Box on the Property Setting Write Tab Page (Extension Tab Page) of the functional object. Doing this will make the object recorded. Also, a message of up to 32 characters can be set for each label.
  • Page 481 Operation for items other than NS-series screens can be recorded by assigning control panel switches to PLC addresses. 1. Select the communications address (bit) for which to set the operation log from the symbol table. 2. Right-click to display a menu, and then select Operation Log Setting.
  • Page 482 Operation Log Record Format The data listed below is recorded as the operation log. This data can be saved as a CSV file to a Memory Card by using any of the following methods. • Turning ON system memory bit $SB38.
  • Page 483 History type Date and time of operation Meaning: A functional object with ID number 1 was touched on screen 0 on 2000/02/24 at 12:48:20. 2. Screen display history • Date and time of screen display • History type (“P”) • Original screen number •...
  • Page 484 For project versions lower than version 8.0, operation log data is output to a file called Operat.SCV file in /log/ direction on the Memory Card. The file name is always the same, so any previously output data will be overwritten.
  • Page 485 If Use Ring Buffer is selected, the oldest records will be deleted in order when the set maximum has been exceeded and new data will be saved. If Use Ring Buffer is not selected, no more records will be kept when the set maximum is reached. The set record format can be checked under the System Menu.
  • Page 486 NS Series Programming Manual Checking the Log The operation log can be checked on the Operation Log (Sort by Occurrence) Screen or Operation Log (Sort by Frequency) Screen of the System Menu. The following methods can be used to display the Operation Log (Sort by Occurrence) Screen or Op- eration Log (Sort by Frequency) Screen during operation.
  • Page 487 Recording Operation for Control Panel Switches and Others Items Other Than an NS-series PT The operation log can record changes in bit address values if the project version is 8.0 or higher. This function can be used to record operation of items other than an NS-series PT, such as control panel switches.
  • Page 488 1. Start the NS-series PT that includes the project created above. 2. Turn ON $SB39. 3. The status of CIO 0.0 and CIO 0.1 (ON and OFF for the automatic switch and manual switch) will be registered in the operation log.
  • Page 489 2-20 Special Functions NS Series Programming Manual 4. Click the Operation Log Display Button. The Operation Log (Sort by Occurrence) Screen in the System Menu will be displayed. The operation log can be checked for the automatic switch and manual switch.
  • Page 490: Alarm/Event History Function

    The alarm/event history function continually checks the status of bits registered as alarms or events and records the date, time, and frequency during operation when the bit turns ON. The records can be edited on a personal computer because they are saved as CSV files.
  • Page 491 The related information values are the contents of the addresses set under Alarm/Event setting. This data can be saved as a CSV file to a Memory Card by turning ON system memory bit $SB33. Alarm histories are saved in a file called Alarm.csv and event histories in a file called Event.csv.
  • Page 492: Data Log Function

    2-20-3 Data Log Function The data log function is used to register changes over time to the contents of a registered address. The data can be edited on a personal computer because it is saved as a CSV file.
  • Page 493 When the data is saved as a result of $SB36 turning ON, it is saved to a Trend@.csv file. (See note 1.) The data for all registered data log groups will be saved to file if 0 is stored in $SW37. If a value other than 0 is stored in $SW37, only the log data for that group number will be saved to file.
  • Page 494 1 each time the save operation is executed. After 999, the number reverts to 001. Note 2: Data is saved either when a value other than “0” is stored in $SW37, or using the save icon. Trd@@ . csv 001 to 999 (001 to 099 if the output file names are 6 characters or longer) The ID number for files saved for each group.
  • Page 495 Communication Setting . ♦ Up to 999 CSV files can be saved each for Trend @ .csv and Trd @@ . csv. When this number is ex- ceeded, the saved files will be overwritten in order beginning with 001. ♦...
  • Page 496: Error Log Function

    Errors that occur when macros are executed during PT operation will be recorded. 4. Check error log records. Error log records are displayed from the System Menu. The records can be displayed in the order the errors occurred (sort by occurrence) or in the order of frequency. ♦...
  • Page 497 Maximum Number of Records Up to 100 records can be kept. The set ring buffer format is fixed for records. With the ring buffer format, the oldest data is deleted when the maximum number of records is exceeded and new data is then recorded.
  • Page 498: Screen Saver Function

    NS-series PTs have a screen saver function to help preserve the life of the backlight. This function turns off the backlight and clears the screen if there has been no operation of the PT for a set period. If the screen saver Display Erased function is used, the backlight turns OFF at the same time as the displayed screen is cleared.
  • Page 499 NS Series Programming Manual ♦ If the screen saver start-up time is to be indirectly specified, store a value from 1 to 255 at the communications address in the specified format. The screen saver will not operate if a value out- side that range is stored.
  • Page 500: Buzzer Function

    OFF: The buzzer will not sound. ERR ON: A buzzer will sound when a message is displayed using the “x” or “!” icons, when an error occurs on the PT. A buzzer will sound when a message is displayed using the “x” or “!” icons or an in- struction is given from the host that turns ON $SB12 to $SB14, when an error occurs on the PT.
  • Page 501 Error Buzzers Buzzers can be made to sound when communications or other errors occur during operation if buzzers are set to ON and ERR ON is set under the CX-Designer system setting or the PT System Menu. Dialog Box Buzzers...
  • Page 502: Clock Function

    The date and time can be changed under PT – Calendar Check under the System Menu. The date and time will change as soon as the new settings are input. There is no need to press the Write But- ton.
  • Page 503: Starting External Applications

    Ladder Monitor, Communication Test, Video Configuration, USB Device List, Show the Captured Data , and PLC Data Trace are not external applications. If any of these is selected and the START Button is pressed, the display will change in the System Menu. The PT will not be restarted.
  • Page 504: Device Monitor Function

    With CS/CJ Series PLCs only, NS-series switch box files exported from the CX-Designer’s Switch Box Utility can be read to monitor or make changes to the data while viewing bit comments (using a Switch Box Screen). Error displays (such as details of errors in the PLC) can also be displayed.
  • Page 505 Section 2 NS Series Functions 2-20 Special Functions NS Series Programming Manual Communications mode Applicable PLCs 1:N NT Link C200HE-CPU32-E/-ZE CS1H-CPU67H (*1) C200HE-CPU42-E/-ZE CJ1G-CPU42H (*1) C200HG-CPU33-E/-ZE CJ1G-CPU43H (*1) C200HG-CPU43-E/-ZE CJ1G-CPU44H (*1) C200HG-CPU53-E/-ZE CJ1G-CPU45H (*1) C200HG-CPU63-E/-ZE CJ1H-CPU65H (*1) C200HX-CPU34-E/-ZE CJ1H-CPU66H (*1)
  • Page 506 Section 2 NS Series Functions 2-20 Special Functions NS Series Programming Manual Communications mode Applicable PLCs Ethernet CS1G-CPU42-E(V1) (*1) CJ1G-CPU45H (*1) CS1G-CPU43-E(V1) (*1) CJ1H-CPU65H (*1) CS1G-CPU44-E(V1) (*1) CJ1H-CPU66H (*1) CS1G-CPU45-E(V1) (*1) CJ1H-CPU67H (*1) CS1H-CPU63-E(V1) (*1) CJ1H-CPU65H-R (*1) CS1H-CPU64-E(V1) (*1) CJ1H-CPU66H-R...
  • Page 507 Either 1:1 NT Link or 1:N NT Link protocol can be used. The connection method is the same for both 1:1 NT and 1:N NT Links. Refer to Section 4 Connecting to the Host to Serial Port in the NS Series Setup Manual for information on how to connect to PLCs.
  • Page 508 Switch Box Screen (CS/CJ-series PLCs Only) • Monitor and change the current value of PLC addresses with comments (made by CX-Programmer) by using the Switch Box File for NS exported from Switch Box Utility Ver. 1.4 or later supplied with CX-Designer. •...
  • Page 509 • Data log function • Alarm function Quitting Press the Quit Button located at the top right of the screen to close the device monitor function. The System Menu will be returned when the device monitor function is closed. Common Screen Operations This section describes the common screen operations using the device monitor function.
  • Page 510 The CH Type Selection Dialog Box will be displayed. CH Type Selection 2. Press the ▲ and ▼ buttons to switch between word types. Select the type of words to be moni- tored. 3. Press the address display area to display a tenkey pad. Enter the addresses to be monitored.
  • Page 511 Setting Details Host name Press Host name to display the Host Selection Dialog Box and select the Host. Host names set using CX-Designer can be selected. Mode Press Mode to display the Change Mode Dialog Box. Switches to the specified PLC mode.
  • Page 512 × 10 lines). NS10 and NS8 PTs can display current value data for 100 words made up of two lists of 50 words (10 words × 5 lines). NS5 PTs can display current value data for 25 words (5 words ×...
  • Page 513 Press Mode to display the Mode Change Dialog Box. Switches to the specified PLC mode. Type Press type to display the CH Type Selection Dialog Box. Sets the word type to be monitored. JUMP Press JUMP to display the JUMP Dialog Box. Sets the addresses to be monitored.
  • Page 514 NS12, information for up to 22 errors can be displayed at one time for the NS10 or NS8, and information for up to 7 errors can be displayed at one time for the NS5. If more than the maximum number of errors have occurred, further errors will not be displayed until the highest priority errors have been cleared.
  • Page 515 Error Information Lists This section shows the PLC error information that is displayed on the Error Information Screen. The display data details and type depend on the connected PLC. Refer to the manual for the connected PLC for countermeasures for PLC errors.
  • Page 516 Utility Ver.1.4 or later (Execute <CDROM>:\Utility\Switch Box\Setup.exe.) supplied with CX-Designer, and then transfer it to the PT. In this way the specified address status with comments can be monitored by loading the file to the Switch Box Screen. Also, current values can be changed.
  • Page 517 The Switch Box File for NS (extension .sbt) cannot be imported to the Switch Box Utility. To edit settings made on the Switch Box Utility, select File - Save As and save as the file with an sba ex- tension beforehand.
  • Page 518 *If the Switch Box Screen is switched to from the System Menu, the display will return to the Special Screen Tab Page of the System Menu after the Quit Button is pressed on the screen. If the screen is switched to another screen of the Device Monitor and the Quit Button is pressed, the display will also return to the Special Screen Tab Page of the System Menu.
  • Page 519 Section 2 NS Series Functions 2-20 Special Functions NS Series Programming Manual Switch Box Screen Layout NS12 PTs NS5 PTs Page 1 Page 2 13 12 2-470...
  • Page 520 Group Comment Display Displays comments set for the groups. Up to 20 characters per line and up to 50 lines can be displayed. For the NS5, up to 33 characters per line and up to 9 lines can be displayed Value Press Value Button to switch Change Screen.
  • Page 521 Menu - Special Screen - Device Monitor or operate Command Buttons). 1. Select the Switch Box File for NS 2. Select the group name. 3. Display the bit status and comments in the specified group. 4. Select the host to be monitored. (Use the same pro cedure as selecting host on the Registered Monitor and the Continuous Monitor.)
  • Page 522 Changing the File Name To select the file on the Switch Box Screen, use the following procedure. 1. Press the File Name or the File Name Display Area on the Switch Box Screen. The File Selection Dialog Box will appear.
  • Page 523 PT is ON. If the Switch Box Screen is closed, addresses on the screen are the same after returning to the Switch Box Screen. (If the power to the PT is turned OFF, the same addresses will not be shown.)
  • Page 524 The Bit Monitor allows displaying the communications addresses, values, bit numbers, bit status (ON/OFF status), and comments. Up to 22 characters for the NS15 and 12 for the NS10, NS8, and NS5 can be displayed on the comments display area beside each bit.
  • Page 525 Press the Left (<) or Right (>) Button in the center of the screen to display the four bit area pages followed by the 4 word area pages. After the last word area page is displayed, the screen returns to the first bit area page.
  • Page 526 Section 2 NS Series Functions 2-20 Special Functions NS Series Programming Manual Words Displayed on Switch Box Screen Words that can be displayed on Switch Box Screen are shown in the following table. Symbol Word area CJ1(-H), CS1(-H) DM Area...
  • Page 527 Register Host. again. Cannot connect to this PLC The HOST type for PLC that is Select a host that can be used on model. not supported by Switch Box the Switch Box Screen and function that was selected in the change the connected PLC type.
  • Page 528: Video Configuration

    NS Series Programming Manual 2-20-10 Video Configuration By mounting an NS-CA001 Video Input Unit on the NS12, NS10, or NS8, images can be shown on the PT from connected video cameras or Vision Sensors. Using the Video Configuration, the contrast of the images can be adjusted and outputs can be made to the Vision Sensor Console.
  • Page 529 NS Series Programming Manual Display Area The image from the video device connected to channel 1 of the Video Input Unit is shown in the display area. This area turns blue if data is not input to channel 1. Contrast Adjustments The contrast adjustments affect the Video Input Unit.
  • Page 530 To add the SHIFT signal, press another signal button while holding down the SHIFT Button. ♦ The image can be adjusted by using command buttons or Multifunction Objects as well. Refer to 2-9-3 Command Buttons or 2-11 Multifunction Objects for details.
  • Page 531: Programming Console Functions

    Programming Console functions are utilities to enable a PT to be used in place of a Programming Console. These functions are included with the CX-Designer CD-ROM. The Programming Console functions are used on the PT as an external application. A separate Memory Card (15 MB min.) is re- quired before these functions can be used.
  • Page 532 NS Series Programming Manual ♦ The Memory Card to which the files are copied must have at least 3.5 MB of free space to use the Programming Console functions on the C-series or CJ/CS-series PLCs. 2. Turn OFF the power supply to the PT and mount the above Memory Card into the Memory Card connector on the side of the PT.
  • Page 533 4. The Programming Console function will start. Starting from a User Screen 1. Use a Macro or Word Button to set one of the following values in $SW0. C-series or SRM1 PLC with 1:1 NT Link: 4038 BCD or FC6 binary CS/CJ-series PLC with 1:N NT Link: 4037 BCD or FC5 binary Or set a Multifunction Object to Display System Menu –...
  • Page 534 PTs, the initial screen will be displayed. When the function is closed in a PT with the built-in Programming Console function, the PT will revert to the user screen that was displayed when the Programming Console function started. If the Programming Console function was started from the system menu, the PT will revert to the user screen displayed before the system menu.
  • Page 535: Plc Data Trace

    CPU Unit’s trace memory. The PT can read the data stored in the PLC and display the data on-screen in a time chart.
  • Page 536 NS Series Programming Manual Starting from the System Menu 1. Select PLC Data Trace from the Special Function list on the System Menu’s Special Screen Tab Page and press the START Button. 2. The PLC Data Trace function will start.
  • Page 537 3. The PLC Data Trace function will start. ♦ The data storage format (binary or BCD) of the values set in $SW0 is determined by the BCD/Binary setting in the System Memory List, which can be displayed by selecting PT - System Setting , clicking the Initial Tab, and clicking the System Memory List Button.
  • Page 538 NS Series Programming Manual 2. The PT will revert to the user screen that was displayed before the PLC Data Trace function started. If the PLC Data Trace function was started from the system menu, the PT will revert to the user screen displayed before the system menu.
  • Page 539 The CIO, WR, HR, AR, TU, or CU data area can be selected. Press the Address Field to display a tenkey pad. Input the address to be monitored. Addresses can be set between 0.0 and 32767.15, but be sure to input an address that is valid in the con- nected PLC.
  • Page 540 Edit the word to be sampled. tings Click the Up or Down Buttons to change the type. Words can be set in the following areas: CIO, Work, Auxiliary, Timer, Counter, DM, current EM bank, and EM banks 0 to 18 hex.
  • Page 541 Lists the hosts registered in the project. ♦ When a host has not been selected, the host at the top of the list is selected by default. ♦ The data tracing is supported by the CS/CJ Series (except the CP1) and the NSJ Series Con- troller section.
  • Page 542 1. Press the Start Button at the top of the PLC Data Trace Screen. 2. The data trace will start. If the trigger condition is met, sampling will start and the trace data will be stored in the CPU Unit’s trace memory. When the trace memory becomes full, sampling will stop automatically, the trace data will be read from the CPU Unit’s trace memory, and the sampling data...
  • Page 543 • Operating mode: Displays the operating mode of the PLC performing the data trace. • Trace status: Displays the status of the data trace. Displays the status in the format “Data Trace – XXXX”. Where the XXXX is one of the follow- ing.
  • Page 544 • Signed decimal • HEX (hexadecimal) ♦ The bmp file of the captured screen can also be checked using the Display Capture Data in the System Menu of the NS-series PT. (Refer to the NS-series PT Setup Manual.) Saving Collected Data Data trace data read from the PLC can be saved as a CSV file on the Memory Card.
  • Page 545 Screen are output. The sampling cycle will be output if fixed interval is set as the sampling condition. Data trace format The display method for the cursor position bit and word values set in the PLC Data Trace Screen are output. Sampling The first line is displayed is the sampling unit.
  • Page 546 The Delete Button was pressed, but the selected No. does not have a bit address set. Select the No. of the row containing the bit address to be deleted. Failed to read the trace setting area. Check whether the connecting cable is connected properly.
  • Page 547: System Settings And System Menu

    Menu. These settings include backlight brightness, buzzer sound, communications settings, and data initialization. The System Menu is also used to display operation and alarm histories and special screens such as the device monitor function screens and perform PT hardware checks. The settings that can be made under system setting or the System Menu are outlined in the following table.
  • Page 548 : Can be set using different CX-Designer menu Note 1. Set using Title Tab Page in the Project Property Dialog Box under PT - Project Properties . 2. Set using Switch Labels Tab Page in the Project Properties Dialog Box under PT - Project Properties .
  • Page 549: Transferring Device Data

    For example, assume that the process value (C00000) of the Temperature Controller connected to the PT is transferred to EM200 in the EM Area in the PLC as shown below. Here, the Temperature Con- troller would be the transfer source device and the PLC would be the transfer destination device. When the trigger condition is met (i.e., when address CIO 10.5 turns ON), device data 200 from the Tem-...
  • Page 550: Device Data Setting Dialog Box

    For example, if 1,024 data elements are set for entry 0 of group 0, then no other groups or entries can be set.
  • Page 551 Import CSV and Imports or exports a CSV file. Export CSV But- tons Adds a group to the table if the focus is on the table. Adds an entry to the group if the focus is on a group. 2-502...
  • Page 552 Depending on the size of the data transfer, it is possible that only that portion of the data that was read to the destination device before the interruption will be transferred.
  • Page 553 The data transfers that would be performed for various data lengths and numbers of elements are shown below for when the transfer source access size is 16 bits and the transfer destination access size is 8, 16, or 32 bits.
  • Page 554 If the rising edge or falling edge is set as the trigger condition, the trigger address will not be auto- matically turned ON or OFF by the system after the trigger condition occurs. If a cyclic trigger is set, however, the triggers will be sorted with the shortest cycles first and transfers will be executed in order.
  • Page 555 Transfer group 1 Transfer group 4 Even if the trigger condition is met, data will not be transferred while another transfer group is being processed. This will create inconsistencies in the transfer cycles. Example 3: A Trigger Occurs During Operation...
  • Page 556 CJ1 PLC: Transfer Source CJ1 PLC: Transfer Destination • Device data is transferred from the CJ1 PLC that is the transfer source device to the CJ1 PLC that is the transfer destination device. • The transfer times are for 10 and 1,024 WORD data elements set for one group and one entry.
  • Page 557 Section 3 Using PTs NS Series Programming Manual Section 3 Using PTs This section describes how to use PT functions. 3-1 Procedure before Operation .........................3-1 3-2 Controlling Buzzers, Backlights, and Display .....................3-2 3-3 Screen Display and Notification ........................3-5 3-4 Changing Numeral and Character String Display..................3-10 3-5 Displaying Graphs .............................3-15...
  • Page 558: Procedure Before Operation

    Connection of host and PT Confirmation of operation Operation NS-Designer ♦ Refer to the CX-Designer Online Help for information on how to operate the CX-Designer. ♦ Refer to the NS Series -V1/-V2 Setup Manual (V083-E1-@) for information on how to operate PTs.
  • Page 559: Controlling Buzzers, Backlights, And Display

    The system memory is manipulated as shown below when the need arises for a buzzer to sound. The bits listed on the following table will turn ON depending on the type of buzzer to be sounded. Continuous buzzer:...
  • Page 560: Controlling Backlights

    3-2-4 Turning OFF Screen Display If the screen display is set to turn OFF when not required, the life of the backlight can be extended. The backlight also turns OFF automatically while the screen display is turned OFF. Screen display can be turned OFF using the following method.
  • Page 561 Cleared screens are re-displayed when touch panels are pressed. Any position on the screen can be pressed. ♦ Even if a functional object position is touched, the first touch will re-display the screen and the func- tional object will not react. ♦...
  • Page 562: Screen Display And Notification

    Section 3 Using PTs 3-3 Screen Display and Notification NS Series Programming Manual 3-3 Screen Display and Notification This section describes how to switch screens displayed on NS-series PTs and how to check the screen number for the displayed screen. 3-3-1 Switching Screens Screens can be switched using the following methods.
  • Page 563 NS Series Programming Manual Using Command Buttons or Multifunction Objects to Switch Screens Screens can be switched on the spot from the PT by using Command Buttons. Press a Command Button to which Switch screen has been set under the button property setting.
  • Page 564 Closing Pop-up Screens when Normal Screens Switched Pop-up screens can be closed at the same time that the base screen used to open the pop-up screen is switched to another screen. Select Closes when base screen switches on the Size/Pop-up Tab Page found in the pop-up screen...
  • Page 565 NS Series Programming Manual Using Alarms/events to Switch Screens Screens can be switched when alarms or events occur or when an alarm or event display object is pressed. Alarms/events are functions that monitor addresses (bits). When the bit turns ON a corresponding message can be displayed.
  • Page 566: Finding Current Screen Numbers

    3-3-2 Finding Current Screen Numbers NS-series PTs have a function to notify the host that screens have been switched by the PT and to no- tify the host of the new screen number. The host is informed the timing of the screen switch and the new screen number using the following method.
  • Page 567: Changing Numeral And Character String Display

    Changing Address Contents for Numeral Display and Input Objects The display can be refreshed for numeral display and input objects if a host address is allocated to the object. The display is refreshed simply by changing the contents of that address in the host.
  • Page 568 2. The string from the specified line (when a text file line number is specified) will be displayed when the contents of the set address are changed during operation.
  • Page 569 HOST1: DM00001=2 Specifies status 3. 1. Select the Use as a Message Display checkbox on the General Tab Page when making the label property settings from the CX-Designer. 2. Set the string to be displayed, the background color, and other settings on the Message Tab Page.
  • Page 570 3. Set the No. of Contents and Address for switching Contents on the Edit Contents toolbar in CX-Designer. 4. Enter the contents number to be edited in the input field for Contents No. on the Edit Contents tool bar. 5. Select Contents Display. Press the Space Key and enter the string to be displayed.
  • Page 571 Section 3 Using PTs 3-4 Changing Numeral and Character String Display NS Series Programming Manual 2. Set the label string for each corresponding label in the functional object property setting (Label Tab Page). Use the pull-down list to switch between labels.
  • Page 572: Displaying Graphs

    10-second display 20-second display (unit = seconds) Address contents = 10 Address contents = 20 ♦ Nothing will be displayed on the graph if the content of the specified address is 0 or a lower number. 3-15...
  • Page 573 Graphs can be scrolled and the display refreshed at any time interval based on a specified time. 1. Select Set Address for updating display under the data log graph property setting, and then set an address for specifying refreshing the display under Scroll Control Flag and an address where the scroll time is stored under Address for Specifying Scroll Interval.
  • Page 574: Inputting Numeral And Character Strings

    Input from Command Buttons. Inputting From a Keypad 1. In the numeral display and input property setting on the Keypad Tab Page, set either system key- pad or Large system keypad as the input method. 2. A keypad will be displayed during operation when a numeral display and input object is pressed.
  • Page 575 2. Set Transmit to. 3. Set Transmit type. Select label string and set 0 to 9 and A to F to the Command Button labels to create a button that inputs 0 to 9 and A to F like a tenkey pad. Select control code and specify a control code to create BS and Enter Command Buttons.
  • Page 576 Decimals can be input only when the display format is decimal. ♦ The scale for a thumbwheel switch must be set to a power of 10, and the offset must be set to 0. If any other values are set, the thumbwheel switch may not operate properly.
  • Page 577: Inputting Character Strings

    Character strings are input using string display and input objects. Inputting to String Display and Input Objects There are two methods for inputting to string display and input objects: Input from a keypad and Input from Command Buttons. Inputting From a Keypad 1.
  • Page 578 7. Changes the input mode to upper case when alphanumeric input mode is selected. 8. Changes the characters that can be selected to !, $, #, %, and other symbols. This does not affect upper or lower case for alphabet letters.
  • Page 579: Using Alarm/Event Summary History Functions

    The alarm/event history function (alarm history display) displays mes- sages set to past or current alarms/events and a list of when the alarms/events occurred and when they were cleared.
  • Page 580 The alarm/event summary and history object displays the data recorded at that point. If the moni- tored host bit is turned ON, the message set to that bit will be displayed. Depending on the settings, the date and time the alarm/event occurred and was cancelled, the group number, display type, priority order, confirmation date and time, and number of occurrences will be displayed.
  • Page 581 Changes display type (high alarm, middle alarm, low alarm, event). ♦ The user can select whether or not to use scroll buttons and icons. Refer to Alarm/Event Summary and History in 2-14 Alarms and Events for information on settings. ♦...
  • Page 582 1. Register an alarm/event. The procedure is the same as Checking without Stopping PT Operation, described in the previous section. (The settings are shared by all projects.) 2. Display the Alarm History Screen from the Special Screen Tab Page under System Menu. The re- corded alarm history data will be displayed.
  • Page 583: Using Operation Log Functions

    • Communications Address (Bit) Value Change History Recorded data can be stored as a CSV file and saved to a Memory Card by turning ON system mem- ory bit $SB38. The various operation logs operate while the system memory bits outlined in the following table are turned ON.
  • Page 584: Settings For Operation Logs

    Settings for Operation Logs To record operation histories for functional objects, Record to Operation Log must be selected before- hand on the Write Tab Page (extension tab page) for each functional object when screens are created using CX-Designer. This enables records to be kept for the functional objects.
  • Page 585: Displaying And Setting System Clock

    2. The system clock will be displayed during PT operation. 3-9-2 Setting Date and Time The date and time functions do not only display the system clock. They can also be used to change the date and time displayed during operation. Changing Dates and Times 1.
  • Page 586: Prohibiting And Allowing Pt Operation

    ON → OFF (1 → 0) Allow input to screen: 2. If the screen is touched while input is prohibited, a password dialog box will be displayed. Input the correct password to enable input to the screen functional objects. $SB19 will automatically turn OFF.
  • Page 587: Prohibiting And Allowing Input For Individual Functional Objects

    Change set address status from OFF to ON (0 → 1). Allowing input: ♦ If disable is set using the control flag, no input from the PT to that functional object is possible dur- ing operation. ♦ Control flags also have a function for displaying or not displaying functional objects.
  • Page 588: Using Memory Cards

    Data log graph object data can be saved to a file by manipulating system memory. 1. Use the Write to File icon or save the group number to $SW37 and turn ON $SB36 to save data log graph files. The file name will be Trd@@.csv, and up to 999 files can be saved for each group.
  • Page 589: Saving Operation Logs To Memory Cards

    Beginning with 001, the number is automatically incremented by 1 each time the save operation is executed. After 999, the number reverts to 001. 3. The data log can be saved from the Initialize Tab Page on the System Menu. File names are the same as when using the system memory bit ($SB36).
  • Page 590: Function Key Settings (Ns15 Only)

    3-12 Function Key Settings (NS15 Only) NS Series Programming Manual saving the file, a number from 001 to 999 will automatically be added in order to the end of the file name. Refer to 2-9-3 Command Buttons for details. ♦...
  • Page 591 Item Description Key Status Sets key status addresses for function keys F1 to F3. Address Note: The Function Key Tab will not be displayed for PTs other than the NS15, or when making the settings in a pop-up window. 3-34...
  • Page 592 Section 3 Using PTs 3-12 Function Key Settings (NS15 Only) NS Series Programming Manual 3-35...
  • Page 593 Section 4 Using Functions NS Series Programming Manual Section 4 Using Functions This section describes some simple applications that may serve as reference for using PT functions. Use this section as a reference when using the PT. 4-1 Application ..............................4-1...
  • Page 594: Application

    3. Apply the sheet created in the previous step to all screens displayed on the PT. Suggestions • Set the sheet created in step 2 to be displayed on all displayed screens, so that the message Tem- perature error is displayed. •...
  • Page 595 Screen number for the screen used in steps 1 and 2 above. Suggestions When this method is used, the error screen will remain even if the monitored PLC bit turns from ON to OFF after the display has switched to that error screen. Once the device error has been checked, a Command Button for switching screens must be created or the system memory bits for switching screens must be manipulated to switch back to the original screen.
  • Page 596 Bit lamp for each object Suggestions A ladder program must be written to turn ON the bit lamp for indicating the error position for each tem- perature at the same time that the temperature error bit turns ON. Example 4: To display a screen that provides a history of past alarms including the time of the error, when the Temperature error alarm message is touched.
  • Page 597 (Select Use as pop-up screen in the screen properties.) Displaying Messages on Pop-up Screen Example: To open and display an error message on a pop-up screen when the monitored PLC bit turns ON. Pop-up screen 1. Make the following alarm/event settings.
  • Page 598 • Up to three pop-up screens can be created. • When multiple pop-up screens are to be opened at the same time, the display positions for the screens can be specified so that they do not overlap. • The pop-up screen display position can be moved by pressing the Move Button. Move the screens if there is overlap with the base screen that prevents the screens being viewed properly.
  • Page 599: Always Reading Plc Word Contents

    Scroll bar: Select Use scroll bar. The reading of the contents of the specified word will start at the same time as operation starts, re- gardless of whether or not a data log graph is set to be displayed. Operation start Data read starts at the same time as operation starts.
  • Page 600 Reads the CSV file saved on the Memory Card. Displaying Word Contents after Scaling with Macro Function Example: To execute the operation “Y = 2X + 3” on the contents of the PLC word (X) and dis- play the results on a data log graph.
  • Page 601: Changed Bit Status

    Word contents can be judged because operators can use logical and comparative operands in addi- tion to arithmetic operands. • If word lamp display is not required, change the settings to no display or move the word lamp outside the screen. 4-1-3...
  • Page 602 PLC Designated Switching from Japanese to English Screens Type0 Type1 1. Select PT - Project Properties, open the Switch Label Tab Page, set the No. of labels to 2, and click the OK Button. 2. Create the first Command Button.
  • Page 603 ← When display position for 1 is (500,100). MOVEPARTS(1,500,100); ENDIF … IF($W0==15) ← When display position for 15 is (700,200). MOVEPARTS(1,700,200); ENDIF ($W0 is used as a work area.) When ID for bit map (object) created in step 1 is 1. 4-10...
  • Page 604: For Numeral/String Input

    Numeral values PLC memory Bit ON Input notification 1. Create a numeral display and input object on the screen with the following settings. Write: Select Turn ON the Specified Address when the Value is Confirmed. (extension tab page) Set the PLC address for notification.
  • Page 605: For Button Operation By User

    Specify the screen from step 1. 4-1-6 When Screens Are Switched Clearing Specific Sheet Objects Example: To place a clock at the same position on all screens but to clear clock display for screen 1 only. Screen 0 Screen 1...
  • Page 606 Section 4 Using Functions 4-1 Application NS Series Programming Manual 4-13...
  • Page 607 Section 5 Troubleshooting and Maintenance NS Series Programming Manual Section 5 Troubleshooting and Maintenance This section describes the countermeasures for errors that may occur on PTs. 5-1 Errors ................................5-1 5-2 Error Messages ............................5-6...
  • Page 608: Errors

    5-1 Errors NS Series Programming Manual 5-1 Errors If an error occurs during PT operation, find the symptoms of the error on the following table and then perform the suggested countermeasures. Note Check that the system is safe before turning the power ON/OFF or pressing the reset switch.
  • Page 609 Contact your nearest OMRON representative. alternates ON and OFF. Screen is empty Automatic upload/ This is not an error. To return to normal operation, set all DIP and indicators download has ended switches to OFF and cycle the PT power. flash green.
  • Page 610 Setup Manual (Cat. No. V083).) With the NS5, the Inter- Set the interface to use port B on the Comm Tab Page from face for serial port B is set the NS5 System Menu. to the extension interface when the connection is to serial port B.
  • Page 611 Cause Possible countermeasure Screen is empty. Waiting for system This is not an error. The screen will be empty if the wait time startup. has been exceeded. Screen saver operating. This is not an error. Touch the screen to display the screen data.
  • Page 612 No reference file. Use the CX-Designer (on the personal computer) to check on list selection or that the reference file exists in the folder where project data is bitmap objects. stored and transfer the screen data to the PT again.
  • Page 613: Error Messages

    5-2 Error Messages NS Series Programming Manual 5-2 Error Messages If one of the messages listed on the following table is displayed on the PT, find the symptoms of the error below and then perform the suggested countermeasures. 5-2-1 Troubleshooting Data Transfers from the CX-Designer This section describes possible errors during data transfer and their countermeasures.
  • Page 614 Pressed Connect Button Refer to Transferring Data to the PT in the puter then try connecting again.) CX-Designer Online Help for details on even though some items re- main unset under the Com- proper settings and check the settings.
  • Page 615 The PT may need repaired. Contact your nearest OMRON representative. Cannot execute because an The host type (Type) was If there is an invalid address, the project invalid address exists. Check changed in the CX-Designer’s cannot be transferred. Find the invalid with the Find Invalid Addresses Comm.
  • Page 616: Troubleshooting Errors When Turning On Power

    Section 5 Troubleshooting and Maintenance 5-2 Error Messages NS Series Programming Manual 5-2-2 Troubleshooting Errors when Turning ON Power This section describes possible errors immediately after power is turned ON to the PT and the coun- termeasures for these errors. Message Cause Possible countermeasure Touch panel error.
  • Page 617 ON failed. not restored after downloading, insert the Memory Card contain- ing the recovery system program in BANK 1 in the PT. (Refer to 3-6 Using Memory Cards in the Setup Manual.) If the same problem occurs after reinstalling the sys- tem program, the PT may need repaired.
  • Page 618 5-2 Error Messages NS Series Programming Manual Message Cause Possible countermeasure WARNING No. 23: Screen data file(s) is The screen data in the Touch the PT’s touch panel, and not correct: Touch the screen to continue PT is damaged. (The PT after connecting is displayed at and transfer screen data again.
  • Page 619: Troubleshooting Errors At Startup

    5-2 Error Messages NS Series Programming Manual 5-2-3 Troubleshooting Errors at Startup This section describes possible errors after power is turned ON to the PT, when operation is started, and during operation and the countermeasures for these errors. Message Cause Possible countermeasure Download the project data.
  • Page 620: Troubleshooting Errors When Switching Screens

    Section 5 Troubleshooting and Maintenance 5-2 Error Messages NS Series Programming Manual 5-2-4 Troubleshooting Errors when Switching Screens This section describes possible errors when PT screens are switched and the countermeasures for these errors. Message Cause Possible countermeasure Page file load error.
  • Page 621 If the same address is used multiple times, that address is counted for each time it is used. Addresses used in macros, however, are not counted. Addresses allocated in system memory are not counted either.
  • Page 622: Troubleshooting Errors For Functional Objects

    Section 5 Troubleshooting and Maintenance 5-2 Error Messages NS Series Programming Manual 5-2-5 Troubleshooting Errors for Functional Objects This section describes possible errors during operation of functional objects and their countermea- sures. Message Cause Possible countermeasure Input date is incorrect.
  • Page 623: Troubleshooting Errors During System Menu Operation

    The address set at CH type se- Set address is incorrect. Check whether or not an illegal address lection is not correct. Check the has been set and set the correct address. address and input the correct address again. Allocated host: XXXX Allocated address: XXXX MRES = XXXX, SRES = XXXX.
  • Page 624 Failed to save data to CSV file in A Memory Card is not Check to see if a Memory Card is inserted, a Memory Card. inserted or the Card is not replace it if necessary, and try to save the one supported by the PT.
  • Page 625: Communications Errors And Countermeasures

    PT Operation When Errors Occur An error message is displayed on the PT when an error occurs, and a buzzer will sound if Buzzer sound under the System Menu is set to ON or ERR ON. Error messages are displayed when Commu- nications auto return is turned OFF under the System Menu.
  • Page 626 Allocated host: XXXX Addressing error exists in the An illegal address is Press the OK Button to go to the System screen, alarm, data log, or set. Menu. Select Data Check to see whether the macro. Correct address set- address is valid and the communications ting by the CX-Designer.
  • Page 627 The communications Check the cable connection and conduct a writing by the following case: cable is not properly continuity test. Replace the cable if there is a connected. The host cable error, or rewire the cable if necessary. Disconnection of the...
  • Page 628 Data corrupted by Check the cable connection and conduct a detected while writing by the noise continuity test. Replace the cable if there is a following case: cable error, or rewire the cable if necessary. Invalid host communi- Corrupted data by noise...
  • Page 629 Check the remote unit address. (MRES:02) (SRES:02). No third node (SRES:03). Check the address for the unit used as the third node. Check the third node address in the CMND instruction send data. Broadcast specified (SRES:03). Specify only one node as the third node.
  • Page 630 (SRES:02). Routing table error (SRES:03). Make the correct routing table settings. Command used more than 3 Edit the network or change the routing tables so that levels (SRES:04). the command uses 3 or fewer levels. Command Command too long (SRES:01).
  • Page 631 (SRES:02). Tried to create file when number Delete unnecessary files and then create a new file or of files that can be registered has create memory area for new files. been exceeded (SRES:03). Tried to open too many files for Close open files and then re-execute the command.
  • Page 632 I/O tables again. (SRES:03). Registered number of I/O points Change the registered number of points so that it will or remote I/O points exceeded not be exceeded. (SRES:04). Data transfer error between CPU Check that the Unit, Board, and cable are connected and CPU Bus Unit (SRES:05).
  • Page 633 ACQUIRE or ACCESS RIGHT RELEASE command RIGHT ACQUIRE or ACCESS to enable execution of original command. Current RIGHT FORCE ACQUIRE com- processing on the node that had access rights may be mand executed on another node.) affected, however.) (SRES:01) Abort Interrupted by ABORT command −−−−−−...
  • Page 634 (SRES:1A) Insufficient read data buffer System program corrupted. Download the system (SRES:1B). program. If the error persists, the PT may need re- paired. Contact your nearest OMRON representative. Standby processing failed for System program corrupted. Download the system exclusive processing.
  • Page 635: Troubleshooting Macros

    ID (xxx) Functional object ID number where error occurred (“-1” for project and screen macros). (xxx) Macro execution timing. The information displayed under error details, the cause, and the countermeasures are outlined in the following table. Error details Cause Possible countermeasure 0 division error Divided by zero.
  • Page 636 Macro executed when alarm or event display area is pressed during an alarm or event. Macro executed when displayed alarm/event selected using alarm/event summary and history object. ♦ A communications error message will also be displayed if an illegal address is accessed by a macro. 5-29...
  • Page 637: Troubleshooting Errors With Ethernet/Ip Communications

    PT Operation When Errors Occur An error message is displayed on the PT when an error occurs, and a buzzer will sound if Buzzer sound under the System Menu is set to ON or ERR ON. Error messages are displayed when Commu- nications auto return is turned OFF under the System Menu.
  • Page 638 The following messages are displayed for communications errors. Message Cause Possible countermeasure Addressing error exists in the The set address is Press the OK Button to move to the System screen, alarm, data log, or invalid. Menu. macro. Correct address Check the communications settings under setting by the CX-Designer.
  • Page 639 Message Cause Possible countermeasure Addressing error exists in the An illegal address is Press the OK Button to go to the System screen, alarm, data log, or set. Menu. Select Data Check to see whether the macro. Correct address setting address is valid and the communications by the CX-Designer.
  • Page 640 Check the cable connection and conduct a writing due to the following: cable is not properly continuity test. Replace the cable if there is a Disconnection of the connecting connected. The host cable error, or rewire the cable if necessary.
  • Page 641 • The write end position exceeds the range of the variable area. • The relevant part of the EM Area has Set the correct code, referring to infor- been converted to file memory. mation on the command variables and parameter type codes.
  • Page 642 Section 5 Troubleshooting and Maintenance 5-2 Error Messages NS Series Programming Manual 5-35...
  • Page 643 Appendices NS Series Programming Manual Appendices Appendix-1 Specifications..........................A-1 Appendix-2 List of Models..........................A-10 Appendix-3 PLC Memory Areas........................A-12 Appendix-4 Addresses for Functional Objects ....................A-16 Appendix-5 Controller Link Network Status Read List ................A-29 Appendix-6 Additional NS Series Functions....................A-32...
  • Page 644: Appendix-1 Specifications

    Specification Functional objects A total of 1,024 functional objects in frames or tables can be created for each screen. There are some functional objects, however, for which it is not possible to create more than one functional object for the same screen.
  • Page 645 Integer part: Up to 15 digits Decimal fraction part: Up to 10 digits. (Decimal fraction input is enabled only when the display format is set to decimal and scaling is set, or when real number storage is set.) •...
  • Page 646 However, a limit of 1,024 functional object per screen applies, and this may restrict the number of objects per frame. • Tables No. of tables Any number of tables can be created, as long as the total number of functional objects per screen does not exceed 1,024. • Horizontal Up to 30 columns.
  • Page 647 PT - Transfer - Quick Transfer [To PT] • PT - Transfer - Transfer Program ♦ With project data versions lower than 8.0, a maximum total of 1,024 objects (including functional objects, frames, tables, and graphic displays) can be created per screen.
  • Page 648: A-1-2 Specifications For Display Elements

    8x14, 12x21, 16x27, 20x34, 24x41, 32x54, 48x82, 64x108, 80x135, 96x161, 112x188, 128x216, 160x269, 200x336 Numerals 0 to 9, characters A to F, the plus and minus signs (+ and –), periods (.), commas (,), spaces ( ) and colon (:) can be displayed on the 7-segment display.
  • Page 649 Storage format Format Details INT (1-word signed) Stores the data as a 2-byte integer at the write destination address. (−32,768 to 32, 767 in decimal) UNIT (1-word unsigned) Stores the data as a 2-byte integer at the write destination address. (0 to 65,535 in decimal)
  • Page 650 Date yyyy: year (4 digits); display yy: year (2 digits) mm: month; dd: day of month ddd: day of the week (1 character, e.g., S) dddd: day of the week (3 characters, e.g., Sat) Display formats Display examples yyyy[JY]mm[JM]dd[JD] dddd...
  • Page 651 Appendices Appendix-1 Specifications NS Series Programming Manual Display element Specifications Display Display format Time hh: hour, mm: minutes, ss: seconds, xxxx: a.m./p.m. Display formats Display examples xxxx hh[Jh]mm[Jm]ss[Js] 01 51 25 xxxx hh[Jh]mm[Jm] 01 51 hh[Jh]mm[Jm]ss[Js] 13 51 25 hh[Jh]mm[Jm]...
  • Page 652: A-1-3 Special Functions

    Screen data Downloads/uploads from CX-Designer (computer) or Memory Card. transfer History save function Saves operation log, error log, alarm, event history, or data log data to Memory Card. Screen hardcopies Printing function The printing method and compatible printers can be selected.
  • Page 653: Appendix-2 List Of Models

    Appendices Appendix-2 List of Models NS Series Programming Manual Appendix-2 List of Models A-2-1 PT Models Ethernet Body Model Type Size Color No. of dots Color NS15-TX01S 15.0 inches Color 1024 x 768 10/100Base-T Silver NS15-TX01B 15.0 inches Color 1024 x 768...
  • Page 654 PTs is 20 MB. Note 2: The data capacity for NS5-SQ00(B)-V1 and NS5-SQ01(B)-V1 PTs is 6 MB. The data capacity for NS5-@@0@(B)-V2 PT is 20 MB. Note 3: The data capacity for NS15-V2, NS8-V2, NS10-V2, NS12-V2, and NS5-@@1@-V2 is 60 MB.
  • Page 655: Appendix-3 Plc Memory Areas

    (See note 2.) 00255 06655 Note 1. The memory areas that can be used depend on the model of the CPU Unit 2. CQM1, CPM2A, and CPM2C PLCs only support 1:1 NT Link communications. A-3-2 OMRON CVM1 and CV-series PLC Memory Areas...
  • Page 656: A-3-3 Omron Cs-Series Cs1G, Cs1H, Cs1G-H, And Cs1H-H Plc Memory Areas

    5. Specify a bank for the data area when setting a bit address in the EM. If the data area is specified using the current bank, the ON/OFF function may not be able to be used correctly, depending on the status of other bits in the EM area for the same word number.
  • Page 657: A-3-4 Omron Cj-Series Cj1G, Cj1G/H-H, Cj1M, And Cj2H Plc Memory Areas

    5. CJ1M PLCs do not have an EM area. 6. Specify a bank for the data area when setting a bit address in the EM. If the data area is specified using the current bank, the ON/OFF function may not be able to be used correctly, depending on the status of other bits in the EM area for the same word number.
  • Page 658: A-3-5 List Of Areas With Bit Access

    E18_ Bank 18 Note 1. LR 00000 to LR 00199 are converted to and used as I/O area words CIO 01000 to CIO 01199. 2. The EM area (EM) is supported only for C200HX/HG/HE-E/-ZE PLCs in the C Series. A-15...
  • Page 659: Appendix-4 Addresses For Functional Objects

    32-bit data If data is written to a bit for an address for which only W or L can be set, all other bits will be set to 0. Refer to Appendix 3 for information on the PLC addresses that can be used.
  • Page 660 Tab page name Set address object Bit lamps General Display address Color/Shape Indirect specification of background color when ON Indirect specification of background color when OFF Label Indirect specification of label character color Flicker Flicker specification Control Flag Display/no display flags...
  • Page 661 General Communications address meters Border Indirect specification of border value (maximum) Indirect specification of border value (delimiter 1) Indirect specification of border value (delimiter 2) Indirect specification of border value (minimum) Color Indirect specification of range 1 color Indirect specification of range 2 color...
  • Page 662 Level display Frame Indirect specification of frame ON/OFF objects Background Indirect background color specification Indirect specification of range 1 background color Indirect specification of range 2 background color Indirect specification of range 3 background color Flicker Flicker specification Control Flag...
  • Page 663 Display/no display flags Data block General Specify interlock (Data Prohibition Flag) tables Indirect reference of maximum limit for numeral field Indirect reference of minimum limit for numeral field Address for numeral field Address for string field Text Attribute Indirect specification of text colors...
  • Page 664 When using direct addresses, NS-series PLCs treat communications addresses set to any data type other than BOOL as if they were set to CHANNEL. (CHANNEL stands for word data.) Data types other than BOOL and CHANNEL are used for compatibility with the CX-Programmer symbol table.
  • Page 665: A-4-2 Using Tags

    Appendix-4 Addresses for Functional Objects NS Series Programming Manual A-4-2 Using Tags The data types for tags that can be set for functional objects (including arrays) are shown in the following table. B (bit): BOOL CHANNEL, INT, UINT, UINT_BCD, WORD...
  • Page 666 Word lamps General Display address Color/Shape Indirect specification of background color when 0 Indirect specification of background color when 1 Indirect specification of background color when 2 Indirect specification of background color when 3 Indirect specification of background color when 4...
  • Page 667 Appendix-4 Addresses for Functional Objects NS Series Programming Manual Functional Tab page name Set address object Numeral display Limit Monitor Indirect specification of upper limit monitoring & input objects (See (See note 1.) note 1.) Indirect specification of lower limit monitoring (See (See note 1.)
  • Page 668 1.) note 1.) Border Indirect specification of border value (maximum) (See (See note 1.) note 1.) Indirect specification of border value (delimiter 1) (See (See note 1.) note 1.) Indirect specification of border value (delimiter 2) (See (See note 1.) note 1.)
  • Page 669 Appendix-4 Addresses for Functional Objects NS Series Programming Manual Functional Tab page name Set address object Broken-line Graph Indirect specification of number of graph points Graphs Indirect specification of maximum graph data value (See (See note 1.) note 1.) Indirect specification of minimum graph data...
  • Page 670 Starting address of the X-Y coordinates data (See note 2.) Input Multifunction General Object Perform an action when a bit value changes Perform an action when a word value changes Write bit Write word – write address (See (See note 1.) note 1.)
  • Page 671 Display/hide flag Note 1. Set the same data type as is used for the storage type of the functional object, or set a tag with a CHANNEL type. For information on data types for storage types, refer to 2-8-4 Numeral Display and Storage Type (General Tab).
  • Page 672: Appendix-5 Controller Link Network Status Read List

    Appendices Appendix-5 Controller Link Network Status Read List NS Series Programming Manual Appendix-5 Controller Link Network Status Read List First read address (n) Bits Status Details 0 to 7 Error information Not used. 1: Node address setting range error 1: Duplicated node address...
  • Page 673 Appendices Appendix-5 Controller Link Network Status Read List NS Series Programming Manual First read address (n) Bits Status Details 0 to 7 Data Link Status Node 1 8 to 15 Node 2 0 to 7 Node 3 8 to 15...
  • Page 674 Appendices Appendix-5 Controller Link Network Status Read List NS Series Programming Manual First read address (n) Bits Status Details n+24 Data Link Normal Operation Node 25 Status Node 26 Node 27 Node 28 Node 29 Node 30 Node 31 Node 32...
  • Page 675: Appendix-6 Additional Ns Series Functions

    Appendices Appendix-6 Additional NS Series Functions NS Series Programming Manual Appendix-6 Additional NS Series Functions The following tables show the main functions that have been added or improved with the NS Series upgrade. Ver. 3.0 Supplement/ Function Enhancement Screen data transfer...
  • Page 676 CSV files can be read and displayed overlapping the log graph with a reference. Video captures can be Image data saved in the memory card can be specified from a list and displayed. read from the memory The list can be called using the command buttons or from the system menu.
  • Page 677 Once a user inputs the password to use a functional object for which a password has been set, the password does not have to be input again as long as the user continues using only functional objects for which lower level passwords have been set.
  • Page 678 PLC data trace reading Trace results from data traces (which is a CPU Unit function) can now be read by the PT and displayed in time chart format. (CSV files cannot be saved.) This makes it possible, using just the PT without CX-Programmer, to isolate the causes of errors that occur on-site.
  • Page 679 • It is now possible to switch the display and input formats of the present value of a word between hexadecimal, decimal, and signed decimal format. • It is now possible to perform a screen capture and save the data as a bitmap (bmp) file.
  • Page 680 • Messages can now be set in the operation log. • It is now possible to save a history file (a CSV file), and display the operation log screen of the System Menu from a Multifunction Object. • Multiple history files can now be saved.
  • Page 681 • The shape of the needle can be set to a straight line, arrow, or triangle arrow. Analogue Meter improve- • The line width can be changed to up to 3 dots.
  • Page 682 Revision History A manual revision code appears as a suffix to the catalog number on the cover of the manual. Cat. No. V073-E1-14 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.

Table of Contents