background image

CMQ-V Series

Digital Mass Flow Controller

User's Manual

Communications

No. CP-SP-1197E

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.

Содержание Azbil CMQ-V Series

Страница 1: ...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 ...

Страница 2: ... 2007 Yamatake Corporation ALL RIGHTS RESERVED If it is necessary to change the parameters of the CMQ V Series frequently by communication write data at addresses of RAM The guaranteed data write count at the EEPROM addresses is limited to 100 000 times Note that the data in RAM is cleared and the data in EEPROM is copied on RAM if the power supply to the CMQ V Series interrupted IMPORTANT Be sure...

Страница 3: ...y represent the actual danger The example on the left warns the user of the danger of electrical shock White circles with a diagonal bar notify the user that specific actions are prohibited to prevent possible danger These icons graphically represent the actual prohibited action The example on the left notifies the user that disassembly is prohibited Black filled in circles instruct the user to ca...

Страница 4: ...etermined standards Also wire the controller with specified cables and recognized installation methods Failure to do so might cause malfunction 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 fi...

Страница 5: ...cifications Digital Mass Flow Controller CMQ V Series Communications Manual No CP SP 1197E This manual Those using the communications functions of the CMQ V series should read this manual This manual describes an outline of communications wiring communications procedures CMQ V series communications data trouble shooting and communications specifications The Role of This Manual Four manuals have be...

Страница 6: ...er 6 COMMUNICATION PROGRAM FOR MASTER STATION This chapter gives precautions for programming and an example of a com munication program for the CMQ V Series Chapter 7 TROUBLESHOOTING This chapter describes checkpoints to diagnose failures in CMQ V Series communications Chapter 8 SPECIFICATIONS This chapter lists communication specifications for the CMQ V Series APPENDIX The appendix provides code ...

Страница 7: ...utline of Communication 7 Communication procedures 7 4 2 Message Structure 8 Message structure 8 Data link layer 8 Application layer 10 4 3 Description of Commands 11 Continuous data read command RS command 11 Continuous data write command WS command 12 Continuous data read command RD command 13 Continuous data write command WD command 14 4 4 Termination Code Table 15 Normal and warning terminatio...

Страница 8: ...ated data 21 Flow set value 23 Totalized flow related data 23 Function setup related data 24 Parameter setup related data 30 Chapter 6 COMMUNICATION PROGRAM FOR MASTER STATION 6 1 Precautions for Programming 32 6 2 Examples of Communication Program 33 Before executing the program 33 Executing the program 33 Data read write sample program 34 Chapter 7 TROUBLESHOOTING Check items in case communicati...

Страница 9: ...tion are as follows Up to 31 units can be connected to a single master station as a host device When the communication specifications of the host device conform to the RS 232C interface the communication converter CMC10L sold separately is required The CMC10L allows the conversion between RS 232C and RS 485 Almost all of the device parameters can be communicated For details on communication parame...

Страница 10: ...the power off before connecting the controller Failure to do so might cause malfunction Wire this controller in compliance with the predetermined standards Also wire the controller with specified cables and recognized installation methods Failure to do so might cause malfunction Make sure that wire scraps chips or water do not enter inside the case of the controller Failure to heed this caution ma...

Страница 11: ...rounding 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 unstable communications FG FG CMQ V Series slave station CMQ V Series slave station CMQ V Series slave station CMQ V Series slave station Terminating res...

Страница 12: ...part number HIF3BA 20PA 2 54DS Manufacturer Hirose Electric Co Ltd Mating connector table All connectors are made by Hirose Electric Co Ltd 20 19 2 1 Front view Connector type Mating connector part No Mating contact Recommended wire part No Contact crimp type HIF3BA 20D 2 54C HIF3 2226SCC AWG 22 to 26 single wire allowed Forced pressure HIF3BA 20D 2 54R Not required AWG 28 Flat ribbon cable type o...

Страница 13: ...0 to 20mAdc SP voltage input 4 to 20mAdc 16 MODE INPUT External 3 stage switching input 3 stage switching input of Open GND 5V 15 DI3 External contact input 3 Switching input of Open GND 14 DI2 External contact input 2 13 DI1 External contact input 1 12 EV2 OUT Event output 2 Open collector non insulated output 11 EV1 OUT Event output 1 10 ALM OUT Alarm output 9 SG D GND RS 485 communications SG S...

Страница 14: ...splay is returned 6 If other setting items are desired return to 3 for setting If no other item is desired to be set proceed to the item 7 7 Press the DISP key to make the status from the function setup mode to instan taneous flow rate display Handling Precautions If any key is not pressed for one minute after the function setup mode the display automatically returns to the instantaneous flow rate...

