Omron NS - HOST Connection Manual

Omron NS - HOST Connection Manual

Ns-series programmable terminals

Advertisement

Cat.No. V085-E1-02
NS-Series
NS12-TS00(B)-V1, NS12-TS01(B)-V1
NS10-TV00(B)-V1, NS10-TV01(B)-V1
NS8-TV00(B)-V1, NS8-TV01(B)-V1
NS8-TV10(B)-V1, NS8-TV11(B)-V1
NS5-SQ00(B)-V1, NS5-SQ01(B)-V1
Programmable Terminals
HOST CONNECTION MANUAL

Advertisement

Table of Contents
loading

Summary of Contents for Omron NS - HOST

  • Page 1 Cat.No. V085-E1-02 NS-Series NS12-TS00(B)-V1, NS12-TS01(B)-V1 NS10-TV00(B)-V1, NS10-TV01(B)-V1 NS8-TV00(B)-V1, NS8-TV01(B)-V1 NS8-TV10(B)-V1, NS8-TV11(B)-V1 NS5-SQ00(B)-V1, NS5-SQ01(B)-V1 Programmable Terminals HOST CONNECTION MANUAL...
  • Page 2 © OMRON, 2004 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 3: Table Of Contents

    Related Manuals ........................7 Terminology .......................... 8 Introduction ........................... 9 Section 1 Possible Combinations 1-1List of combinations 1-2NS-Designer and System Program version Section 2 Connection of Temperature Controller 2-1Outline 2-2Possible combinations 2-3Configuration 2-4Setting projects 2-5Monitor variables area in temperature controller...
  • Page 4: About This Manual

    Section 2 Connection of Temperature Controller This section provides information on connection methods and communications setting in connecting NS-series PTs with a Temperature Controller by serial port. It also provides information Temperature Controller which can be connected to the PT.
  • Page 5: Related Manuals

    Related Manuals The following manuals are used for NS-series PTs. (The boxes at the end of the catalog numbers indicate the revision code.) NS Series -V1 Host Connection Manual........V085-E1-@ Provides information on NS Series V1 models (i.e., NS12-V1, NS10-V1, NS8-V1,and NS5-V1).
  • Page 6: Terminology

    Controllers: CV500, CV1000, CV2000, CVM1 Serial Communications Unit Indicates a Serial Communications Unit for an OMRON CS/CJ-series PLC. Serial Communications Board Indicates a Serial Communications Board for an OMRON CS-series or CQM1H PLC. Communications Board Indicates a Communications Board for an OMRON C200HX/HG/HE(-Z) PLC.
  • Page 7: Introduction

    • This manual provides information for connecting and setting up an NS-series PT. Be sure to read this manual before attempting to use the PT and keep this manual close at hand for reference during installation and operation.
  • Page 8 11. Confirm that the current capacity of the connected device is 250 mA or less before using the 5-V power supply from pin 6 of the serial port A, B connectors. The 5-V output of the PT is 250 mA max. at 5 V ±5%.
  • Page 9 25. Before initializing screen data, confirm that existing data is backed up at the NS-Designer. 26. When changing the password with the system menu, do not reset or turn OFF the power supply until writing is finished (i.e., until the Write Button returns to its original condition). It may become impossible to manipulate screens if the password is not set correctly.
  • Page 10: Section 1 Possible Combinations

    Section 1 Possible combinations This section explains in general how to connect hosts other than NS-V1 Series Omron PLC and which models to connect. 1-1List of combinations 1-2NS-Designer and System Program version...
  • Page 11 1-1-2 Connection with memory link When host other than PLC such as board-controller and personal computer is used, connection via memory link is possible. Use serial port A or B to connect host equipment. link’. For details, refer to ‘chapter 3: connection via memory...
  • Page 12 NS with -V1 suffix models (NS12/10/8/5 –V1) are supported for those connections. NS without –V1 suffix models are not supported. When system program version is earlier than Ver.5.0, you need to upgrade. For details on how to upgrade, refer to the manual (PDF)(HowToRecoverUpdateVer.6_Eng) in...
  • Page 13: Section 2 Connection Of Temperature Controller

    Section 2 Connection of temperature controller This section explains how to connect Omron temperature controllers (E5□N) and digital controllers (E5AR/ER) and which models to connect. 2-1Outline 2-2Possible combinations 2-3Configuration 2-4Setting projects 2-5Monitor variables area in temperature controller 2-6Operation of temperature controller...
  • Page 14 This explains how to connect temperature controllers. Connectable are temperature controllers with a RS-485 port. Use NS serial port A or B (either one), use converter to transform to RS-485. 1 serial port can accommodate max. 31 temperature controllers. Temp.
  • Page 15 2-2 Possible combinations 2-2-1 Connectable temperature controller Only models with RS-485 communications port that support CompoWay/F can be used. The following models are connectable: Name Series Model Temperature E5ZN E5ZN-SCT24S (terminal unit) controller E5AN-□□□03□-FLK E5AN E5EN-□□□03□-FLK E5EN E5CN-□□□03□-FLK E5CN E5GN-□□□03□-FLK...
  • Page 16 ●CJ1W-CIF11side communications path terminator Phoenix Contact AI Series (serial No. 3201369) AI-0.5-8WH-B Crimp tool (serial No. 1201882) ●CJ1W-CIF11 side other than communications path terminator Phoenix Contact AI series (serial No. 3200933) AI-TWIN2×0.5-8WH Crimp tool (serial No. 1204436) ●Temperature controller side...
  • Page 17 A(+) To next temperature controller ■ Connection: 1:1 or 1:N. If 1:N, max. 32 units (NS and temperature controllers combined) can be connected. (in case of E5ZN, the maximum is 16 units). ■ Cable length: In total max. 50 m ■...
  • Page 18 2-3-3 Temperature controller communications settings This summarizes temperature controller communications settings. For more details on settings and operation procedure of setting specifications, refer to the relevant temperature controller manual. ■ E5ZN Setup Switch on E5ZN panel Unit number When using multiple E5ZN units, be...
  • Page 19 Select ON/OFF 2-3-5 NS setting Before you can connect temperature controllers, you need to store the required project in the NS. For project setting, refer to ‘2-4 project setting’. With communications settings under system menu, you can set the speed of communications.
  • Page 20 Select Setting - System Setting. System Setting dialogue opens. Select tab Comm - All. Select Temperature Controller from the pull down menu for Serial Port A ( or Serial B). Select tab Serial Port A (or Serial Port B) and set baud rate.
  • Page 21 Next, click Settings - Register Host. Host Registration Dialogue opens. Define temperature controller model to be connected.
  • Page 22 By reading/writing these data from PT, you can monitor temperature controller status. Values of variables you can display on PT screen as numbers and you can create save the changes of those as log data.
  • Page 23 You can also manually enter a communications address, which is not listed without opening Address Setting dialog. In this case, enter the desired address directly to the field shown in the property dialog.
  • Page 24 Select UDINT(unsigned 2 words) for the variable, which the hexadecimal value will be stored. 2-5-4 Communications writing enabled/disabled Before you can write to variable area in temperature controller, you need to go to the adjustment level and set Communications writing on Enabled: ON. (Default setting is Disabled: OFF).
  • Page 25 Use either the panel on the Temperature Controller or Setting Tool to set “Communications Writing” parameter. It can be also set with Smart Active Parts in the...
  • Page 26 Smart Active Parts part is available. There are 2 categories: Instructions to the unit itself and broadcast . When same instruction is given to all units, no results response is sent. For that reason error judgment is omitted.
  • Page 27 Select appropriate Smart Active Parts and click Use. By doing so, the selected Smart Active Parts is pasted onto the screen that is being edited. The Smart Active Parts part is pasted onto the upper left corner of the screen. Move to the desired location.
  • Page 28 When you want to change the label and color setting of the Smart Active Parts, go to Tools – Options – Edit/Disp tab and check the Edit Smart Active Parts properties. Double click on the desired object to open the property dialog and the settings can be changed.
  • Page 29 You can switch to Setting area 1 by executing Smart Active Parts part ‘Move to setting area 1’. To change from Setting area 1 to Setting area 0, you can either turn the power off and then back ON again or you can execute Smart Active Parts part: “ Software Reset”.
  • Page 30 0 or 1. Non executable in setting Non executable in setting Area 0 Area 1 Initialize set values AT execute/cancel Move to protect level Auto/manual PV hold...
  • Page 31 Under certain conditions e.g. communications writing disabled, it can happen that a selected Smart Active Parts instruction cannot be executed. But, when performing the broadcast, no response is given. In that case there is no check as to whether the action was completed successfully or not.
  • Page 32 C4340A Confirm that alarm output has become OFF. Attention: Under certain conditions such as PV that an alarm might be output, you cannot confirm because alarm output remains high even when the latch is cancelled...
  • Page 33 2-6-3 List of Smart Active Parts For broadcast and for single unit commands respectively. Model Title Outline (operating instruction) E5□N Communications writing switch between Communications writing disabled Enabled/disabled. Communications writing Enabled Start control (run). stop Stop control (stop). Multi SP: select target Switch between multi SP target values ○...
  • Page 34 Cancel alarm 2 latch Cancel alarm 3 latch Cancel all alarm latches *1:cannot be executed when communications writing is disabled. When you execute an operating instruction designated to all channels, models other than the analog output type E5ZN do not operate properly.
  • Page 35 Select SP mode (local SP/remote SP). SP mode: remote SP *1:cannot be executed when communications writing is disabled. When you execute an operating instruction designated to all channels, models other than the analog output type E5ZN do not operate properly.
  • Page 36 In the temperature controller, a value equivalent to 2 words (32 bits) is stored for each communications address, but in the test function, the first 16 bits and the last 16 bits behave as one and the same value. For that reason, test function will not operate successfully when 2 word numbers are designated.
  • Page 37 Device setting errors are not likely to occur. This because, setting is done using the method by which a selection is made from a list of accessible addresses for each temperature controller model. However, in below cases in which the address is not selected from the list of accessible addresses an invalid address may have been assigned.
  • Page 38: Section 3 Connection Via Memory Link

    Section 3 Connection via Memory Link This chapter explains the Memory Link function and how to use it to connect host computer. 3-1How does Memory Link work 3-2Setup 3-3Communications procedures 3-4What has been changed since NT31/631...
  • Page 39 Host reads/writes PT memory as required and so controls and monitors NS. PT memory consists of 2 territories: Bit ($B) and Word ($W). PT memory can be also used to store functional object display character strings or as data area for the macro function.
  • Page 40 Notify host of command error 3-1-3 Action when command is used There are 5 flows of communications between host and PT, depending on the type of command and Response Settings in Communications conditions. - Write data command while [response: OFF]...
  • Page 41 3-1-4 Notify Command Behavior When anything has changed in the PT memory, by e.g. touch switch operation on PT, numerical input or character string input, PT sends change notice command to host. In addition to Memory Link connection, PT memory serves other purposes as well. If all changes would be communicated to host, the host would be burdened more than is needed.
  • Page 42 Ver.5.0 and later. In NS-Designer Ver. 5.0 or later open SystemVer.5.0 and later project, click Settings – System Setting. Select tab ‘Comm.– All’ and set Serial Port A (or Serial Port B) to Memory Link (select from the pull down menu).
  • Page 43 You can also use the NS system menu to set the communications conditions for the Memory Link connection. Under system menu, click tab Communications Setting. By pressing the key beside the Serial Port A or Serial Port B, you can switch between communications methods. unused ↓...
  • Page 44 3-2-4 Connection Diagram Use either NS Serial Port A or B to connect host computer via Memory Link. You cannot simultaneously set Serial Port A and B to Memory Link. The connecting cable varies with the specifications of the host computer communications port.
  • Page 45 3-3-1 Memory Link Commands Command/response formats are as mentioned below. • Read/write/change notify command ESC command • Read/write command (In above-mentioned format, the *L is regarded as 1 (fixed)) ESC command • Write all (FILL) command ESC command • Read type command normal completion response format ESC command •...
  • Page 46 *D. It can be abbreviated by specifying *S. Be sure that it is added when PT is transmitting. ($0D) Command end: CR($0D) fixed Memory Link commands are as follows: Command Command title Action Read PT memory ($W) Read contents of $W data...
  • Page 47 Response is up to 50 words per response. When requesting command is parameter 2: number of words exceeds 51, then the response is split into two. The first response sends 50 words, the second response sends the remaining channels. When entries were made on NS in between the first and second response, change notice command is not sent until after the second response has been sent.
  • Page 48 Read PT memory ($B) Read $B data in PT memory. Per command, a maximum of 100 bits can be read. After reading, bit data are displayed and returned per 8 bits as 8 bit value. • Command format ESC command *S...
  • Page 49 $B10 11 12 13 14 15 0 → AC (converted to hexadecimal form)
  • Page 50 Write to PT memory ($W) Write to $W data in PT memory. Per command, a maximum of 50 words can be written. As writing attribute you can select SET, AND, OR, or XOR. • Command format ESC command Variable length [Settings] BCD1digit...
  • Page 51 Indicates successful completion.
  • Page 52 Turns 4 bits into a binary 4 digit value and displays this as a hexadecimal 1 digit value. The next hexadecimal 1 digit value continues with the following 4 bits. Fills any of the last 4 bits that does not actually have a valid read-out data with 0. [example]...
  • Page 53 Fill PT memory ($W) Fills PT memory $W with the same word data. Range: first to last address number. • Command format command SUM CR [Settings] BCD1 digit SUM value 0000 to 7FFF First address number (hexadecimal 4 digits) 0000 to 7FFF...
  • Page 54 Fill PT memory ($B) Fills PT memory $B with the same bit data. Range: first to last address number. • Command format command SUM CR [Settings] BCD1 digit SUM value 0000 to 7FFF Initial address number (hexadecimal 4 digits) 0000 to 7FFF...
  • Page 55 Data ending with comma cause error. PT memory ($B) change notice When PT memory $B changed as a result of PT operation and when this $B address is higher than the address designated with Notice start $B in the communications settings menu, this command is sent from PT to host.
  • Page 56 0000 to 7FFF Changed address number (hexadecimal 4 digits) 01 fixed Number of changed bits (hexadecimal 2 digits) 0: OFF Bit data (hexadecimal 1 digit) 1: ON...
  • Page 57 After the initial ESC was received, the interval in between receiving one byte after the other until Reception timeout error command end [CR] exceeded timeout monitoring time. These commands are sent from NS to host when the host sent an invalid command and when a communications error occurred.
  • Page 58 3-4 What has changed 3-4-1 Memory Link Commands This summarizes the points that need to be given attention when switching over from NT31/631 series to NS series Memory Link. Memory structure inside PT differs, so the structure of Memory Link commands has changed as well.
  • Page 59 NS cannot react to an unexpected power fall out, but there is a possibility to store values before the power is turned OFF. You can save a copy of PT memory $W by saving the contents of this memory as a file on a compact flash card. Then removes this card.
  • Page 60 • Set function selection to No processing • Edit macro (touch ON) WRITECF($W16384,16384,”PTMEM.DAT”,0); E.g. Recover PT memory $W contents from saved file when PT is started up. • Edit macro when project is started up READCF($W16384,16384,”PTMEM.DAT”,0);...
  • Page 61 Revision History A manual revision code appears as a suffix to the catalog number on the cover of the manual. Man.No. V085-E1-02 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
  • Page 62 Regional Headquarters OMRON EUROPE B.V. Wegalaan 67-69, NL-2132 JD Hoofddorp The Netherlands Tel: (31)2356-81-300/Fax: (31)2356-81-388 OMRON ELECTRONICS LLC 1 East Commerce Drive, Schaumburg, IL 60173 U.S.A. Tel: (1)847-843-7900/Fax: (1)847-843-8568 OMRON ASIA PACIFIC PTE. LTD. 83 Clemenceau Avenue, #11-01, UE Square,...
  • Page 63 Authorized Distributor: Cat. No. V085-E1-02 Note: Specifications subject to change without notice. Printed in Japan...

Table of Contents