Yamatake Azbil CMQ-V Series User Manual

Digital mass flow controller

Advertisement

Quick Links

No. CP-SP-1197E
CMQ-V Series
Digital Mass Flow Controller
User's Manual
Communications
Thank you for purchasing the CMQ-V
Series Digital Mass Flow Controller.
This manual contains information for
ensuring correct use of the CMQ-V
Series communication functions.
This manual should be read by those
who design and maintain devices that
use the CMQ-V Series communication
functions. Be sure to keep this manual
nearby for handy reference.

Advertisement

Table of Contents
loading

Summary of Contents for Yamatake Azbil CMQ-V Series

  • Page 1 No. CP-SP-1197E CMQ-V Series Digital Mass Flow Controller User's Manual Communications Thank you for purchasing the CMQ-V Series Digital Mass Flow Controller. This manual contains information for ensuring correct use of the CMQ-V Series communication functions. This manual should be read by those who design and maintain devices that use the CMQ-V Series communication functions.
  • Page 2 If you should find an error or omis- sion, please contact Yamatake Corporation. In no event is Yamatake Corporation liable to anyone for any indirect, special or consequential damages as a result of using this product.
  • Page 3 SAFETY PRECAUTIONS I About Icons Safety precautions are for ensuring safe and correct use of this product, and for preventing injury to the operator and other people or damage to property. You must observe these safety precautions. The safety precautions described in this manual are indicated by various icons.
  • Page 4 Make sure that wire scraps, chips or water do not enter inside the case of the controller. Failure to heed this caution may lead to malfunction. If there is a risk of a power surge caused by lightning, use Yamatake Corporation's SurgeNon to prevent possible fire or equipment failure.
  • Page 5 Four manuals have been prepared for the CMQ-V Series. Read the manual according to your specific requirements. The below lists all the manuals that accompany the CMQ-V Series and gives a brief outline of the manual. If you do not have the required manual, contact Yamatake Corporation or your dealer. CMQ-V Series Digital Mass Flow Controller Manual No.
  • Page 6 Organization of This User's Manual This manual is organized as follows: Chapter 1. OUTLINE This chapter briefly describes communication functions of the CMQ-V Series. Chapter 2. WIRING This chapter describes RS-485 wiring methods to make a communication link between the CMQ-V Series and other instruments. Chapter 3.
  • Page 7: Table Of Contents

    Contents SAFETY PRECAUTIONS The Role of This Manual Organization of This User's Manual Conventions Used in This Manual Chapter 1. OUTLINE I Features • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • Chapter 2.
  • Page 8 Chapter 5. COMMUNICATION DATA TABLE 5-1 Basic Communication Data Processing • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • I Communication data types and formats •...
  • Page 9 The communication protocol can be selected from the Controller Peripheral Link (CPL) communications (Yamatake's host communication protocol). This chapter describes the CPL communications. I Features The features of the CMQ-V's communications function are as follows: •...
  • Page 10: Chapter 2. Wiring

    Make sure that wire scraps, chips or water do not enter inside the case of the controller. Failure to heed this caution may lead to malfunction. If there is a risk of a power surge caused by lightning, use Yamatake Corporation's SurgeNon to prevent possible fire or equipment failure.
  • Page 11: Rs-485 Connection

    • The FG grounding must not be made at the both shielded wire ends but only at one location. • Yamatake’s CMC10L001A000 can be used as a converter of the host station. Handling Precautions Be sure to connect SG terminals each other. Failure to do so might cause...
  • Page 12: Connector Pin Layout Of The Cmq-V Series

    Chapter 2. WIRING 2 - 2 Connector Pin Layout of the CMQ-V Series The following shows the connector pin layout of the CMQ-V Series with the communication functions: G Connector pin layout Mounted connector part number: HIF3BA-20PA-2.54DS Manufacturer: Hirose Electric Co. Ltd. Front view G Mating connector table (All connectors are made by Hirose Electric Co.
  • Page 13 Chapter 2. WIRING G Connector signal table Signal name Description Remarks number +5V (5mA max.) 5Vdc reference voltage output 5mA max. FLOW OUT Instantaneous flow rate (PV) 0 to 5Vdc/ 1 to 5Vdc/ 0 to 20mAdc/ voltage output/ setting flow rate 4 to 20mAdc (SP) output A.GND...
  • Page 14: Chapter 3. Setting

    Chapter 3. SETTING Setup the following to operate the communication functions of the CMQ Series: I Setting method of communication functions Follow the following procedure to set the functions: (1) Display the instantaneous flow rate by pressing the DISP key. >>...
  • Page 15: Chapter 4. Communication Procedure

    Chapter 4. COMMUNICATION PROCEDURE 4 - 1 Outline of Communication I Communication procedures The communication procedure is as follows: (1)The instruction message is sent from the host device (master station) to one unit (slave station) to communicate with. (2)The slave station receives the instruction message, and performs read or write processing according to the content of the message.
  • Page 16: Message Structure

    Chapter 4. COMMUNICATION PROCEDURE 4 - 2 Message Structure I Message structure The following shows the message structure: Messages are broadly classified into two layers; the data link layer and the application layer. • Data link layer This layer contains the basic information required for the communication such as the destination of the communication message and the check information of the message.
  • Page 17 Chapter 4. COMMUNICATION PROCEDURE G List of data link layer data definitions The following list shows the definitions for data in the data link layer: Data name Character code Number of Meaning of data characters Start of message Station address 0 to 7FH are expressed as Identification of device hexadecimal character codes.
  • Page 18: I Application Layer

    Chapter 4. COMMUNICATION PROCEDURE • How to calculate a checksum (1) Add the character codes in the message from STX through ETX in single byte units. (2) Take two's complement of the low-order one byte of the addition result. (3) Convert the obtained two's complement to a two-byte ASCII code. The following is a sample checksum calculation: [Sample message] STX: 02H...
  • Page 19: Description Of Commands

    Chapter 4. COMMUNICATION PROCEDURE 4 - 3 Description of Commands I Continuous data read command (RS command) This command reads data of continuous addresses by a single command. G Send message This command enables the content of continuous data addresses starting with the specified read start address to be read as a single message.
  • Page 20: I Continuous Data Write Command (Ws Command)

    Chapter 4. COMMUNICATION PROCEDURE I Continuous data write command (WS command) This command writes data to continuous addresses. G Send message The figure below shows the structure of the application layer of the send message for the data write command. (1) Write command (2) Data delimiter (3) Start write data address...
  • Page 21: I Continuous Data Read Command (Rd Command)

    Chapter 4. COMMUNICATION PROCEDURE I Continuous data read command (RD command) This command reads continuous data in two-byte units. This command is suitable for handling data in ladder programs sent by PLC communications as the data is of a fixed length. The start data address is expressed as four hexadecimal digits.
  • Page 22: I Continuous Data Write Command (Wd Command)

    Chapter 4. COMMUNICATION PROCEDURE I Continuous data write command (WD command) This command writes continuous data in two-byte units. This command is suitable for handling data in ladder programs sent by PLC communications as the data is of a fixed length. The start data address is expressed as four hexadecimal digits.
  • Page 23: Termination Code Table

    Chapter 4. COMMUNICATION PROCEDURE 4 - 4 Termination Code Table When an error occurred in the application layer, an abnormal termination code is returned as a response message. I Normal and warning termination Termination Type Contents and action code Normal Communications end normally.
  • Page 24: Timing Specifications

    Chapter 4. COMMUNICATION PROCEDURE 4 - 5 Timing Specifications I Timing specifications for instruction and response message The cautions below are required with regard to the timing to transmit a instruction message from the master station and a response message from the slave station. G Response monitor time The maximum response time from the end of the instruction message transmission by the master station until when the master station receives a response message...
  • Page 25: I Other Precautions

    Chapter 4. COMMUNICATION PROCEDURE I Other precautions •The time required for the master station to finish the transmittal of instruction message and for the slave station to start the transmittal of response message becomes longer if the number of data to write and read increases. When the faster response time is required by the slave station, make sure to keep the number of data to read / write at the minimum in one message.
  • Page 26 Chapter 5. COMMUNICATION DATA TABLE 5 - 1 Basic Communication Data Processing I Communication data types and formats G Types of communication data The communications data are categorized as follow: • Device related data • Operating status related data • Instantaneous flow rate related data •...
  • Page 27 Chapter 5. COMMUNICATION DATA TABLE I Data address The data addresses are allocated as shown in the table below. Communication data EEPROM Offset value Address Offset value Address Decimal Decimal Decimal Decimal (Hexadecimal) (Hexadecimal) (Hexadecimal) (Hexadecimal) Device related data 1000 1001 to 1199 4000 4001 to 4199...
  • Page 28 Chapter 5. COMMUNICATION DATA TABLE 5 - 2 Communication Data Table The enabling conditions for the address and R/W (Read/Write) of each data are specified in the following table: The meaning of R/W column marks: ❍ Possible ✕ Impossible I Device related data Note •...
  • Page 29 Chapter 5. COMMUNICATION DATA TABLE I Operating status related data Note • For RD and WD commands, the data is required four hexadecimal digits. • The flow rate unit "L/min" becomes "mL/min" in MQV9200. Item Data range EEPROM Remarks Address Address Decimal Decimal...
  • Page 30 Chapter 5. COMMUNICATION DATA TABLE *1 : Alarm status bit configuration (Address 1201) 0: Normal 1: Error Bit No. Description Deviation lower limit alarm of instantaneous flow rate (AL01) Deviation upper limit alarm of instantaneous flow rate (AL02) Valve amperage lower limit alarm (AL11) Valve amperage upper limit alarm (AL12)
  • Page 31 Chapter 5. COMMUNICATION DATA TABLE I Flow set value Note • For RD and WD commands, the data is required four hexadecimal digits. • The flow rate unit "L/min" becomes "mL/min" in MQV9200. Item Data range EEPROM Remarks Address Address Decimal Decimal (Hexadecimal)
  • Page 32 Chapter 5. COMMUNICATION DATA TABLE I Function setup related data Note • For RD and WD commands, the data is required four hexadecimal digits. EEPROM Item Data range Remarks Address Address Decimal Decimal (Hexadecimal) (Hexadecimal) ❍ ❍ ❍ ❍ Key lock Run 0: Key lock disabled 2001 5001...
  • Page 33 Chapter 5. COMMUNICATION DATA TABLE EEPROM Item Data range Remarks Address Address Decimal Decimal (Hexadecimal) (Hexadecimal ❍ ❍ ❍ ❍ Input range selection (2)Analog output selection 2005 5005 of analog setup is set at current output (07D5) (138D) (analog SP input (C-06 = 2, 3, 6, or 7) range selection) 0 : 0 to 20mA external...
  • Page 34 Chapter 5. COMMUNICATION DATA TABLE EEPROM Item Data range Remarks Address Address Decimal Decimal (Hexadecimal) (Hexadecimal) ❍ ❍ ❍ ❍ External contact 0: Not used 2010 5010 input 1 function (07DA) (1392) 1: Reset totalized flow count assignment 2: Stop totalizing flow ❍...
  • Page 35 Chapter 5. COMMUNICATION DATA TABLE EEPROM Item Data range Remarks Address Address Decimal Decimal (Hexadecimal) (Hexadecimal) ❍ ❍ ❍ ❍ Gas type selection 1 0: Conversion factor for 2018 5018 each gas type set by (07E2) (139A) the user 1: Air, nitrogen 2: Oxygen 3: Argon 4: Carbon dioxide (CO...
  • Page 36 Chapter 5. COMMUNICATION DATA TABLE EEPROM Item Data range Remarks Address Address Decimal Decimal (Hexadecimal) (Hexadecimal) ❍ ❍ ❍ ❍ Flow rate range 0: Standard range 2024 5024 (07E8) (13A0) setup 1 10 to 99: 10% to 99% of standard range. (When ❍...
  • Page 37 Chapter 5. COMMUNICATION DATA TABLE EEPROM Item Data range Remarks Address Address Decimal Decimal (Hexadecimal) (Hexadecimal) ❍ ❍ ✕ ✕ Station address 0: Communications 2030 5030 Though a normal setting function disabled (07EE) (13A6) termination 1 to 127: Station address code is ❍...
  • Page 38 Chapter 5. COMMUNICATION DATA TABLE I Parameter setup related data Note • For RD and WD commands, the data is required four hexadecimal digits. • When the function setup is not valid, parameter setup is invalid. • The decimal point of all data is removed. EEPROM Item Data range...
  • Page 39 Chapter 5. COMMUNICATION DATA TABLE EEPROM Item Data range Remarks Address Address Decimal Decimal (Hexadecimal) (Hexadecimal) ❍ ❍ ❍ ❍ Analog scaling (10 to 100% FS) 2217 5217 Unit: L/min (standard) (08A9) (1461) (mL/min (standard) for the MQV9200.) ❍ ❍ ❍...
  • Page 40 Chapter 6. COMMUNICATION PROGRAM FOR MASTER STATION 6 - 1 Precautions for Programming The maximum response moniter time of the instrument is 2 seconds. So, set the response time-out to 2 seconds. If no response is obtained within 2 seconds, retransmit the same message. The above retransmission is required since a message may not be properly transmitted due to noise or the like during communications.
  • Page 41 Chapter 6. COMMUNICATION PROGRAM FOR MASTER STATION 6 - 2 Examples of Communication Program The program in this section is written in Borland's C++Builder5.0 or Borland C++Compiler5.5 for Windows95/98/NT/2000. This program is given here as a reference when the user makes a program, and does not assure all the operations. You can download Borland C++Compiler5.5 from Borland Home Page.
  • Page 42 Chapter 6. COMMUNICATION PROGRAM FOR MASTER STATION I Data read/write sample program Handling Precautions Yamatake won't be absolutely responsible for any trouble caused by apply- ing this program sample.
  • Page 43 Chapter 6. COMMUNICATION PROGRAM FOR MASTER STATION...
  • Page 44 Chapter 6. COMMUNICATION PROGRAM FOR MASTER STATION...
  • Page 45 Chapter 6. COMMUNICATION PROGRAM FOR MASTER STATION...
  • Page 46 Chapter 6. COMMUNICATION PROGRAM FOR MASTER STATION...
  • Page 47 Chapter 7. TROUBLESHOOTING I Check items in case communication is disabled (1) Check the power supply. (2) Check the wiring. (3) Check if the communication conditions for the CMQ-V Series meet those for the host computer. If any one of the following setting items is different between both stations, communication is disabled: The underlined items mean that they can be set on the CMQ-V Series side.
  • Page 48 Chapter 8. SPECIFICATIONS I RS-485 specifications Item Remarks Transmission mode Balanced Transmission line 3-wire system Transmission speed (bps) 2400, 4800, 9600, 19200, 38400 Transmission distance 500m max. (300m when connected with the MA500DIM and CMC410.) Communications flow Half duplex Synchronization Start-stop synchronization Data format 8 data bits, 1 stop bit, even parity...
  • Page 49 APPENDIX I Code table Upper Lower Space " & < > The shaded parts of the table above ( ) are not used for this communication system.
  • Page 50 APPENDIX I Connection with CMC10L The CMC10L001A000 is available as an RS-232C/RS-485 (3-wire system) con- verter from Yamatake's. The following diagram shows an example of wiring using a straight cable for a host computer in the terminal mode: CMQ-V Series...
  • Page 51 APPENDIX Connect the master station SD to the slave station RD, and the master station RD to the slave station SD. To execute this connection, set the MODE switch provided in the CMC10L as shown in the following table in accordance with the host computer side RS-232C connector pin arrangement (modem/terminal) and the type of cable (cross/straight) used: RS-232C...
  • Page 53 Revision History Printed Manual Number Edition Revised pages Description date CP-SP-1197E 1st Edition Jan. 2007...
  • Page 56 Specifications are subject to change without notice. Advanced Automation Company 1-12-2 Kawana, Fujisawa Kanagawa 251-8522 Japan Printed in Japan. URL: http://www.azbil.com 1st Edition: Issued in Jan. 2007 (U) Printed on recycled paper. (07)

Table of Contents