Страница 15: ... 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 3 The slave station sends a message corresponding to the processing content as a response message 4 The master station receives the response message 7 ...

Страница 16: ...that the data positions of the data link layer from ETX onwards shift according to the number of characters in the application layer The character length however remains unchanged Response start conditions The device sends the response message only when 1 message structure station address sub address checksum and message length of a single frame in the data link layer are all correct If even one o...

Страница 17: ...ch The device returns the same station address as that of the received message Sub address The C35 36 does not use the sub address For this reason set 00 30H 30H The device returns the same sub address as that of the received message Device code The device sets X 58H or x 78H as the device code This code is determined for each device series and other codes cannot be selected The device returns the...

Страница 18: ...te of the addition result 376H is 76H The two s complement of 76H is 8AH 3 Convert the obtained 8AH to a two byte ASCII code The result is 8 38H A 41H and the two bytes 8 38H and A 41H are the checksum CR LF This indicates the end of the message Immediately after LF is received the device enters a state allowed to process the received message Application layer The table below shows the configurati...

Страница 19: ...e corresponding to the command content is returned The figure below shows the structure of the application layer of the response message when the data is read Maximum number of read data per message Up to 10 words for both RAM and EEPROM areas 2 1 3 4 Application layer 1 Continuous read command 2 Data delimiter 3 Data address 4 Number of read data R 0 S 1 5 1 W 1 2 0 Normal termination reading of ...

Страница 20: ...e of the application layer of the response message for the data write command Maximum number of write data per message Up to 10 words for both RAM and EEPROM areas 2 1 3 4 1 Write command 2 Data delimiter 3 Start write data address 4 Write data first word 5 Write data second word W 0 S 1 5 1 W 1 2 6 5 2 5 0 Normal termination 0 Abnormal termination or warning X X The abnormal termination code is e...

Страница 21: ...lly the termination code is taken to be normal two decimal digits and returned appended with the number of read data four hexadecimal digits X number of read data specified by the command If message transmission ends in error the termination code is taken to be in error two decimal digits and returned without the read data Maximum number of read data per message Up to 10 words for both RAM and EEP...

Страница 22: ...sful the normal termination code two decimal digits is returned If only part of the data is written and the remaining data is not written the warning termination code two decimal digits is returned If none of the data is written the abnormal termination code two decimal digits is returned Maximum number of write data per message Up to 10 words for both RAM and EEPROM areas W Writing of single data...

Страница 23: ...ue to access to the address outside the scope The controller stops writing due to access to the address outside the scope however writes inside addresses Termination Type Contents and action code 40 Error W has not been set at the address All messages are aborted 41 Error WS or RS has not been set All messages are aborted 43 Error ETX 03H is not set in the correct position is not set after the add...

Страница 24: ...g response message 2 in the figure below RS 485 driver control timing specifications When the transmission reception on the RS 485 3 wire system is directly con trolled by the master station care should be paid to the following timing enable enable disable disable Master station driver control Slave station driver control Transmission line instruction message Effective data Effective data 1 End of...

Страница 25: ...comes 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 When the number of data is one data to read write in one message the time required for the master station to finish the instruction message and for the slave station to transmit the response me...

Страница 26: ... to this memory any number of times EEPROM Stored data is retained even when the power is turned OFF whereas data write operations are limited to a total of 100 000 times owing to device characteristics Communication object memory In communication it is necessary to read write data from into the abovementioned two types of memory according to the purpose and use There is a difference between the o...

Страница 27: ... No CP SP 1205E Communication data RAM 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 03E8 03E9 to 04AF 0FA0 0FA1 to 1067 Operating status 1200 1201 to 1399 4200 4201 to 4399 related data 04B0 04B1 to 0577 1068 1069 to 112F Instantaneous flow 1400 1401 to 1599 4...

Страница 28: ...ir 03E9 0FA1 possible by function 2 Oxygen setup Address 5018 3 Argon 4 Carbon dioxide 5 Natural gas 13A Heating value 46MJ m3 6 Propane 7 Methane 8 Butane 9 Hydrogen 10 Helium 11 Natural gas 13A Heating value 45MJ m3 Full scale flow Depend on flow rate 1002 4002 The decimal point rate range 03EA 0FA2 is removed Decimal point 0 No decimal point 1003 4003 position of 1 XXXX 03EB 0FA3 instantaneous ...

