Home
IM CW120C-E
Contents
1. 2 The following safety symbols are used on the product and or in this manual AA Danger Handle with Care This symbol indicates that the operator must refer to an explanation in the instruction manual in order to avoid risk of injury or death of personnel or damage to the instrument Functional Grounding Terminal This symbol indicates that the terminal must be connected to ground for good function prior to operating the equipment ji IM CW120C E Introduction N CAUTION Indicates a hazard that may result in an injury to the user and or physical damage to the product or other equipment unless the described instruction is abided by AN NOTE Indicates information that is essential for handling the instrument or should be noted in order to familiarize yourself with the instrument s operating procedures and or functions SEE ALSO Indicates the reference location s for further information on the present topic Symbols used in figures NOTE Draws attention to information that is essential for understanding the operation and or features of the product E Description of Displays IM CW120C E 1 Some of the representations of product displays shown in this manual may be exaggerated simplified or partially omitted for reasons of convenience when explaining them 2 Figures and illustrations representing the controller s displays may differ from the real displays in regard to the position and or ind
2. Yokogawa Meters amp Instruments Corporation International Sales Dept Tachihi Bld No 2 6 1 3 Sakaecho Tachikawa shi Tokyo 190 8586 Japan Phone 81 42 534 1413 Facsimile 81 42 534 1426 YOKOGAWA CORPORATION OF AMERICA U S A Phone 1 770 253 7000 Facsimile 1 770 251 2088 YOKOGAWA EUROPE B V THE NETHERLANDS Phone 31 334 64 1611 Facsimile 31 334 64 1610 YOKOGAWA ENGINEERING ASIA PTE LTD SINGAPORE Phone 65 6241 9933 Facsimile 65 6241 2606 YOKOGAWA AMERICA DO SUL S A BRAZIL Phone 55 11 5681 2400 Facsimile 55 11 5681 1274 YOKOGAWA MEASURING INSTRUMENTS KOREA CORPORATION KOREA Phone 82 2 551 0660 to 0664 Facsimile 82 2 551 0665 YOKOGAWA AUSTRALIA PTY LTD AUSTRALIA Phone 61 2 9805 0699 Facsimile 61 2 9888 1844 YOKOGAWA INDIA LTD INDIA Phone 91 80 4158 6000 Facsimile 91 80 2852 1441 YOKOGAWA SHANGHAI TRADING CO LTD CHINA Phone 86 21 6880 8107 Facsimile 86 21 6880 4987 YOKOGAWA MIDDLE EAST E C BAHRAIN Phone 973 358100 Facsimile 973 336100 LTD YOKOGAWA ELECTRIC RUSSIAN FEDERATION
3. two transmission modes are supported ASCII mode ASCII system and RTU mode binary system Table 4 1 ASCII and RTU Modes 7s ASC 8 bis ASCI Data time intervals 24 bit time or less Note 2 Error detection Longitudinal redundancy check LRC Cyclic redundancy check CRC 16 Note 1 When the message length in the RTU mode is assumed to be N Note 2 When the communication rate is 9600 bps 1 9600 24 sec or less IM CW120C E The next section will discuss the configuration of messages 4 4 Chapter 4 MODBUS Communication 4 1 1 Configuration of Messages Messages sent from a higher level device to a CW120 121 consist of the following elements Start of Address Function Data Error End of Message Number Code Check Message am F Number of Number of bytes in ASCII mode in Number of bytes in ASCII mode mode 1 2 5 6 1 Start of Message Mark This mark indicates the start of a message Note that only ASCII mode requires a colon 2 Address Number 1 to 247 An address number is used by a higher level device to identify which CW120 121 to communicate with ID number of CW120 CW121 3 Function Code See subsection 4 2 1 List of Function Codes The function code specifies a command function code from the higher level device 4 Data This element specifies D register numbers the number of D registers parameter values and so on in accordance with the function code 5 Error C
4. 5 4 3 BRR Reads I relays on a bit by bit basis in a random order 5 8 Function Reads the ON OFF statuses of the individual relays specified in a random order by the specified number of bits e The number of bits to be read at a time is 1 to 16 e For the format of response in the event of failure see subsection 5 1 2 The command shown below includes a checksum function When per forming communication without the checksum do not include the 2 byte checksum element in the command Command Response for normal operation Number of Bytes Command STX Address CPU BRR Number _ relay ee relay element Station ga K a sia aa eee number eee ae Command continued relay Check cs Ea ear sum Number of Bytes Response STX Address a a di d2 dn Check 2 Ei element Station a sum number The response parameter data is 0 when the status is OFF or 1 when ON dn read data of the specified number of bits n 1 to 32 dn 0 OFF dn 1 ON Example Reading the Input overrange against full input scale 10001 and the Remote reset 10010 of the CW120 121 with address number 01 Command STX 01010BRR0210001 10010 ETX CR In response to the command above the ON and OFF responses are returned for 10001 and 10010 respectively Response STX 0101OK10 ETX CR 10001 is ON and 10010 is OFF IM CW120C E Chapter 5 PC Link Communication 5 4 4 BRW Writes data into I relays on a
5. OOWh D0614 40614 0613 Active electric energy Load 2 float upper order 2 byte D0616 40616 0615 Regenerative electric energy Load 2 float upper order 2 byte L OOOOO D0615 40615 0614 Regenerative electric energy Load 2 float lower order 2 byte O OO0000E OOWh OOO D0617 40617 0616 Current 1 Load 3 float lower order 2 byte O E OOA 3 402823E 38 D0618 40618 0617 Current 1 Load 3 float upper order 2 byte Or 3 402823E 38 D0619 40619 0618 Active power Load 3 float lower order 2 byte 0 000E OOW 3 402823E 38 D0620 40620 0619 Active power Load 3 float upper order 2 byte Or 3 402823E 38 D0621 40621 0620 Reactive power Load 3 float lower order 2 byte 0 000E 00Var 3 402823E 38 D0622 40622 0621 Reactive power Load 3 float upper order 2 byte Or 3 402823E 38 D0623 40623 0622 Power factor Load 3 float lower order 2 byte 1 000 to 1 000 20626 3 402823E 38 D0624 40624 0623 Power factor Load 3 float upper order 2 byte Or 3 402823E 38 D0625 40625 0624 Active electric energy Load 3 bis lower order 2 byte anmone toh D0626 40626 0625 Active electric energy Load 3 float upper order 2 byte D0628 float Single precision floating decimal point uint Without sign integer int With sign integer char Character string Or State of
6. OQOUE 0 H OQOOE 0 Data of parameters G 2 3 4 H J 5 K L and B C D and N to T Data of parameters G 2 3 4 H J 5 K and L and 6 power factor measuring and B C D and N to T No optional measuring Power factor measuring 0 001E 2 to 9 999E 6 V 8 bytes 0 000E 0 to 9 999E 9 V lt Se Voltage range 150 V 300 V Rated voltage range x 1 3 Voltage range 450 V Rated power range x 1 1 0 001E 2 to 9 999E 6 V 0 001E 0 to 9 999E 6 A 8 bytes 8 bytes 8 bytes 123 bytes 129 bytes 0 000E 0 to 9 999E 9 V KIA AA Voltage range 1 50 V 300 V Rated voltage range x 1 3 Voltage range 450 V Rated power range x 1 1 0 000E 0 to 9 999E 9 A Or Rated current range x 1 3 0 000E 0 to 9 999E 9 A Or Rated current range x 1 3 Data of parameters G 2 3 4 H J 5 K L and 6 power factor measuring and B C D and N to T IM CW120C E Chapter 3 Power Monitor PR201 Communication Table 3 1 Command DG 3 3 Para Descriptions Power Power monitor Power Response CW120 121 meter monitor response data monitor data size response data adaptable format response models data range N Voltage 2 O OOUE O 0 001E 2 to 8 bytes 0 000E 0 V maximum value 9 999E 6 V read out o f EHO TB bytes Voltage 3 O OOUE 0O 0 001E 2 to 8 bytes 0 000E 0 V read out Voltage 2 O 000E 0 0 001E 2 to 8 bytes 0 000E 0 V minimum value 9 999E 6 V read out Voltag
7. and EJ EJ element Station aaa Option revision numbers Note 3 Note 3 number Note 1 Note 2 Response continued 0001 0000 Check ETX CR Note 3 Note 3 sum Note 1 Model Option When single phase two wire PR201101 When single phase three wire PR201201 When three phase three wire PR201301 When three phase four wire PR201401 When single phase two wire x 2 PR201101 When single phase two wire x 3 PR201101 Note 2 Version Revision _V00 ROO First column character i e _ in sample indicates space Note 3 These are manufacture s matter so ignore those items IM CW120C E Chapter 6 Functions and Usage of D Registers and Relays 6 Functions and Usage of D Registers and Relays 6 1 Functions and Usage of D Registers Various types of data are allocated to the D registers of the CW120 121 A higher level device can acquire data from the CW120 121 or control the CW120 121 by accessing these D registers through MODBUS personal computer link communication As shown in Table 6 1 D registers are classified into Common registers of power monitor PR201 and Dedicated registers of CW120 121 The common registers of the power monitor PR201 are used when the CW120 121 is handled as a PR201 power monitor in a virtual manner in a PR201 supported application used by the higher level device The dedicated registers of the CW120 121 are used for functions and data specific to th
8. be monitored on a bit by bit basis Note that this command simply specifies relays Actual monitoring is performed by the BRM command after the relay numbers are specified with this command When the volume of data is large and you wish to increase the commu nication rate it is effective to use a combination of the BRS and BRM commands rather than the BRD or BRR command If the power supply is turned off the specified relay numbers will be erased e The number of registers to be specified at a time is 1 to 16 e For the format of response in the event of failure see subsection 5 1 2 The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command Command Response for normal operation Number of Bytes Command STK Address CPU BRS Number _ relay YANA relay element Station ia i a Oe number WA asec Command continued relay Check ETX CR number sum n Number of Bytes Response STX Address CPU OK E EJ a element Station ie sum number Example Monitoring the Input overrange against full input scale 10001 and the Remote reset 10010 of the CW120 121 with address number 01 This command is used simply for specifying registers Command STX 01010BRS0110001 10010 ETX CR OK is returned in response to the command above Response STX O101OK ETX CR
9. bit by bit basis in a random order IM CW120C E Function Writes ON OFF statuses in the individual relays specified in a random order by the specified number of bits e The number of bits to be written at a time is 1 to 16 e For the format of response in the event of failure see subsection 5 1 2 e The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command o ee for normal operation Number of Bytes Command STK Ez CPU BRW Number I relay Ea EN relay element Station number of bits number or or number number 01 n 1 space space 2 T DES EREE relay a dn EZ EA bl sum ees ine aes Write information is 0 to set OFF or 1 to set ON dn write data of the specified number of bits n 1 to 32 dn 0 OFF dn 1 ON Number of Bytes Response STX Address CPU OK Check ETX EE element Station aad sum number 0 Example Setting the Remote reset 10010 and the Stop of optional power integration 10014 of the CW120 121 with address number 01 to ON and OFF Command STX 01010BRW0210010 1 10014 O ETX CR OK is returned in response to the command above Response STX JO101OK ETX CR 5 9 Chapter 5 PC Link Communication 5 4 5 BRS Specifies relays to be monitored on a bit by bit basis 9 10 Function Specifies the numbers of relays to
10. bytes measuring AA srt WA Or The input value is over the range Measurement not possible because input value is out of measurement range Current 1 instantaneous value Voltage 1 instantaneous IM CW120C E 39 Chapter 3 Power Monitor PR201 Communication Para Descriptions meter Voltage 1 maximum value read out Voltage 1 minimum value read out Current 1 maximum value read out Current 2 maximum value read out Measured values read out in block instantaneous value Current 2 instantaneous value Current 3 instantaneous value Measured and maximum mini mum values read out in block Table 3 1 Command DG 2 3 Power monitor response data format O QOOE 0 0 OQHOOE 0 H OQOOE 0 H QOOE 0 Power monitor adaptable No current 2 measuring Current 2 measuring No optional measuring Power factor measuring Power monitor response data range 0 001E 2 to 9 999E 6 V 0 001E 2 to 9 999E 6 V 0 001E 0 to 9 999E 6 A Data of parameters G 2 3 4 H J 5 K Data of parameters G 2 3 4 H J 5 K and L and 6 power factor measuring Response data size CW120 121 response data 0 000E 0 V 0 000E 0 V 0 000E 0 V 75 bytes 81 bytes Data of parameters G 2 3 4 H J 5 K and L and 6 power factor measuring transferred OOOOOE 0 00000E 3 to 8 bytes 00000E 3 to 9999E 6 Wh 99999E 6 Wh O OOOE 0 AA 0 OQOOE 0 0
11. enabled by shortcircuiting these terminals TM SG Communication cable BE Communication cable JIS Class 3 grounding grounding JIS Class 3 grounding grounding resistance of 1002 or less resistance of 100Q or less Maximum number of units connectable 31 except for PLC or graphic panel Maximum distance 1 2 km NOTE In the case of MELSEC Mitsubishi Electric Corporation s sequencer B is for and A is for In the case of Graphic panel Digital Corporation s RS232 RS485 converter is needed N CAUTION Do not share the grounding wire with another controller Doing so may result in a failure of the controller Use crimp terminals at the cable ends 0 Wiring for RS 232 Communication Wire the CW120 121 to a general personal computer as shown below Personal Compute CW120 CW121 Communication cable Note Use the following communication cable RS 232 communication cable for PC 91011 IM CW120C E 1 5 Chapter 1 Communications Overview 1 3 3 Setting Communication Parameters This section describes the communication parameters and setting ranges necessary to use the communication functions 1 Setting Communication Protocols Follow the procedure below to set the communication protocol supported by the higher level device lt Procedure gt 1 When the measurement screen of the CW120 121 is displayed press the MEAS SET key to call the se
12. in response to the com mand above Response STX JO1O1LOKI1I ETX CR The relay is ON Chapter 5 PC Link Communication 5 4 7 WRD Reads D registers and I relays on a word by word basis Function Reads a sequence of contiguous register information on a word by word basis by the specified number of words starting at the specified register number e The number of words to be read at a time is 1 to 64 e For the format of response in the event of failure see subsection 5 1 2 The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command DED for normal operation Number of meio 2 2 se os 2 2 ft Command STX Address CPU WRD Register Comma Number Check ETX a element Station a number or of is sum number space Number of Bytes Response STX z EZ ES cs dddd2 ddddn Check EE z element Station wi sum number The response is returned in a 4 digit character string 0000 to FFFF in a hexadecimal pattern ddddn Read data of the specified number of words ddddn character string in a hexadecimal pattern n 1 to 64 Example Reading the Integrated power uint32 lower order 2 bytes D0001 and the Integrated power uint32 higher order 2 bytes D0002 of the CW120 121 with address number 01 Command STX 01010WRDD0001 02 ETX CR The Integrated power uint32 lo
13. time of setpoint change byte size depends on the type of parameter Check sum 2 byte ASCII code 00 to FF representing a value ob tained by summing the data within the range of sum check in a hexadecimal way and then converting the least significant two digits to an ASCII code ETX End of Text hexadecimal 03 CR Carriage Return hexadecimal OD IM CW120C E 3 1 Chapter 3 Power Monitor PR201 Communication 3 2 1 byte STX Response elements 2 bytes 1 byte 2 bytes Variable length 2 bytes 1 byte 1 byte Response Parameter Suet Data Check sum ETX CR number Range of sum check STX Start of Text hexadecimal 02 Response 2 byte ASCII code DG or DP Parameter 1 byte ASCII code 0 to Z Station number Data Check sum ETX CR 2 byte ASCII code 01 to 1F Variable length ASCII code byte size depends on the type of parameter 2 byte ASCII code 00 to FF representing a value ob tained by summing the data within the range of sum check in a hexadecimal way and then converting the least significant two digits to an ASCII code End of Text hexadecimal 03 Carriage Return hexadecimal OD IM CW120C E Chapter 3 Power Monitor PR201 Communication 3 4 List of Commands Table 3 1 Command DG 1 3 Descriptions Power Power monitor Power Response CW120 121 monitor response data monitor data size response data adaptable format response models data range Measured No optional Data of parameters 1
14. types of information and control functions are allocated to the relays of a CW120 121 A higher level device can acquire data from the CW120 121 or control the CW120 121 by accessing these relays through personal computer link communication Table 6 5 Relay Configuration Relay Number _ Classification Error related to input overranges 10 14 Control data Control of operations e g remote reset 101 164 Can be used freely by the user Prohibited area Cannot be used Reading from writing to this area is not guaranteed Table 6 6 Common Relay Map of Power Monitor PR201 Relay No Relay Name Processing Performed by CW120 121 Read Write input overrange against fulinputscale 0 lt lt lt fra Input overrange against analog output scaling Remote reset C Bo S AA A e NA WW WA 10 mi AA 11 Electric energy reset If integration is in progress stops integration and resets Then resumes integration Stop of optional power integration ce AAA y Read Write Read Write Table 6 7 Change in Relays This table describes the behavior of each relay when any change is made to the parameter of the relay Changed Parameter Behavior When Parameter Is Changed Electric energy reset This change causes the CW120 121 to return a response message immediately after resetting the electric energy when it receives 1 as the setpoint 6 10 IM CW120C E YOKOGAWA Yokogawa Meters amp Instruments Corporation
15. 0 0 Ato 9999 kA Read float lower order 2 bytes D0036 40036 0035 Current 1 maximum value Read float higher order 2 bytes D0037 40037 0036 Current 2 maximum value Read float lower order 2 bytes D0038 40038 0037 Current 2 maximum value Read float higher order 2 bytes D0039 40039 0038 Current 3 maximum value Read float lower order 2 bytes D 0040 40040 0039 Current 3 maximum value Read float higher order 2 bytes D0044 VT ratio float higher order 2 bytes Read Write CT ratio float lower order 2 bytes 0 05 to 32000 1 00 to 10000 00 Read Write CT ratio float higher order 2 bytes os Read Write D0047 0 1 to 99 9 W Read 0 Read Write float lower order 2 bytes Write No operation float higher order 2 bytes D0049 1 000 to 9 999 Read 0 Read Write float lower order 2 bytes Write No operation float higher order 2 bytes Write No operation Write No operation D0053 40053 0052 Input scaling L level setting for analog output 4800 to 4800 Read 0 Read Write float lower order 2 bytes Write No operation D0054 40054 0053 Input scaling L level setting for analog output Read Write float higher order 2 bytes D0055 40055 0054 Input scaling H level setting for analog output 4800 to 4800 Read 0 Read Write float lower order 2 bytes Write No operation lial float higher order 2 bytes D0057 40057 0056 Active electric energy setting 0 to 99999999 k
16. 08 function code Diagnostic code higher order fixed to 00 Table 4 7 Diagnostic Codes Diagnostic Code Data 00 00 Command message return Arbitrary IM CW120C E 4 9 Chapter 4 MODBUS Communication Table 4 8 Message Sent from CW120 121 Start of message mark 08 function code Diagnostic code higher order fixed to 00 Diagnostic code lower order fixed to 00 Data higher order Data lower order Error check data End of message mark Data Varies depending on the diagnostic code sent from higher level device 4 5 4 Function Code 16 Writing to Multiple Data retaining D Registers This function enables you to change the states of D registers with consecutive addresses Table 4 9 Message Sent from Higher level Device Error check data End of message mark Table 4 10 Message Sent from CW120 121 Number of registers higher order Number of registers lower order Error check data End of message mark The maximum number of D registers to which data are written is 32 4 10 IM CW120C E Chapter 5 PC Link Communication 9 PC Link Communication 5 1 Overview PC link communication protocol is one of the protocols used to commu nicate with devices such as PCs PLCs sequencers and graphic panels Via this communication protocol these devices can exchange data with a CW120 121 by reading writing the controller s internal registers D registers and relays Hereafter
17. 0C E Chapter 5 PC Link Communication e No response is made in case of an error in address number specification or CPU number specification e If a CW120 121 cannot receive an ETX contained in a command a response may not be made Asa measure against these situations provide a timeout processing in the communication functions or communication programs of the higher level device Numberofoytes 1 2 2 2 2 3 2 Element STX Address number CPU number ER EC1 EC2 Command Checksum L Station number 01 5 2 Communication with Higher level Device In PC link communication when specifying D registers or relays internal registers of CW120 121 you can use the numbers as is The numbers of these internal registers are in the following format e D register Dxxxx xxxx is D register number e relay Ixxxx xxxx is relay number Higher level devices to be connected to a CW120 121 are those capable of handling the PC link communication protocol Communication with FA M3 with UT link module IM CW120C E No ladder communication program is required to communicate with FA M3 with UT link module Yokogawa PLC The UT link module s function offers 3 modes in which users can exchange data without paying attention to the communication procedure For more information see the user s manual of UT link module IM 34M6H25 01E Non user specifiable mode Always reads the predetermined device
18. 0C E 3rd Edition May 2007 KP All Rights Reserved Copyright 2002 Yokogawa Meters amp Instruments Corporation IM CW120C E Introduction Notices E Regarding This User s Manual 1 This manual should be passed on to the end user Keep this manual in a safe place 2 Read this manual carefully to gain a thorough understanding of how to operate this product before you start using it 3 This manual is intended to describe the functions of this product Yokogawa hereinafter simply referred to as Yokogawa does not guarantee that these functions are suited to the particular purpose of the user 4 Under absolutely no circumstance may the contents of this manual in part or in whole be transcribed or copied without permission 5 The contents of this manual are subject to change without prior notice 6 Every effort has been made to ensure accuracy in the preparation of this manual Should any errors or omissions come to your attention however please contact your nearest Yokogawa representative or our sales office E Regarding Protection Safety and Prohibition Against Unauthorized Modification 1 In order to protect the product and the system controlled by it against damage and ensure its safe use make certain that all of the instructions and precautions relating to safety contained in this document are strictly adhered to Yokogawa does not guarantee safety if products are not handled according to these instructions
19. 1 0600 Active electric energy float lower order 2 byte Read Active electric energy Load 1 float lower order 2 byte O 00000E OOWh D0602 40602 0601 Active electric energy float upper order 2 byte Active electric energy Load 1 float upper order 2 byte D0603 40603 0602 Regenerative electric energy float lower order 2 byte Regenerative electric energy Load 1 float lower order 2 byte D0604 40604 0603 Regenerative electric energy float upper order 2 byte Regenerative electric energy Load 1 float upper order 2 byte D0605 40605 0604 Current 1 Load 2 float lower order 2 byte O ONUE OOA 3 402823E 38 D0606 40606 0605 Current 1 Load 2 float upper order 2 byte Or 3 402823E 38 D0607 40607 0606 Active power Load 2 float lower order 2 byte 0 000E OOW 3 402823E 38 D0608 40608 0607 Active power Load 2 float upper order 2 byte Or 3 402823E 38 D0609 40609 0608 Reactive power Load 2 float lower order 2 byte 0 000 E 00Var 3 402823E 38 D0610 40610 0609 Reactive power Load 2 float upper order 2 byte Or 3 402823E 38 D0611 40611 0610 Power factor Load 2 float lower order 2 byte 1 000 to 1 000 3 402823E 38 D0612 40612 0611 Power factor Load 2 float upper order 2 byte Or 3 402823E 38 O 0O0000E OOWh Ki D0613 40613 0612 Active electric energy Load 2 float lower order 2 byte E
20. 2 bytes D0044 and 0000 HEX into the PT ratio float lower 2 bytes D0043 of the CW120 121 with address number 01 Command STX 01010W WRD0043 02 03800000 ETX CR OK is returned in response to the command above Response STXJ JO101OK ETX CR 5 13 Chapter 5 PC Link Communication 5 4 9 WRR Reads D registers and relays on a word by word basis in random order Function Reads the statuses of the individual registers on a word by word basis specified in a random order by the specified number of words e The number of words to be read at a time is 1 to 32 e For the format of response in the event of failure see subsection 5 1 2 The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command Sy for normal operation Number of Bytes Command STX EN CPU WRR Number Register Comma zi Ez element Station number of a ee or or number 01 space space Command continued Register Check ETX CR number sum n Number of Bytes Response STX es EE 2 ey dddd2 ddddn z EF Ea element Station MA sum number The response is returned in a 4 digit character string 0000 to FFFF in a hexadecimal pattern ddddn character string in a hexadecimal pattern n 1 to 32 0 Example Reading the Integrated pulse Characteristic int 16 bits D0051 and the area for user D0104
21. 40001 from the reference number AN NOTE In RTU mode there may be a case when communication cannot be carried out with an upper level device that detects frame delimiters at high speed In such a case decrease the baud rate 4 2 1 List of Function Codes Function codes are command words used by the higher level device to obtain the D register information of CW120 121 Table 4 2 Function Codes 03 Reads data from multiple D Capable of reading data from a maximum of 32 successive registers registers from D0001 to D0576 Poe fs Capable of writing data to one register from D0001 to D0576 cm Writes data into D register Capable of checking singnal transmission Performs loop back test Capable of writing data into a maximum of 32 successive registers Writes data into multiple D from D0001 to D0576 registers e The write function codes will not write into read only or disabled D registers IM CW120C E 4 3 Chapter 4 MODBUS Communication 4 3 Error Check 4 3 1 MODBUS communication has two modes ASCII mode which is ASCII text communication and RTU mode which is binary communication These two modes use different error check methods ASCII Mode In ASCII mode an error check is run using the LRC method i e logical redundancy check This mode calculates the LRC value from the same data as that of the RTU mode That is all blocks of a message from the slave address to the last data item except the colo
22. CPU WRS Number Register Comma Register EE element Station D of Hi a or aes or number space space Command continued o deefe fede Register Check ETX CR number sum n Number of Bytes Response STX Address ea EN E element Station ea sum number Example Monitoring the integrated power uint32 lower order 2 bytes D0001 and the integrated power uint32 higher order 2 bytes D0002 of the CW120 121 with address number 01 This command simply specifies the registers Command STX 01010WRS02D0001 D0002 ETX CR OK is returned in response to the command above Response STX O101OK ETX CR IM CW120C E Chapter 5 PC Link Communication 5 4 12 WRM Monitors the D register and relays on a word by word basis IM CW120C E Function Reads the information of the registers that have been specified in advance by the WRS command Before executing this command the WRS command must once be executed to specify which registers are to be monitored If no register has been specified error code 06 is returned This error also occurs if the power supply is turned off For the format of response in the event of failure see subsection 5 1 2 The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command Command Response for normal operation Number of me 2 2 at 2 fais
23. Command STX Address CPU WRM Check ETX CR element Station ia sum number Number of Bytes Response STX a CPU OK Fi a Ea Check E3 ke element Station a sum number The response is returned in a 4 digit character string 0000 to FFFF in a hexadecimal pattern ddddn Read data of the number of words specified by the WRS command ddddn character string in a hexadecimal pattern n 1 to 24 Example Monitoring the integrated power uint32 lower order 2 bytes D0001 and the integrated power uint32 higher order 2 bytes D0002 of a CW120 121 with address number 01 This command reads the status of the register specified by the WRS command Command STX 01010WRM ETX CR The integrated power uint32 lower order 2 bytes D0001 value 0001 HEX and the integrated power uint32 higher order 2 bytes D0002 value E02F HEX are returned in response to the command above Response STX 01010K0001E02F ETX CR 5 17 Chapter 5 PC Link Communication 5 4 13 INF Reads the model version and revision information 5 18 Function Reads the model code version number and revision number of the Power Monitor e For the format of response in the event of failure see subsection 5 1 2 Command Response for normal ETT Number of me edel e Command STX Address CPU Response Ka zi Ei element Station aA E sum number Number of Bytes Response STX Address CPU OK Model and Version
24. IM CW120C E Chapter 5 PC Link Communication 5 4 6 BRM Monitors I relays on a bit by bit basis IM CW120C E Function Reads the ON OFF statuses of the relays that have been once specified in advance by the BRS command Before executing this command the BRS command must always be executed to specify which I relays are to be monitored If no relay has been specified error code 06 is returned This error also occurs if the power supply is turned off For the format of response in the event of failure see subsection 5 1 2 The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command 0 Command Response for normal operation Number of Moms t 2 2 3 2 sft Command STX Address CPU BRM Check ETX CR element Station eA sum number Number of Bytes Response STX CPU OK di d2 d3 dn WA cE a element Station a sum number The response parameter data is 0 when the status is OFF and 1 when ON dn read data of the number of bits specified by the BRS command n 1 to 16 dn 0 OFF dn 1 ON Example Monitoring the Input overrange against full input scale 10001 and the Remote reset 10010 of the CW120 121 with address number 01 This command reads the statuses of the relays specified by the BRS command Command STX 01010BRM ETX CR The ON OFF status of the relay is returned
25. PCs PLCs sequencers and graphic panels shall be referred to as higher level devices SEE ALSO As to configuration of inner registers refer to Function and usage of D register and relay Chapter 6 The next section will discuss the configuration of commands and re sponses 5 1 1 Configuration of Commands IM CW120C E Commands sent from a higher level device to a CW120 121 consist of the following elements Number of bytes al ee Variable Variable length _ Address number number to Data Element STX Station number 01 for eee Command to command Check sum ETX CR 1 STX Start of Text This control code indicates the start of a command The character code is CHR 2 2 Address Number 01 to 31 Address numbers are used by a higher level device to identify which CW120 121 to communicate with ID number of the CW120 121 3 CPU Number This number is fixed to 01 4 Time to Wait for Response This is fixed to 0 5 Command See subsection 5 4 Specify a command to be issued from the higher level device 5 1 Chapter 5 PC Link Communication 6 Data Corresponding to Command Specify an internal register D register or relay number of data items parameter of CW120 121 values or others 7 Check sum In PC link communication with sum check the ASCII codes of the text between STX and the checksum are converted into hexadecimal values and added on a byte basis Then the lowerm
26. User s CW120 121 Manual CLAMP ON POWER METERS Communication Functions IM CW120C E YOKOGAWA amp 3rd Edition Vineet Yokogawa Meters amp Instruments Corporation Introduction Introduction This users manual is applicable to the CW120 three phase three wire model and CW121 three phase four wire model clamp on power meters hereinafter referred to as CW120 121 whose firmware version is Ver 1 06 or later and provides information necessary for using commu nication functions and creating communication programs The CW120 121 clamp on power meters use the following communi cation protocols CW120 121 dedicated communication protocol Power monitor PR201 communication protocol MODBUS communication protocol PC link communication protocol i 2 3 4 Sr WA Ww The CW120 121 cannot communicate with a higher level device that does not use any of the communication protocols above You are required to have background knowledge on the higher level devices to be connected to in order to understand the communication specifications communication hardware language used for creating communication programs of higher level devices and so on Note PR201 Yokogawa panel mounted power monitor Higher level devices PCs PLCs sequencers graphic panels and others For details on the functions or how to operate the CW120 121 see the IMCW120 E user s manual CW120 121 Clamp on Power Meters FD No IM CW12
27. Wh No operation uint 32 lower order 2 bytes D0058 40058 0057 Active electric energy setting uint 32 higher order 2 bytes D0059 40059 0058 Remote reset 1 Power meter reset No operation Other than 1 No operation Note float Single precision floating decimal point uint Without sign integer int With sigh integer Or The input value is over the range D0056 40056 0055 Input scaling H level setting for analog output Read Write Pe D0045 D0046 IM CW120C E 63 Chapter 6 Functions and Usage of D Registers and Relays Table 6 2 D Register Map and Common Registers of Power Monitor PR201 3 3 No Data Range and Data Processing D0060 40060 0059 Electric energy reset 1 Electric energy 1 Electric energy reset reset If integration is in progress Other than 1 stops integration and resets No operation Then resumes integration Other than 1 No operation D0061 40061 0060 Maximum minimum value reset 1 Maximum minimum No operation value reset Other than 1 No operation D0062 40062 0061 Start of optional integrated power 1 Start of optional No operation integration Other than 1 No operation D0063 40063 0062 Stop of optional integrated power 1 Stop of optional No operation integration Other than 1 No operation Use prohibited 50066 D0067 D0072 40072 0071 Setpoint change status 1 Setting value set 1 D0043 to D0046 Other than 1 setting values are set No op
28. a which you acquired through communication on the upper level device side instead IM CW120C E Chapter 1 Communications Overview 1 2 Interface Specifications e Specifications common to RS 232 and RS 485 communication Synchronization Asynchronous Station number 001 to 999 Baud rate 1200 2400 4800 9600 19200 38400 bps Data bits 7 or 8 bits Parity Odd even or none Start bits Fixed to 1 bit Stop bits 1 or 2 bits Specifications specific to RS 232 communication Electromechanical specifications Compliant with EIA RS 232 Topology Point to point Communication method Full duplex Connector Miniature DIN 8 pins Hardware handshake Whether to set CA RTS and CB CTS to true or use then as control signals can be chosen Software handshake Transmission reception control by X on and X off signals is possible X on ASCII 11H X off ASCII 13H Error detection Set by communication protocol Reception buffer length 1024 bytes Specifications specific to RS 485 communication Electromechanical specifications Compliant with EIA RS 485 Topology Multidrop Communication method Half duplex Connector 4 screw terminals M3 Hardware handshake Not available Software handshake Not available Error detection Set by communication protocol Reception buffer length 1024 bytes Maximum transmission distance 1 2 km when using shielded cable containing 2 twisted pairs of AWG 24 conductors Terminating r
29. ation Connection check mode D0537 40537 0536 Phase wire uint 16 Single phase two wire 12 W Read Write Single phase three wire 123 W Three phase three wire 303 W Three phase four wire 304 W Single phase two wire X2 102 Wx2 Single phase two wire X3 102 Wx3 D D D D pe pe Q O D0538 40538 0537 Voltage range uint 16 Read Write IM CW120C E 65 Chapter 6 Functions and Usage of D Registers and Relays Table 6 3 D Register Map and Dedicated Registers of CW120 121 2 4 wi Ref No Register Description Data Range Read Write 5A D0539 40539 0538 Current range uint 16 Read Write 50 to 500 A 96031 Clamp type uint 16 200 to 1000 A 96032 1 00 to 10000 00 Read Write 0541 CT ratio float higher order 2 bytes VT ratio float lower order 2 bytes 1 to 10000 Read Write D0545 40545 0544 Normal measurement display screen uint 16 Display item 1 Read Write Display item 2 Display item 3 Display item 4 Display item 5 Display item 6 D0546 40546 0545 Integration start method uint 16 0 Time specified Read Write 1 Manual D0552 0551 Integration start time second uint 16 Read Write D0553 40553 0552 Integration stop time year uint 16 Read Write D0554 40554 0553 Read Write D0555 40555 0554 Read Write D0556 40556 0555 Integration stop time hour uint 16 Read Write D0557 40557 0556 Integration stop time minute
30. ck light uint 16 0 OFF Read Write 1 ON D0568 40568 0567 ON OFF of key lock uint 16 0 OFF Read Write 1 ON D0569 40569 0568 System reset uint 16 1 System reset Write Other than 1 No operation D0570 40570 0569 Start of integration 1 Start of integration Write Other than 1 No operation D0571 40571 0570 Stop of integration uint 16 1 Stop of integration Write Other than 1 No operation D0572 40572 0571 Clearing of integration value uint 16 1 Integration value cleared Write Other than 1 No operation D0573 40573 0572 D0574 40574 0573 Settings change state uint 16 Execution state uint 16 D0575 40575 0574 Model uint 16 D0576 40576 0575 Firmware version number uint 16 1 00 to 100 D0577 40577 0576 D0581 Voltage 1 float lower order 2 byte D0583 Current 1 float lower order 2 byte Current 1 Load 1 float lower order 2 byte Current 1 float upper order 2 byte Current 1 Load 1 float upper order 2 byte Current 2 float lower order 2 byte Current 3 float lower order 2 byte Active power float lower order 2 byte Active power Load 1 float lower order 2 byte D0587 40587 0586 D0588 40588 0587 Load system uint16 Active power float upper order 2 byte Active power Load 1 float upper order 2 byte Reactive power float lower order 2 byte Reactive power Load 1 float lower order 2 byte Reactive power float
31. der ono 0111 Error check data jo EO h ODh CR None End of message mark a OAh LF None IM CW120C E A Chapter 4 MODBUS Communication Table 4 4 Message Sent from Slave Element Contents HEX Example for ASCII Mode Example for RTU Mode Reference only Reference only Start of message mark of message mark T am 3Ah colon 24 bit time 31 pth Address 0001 0001 a ee Byte count 8 bytes 0000 1000 0011 1111 order 3F80 Lower order 1000 0000 0000 0000 0000 0000 0011 1111 1000 0000 0000 0000 0000 0000 0000 11 66h 01110111 J ODh CRI None Oah LF order 0000 Lower Byte count for D register status number of Higher registers32 order 3F80 Lower Higher order 0000 Lower Error check data a End of message mark ooo mca The D register numbers addresses are specified using relative addresses The maximum number of D registers that are read is 32 4 8 IM CW120C E Chapter 4 MODBUS Communication 4 5 2 Function Code 06 Writing to a Single D Register Table 4 5 Message Sent from Master Data to write Optional Specify D register numbers addresses using relative addresses Response from Slave The slave returns the received command message as a response message 4 5 3 Function Code 08 Loop back Test A loop back test is used to check signal transmission Table 4 6 Message Sent from Higher level Device Start of message mark
32. der aa 5 9 5 4 5 BRS Specifies relays to be monitored on a bit by bit basis 5 10 5 4 6 BRM Monitors relays on a bit by bit basis 5 11 5 4 7 WRD Reads D registers and relays on a word by word DAS IS crease Ii 5 12 5 4 8 WWR Writes data into D registers and relays ON a word by wo rd DaSIS ccccccceeeeeeeeeeeeeeeeeeeeeeeaeeeeeeeesaaaeeeeess 5 13 5 4 9 WRR Reads D registers and relays on a word by word basis IN random order ccccceseceeseeceeceeececeeeceseeeeeceeecessueeessaeess 5 14 5 4 10 WRW Writes data into D registers and I relays on a word by word basis in random order cccceeeeseeeeeeeeeeeneeees 5 15 5 4 11 WRS Specifies the D registers and relays to be monitored on a word by word basis reene 5 16 5 4 12 WRM Monitors the D register and relays on a word by WOrd DASIS ccccseeeeccceeeeeeeeeaeeeeeeseeeeeeesaeeeeeeeseeeeeens 5 17 5 4 13 INF Reads the model version and revision information 5 18 Chapter 6 Functions and Usage of D Registers and I Relays 6 1 6 1 Functions and Usage of D Registers IA 6 1 6 1 1 Power Monitor PR201 Common Register Map mmw 6 2 6 1 2 CW120 121 Dedicated Register Map cccccceeeseeeeeeeeeeeeeeees 6 5 6 2 Functions and Usage of Relays cccccccecesseseeeeeeeeeeseeeeeeeeeeneeeeees 6 10 IM CW120C E Chapter 1 Communications Overview 1 Co
33. e 3 O 000E 0 0 001E 2 to 8 bytes 0 000E 0 V read out Current 2 0O OOHE O 0 001E 2 to 8 bytes 0 000E 0 A read out Current 3 O OOUE O 0 001E 2 to 0 000E 0 A maximum value 9 999E 6 A read out a O aS Ooo AAA Loe Model and PR201 00000 A Single phase two wire suffix code PR201 11011 20 read out Single phase three wire PR201 21011 20 Three phase three wire PR201 31011 20 Three phase four wire PR201 41011 20 Single phase two wire x2 PR201 11011 20 Single phase two wire x3 PR201 11011 20 Error response 2 bytes 00 Not error 80 Check sum error Or The input value is over the range Measurement not possible because input value is out of measurement range IM CW120C E 3 5 Chapter 3 Power Monitor PR201 Communication Table 3 2 Command DP Para Descriptions Power Power monitor Power Command CW120 121 meters monitor command data monitor data size response data adaptable format command data models range Set value No data response 1 0 byte VT ratio CT ratio Integrated meee out low cut oren powe ane O value 0 T E S C gene 4 VT ratio setting aon T e to 32000 5 bytes 00001 to 10000 During setup resets electric energy read out and elapsed time If integration is in progress stops integration and resets Then resumes integration CT ratio setting OOOO 00 05 to 32000 5 bytes 00001 to 10000 During setup resets electric energy read out and elapsed time If integration is in progress stops
34. e CW120 121 Table 6 1 D Register Configuration D0001 to D0040 Common registers D0064 to D0071 Prohibited area Cannot be used Reading from writing to this is not guaranteed Setpoint change status Switch serving as a trigger for setpoint change D0073 to D0100 Registers for which Prohibited area Cannot be used Reading from writing use is prohibited to this is not guaranteed D0101 to D0150 Common registers of User area Can be used freely by the user power monitor PR201 D0151 to D0500 Registers for which Prohibited area Cannot be used Reading from writing use is prohibited to this is not guaranteed D0501 to D0524 Dedicated registers to this is not guaranteed and D0577 D0567 to D0572 Control data Operation control e g system reset Setpoint change status Switch serving as a trigger for setpoint change D0574 to D0576 Parameter data Fixed values e g model name D0581 to D0628 Measured values e g electric energy Others Registers for which Prohibited area Cannot be used Reading from writing use is prohibited to this is not guaranteed IM CW120C E 6 1 Chapter 6 Functions and Usage of D Registers and Relays 6 1 1 Power Monitor PR201 Common Register Map The following lists common register areas used by both CW120 121 and Power Monitor PR201 Table 6 2 D Register Map and Common Registers of Power Monitor PR201 1 3 No Data Range and Data Processing D0001 40001 0000 Active electric energ
35. e of D register and relay given as to parameter of command have following formats e D register Dxxxx xxxx is D register number e relay Ixxxx xxxx is relay number IM CW120C E 5 5 Chapter 5 PC Link Communication 5 4 1 5 6 BRD Reads relays on a bit by bit basis Function Reads the ON OFF statuses of a sequence of contiguous relays by the specified number of bits starting at a specified relay number e The number of bits to be read at a time is 1 to 48 e For the format of response in the event of failure see subsection 5 1 2 The command shown below includes the checksum function When performing communication without checksum do not include the 2 byte checksum element in the command Command Response for normal operation Number of Bytes Command STX Address CPU BRD Irelay Comma Number lt 2 gi a element Station aa number or f i sum number space me ededed te TE STX Address CPU OK d1 d2 d3 dn Check Eu 5 element Station ee sum number The response parameter data is 0 when the status is OFF or 1 when ON dn read data of the specified number of bits n 1 to 48 dn 0 OFF dn 1 ON Example Reading the input overrange against full input scale of the CW120 121 with address number 01 The following command reads the status of 10001 at address number 01 Command STX 01010BRDI0001 001 ETX CR The following response is returned with res
36. eration Other than 1 No operation Note float Single precision floating decimal point uint Without sign integer int With sigh integer Or The input value is over the range Measurement not possible because input value is out of measurement range 6 4 IM CW120C E Chapter 6 Functions and Usage of D Registers and Relays 6 1 2 CW120 121 Dedicated Register Map The following lists the dedicated register areas of the CW120 121 Table 6 3 D Register Map and Dedicated Registers of CW120 121 1 4 va Ref No Register Description Data Range Read Write D0501 40501 0500 Voltage 1 float lower order 2 bytes D0502 40502 0501 Voltage 1 float upper order 2 bytes O E O OOV D0503 40503 0502 Voltage 2 float lower order 2 bytes 3 402823E 38 D0504 40504 0503 Voltage 2 float upper order 2 bytes Or 3 402823E 38 D0505 40505 0504 Voltage 3 float lower order 2 bytes D0506 40506 0505 Voltage 3 float upper order 2 bytes D0507 40507 0506 Current 1 float lower order 2 bytes D0508 40508 0507 Current 1 float upper order 2 bytes O OOUE 00A D0509 40509 0508 Current 2 float lower order 2 bytes ee D0510 40510 0509 Current 2 float upper order 2 bytes ee Or 3 402823E 38 D0511 40511 0510 Current 3 float lower order 2 bytes D0512 40512 0511 Current 3 float upper order 2 bytes D0513 40513 0512 Active power float lower
37. esiaase 1 2 1 3 Setup of Communication odes cieniaesseicncnubesnsincnnsinsiminnendontidankssecteaaecsetetoanss 1 3 1 3 1 Setup Procedure of COMMUNICATION ccceeeceeeeteseseeeeeeeeeeeees 1 3 1 3 2 Wiring for Communication sciiscsicce 0ssesecconecisencaasadasonaatinadaasedonsedensunnnee 1 3 1 3 3 Setting Communication Parameters cccccceseesssesseeeeeeeeeeeeees 1 6 Chapter 2 Communication Dedicated to CW120 121 eesseseeeeeeeeees 2 1 ZA OVEVIOW IA eee E 2 1 Chapter 3 Power Monitor PR201 Communication ccseeeeeeeseeeees 3 1 31 UW IIIA 3 1 3 2 Communication Specifications mmmmemmnmmmwmamananmwwwa 3 1 3 3 Commands and RESPONSES wwwmamamwmmwananawwnzanamumunananuwunananuwuna 3 1 g4 Listo Commands AAA 3 3 Chapter 4 MODBUS Communication ccccesseesseeeeeeeeenseeeeeeeeeeseeeeenneeees 4 1 4 1 CVE 2 mmmmmmbamamz nw eed eedneceotewendaiseinsoeadsacwaanneaseniioeseenssaseheussacrentecs 4 1 4 1 1 Configuration of Messages cccccccccesseeeceeceeeeeeeeeeeseaaeeeeeeesenaaees 4 2 4 2 Communication with Higher level Device ccccccsseeeeeeeeeeeeeeeeeeeeeees 4 2 4 2 1 List of Function Codes icc ces sesacencsysscevassneesicssesh reeves cen ceneetitescecpsaneks 4 3 43 2 ed 0 eee ee eee ene eee ee ee ar eee ere ree 4 4 431 POG MOdE AWA 4 4 A2 WAND OOS serasa a 4 4 4 4 Responses from Slaves xc cccscccctedcs
38. esistor Approx 120 Q built in IM CW120C E Chapter 1 Communications Overview 1 3 Setup of Communication This chapter describes the procedure to set up the communication functions and also refers to some notes on wiring and communication parameters 1 3 1 Setup Procedure of Communication Set up the communication functions of the CW120 121 as follows See Connect a higher level device and a CW120 121 section 1 3 2 See Set up the communication parameters of the CW120 121 section 1 3 3 Create communication programs for the higher level device to perform communication Create communication programs referring to the documentation of each higher level device In this manual higher level devices generically denotes PCs PLCs sequencers and graphic panels 1 3 2 Wiring for Communication IM CW120C E Connect the CW120 121 controller and the higher level device for communication The wiring procedures and precautionary notes are as follows N CAUTION To avoid an electrical shock be sure to turn off the power supply source to the equipment involved before you start wiring Before you start wiring read the user s manual of each device Chapter 1 Communications Overview 0 Wiring for RS 485 Communication 1 Wiring to a Personal Computer Since general personal computers cannot directly be connected to the RS 485 interface wiring must be provided via an RS 232 RS 485 converter The followi
39. heck In ASCII mode carried out by the longitudinal redundancy check LRC system In RTU mode carried out by the cyclic redundancy check CRC 16 system 6 End of Message Mark This mark indicates the end of a message Note that only ASCII mode requires CR and LF 4 2 Communication with Higher level Device When you use a commercially available SCADA or the like or a user created communication program you must be careful when specifying D register numbers contained in messages because in both cases you cannot use the original D register numbers as they are 4 2 IM CW120C E Chapter 4 MODBUS Communication To specify D registers 1 When using a commercially available SCADA or the like specify D register numbers by changing them into reference numbers To change them into a reference number replace the D register number s leading character D with 4 When using a DDE server or others specify these reference numbers 2 In a user created communication program specify a D register using the hexadecimal number of the value obtained by subtracting 40001 from the D register s reference number Specify this hexadecimal number Example To specify D0101 e For a message using commercially available SCADA or the like specify reference number 40101 e For a message in a user created communication program specify 0064 the hexadecimal number of 0100 which is obtained by subtracting
40. icated characters upper case or lower case for example to the extent that they do not impair a correct understanding of the functions and the proper operation and monitoring of the system Introduction E Force Majeure 1 Yokogawa does not make any warranties regarding the product ex cept those mentioned in the WARRANTY that is provided separately 2 Yokogawa assumes no liability to any party for any loss or damage direct or indirect caused by the use or any unpredictable defect of the product 3 Be sure to use the spare parts approved by Yokogawa when replac ing parts or consumables 4 Modification of the product is strictly prohibited 5 Reverse engineering such as the disassembly or decompilation of software is strictly prohibited 6 No portion of the product supplied by Yokogawa may be transferred exchanged leased or sublet for use by any third party without the prior permission of Yokogawa 6 Every effort has been made to ensure accuracy in the preparation of this manual Should any errors or omissions come to your attention however please contact your nearest Yokogawa representative or our sales office IM CW120C E Contents Contents JA OU CUNO p cscs AAA AWA ATAMANI AAA WARSHA NOCES mi EE li Chapter 1 Communications Overview eecescssssseeeesceeeeseeeeeseeeees 1 1 1 1 OVErVIOW Wa 1 1 1 2 Interlace Specitications seg arsatdccassspunccoscussateciiecantiansecaeGaseueaciesaaaai
41. input value being overrange D0627 40627 0626 Regenerative dak energy Load 3 a lower order 2 byte D O oown 6 8 hall ad IM CW120C E Chapter 6 Functions and Usage of D Registers and Relays Table 6 4 Change in D Registers This table describes the behavior of each D register when any change is made to the parameter of the register Changed Parameter Behavior When Parameter Is Changed VT ratio This change only results in the saving of the setpoint in the buffer memory of the CW120 121 no change is made to the VT ratio until the status of setting change CT ratio This change only results in the saving of the setpoint in the buffer memory of the CW120 121 no change is made to the CT ratio until the status of setting change Status of setting change This change initializes operating conditions with setpoints saved in the storage buffers of the CW120 121 when the parameter is set to 1 so that these setpoints are incorporated into CW120 121 operation System reset This change causes the CW120 121 to return a response message immediately after system reset when it receives 1 as the setpoint Electric energy reset This change causes the CW120 121 to return a response message immediately after resetting the electric energy when it receives 1 as the setpoint IM CW120C E 6 9 Chapter 6 Functions and Usage of D Registers and Relays 6 2 Functions and Usage of Relays Overview of Relays Various
42. integration and resets resumes integration a a O O OC mM Integrated 00 1 to 99 9 4 byte No processing carried out S emganner fee eee unit 1 000E 1 ON pulse width OOOO 0010 to 1270 4 byte No processing carried out of integrated pulse Input scaling ADO A or 4800 to 4800 5 bytes No processing carried out L level setting for analog output Input scaling H ADO A or 4800 to 4800 No processing carried out level setting for analog output Electric energy No data buffer data is reset too Resets electric energy read reset out and elapsed time If integration is in progress stops integration and resets Then resumes integration 1 The response for set value read out command is as follows VT ratio CT ratio and integrated low cut power 16 bytes 3 6 IM CW120C E Chapter 4 MODBUS Communication 4 MODBUS Communication 4 1 Overview A MODBUS communication protocol is one of the protocols used to communicate with devices such as PCs PLCs sequencers and graphic panels Via this communication protocol these devices can exchange data with CW120 121 by reading writing the internal registers D regis ters of a CW120 121 Hereafter PCs PLCs Sequencers and graphic panels are referred to as higher level devices SEE ALSO As to configuration of inner registers refer to Function and usage of D register and relay Chapter 6 For the MODBUS communication of the CW120 121
43. mmunications Overview 1 1 Overview The CW120 121 has either an RS 232 serial communication interface or RS 485 serial communication interface through which data exchange can be performed with a device such as a personal computer PLC Sequencer or graphic panel Hereafter PCs PLCs Sequencers and graphic panels are referred to as higher level devices At the time of purchase specify the suffix code for either RS 232 communication or RS 485 communication Suffix Code CW120 Three phase three wire CW121 Three phase four wire ss D ER orS AC power cord RS 232 communication interface RS 485 communication interface Table 1 1 Communication Protocols Communication Protocol Descriptons CW120 121 dedicated communication CW120 121 dedicated communication standard Power Monitor communication Communication standard used for power monitor PC link communication without sum check MODBUS communication ASCII mode MODBUS communication RTU mode AK NOTE Without error check Communication using ASCII data Communication using Binary data PC link communication with sum check Ss With error check Confirm the Model and Specifications Attempting to save data to a PC card while performing heavy load communication may result in some data being lost In such a case decrease the baud rate If such a loss of data still persists disable off the function for saving data to a PC card Then save dat
44. n carriage return CR and line feed LF are converted one byte hexadecimal data and summed on a byte by byte basis A two s complement taken from least sigfinicant two bytes of the value thus obtained equals the LRC value At this point ignore any carry into the most significant digit occurring during the summing Example Calculating the LRC value when the message is 303530333030363430303032 LRC CR LF 1 Change the underlined ASCII data to one byte hex data 05 03 00 64 00 02 2 Sum up this one byte hex data on a byte by byte basis 05 03 00 64 00 02 6E 3 Take the two s complement of the least significant one byte of the data thus summed up 92 4 3 2 RTU Mode 4 4 In RTU mode an error check is run using the CRC 16 method i e cyclic redundancy check In this method all blocks of a message from the slave address to the last data item are concatenated in series and the value thus obtained is divided by a predetermined 17 bit binary number The resulting 16 bit remainder then equals the CRC 16 value Note that data subjected to computation is only the value given by the 8 bit block of the message and does not include the start bit stop bit and parity bit IM CW120C E Chapter 4 MODBUS Communication 4 4 Responses from Slaves A CW120 121 receives a command message from the higher level device If the received command message is found to be normal and directed at the slave address
45. nacrasudesntentgucdedsipeancsdenasuteceaataenmeleoserenues 4 5 4 4 1 Responses to Normal Messages cccccceeeeeeeeeeeeeeeeeeeeeeeeees 4 5 4 4 2 Responses to Abnormal Messages cccceeeeeeeeeeeeeeeaeeeeeeeneees 4 6 AS GOANA ae A E A 4 7 4 5 1 Function Code 03 Readout of D Registers www wmwwannamenaa 4 7 4 5 2 Function Code 06 Writing to a Single D Register 4 9 4 5 3 Function Code 08 Loop back Test ccccccsseeeceeeeeeeeeeeeeeeseaeeees 4 9 4 5 4 Function Code 16 Writing to Multiple Data retaining D PCOS aa 4 10 IM CW120C E V Contents vi Chapter 5 PC Link Communication sssssssnnsnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnna 5 1 3 et O W AAA WA WA E een eee meee ES 5 1 5 1 1 Gonfig ration of Commands wa aaa 5 1 5 1 2 Configuration Of RESPONSE cccccceeseeseeceeeeeeeeeeeeeeseeeeeeeeseeaaaeees 5 2 5 2 Communication with Higher level Device cccecceeeeeeeeeeeeeeeeeeeeees 5 3 5 3 Response Error Codes cccsssssseeeececceeeeeeeseeeeeeeeeeeesaeeesseeeeeeeeessanaaas 5 4 S4 TST OL COM a1 eea A eassenencuaavessaseineseeanatvonis 5 5 5 4 1 BRD Reads relays on a bit by bit basis eee 5 6 5 4 2 BWR Writes data into relays on a bit by bit basis 5 7 5 4 3 BRR Reads relays on a bit by bit basis in a random order 5 8 5 4 4 BRW Writes data into relays on a bit by bit basis in a random Or
46. ng figures show the wiring for 2 wire connection 2 wire connection ML1 ini Na B Terminating The built in mior Elala etie hes terminating resistor 22091 4W approx 120 Q 1 4W is enabled by TM shortcircuiting these terminals SG RS 232 straight cable Communication cable Communication cable JIS Class 3 grounding JIS Class 3 grounding JIS Class 3 grounding grounding resistance grounding resistance grounding resistance of 1002 or less of 1002 or less of 1002 or less Maximum number of units connectable 31 except for ML1 O Maximum distance 1 2 km NOTE ML1 C is the converter of Yokogawa M amp C Corporation You can also use other RS 232 RS 485 converters Before you use another converter check its electrical specifications CAUTION Do not share the grounding wire with another controller Doing so may result in a failure of the controller Use crimp terminals at the cable ends 1 4 IM CW120C E Chapter 1 Communications Overview 2 Wiring to a PLC Sequencer or Graphic Panel Since general PLCs sequencers and graphic panels have an RS 485 interface they can be directly connected to a CW120 121 If your PLC Sequencer or graphic panel has an RS 232 interface see subsection 1 PLC or graphic panel eal le B le Sefer Terminating The built in resistor terminating resistor 22021 4W approx 120 Q 1 4W is
47. o D0022 40022 0021 Power factor float higher order 2 bytes 0 500 D0023 40023 0022 Voltage 1 maximum value 0 0 V to 9999 kV float lower order 2 bytes D0024 40024 0023 Voltage 1 maximum value float higher order 2 bytes D0025 40025 0024 Voltage 1 minimum value Read float lower order 2 bytes D0026 40026 0025 Voltage 1 minimum value Read float higher order 2 bytes D0027 40027 0026 Voltage 2 maximum value Read float lower order 2 bytes D0028 40028 0027 Voltage 2 maximum value Read float higher order 2 bytes D0029 40029 0028 2 minimum value Read float lower order 2 D0030 40030 0029 Voltage 2 minimum value Read float higher order 2 bytes D0031 40031 0030 Voltage 3 maximum value Read float lower order 2 bytes 6 2 IM CW120C E Voltage range 450 V Rated voltage range x 1 1 Chapter 6 Functions and Usage of D Registers and Relays Table 6 2 D Register Map and Common Registers of Power Monitor PR201 2 3 D Reg Ref No H No Register Description Power Monitor CW120 121 Data Range Read Write No Data Range and Data Processing D0032 40032 0031 Voltage 3 maximum value 0 0 V to 9999 kV Read float higher order 2 bytes D0033 40033 0032 Voltage 3 minimum value Read float lower order 2 bytes D0034 40034 0033 Voltage 3 minimum value Read float higher order 2 bytes D0035 40035 0034 Current 1 maximum value
48. of Bytes Response STX Address CPU OK Check ETX cs element Station aa sum number Example Writing 0014 HEX into the area for user D0104 and 0005 HEX into the area for user D0105 of the CW120 121 with address number 01 Command STX 01010WRW02D0104 0014 D0105 0005 ETX CR OK is returned in response to the command above Response STX JO1O1LOK ETX CR 5 15 Chapter 5 PC Link Communication 5 4 11 WRS Specifies the D registers and relays to be monitored on a word by word basis 5 16 Function Specifies the numbers of the registers to be monitored on a word by word basis Note that this command simply specifies the registers Actual monitoring is performed by the WRM command after the register numbers are specified by this command If the volume of data is large and you wish to increase the communica tion rate it is effective to use a combination of the WRS and WRM commands rather than the WRD or WRR command If the power supply is turned off the register numbers specified will be erased e The number of words to be specified at a time is 1 to 24 e For the format of response in the event of failure see subsection 5 12 The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command Command Response for normal operation Number of Bytes Command STK Address
49. of the CW120 121 with address number 01 Command STX 01010WRRO2D0051 D104 ETX CR The Intergrated pulse Characteristic int 16 bits D0051 value 00C8 HEX and the area for user D0104 value 0032 HEX are returned as the response to the above command Response STX 010100K00C80032 ETX CR IM CW120C E Chapter 5 PC Link Communication 5 4 10 WRW Writes data into D registers and relays on a word by word basis in random order IM CW120C E Function Writes register information specified for each register into the registers specified in a random order by the specified number of words e The number of words to be written at a time is 1 to 32 e For the format of response in the event of failure see subsection 5 1 2 The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command Command Response for normal operation Number of Bytes Command STX Address CPU WRW Number Register Comma z element Station sie of a ido or number space AA Command continued xs ES Register Comma ddddn zi fi eee or ae or sum space space Write information is specified in a 4 digit character string 0000 to FFFF in a hexadecimal pattern ddddn Repetition of register data and write information of the specified number of words ddddn character string in a hexadecimal pattern n 1 to 32 Number
50. of the CW120 121 itself the CW120 121 concludes the content of the message to be normal Thus the CW120 121 enters the phase of executing message processing deciphers the content of the command message and processes with the message The CW120 121 does not execute message processing however if the received command message is found to be abnormal In that case the CW120 121 either ignores the received message or creates a response message telling the received message is erroneous After receiving a normal command message and executing a given process the CW120 121 creates and sends a response message to which error check data appropriate for the command function code of the higher level device is added 4 4 1 Responses to Normal Messages For a loop back function or a function for writing to a single register the CW120 121 returns the received command message as a response message For a function for writing to multiple registers the CW120 121 returns part of the received command message as the response message For a readout function the CW120 121 adds the read data to the ends of the address number and function code of the received command message and returns the message as the response message IM CW120C E 4 5 Chapter 4 MODBUS Communication 4 4 2 Responses to Abnormal Messages 4 6 If there is any failure other than transmission errors the CW120 CW121 returns the following response message without executing any
51. order 2 bytes 0 000E OOW 3 402823E 38 D0514 40514 0513 Active power float upper order 2 bytes Or 3 402823E 38 D0515 40515 0514 Reactive power float lower order 2 bytes 0 O00E OOVar 3 402823E 38 D0516 40516 0515 Reactive power float upper order 2 bytes Or 3 402823E 38 D0517 40517 0516 Power factor float lower order 2 bytes 1 000 to 1 000 3 402823E 38 D0518 40518 0517 Power factor float upper order 2 bytes Or 3 402823E 38 D0519 40519 0518 Frequency float lower order 2 bytes 40 00 to 70 00Hz 3 402823E 38 D0520 40520 0519 Frequency float upper order 2 bytes Or 3 402823E 38 D0521 40521 0520 Active electric energy float lower order 2 bytes D0521 40521 0520 Active electric energy ytes aeree en D0522 40522 0521 Active electric energy float upper order 2 bytes D0523 40523 0522 Regenerative ane 2an energy float lower order 2 bytes D O oown D0524 40524 0523 Regenerative active electric energy float upper order 2 bytes D0525 40525 0524 Use prohibited D0527 0526 D0528 0527 D0533 40533 0532 System time minute uint 16 Read 40534 0533 System time second uint 16 Read D0535 40535 0534 Measurement mode uint 16 Normal integrated D measurement mode 0036 40536 0535 Integrated measurement state uint 16 Stop Waiting Performing integr
52. ost byte of the added results is turned into ASCII code and its lower byte is used as the checksum This 2 byte space is unnecessary for PC link communication without sum check 8 ETX End of Text This control code indicates the end of a command string The character code is CHR 3 9 CR Carriage Return This control code marks the end of a command The character code is CHR 13 AK NOTE The control codes STX ETX and CR in commands are indispensable Do not miss any of them when you create a communication program for PC link communication A communication failure will result if any of them are omitted or if the order is incorrect 5 1 2 Configuration of Response 52 Responses from a CW120 121 with respect to a command sent from the higher level device consist of the elements shown below which differ depending on the condition of communication normal or failure 1 With Normal Communication When communication is carried out normally the CW120 121 returns the character string OK and in response to read commands also returns read out data Number of bytes t 2 2 2 Variable length 2 JAA Element STX Address number CPU number OK Parameter data Checksum ETX CR Station number 01 2 In the Event of Failure If communication is carried out abnormally the CW120 121 returns the character string ER and error codes EC1 and EC2 See subsection 5 3 Response Error Codes IM CW12
53. pect to the above command When 10001 is ON Response STX O0101OKI1 ETX CR 10001 has been ON since 1 was returned IM CW120C E Chapter 5 PC Link Communication 5 4 2 BWR Writes data into I relays on a bit by bit basis IM CW120C E Function Writes ON OFF data into a sequence of contiguous relays by the specified number of bits starting at a specified relay number e The number of bits to be written at a time is 1 to 32 e For the format of response in the event of failure see subsection 5 1 2 The command shown below includes a checksum function When per forming communication without checksum do not include the 2 byte checksum element in the command 0 Command Response for normal operation Number of Bytes Command STX Address CPU BWR Irelay Comma Number x EN element Station number number or i or number 01 space space Command continued EA ES Ea CR sum Write information is 0 to set OFF or 1 to set ON dn write data of the specified number of bits n 1 to 32 dn 0 OFF dn 1 ON Number of Bytes Response STX Address CPU OK Check ETX El element Station Aaa sum number Example Setting the Remote reset 10010 of the CW120 121 with address number 01 to ON Command STX 01010BWRI0010 001 1 ETX CR OK is returned in response to the command above Response STX O101OK ETX CR 5 7 Chapter 5 PC Link Communication
54. process Address number Function code 80H Error code Error check data The following table summarizes details on the error codes Function code error nonexistent error code Abnormal register number Abnormal number of registers The CW120 121 does not regard it as an error even if there is any unused register among those with consecutive register numbers specified by a read out function rather the CW120 121 returns a value of 0 in this case The CW120 121 returns the error code 02 if the first of specified consecutive addresses is made to fall outside the given range by the number of registers specified even though it was initially within the range IM CW120C E Chapter 4 MODBUS Communication 4 5 Commands 4 5 1 Function Code 03 Readout of D Registers In the example shown here the function reads four consecutive registers starting from the register D0043 of the slave with the slave address 17 Take special note of the fact that the Starting D Register Number field is set to 42 Table 4 3 Message Sent from Mater Element Contents HEX Example for ASCII mode Example for RTU Mode Reference only Start of message mark ee 3Ah colon 24 bit time Address 17 11 alh eee 31h 03 function code 0000 0011 Starting D register number 0000 0000 higher order Starting D register number 0010 1010 lower order 0000 0000 Number of D register Number of D register Ne 0000 0100 lower or
55. re inconsistent Ria An attempt was made to execute monitoring without specifying any device to be monitored BRS or WRS Parametoreror wong parameter O O O r e es between received No terminal character or ETX is received characters Table 5 2 Detailed Error Codes EC2 Error code l l Meaning Detailed error code EC2 EC1 03 Internal register Indicates the parameter number where an error occurred specification error This is the number of a parameter in sequence that first resulted in an error when counted from the leading A parameter Porso Mng tange Example Error in internal register specification 1 Parameter number 1 2 3 4 5 In this case EC1 03 and EC2 04 Parameteirerror For any other EC1 error code not listed here the accompanying detailed error code EC2 is meaningless 5 4 IM CW120C E Chapter 5 PC Link Communication 5 4 List of Commands The following are the lists of commands available in PC link communica tion Table 5 3 Bit basis Access Commands Dedicated to Relays Bit basis random write 1 to 16 bits Specifies relays to be monitored on a bit by bit basis 1 to 16 bits Bit basis monitoring TT Table 5 4 Word basis Access Commands Word basis random write 1 to 32 words Specifies internal registers to be monitored on a word by word basis 1 to 24 words Table 5 5 Special Commands INF Reads model version and revision Pe The device names summary nam
56. s of the CW120 121 users cannot specify devices e Predetermined devices of CW120 121 D0001 to D0022 Since these devices are in the read only area of CW120 121 they cannot be written to User specifiable mode Always reads writes the user specified devices of the CW120 121 Command mode Accesses the devices of the CW120 121 only when necessary Ka Predetermined device or device here denotes the internal registers of the CW120 121 D registers and relays 5 3 Chapter 5 PC Link Communication 5 3 Response Error Codes The error codes EC1 and detailed error codes EC2 of response are as follows EC2 is no meaning when error code EC1 is not included in following table 5 2 Table 5 1 Error Codes EC1 Error code Meaning Causes Command error e The command does not exist Command not executable Internal register Specified register number does not exist specification error In handling bit registers I relays on a word by word basis its specification is not correct Out of setting range Acharacter other than 0 and 1 was used for bit setting A value other than 0000 to FFFF was specified in the word specification The start address specified for data loading saving is out of the address range Data number error e Specified number of bits or words is too large e The number of data or registers specified and the number of parameters for them a
57. the lower part of the LCD and the current setting for the device number is displayed in the upper row 3 Press the ENTER key and verify that the least significant digit in the upper row on the LCD flashes 4 Press either the lt key or gt key to select a digit and change its value by pressing either the A key or V key 5 When you have finished setting the number press the ENTER key to confirm the setting and return to the setting item selection screen Press the ESC key to cancel a setting and return to the setting item selection screen 6 Press the MEAS SET key to return to the measurement screen Setting item a E mi selection screen Least significant digit Tens digit Most significant digit NOTE When connecting more than one device using RS 485 communication be sure to use a unique device number for each device IM CW120C E 1 7 Chapter 1 Communications Overview 3 Setting Communication Interface Parameters Follow the procedure below to set the communication interface param eters Set the same communication interface parameters for the CW120 121 as those set for the higher level device lt Procedure gt 1 When the measurement screen of the CW120 121 is displayed press the MEAS SET key to call the setting item selection screen 2 Press either the A key or V key until the COM mark is displayed in the lower part of the LCD the current settings for the baud rate is displayed on the top row and the current se
58. to 5 40 bytes Ka in block Power factor Data of parameters 1 to 5 46 bytes Transfer of data of Current 2 Data of parameters 1 to 5 48 bytes measuring and 6 current 2 measuring cn WAA Active electric 00000 00000 to 5 bytes ereny reson osgo pawn eee frn Optional Preceding o0000 00000 to active electric value 99999 Wh energy Present oo000 00000 to read out aa O f eeeooran Instantaneous 0 OOOE O 0 001E 2 to 9 bytes 0 000E 0 to active power 9 999E 6 W 9 999E 9 W O o Voltage range 150 V 300 V Rated power range x 1 69 Voltage range 450 V Rated power range x 1 43 0 OOOE O 0 001E 2 to 8 bytes 0 000E 0 to 9 999E 6 V 9 999E 9 V AAA Voltage range 150 V 300 V Rated voltage range x 1 3 Voltage range 450 V Rated voltage range x 1 1 0 Oo00OE 0O 0 001E 2 to 8 bytes 0 000E 0 to 9 999E 6 A 9 999E 9 A 0 S Or Rated current range x 1 3 Optional measuring instantaneous Power factor AO OOO DO 500 to 6 bytes DO 500 to 1 000 to GO 500 value measuring 1 000 to Current 2 O OOOE 0 0 001E 0 to 8 bytes MAA measuring 9 999E 6 A eo a a KS a Optional ood ee Optional integration stop No data 0 byte No data mum values initialization No optional Data of parameters 1 to 5 and B to D 64 bytes maximum mini Power factor Data of parameters 1 to 6 and B to D 70 bytes Data of parameters 1 to 6 read out in block Current 2 Data of parameters 1 to 6 and B to D 72
59. tting item selection screen 2 Press either the A key or V key until Frote is displayed in the upper part of the LCD 3 Press the ENTER key and verify that the lower row on the LCD flashes 4 Press either the A key or V key to select the appropriate communication protocol as shown in the figure below 5 Press the ENTER key to confirm the selection and return to the setting item selection screen Press the ESC key to cancel a selection and return to the setting item selection screen 6 Press the MEAS SET key to return to the measurement screen Setting item CW120 CW121 Power Monitor PC link communication selection screen communication communication without check sum MODBUS communication MODBUS communication PC link communication RTU mode ASCII mode with check sum 1 6 IM CW120C E Chapter 1 Communications Overview 2 Setting Station Number Follow the procedure below to set the device number station number of the CW120 121 within the device number limits Table 1 2 specific to each communication protocol Table 1 2 Communication protocols and device number limits PC link communication with checksum 1 to 99 MODBUS communication ASCII mode 1 to 247 MODBUS communication RTU mode 1 to 247 lt Procedure gt 1 When the measurement screen of the CW120 121 is displayed press the MEAS SET key to call the setting item selection screen 2 Press either the A key or V key until the NO mark is displayed in
60. ttings for data length parity and stop bits are displayed in the lower row Press the ENTER key and verify that the baud rate in the upper row on the LCD flashes Press either the A key or V key to select the baud rate Press the gt key and verify that the rightmost number for the data length flashes Press either the A key or V key to select the data length Press the gt key and verify that the character in the middle for the parity flashes 8 Press either the A key or V key to select the parity 9 Press the gt key and verify that the number for the stop bits flashes 10 Press either the A key or V key to select the stop bits 11 When you have finished making all the settings press the ENTER key to confirm them and return to the setting item selection screen Press the ESC key to cancel the settings and return to the setting item selection screen 12 Press the MEAS SET key to return to the measurement screen Si gt a r Setting item selection screen Baud rate Data length Stop bits Parity r None Even 1 Odd SEE ALSO Chapter 7 of the IM CW120 E user s manual for details on how to make settings 1 8 IM CW120C E Chapter 2 Communication Dedicated to CW120 121 2 Communication Dedicated to CW120 121 2 1 Overview Communication dedicated to CW120 121 allows a variety of measurement values to be read by a higher level device and the CW120 121 to be configured from a higher le
61. uint 16 Read Write D0558 40558 0557 Integration stop time second uint 16 Read Write 0559 40559 0558 Data output ON OFF uint 16 0 OFF Read Write 1 ON 40553 40554 40555 40556 _ 40557 40558 0560 40560 0559 Output interval uint 16 1 sec Read Write 2 sec 5 sec 10 sec 15 sec 30 sec 1 min 2 min 5 min 9 10 min 10 15 min 11 30 min 12 1 hr 40561 D0561 40561 0560 Saved file name char 2 1st and 2nd characters Set file name with valid Read Write D0562 40562 0561 Saved file name char 2 3rd and 4th characters he ia oam is set if all 8 Read Write D0563 40563 0562 Saved file name char 2 5th and 6th characters characters are set to NULL Read Write 40564 D0564 40564 0563 Saved file name char 2 7th and 8th characters 00h Read Write D0565 40565 0564 Decimal point position of electric energy uint 16 0 Standard Read Write 1 000 000 2 0000 00 3 00000 0 5 to 50 A 96033 Read Write 20 to 200 A 96030 WA INA AUA T D D oO ONooahkWND 4 000000 6 6 IM CW120C E Chapter 6 Functions and Usage of D Registers and Relays Table 6 3 D Register Map and Dedicated Registers of CW120 121 3 4 iia Ref No Register Description Data Range Read Write D0566 40566 0565 Unit of electric energy uint 16 0 Wh Read Write 1 kWh 2 MWh 3 GWh D0567 40567 0566 ON OFF of LCD ba
62. upper order 2 byte Reactive power Load 1 float upper order 2 byte float Single precision floating decimal point uint Without sign integer int With sign integer char Character string Or State of input value being overrange IM CW120C E Measurement not possible because input value is out of measurement range 1 D0537 to D0566 and D0577 Write setting value set Other than 1 No operation Displays of last executed state Read with DO569 to D0573 Read Write Read O OO0E 00V 3 402823E 38 Read Or 3 402823E 38 Read O OOOE O0A 1 0 3 402823E 38 Or 3 402823E 38 meas Read 0 000E 00W Read 3 402823E 38 Or 3 402823E 38 Read 0 000 00Var 3 402823E 38 Or 3 402823E 38 k 6 7 Chapter 6 Functions and Usage of D Registers and Relays Table 6 3 D Register Map and Dedicated Registers of CW120 121 4 4 tlie Ref No Register Description Data Range Read Write D0597 40597 0596 Power factor float lower order 2 byte Power factor Load 1 float lower order 2 byte 1 000 to 1 000 3 402823E 38 D0598 40598 0597 Power factor float upper order 2 byte AWA Or 3 402823E 38 Power factor Load 1 float upper order 2 byte D0599 40599 0598 Frequency float lower order 2 byte 40 00 to 70 00 Hz 3 402823E 38 D0600 40600 0599 Frequency float upper order 2 byte Or 3 402823E 38 A lad D0601 4060
63. vel device The communication protocol used is different than that used during RS 232 or RS 485 communication For details see the appendix of IMCW120 E Communication Commands IM CW120C E DA Chapter 3 Power Monitor PR201 Communication 3 Power Monitor PR201 Communication 3 1 Overview Using the command response method you can read a variety of mea sured values onto your personal computer Readout can be achieved in two ways reading measured values one by one or reading the values at one time those of measurement data items assigned in the selected parameter 3 2 Communication Specifications Station number 1 to 31 Communication error handling The CW120 121 discards a received command and re turns no response if the command is invalid ignores electrical noise and faulty commands Any time out pro cess therefore should be run at the higher level personal computer Set the time out option to a value no smaller than one second The CW120 121 returns an error re sponse if the parameter or data is erroneous 3 3 Commands and Responses Command elements 1 byte 2 bytes 1 byte 2 bytes Variable length 2 bytes 1 byte 1 byte Stati number Range of sum check STX Start of Text hexadecimal 02 Command 2 byte ASCII code DG or DP Parameter 1 byte ASCII code 0 to X Station number 2 byte ASCII code 01 to 1F Data Not provided at the time of data readout provided as variable length ASCII code at the
64. wer order 2 bytes D0001 value O3E8 HEX and the Integrated power uint32 higher order 2 bytes D0002 value 00C8 HEX is returned in response to the command above Response STX 0101OK03E800C8 ETX CR IM CW120C E Chapter 5 PC Link Communication 5 4 8 WWR Writes data into D registers and relays on a word by word basis IM CW120C E Function Writes information into a sequence of contiguous registers on a word by word basis by the specified number of words starting at the specified register number e The number of words to be written at a time is 1 to 64 e For the format of response in the event of failure see subsection 5 1 2 The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command 0 Command Response for normal operation Number of Bytes Command STX Address CPU WWR Register Comma Number n EE element Station number number or of a or number 01 space space Command continued ES n z ETX CR sum Write information is specified in a 4 digit character string 0000 to FFFF in a hexadecimal pattern ddddn Write data of the specified number of words ddddn character string in a hexadecimal pattern n 1 to 64 Number of Bytes Response STX Address CPU OK Check ETX cs element Station a sum number Example Writing 0380 HEX into the PT ratio float upper
65. y 0 to 99999999 kWh 0 to 99999999 kWh Read uint 32 lower order 2 bytes D0002 40002 0001 Active electric energy kuj uint 32 higher order 2 bytes D0003 40003 0002 Optional active electric energy current send O to 99999 Wh BE value uint 32 lower order 2 bytes D0004 40004 0003 Optional active electric elergy current send ual value uint 32 higher order 2 bytes D0005 40005 0004 Optional active electric energy previous Read send value uint 32 lower order 2 bytes D0006 40006 0005 Optional active electric energy previous Read send value uint 32 higher order 2 bytes D0007 40007 0006 Instantaneous value of active power 0 W to 9999 MW 0 W to 9999 MW Read float lower order 2 bytes D0008 40008 0007 Instantaneous value of active power Read float higher order 2 bytes D0009 40009 0008 Voltage 1 float lower order 2 bytes 0 0 V to 9999 kV D0010 40010 0009 Voltage 1 float higher order 2 bytes Voltage range 150 V 300 V Rated power range x 1 69 Voltage range 450 V Rated power range x 1 4 D0011 40011 0010 Voltage 2 float lower order 2 bytes D0012 40012 0011 Voltage 2 float higher order 2 bytes D0013 40013 0012 Voltage 3 float lower order 2 bytes D0014 40014 0013 Voltage 3 float higher order 2 bytes Current 3 fost lower order 2 nies D0021 40021 0020 Power a float lower 0 500 to 1 000 t
Download Pdf Manuals
Related Search
Related Contents
MARINA - Winncare Graph WEB AUDITORÍA: MANUAL DE USUARIO 白教26-22 意匠図ダウンロード(pdf・2.8 MB ) トップライトと共に究極の完全ECOを目指す太陽光採光システム・24時間 O NOVO - Volvo Cars Gear Head KB4000LCD User's Manual Modbus™ Communication—User Guide BBI Engineering, Inc. MicroMSC Copyright © All rights reserved.
Failed to retrieve file