Страница 29: ... full close 1204 4204 When the valve is in full 1 Valve control 04B4 106C close or full open by 2 Valve full open external inputs write operation is disabled Instantaneous SP 0 SP 0 1205 4205 When SP No switching No in use 1 SP 1 04B5 106D is selected by external 2 SP 2 inputs write operation 3 SP 3 is disabled 4 SP 4 The value larger than 5 SP 5 the one selected with 6 SP 6 SP No Address 5004 7 S...

Страница 30: ...ration 1 Slow start operation 2 Digital setting Analog setting 0 Digital setting 1 Analog setting 3 Totalizing count status 0 Totalized flow PV Totalized flow event SP 1 Totalized flow PV Totalized flow event SP 4 SP ramp control function 0 Function disabled 1 SP ramp control enabled 5 Undefined 0 fixed 6 Undefined 0 fixed 7 Undefined 0 fixed Bit No Description 0 Deviation lower limit alarm of ins...

Страница 31: ...lue SP 5 0 to 100 FS 1406 4406 L min 057E 1136 Flow set value SP 6 0 to 100 FS 1407 4407 L min 057F 1137 Flow set value SP 7 0 to 100 FS 1408 4408 L min 0580 1138 The value in the data range L min is the value removed decimal point that obtained by full scale flow rate multiplied by the percentage in parentheses Item Data range RAM EEPROM Remarks Address R W Address R W Decimal Decimal Hexadecimal...

Страница 32: ... power is turned ON 2 RUN key enabled 2 Operation is started up in the fully closed mode when the power is turn ed ON Flow rate setup 0 Digital setup set by key 2003 5003 method SP setup operation or 07D3 138B method selection communications 1 Analog setup set by external analog input voltage Number of flow set 0 Number of SPs 1 2004 5004 value selection SP 0 only 07D4 138C number of SPs 1 Number ...

Страница 33: ...w rate output 5 1 to 5V setting flow rate output 6 0 to 20mA setting flow rate output 7 4 to 20mA setting flow rate output Event 1 output type 0 Not used OFF fixed 2007 5007 assignment 1 ON when the totalized 07D7 138F Event 2 output type flow event occurs 2008 5008 assignment 2 Totalized pulse output 07D8 1390 3 ON when the flow rate is OK 4 ON in control mode 5 ON in fully open mode 6 ON in cont...

Страница 34: ...mode control by contact ON forced fully closed by contact OFF 9 Flow rate zero adjust ment 10 Switching of gas type setup 11 Switching of flow rate range 12 Switching of SP ramp 13 Alarm reset Automatic valve 0 Function disabled 2013 5013 shut off when the 1 Function enabled 07DD 1395 totalized flow event occurs On off of totalized 0 Function disabled 2014 5014 flow reset function 1 Function enabl...

Страница 35: ...etup type 1 Only upper limit alarm 07E4 139C selection 2 Only lower limit alarm 3 Upper lower limit alarms Direct setup 0 Function disabled 2021 5021 function ON OFF 1 Function enabled 07E5 139D Control dead 0 Function disabled 2022 5022 zone setting 1 Function enabled 07E6 139E PV filter 0 Without filter 2023 5023 process for filtering 1 Two samplings moving 07E7 139F of instantaneous average flo...

Страница 36: ... propane 7 100 methane 8 100 butane 9 Hydrogen 10 Helium 11 Natural gas 13A LNG Heating value 45MJ m3 SP ramp control 0 Function disabled 2027 5027 function 1 SP ramp control 1 07EB 13A3 In SP ramp up ramp 1 in SP ramp down ramp 2 2 SP ramp control 2 In external contact OFF ramp 1 in external contact ON ramp 2 Analog scaling 0 Function disabled 2028 5028 function 1 Function enabled 07EC 13A4 Force...

Страница 37: ...ntial pressure 2036 5036 differential pressure 50 50kPa 07F4 13AC setting control 1 Standard differential optimization pressure 200 100kPa 2 High differential pressure 300 0 100kPa Flow rate display 0 Flow rate is displayed in 2037 5037 unit change func the standard flow rate 07F5 13AD tion unit 1 Flow rate is displayed in L min fixed 1 Flow rate is displayed in mL min fixed PV instantaneous 0 Dec...

Страница 38: ... to 100 FS 2206 5206 deviation lower limit alarm 089E 1456 hysteresis Instantaneous flow rate 0 5 to 999 9s 2207 5207 deviation alarm judgment 089F 1457 delay time Event output 1 delay 0 0 to 999 9s 2208 5208 08A0 1458 Event output 2 delay 0 0 to 999 9s 2209 5209 08A1 1459 User setup conversion 0 04 to 9 999 2210 5210 factor 08A2 145A Valve amperage upper 0 1 to 100 0 2211 5211 limit alarm 08A3 14...

Страница 39: ...st 4 digits 08AA 1462 Cumulative flow event 0 to 9999 2219 5219 setting first 4 digits 08AB 1463 PV forced zero function 0 0 to 999 9s 2220 5220 delay 08AC 1464 SP upper limit flow rate 0 to 100 FS 2221 5221 08AD 1465 SP lower limit flow rate 0 to 100 FS 2222 5222 08AE 1466 Unit L min standard mL min standard for the MQV9200 Unit L min standard mL min standard for the MQV9200 Same as address 1601 ...

Страница 40: ... not be properly transmitted due to noise or the like during communications Note When X is used as the device ID code in the instruction message the device ID code of the response message also becomes X Likewise the code in the response message becomes x when x is used as the device code in the instruction message Use the X and x device ID codes alternately during message retransmis sion from the ...

Страница 41: ...m Make sure to check the settings for communications type station address transmis sion speed and data format of the instrument Executing the program This program is used for reading and writing data When the program is executed the application layers of the instruction message and response message communicated are indicated command RS 1001W 2 result 00 0 0 command WS 1204W 2 result 00 Sample indi...

Страница 42: ...34 Data read write sample program Handling Precautions Yamatake won t be absolutely responsible for any trouble caused by apply ing this program sample Chapter 6 COMMUNICATION PROGRAM FOR MASTER STATION ...

Страница 43: ...35 Chapter 6 COMMUNICATION PROGRAM FOR MASTER STATION ...

Страница 44: ...36 Chapter 6 COMMUNICATION PROGRAM FOR MASTER STATION ...

Страница 45: ...37 Chapter 6 COMMUNICATION PROGRAM FOR MASTER STATION ...

Страница 46: ...38 Chapter 6 COMMUNICATION PROGRAM FOR MASTER STATION ...

Страница 47: ...y even parity Stop bit 1 stop bit 2 stop bits 4 Check if the destination address of the command frame transmitted from the host computer meets the address set to the CMQ V Series The address of the CMQ V Series set to 0 for factory setting Even when the destination address of the command frame is set to 00 30H 30H the CMQ V Series does not respond to such a message 5 Use the upper case character c...

Страница 48: ...0m 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 8 data bits 2 stop bits no parity Error detection Parity check checksum Station address 0 to 127 Communication function is inhibited when set to 0 Network type 1 N 31 units max The rest of items Conforms to RS 485 interface specifi...

Страница 49: ...ve are not used for this communication system 0 1 2 3 4 5 6 7 0 Space 0 P p 1 1 A Q a q 2 STX 2 B R b r 3 ETX 3 C S c s 4 4 D T d t 5 5 E U e u 6 6 F V f v 7 7 G W g w 8 8 H X h x 9 9 I Y i y A LF J Z j z B K k C L l D CR M m E N n F O _ o Upper Lower 41 ...

Страница 50: ...Q V series must be as short as pos sible The FG grounding must not be made at the both shielded wire ends but only at one location Handling Precautions Be sure to connect SG terminals each other Failure to do so might cause unstable communications FG FG CMQ V Series slave station CMQ V Series slave station CMQ V Series slave station CMQ V Series slave station Terminating resistor Terminating resis...

Страница 51: ...ected for example pin 2 to pin 2 and pin 3 to 3 Cross An RS 232C cable with a D Sub 9 pin connector at each end where different number pins are connected for example pin 2 to pin 3 and pin 3 to pin 2 D Sub 25 pin D Sub 9 pin conversion cable An RS 232C cable for conversion between D Sub 25 pin and D Sub 9 pin 1 CD RD SD RS 2 3 1 2 3 5 6 7 8 5 6 7 8 4 4 ER SG DR CS CD RD SD RS ER SG DR CS RD SD RS ...

Страница 52: ......

Страница 53: ...Revision History Printed Manual Number Edition Revised pages Description date Jan 2007 CP SP 1197E 1st Edition ...

Страница 54: ......

Страница 55: ......

Страница 56: ...s are subject to change without notice Advanced Automation Company 1 12 2 Kawana Fujisawa Kanagawa 251 8522 Japan URL http www azbil com Printed on recycled paper 07 Printed in Japan 1st Edition Issued in Jan 2007 U ...

Отзывы: