background image

4-16

IM 77C01H01-10EN

WRW Writes data into D registers and I relays on a word-by-word basis  

in random order

Function

Writes register information specified for each register into the registers specified in a random 

order by the specified number of words.

•  The number of words to be written at a time is 1 to 32.

•  For the format of response in the event of failure, see subsection 4.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.

•  Specify the leading I relay number to write data into I relays on a word-by-word basis. 

Data of 16 bits starting at the leading I relay are to be written.

Command/Response (for normal operation)

Number 

of Bytes

1

2

2

1

3

2

5

1

4

1

Command 

element

STX

Station 

number 

(ST-NO)

CPU 

number 

(01)

Time to 

wait for 

response 

(0)

WRW

Number  

of words 

(n)

Register

number

1

Comma  

or  

space

dddd1

Comma  

or  

space

Command (continued)

5

1

4

5

1

4

2

1

1

Register 

number  

2

Comma  

or  

space

dddd2

Register 

number  

n

Comma  

or  

space

ddddn

Checksum

ETX

CR

Write information is specified in a 4-digit character string (0000 to FFFF) in hexadecimal.

    ddddn: repetition of register numbers and write information of the specified number of words

(

   ddddn = character string in hexadecimal                                                                            

)

    n = 1 to 32 words

Number 

of Bytes

1

2

2

2

2

1

1

Response 

element

STX

Station 

number 

(ST-NO)

CPU 

number 

(01)

OK

Checksum

ETX

CR

Example

Write “1” into the remote reset (register symbol: RMT RST), active energy reset (register 

symbol: kWh RST), reactive energy reset (register symbol: kVarh RST), and apparent 

energy reset (register symbol: kVAh RST) of the UPM100 at station number 01.
The following command writes “1” into the remote reset (D0059), active energy reset 

(D0060), reactive energy reset (D0093), apparent energy reset (D0097), and regenerative 

energy reset (D0064).
[Command]
[STX]01010WRW04D0059,0001,D0060,0001,D0093,0001,D0097,0001,D0064,0001F6
[ETX][CR]

“OK” is returned in response to the above command.
[Response]
[STX]0101OK5C[ETX][CR]

4.2  Command and Response

Summary of Contents for UPM100

Page 1: ...User s Manual Y okogawa Electric Corporation IM 77C01H01 10EN 4th Edition Model UPM100 UPM101 Universal Power Monitor Communication Functions ...

Page 2: ......

Page 3: ...used for creating communication programs and so on 1 The UPM01 communication protocol is the original communication protocol for the UPM01 UPM02 and UPM03 The protocol can be used only for the UPM100 universal power monitor with the optional measuring function Integral resolution Wh specified at ordering Intended Readers This manual is intended for people familiar with the functions of the UPM100 ...

Page 4: ...g the features of the product TIP Gives additional information to complement the present topic See Also Gives reference locations for further information on the topic Description of Displays 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 representin...

Page 5: ...r nearest Yokogawa representative or our sales office 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 be certain to strictly adhere to all of the instructions and precautions relating to safety contained in this document Yokogawa does not guarantee safety if produc...

Page 6: ...by the use or any unpredictable defect of the product 3 Be sure to use the spare parts approved by Yokogawa when replacing 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 software supplied by Yokogawa may be transferred exchanged leased or sublet for use b...

Page 7: ...rgy Writing 3 16 3 4 5 Apparent Energy Writing 3 17 3 4 6 LEAD Reactive Energy Writing 3 18 3 4 7 LAG Reactive Energy Writing 3 19 3 4 8 Regenerative Energy Writing 3 20 Chapter 4 PC Link Communication 4 1 Overview 4 1 4 1 1 Configuration of Command 4 2 4 1 2 Configuration of Response 4 3 4 1 3 Response Error Codes 4 4 4 1 4 Specifying Broadcast 4 5 4 2 Command and Response 4 6 BRD Reads I relays ...

Page 8: ...est 5 13 16 Writes data into multiple D registers 5 14 Chapter 6 Functions and Usage of D Registers 6 1 Overview of D Registers 6 1 6 2 Interpretation of D Register Map Table 6 2 6 3 Configuration of D Registers 6 3 6 4 D Register Map 6 4 Chapter 7 Functions and Usage of I Relays 7 1 Configuration of I Relays 7 2 7 2 I Relay Map 7 3 Chapter 8 UPM01 Communication Original Communication Protocol 8 1...

Page 9: ...el device and a UPM100 See the user s manual of Model UPM100 Power Monitor Installation Create communication programs for the higher level device to perform communication See 4 PC Link Commnication or 5 MODBUS Communication for the communication protocol See 6 Functions and Usage of D Registers 7 Functions and Usage of I Relays and 8 UPM01 Communication for the data storing 010101E EPS To avoid an...

Page 10: ...ion Functions Parameter Name Parameter Symbol Setting Range Initial Setting Without 920 MHz Wireless Communication With 920 MHz Wireless Communication RS 485 communication protocol COMM PC link without checksum PCLK1 PCLK2 M RTU 3 PC link with checksum PCLK2 MODBUS ASCII mode M ASC MODBUS RTU mode M RTU UPM01 UPM01 2 RS 485 station number ST NO 1 to 99 1 to 31 recommended 1 1 RS 485 communication ...

Page 11: ... be connected RS 485 communication baud rate B RT Set the baud rate identical to that of the higher level device to be connected Otherwise proper communication cannot be achieved Parity PRI Set the handling of parity to be carried out when data is sent or received Set the parity bit state identical to that of the higher level device to be connected Stop bit STP Set the stop bit identical to that o...

Page 12: ...5 1010101 6 0000110 26 0011010 46 0101110 66 1000010 86 1010110 7 0000111 27 0011011 47 0101111 67 1000011 87 1010111 8 0001000 28 0011100 48 0110000 68 1000100 88 1011000 9 0001001 29 0011101 49 0110001 69 1000101 89 1011001 10 0001010 30 0011110 50 0110010 70 1000110 90 1011010 11 0001011 31 0011111 51 0110011 71 1000111 91 1011011 12 0001100 32 0100000 52 0110100 72 1001000 92 1011100 13 000110...

Page 13: ...able 2 2 Communication Protocols and Types of Devices to be Connected Communication Protocol Example of Connected Devices MODBUS communication PCs and the like which are installed with a MODBUS communication driver and SCADA software PLCs which support MODBUS PC link communication PCs and the like which are installed with a PC link communication driver and SCADA software Touch panel GP series PLCs...

Page 14: ...Blank ...

Page 15: ...refer to Chapter 6 also for reference numbers for MODBUS communications The UPM100 offers registers for floating point data To perform settings via communication starting from larger digits floating point data is displayed by IEEE754 single precision Note The UPM100 has data D register the unit of which is two words When 2 word data need to be written or read writing or reading operations must be ...

Page 16: ...valid If 1 Writing is executed Default VT ratio 1 4 byte floating point data 3F800000 Example To set the VT ratio to 10 0 For station number 01 use PC link communication without checksum and the random write command as shown below If 10 0 is converted into a 4 byte floating point value the value is 4120 0000 Command STX 01010WRW03D0043 0000 D0044 4120 D0072 0001 ETX CR Response STX 0101OK ETX CR N...

Page 17: ... bytes D0072 40072 0047 Setting change status If other than 1 Invalid If 1 Writing is executed Default CT ratio 1 4 byte floating point data 3F800000 Example To set the CT ratio to 10 0 For station number 01 use PC link communication without checksum and the random write command as shown below If 10 0 is converted into a 4 byte floating point value the value is 4120 0000 Command STX 01010WRW03D004...

Page 18: ... lower 2 bytes 0 05 to 20 00 Unit D0048 40048 002F Integral low cut power value float upper 2 bytes D0072 40072 0047 Setting change status If other than 1 Invalid If 1 Writing is executed Default integral low cut power value 0 05 4 byte floating point data 3D4CCCCD Example To set the integral low cut power value to 10 0 For station number 01 use PC link communication without checksum and the rando...

Page 19: ...0 Wh pls Example To set the pulse unit 1 of electric energy value to 100 Wh pls write 000A 1 For station number 01 use PC link communication without checksum and the random write command as shown below 1 The data written when the integral resolution kWh option is specified Command STX 01010WRW02D0049 000A D0072 0001 ETX CR Response STX 0101OK ETX CR Note The pulse unit 1 of electric energy value c...

Page 20: ...0052 40052 0033 ON pulse width 1 of electric energy value 1 to 127 Unit x 10 ms D0072 40072 0047 Setting change status If other than 1 Invalid If 1 Writing is executed Default value of ON pulse width 1 of electric energy 5 50 ms Example To set the ON pulse width 1 of electric energy value to 100 ms write 000A For station number 01 use PC link communication without checksum and the random write com...

Page 21: ... unit 2 of electric energy value to 100 varh pls write 000A 1 For station number 01 use PC link communication without checksum and the random write command as shown below 1 The data written when the integral resolution kWh option is set Command STX 01010WRW02D0085 000A D0072 0001 ETX CR Response STX 0101OK ETX CR Note The pulse unit 2 of electric energy value can be set for the UPM100 with pulse o...

Page 22: ...ed Default value for LAG LEAD regenerative selection for output pulse of electric energy With the optional reactive power reactive energy measuring function 0 LAG PULSE Without the optional reactive power reactive energy measuring function 2 Regenerative PULSE Example To set a value for LAG LEAD regenerative selection to 1 LEAD For station number 01 use PC link communication without checksum and t...

Page 23: ...0054 ON pulse width 2 of electric energy value 1 to 127 Unit x 10 ms D0072 40072 0047 Setting change status If other than 1 Invalid If 1 Writing is executed Default value of ON pulse width 2 of electric energy 5 50 ms Example To set the ON pulse width 2 of electric energy value to 100 ms write 000A For station number 01 use PC link communication without checksum and the random write command as sho...

Page 24: ...mote reset stops while the optional electric energy measuring function is in operation Even if remote reset is executed data on active energy reactive energy and apparent energy and the values set to their parameters will be saved The D register and the I relay in the table above have the same functions Example To execute remote reset For station number 01 use PC link communication without checksu...

Page 25: ...n without checksum and the random write command as shown below Command STX 01010WRW01D0060 0001 ETX CR Response STX 0101OK ETX CR 3 3 3 Maximum Minimum Values Reset Procedure 1 To execute maximum minimum values reset write data to the D register or the I relay in the table below The data type is integer D Register Reference No H No I relay Description Effective Range D0061 40061 003C I0012 Reset t...

Page 26: ... CR Response STX 0101OK ETX CR 3 3 5 Reactive Energy Reset Note Data can be written to the UPM100 with the optional reactive power reactive energy measuring function Procedure 1 To execute reactive energy reset write data to the D register or the I relay in the table below The data type is integer D Register Reference No H No I relay Description Effective Range D0093 40093 005C I0015 Reset the rea...

Page 27: ... below The data type is integer D Register Reference No H No Description Effective Range D0097 40097 0060 Reset the apparent energy D0083 and D0084 If other than 1 Invalid If 1 Apparent energy is reset Example To execute apparent energy reset For station number 01 use PC link communication without checksum and the random write command as shown below Command STX 01010WRW01D0097 0001 ETX CR Response...

Page 28: ...t checksum and the random write command as shown below Command STX 01010WRW01D0062 0001 ETX CR Response STX 0101OK ETX CR 3 4 2 Stop of Optional Integration Procedure 1 To stop optional integration write data to the D register or to the I relay in the table below The data type is integer D Register Reference No H No I relay Description Effective Range D0063 40063 003E I0014 Stop of optional integr...

Page 29: ...nge D0053 40053 0034 Active energy D0001 and D0002 Apparent energy D0083 and D0084 Regenerative energy D0067 and D0068 Reactive energy D0077 to D0080 0 Integration is started 1 Integration is stopped Example To start stop integration For station number 01 use PC link communication without checksum and the random write command as shown below Start Command STX 01010WRW01D0053 0000 ETX CR Response ST...

Page 30: ...nverted into a hexadecimal value the value is 0000 3039 Then the order of the upper two bytes and the lower two bytes is reversed 3039 0000 Command STX 01010WRW03D0057 3039 D0058 0000 D0073 0001 ETX CR Response STX 0101OK ETX CR Note The set active energy value range of the UPM100 with the integral resolution kWh option changes depending on the values of the VT and CT ratios The table below shows ...

Page 31: ...hown below If 12345 is converted into a hexadecimal value the value is 0000 3039 Then the order of the upper two bytes and the lower two bytes is reversed 3039 0000 Command STX 01010WRW03D0095 3039 D0096 0000 D0098 0001 ETX CR Response STX 0101OK ETX CR Note The set apparent energy value range of the UPM100 with the integral resolution kWh option changes depending on the values of the VT and CT ra...

Page 32: ...out checksum and the random write command as shown below If 12345 is converted into a hexadecimal value the value is 0000 3039 Then the order of the upper two bytes and the lower two bytes is reversed 3039 0000 Command STX 01010WRW03D0089 3039 D0090 0000 D0094 0001 ETX CR Response STX 0101OK ETX CR Note The set LEAD reactive energy value range of the UPM100 with the integral resolution kWh option ...

Page 33: ... use PC link communication without checksum and the random write command as shown below If 12345 is converted into a hexadecimal value the value is 0000 3039 Then the order of the upper two bytes and the lower two bytes is reversed 3039 0000 Command STX 01010WRW03D0091 3039 D0092 0000 D0094 0001 ETX CR Response STX 0101OK ETX CR Note The set LAG reactive energy value range of the UPM100 with the i...

Page 34: ... 12345 is converted into a hexadecimal value the value is 0000 3039 Then the order of the upper two bytes and the lower two bytes is reversed 3039 0000 Command STX 01010WRW03D0069 3039 D0070 0000 D0071 0001 ETX CR Response STX 0101OK ETX CR Note The set regenerative energy value range of the UPM100 with the integral resolution kWh option changes depending on the values of the VT and CT ratios The ...

Page 35: ...munication Hereafter PCs are generically called higher level devices See Also Chapters 6 and 7 for information on the D registers and I relays In PC link communication a higher level device identifies each UPM100 with a station number of 1 to 99 Note The UPM100 has data D register the unit of which is two words When 2 word data need to be written or read writing or reading operations must be perfo...

Page 36: ... pieces and others 7 Checksum This is required if the protocol with checksum is selected for the RS 485 communication protocol parameter COMM It converts the ASCII codes of texts between the character next to STX and the character immediately before the checksum into hexadecimal values and adds them byte by byte It then fetches the single lowermost byte of the added results as the checksum This co...

Page 37: ... length 2 1 1 Element STX Station number ST NO CPU number 01 OK Parameter data Checksum ETX CR 2 In the Event of Failure If communication does not complete normally the UPM100 returns a character string ER and error code EC1 and EC2 See subsection 4 1 3 Response Error Codes No response is made in case of an error in station number specification or CPU number specification If a UPM100 cannot receiv...

Page 38: ...match the expected value 43 Internal buffer overflow A data value greater than the specified was received 44 Character reception timeout The end of data or end of text character has not been received Table 4 2 List of Detailed Error Codes EC2 Error Code EC1 Meaning Detailed Error Code EC2 03 Register specification error Parameter number where error occurred HEX This is the sequence number of a par...

Page 39: ... when broadcast addressing is used PC 040110E EPS Broadcast data No response from slaves Maximum overall cable length of 1200 m for a maximum of 31 slave stations Figure 4 2 Broadcasting D registers and I relays are used for processing in the UPM100 communication Example of Starting Optional Integrations For station number 01 use PC link communication without checksum and the random write command ...

Page 40: ...m write 1 to 32 bits BRS Specifies I relays to be monitored on a bit by bit basis 1 to 32 bits BRM Bit basis monitoring 2 Word basis Access Commands Command Description Number of words handled WRD Word basis read 1 to 64 words WWR Word basis write 1 to 64 words WRR Word basis random read 1 to 32 words WRW Word basis random write 1 to 32 words WRS Specifies internal registers to be monitored on a w...

Page 41: ... 1 3 5 1 3 2 1 1 Command element STX Station number ST NO CPU number 01 Time to wait for response 0 BRD I relay number Comma or space Number of bits n Checksum ETX CR Number of Bytes 1 2 2 2 1 1 1 1 2 1 1 Response element STX Station number ST NO CPU number 01 OK d1 d2 d3 dn Checksum ETX CR The response is 0 when the status is OFF or 1 when ON dn read data of the specified number of bits n 1 to 16...

Page 42: ...tion Number of Bytes 1 2 2 1 3 5 1 3 1 1 1 Command element STX Station number ST NO CPU number 01 Time to wait for response 0 BWR I relay number Comma or space Number of bits n Comma or space d1 d2 Command continued 1 2 1 1 dn Checksum ETX CR Write information is 0 to set OFF or 1 to set ON dn write data of the specified number of bits n 1 to 164 dn 0 OFF dn 1 ON Number of Bytes 1 2 2 2 2 1 1 Resp...

Page 43: ...mmand element STX Station number ST NO CPU number 01 Time to wait for response 0 BWR Number of bits n I relay number 1 Comma or space I relay number 2 Comma or space Command continued 5 2 1 1 I relay number n Checksum ETX CR Number of Bytes 1 2 2 2 1 1 1 2 1 1 Response element STX Station number ST NO CPU number 01 OK d1 d2 dn Checksum ETX CR The response is 0 when the status is OFF or 1 when ON d...

Page 44: ...er of bits n I relay number 1 Comma or space d1 Comma or space I relay number 2 Command continued 1 1 1 5 1 1 2 1 1 Comma or space d2 Comma or space I relay number n Comma or space dn Checksum ETX CR 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 1 2 2 2 2 1 1 Response element STX Station number ST NO CPU nu...

Page 45: ...udes 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 1 2 2 1 3 2 5 1 5 1 Command element STX Station number ST NO CPU number 01 Time to wait for response 0 BRS Number of bits n I relay number 1 Comma or space I relay number 2 Comma or space Command continued 5 2 ...

Page 46: ... of Bytes 1 2 2 1 3 2 1 1 Command element STX Station number ST NO CPU number 01 Time to wait for response 0 BRM Checksum ETX CR Number of Bytes 1 2 2 2 1 1 1 1 2 1 1 Response element STX Station number ST NO CPU number 01 OK d1 d2 d3 dn Checksum ETX CR The response 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 32 dn 0 OFF dn 1 ON ...

Page 47: ...ent STX Station number ST NO CPU number 01 Time to wait for response 0 WRD Register number Comma or space Number of words n Checksum ETX CR Number of Bytes 1 2 2 2 4 4 4 2 1 1 Response element STX Station number ST NO CPU number 01 OK dddd1 dddd2 ddddn Checksum ETX CR The response is returned in a 4 digit character string 0000 to FFFF in hexadecimal ddddn read data of the specified number of words...

Page 48: ...TX Station number ST NO CPU number 01 Time to wait for response 0 WWR Register number Comma or space Number of words n Comma or space dddd1 Command continued 4 1 2 1 1 dddd2 ddddn Checksum ETX CR Write information is specified in a 4 digit character string 0000 to FFFF in hexadecimal ddddn write data of the specified number of words ddddn character string in hexadecimal n 1 to 64 words Number of B...

Page 49: ...sum ETX CR Number of Bytes 1 2 2 2 4 4 4 2 1 1 Response element STX Station number ST NO CPU number 01 OK dddd1 dddd2 ddddn Checksum ETX CR The response is returned in a 4 digit character string 0000 to FFFF in hexadecimal ddddn read data of the specified number of words ddddn character string in hexadecimal n 1 to 32 words Example Read the instantaneous voltage 1 register symbol V1 L and V1 H and...

Page 50: ...r space dddd1 Comma or space Command continued 5 1 4 5 1 4 2 1 1 Register number 2 Comma or space dddd2 Register number n Comma or space ddddn Checksum ETX CR Write information is specified in a 4 digit character string 0000 to FFFF in hexadecimal ddddn repetition of register numbers and write information of the specified number of words ddddn character string in hexadecimal n 1 to 32 words Number...

Page 51: ...without the checksum do not include the 2 byte checksum element in the command Specify the leading I relay number to read I relays on a word by word basis Data of 16 bits starting at the leading I relay are to be read Command Response for normal operation Number of Bytes 1 2 2 1 3 2 5 1 5 1 Command element STX Station number ST NO CPU number 01 Time to wait for response 0 WRS Number of words n Reg...

Page 52: ...U number 01 Time to wait for response 0 WRM Checksum ETX CR Number of Bytes 1 2 2 2 4 4 4 2 1 1 Response element STX Station number ST NO CPU number 01 OK dddd1 dddd2 ddddn Checksum ETX CR The response is returned in a 4 digit character string 0000 to FFFF in hexadecimal ddddn read data of the number of words specified by the WRS command ddddn character string in hexadecimal n 1 to 32 words Exampl...

Page 53: ...reshing Number of registers specified for write refreshing Checksum ETX CR The mark indicates fields the FA M3 s UT link module refers to Note 1 Model and suffix codes information UPM100 20 Model Suffix codes Example UPM100 443 2 20 0 without the optional communication function 4 with the wireless communication with serial gateway function For the Republic of Korea Note 2 Version and revision numb...

Page 54: ...lement STX Station number ST NO CPU number 01 Time to wait for response 0 INF 7 Checksum ETX CR Number of Bytes 1 2 2 2 1 2 1 1 Response element STX Station number ST NO CPU number 01 OK CPU maximum value Note1 Checksum ETX CR Note 1 The maximum value of CPU for universal power monitor is 1 Example Read the CPU number of the UPM100 at station number 01 Command STX 01010INF706 ETX CR The data 1 is ...

Page 55: ... 4 3 Communication with UT Link Module The UT link module function has the following two modes which allow you to communicate with FA M3 without being aware of it For more information see the optionally available UT Link Module User s Manual IM 34M06H25 01E 1 Automatic mode This mode enables the instruments fixed devices those that cannot be specified by the user to be constantly refreshed by read...

Page 56: ...ON Data length 8 bits SW2 SW3 ON Parity none default even SW4 OFF Stop bit one SW5 OFF Checksum none SW6 ON Termination character yes CR SW7 ON Mode Automatic mode SW8 OFF Not used Set the Baud Rate switch to 9600 bps Set the Communication Mode switch to 7 Normal 2 Setting Up the UPM100 Set the communication conditions of the UPM100 as shown below For details on how to set the conditions see the u...

Page 57: ...the touch panel 040304E EPS Touch panel Maximum overall cable length of 1200 m for a maximum of 31 slave stations Figure 4 4 Communication with Touch Panel For more information refer to the user s manual of the touch panel to be connected Model Description Digital s Pro face GP 570 1 GP 2300 Note 1 For Digital s graphic panels contact Digital Corp directly Note 2 The system data area should be ass...

Page 58: ...Blank ...

Page 59: ...d in communication to read write data from to D registers which are internal registers of the UPM100 Access to the I relays is impossible Hereafter PCs are generically called higher level devices PC 050101E EPS Maximum overall cable length of 1200 m for a maximum of 31 slave stations Figure 5 1 Example of Connection for MODBUS Communication See Also Chapter 6 for information on the D registers Cha...

Page 60: ...synchronization is achieved during the time interval between characters If there is a period of time equivalent to 3 5 characters before the next character is received the message being received next is recognized as a new frame 3 Theoretically points of termination are detected at an interval of 24 bit time in the RTU mode In the case of the UPM100 however this detection is carried out at a time ...

Page 61: ...higher level device to identify the UPM100 at the communication destination These numbers are identification numbers specific to individual UPM100 which are expressed in hexadecimal in the message 3 Function Code See section 5 2 Message and Response This element specifies a command function code from the higher level device 4 Data This element specifies D register numbers the number of D registers...

Page 62: ...ASCII mode which is communication based on ASCII characters and the RTU mode which is binary code communication These modes use different error checking methods ASCII Mode In the ASCII mode errors are checked by means of an LRC longitudinal redundancy check The LRC value is the two s complement of the sum obtained by adding up data byte by byte from the station number to the last data item excludi...

Page 63: ...the XOR operation in step 1 and the result of step 2 This value is the first character of the CRC 16 calculation 4 Using the result of step 3 remainder as the next initial value make the same calculation to evaluate the second character function code 03 050104E EPS Initial value FF FF Station number 0B XOR FF F4 Reference to table 87 01 XOR 87 FE Function code 03 XOR 87 FD Reference to table 81 C1...

Page 64: ...mber 120 121 122 123 124 125 126 127 Result 2200 E2C1 E381 2340 E101 21C0 2080 E041 Number 128 129 130 131 132 133 134 135 Result A001 60C0 6180 A141 6300 A3C1 A281 6240 Number 136 137 138 139 140 141 142 143 Result 6600 A6C1 A781 6740 A501 65C0 6480 A441 Number 144 145 146 147 148 149 150 151 Result 6C00 ACC1 AD81 6D40 AF01 6FC0 6E80 AE41 Number 152 153 154 155 156 157 158 159 Result AA01 6AC0 6B...

Page 65: ...eceived message or creates a response message telling the received message is erroneous After receiving a normal command message and executing a given process the UPM100 creates and sends a response message to which error check data appropriate for the command function code of the higher level device is added Responses to Normal Messages For a loop back function or a function for writing to a sing...

Page 66: ...t regard it as an error even if there is any unused register among those with consecutive register numbers specified by a readout function rather the UPM100 returns a value of 0 in this case The UPM100 returns the error code 02 or 03 if the specified consecutive registers are made to fall outside the given range by the number of registers specified even though the D register start number was initi...

Page 67: ...sed 050108E EPS PC Maximum overall cable length of 1200 m for a maximum of 31 slave stations No response from slaves Figure 5 2 Broadcasting D registers are used for processing in the UPM100 communication Example Write 0001 into the D0059 Remote reset using broadcast command Message 0006003A0001BF CR LF 00 broadcast addressing 06 function code 06 003A D register specification 58 0001 data 0001 BF ...

Page 68: ...ters D0001 to D0150 06 Writes data into D register Capable of writing data to one register D0001 to D0150 08 Performs loop back test Used when checking communication wiring 16 Writes data into multiple D registers Capable of writing data into a maximum of 32 successive registers D0001 to D0150 The write function codes will not write into read only or disabled D registers Broadcast addressing is po...

Page 69: ...Station Number ST NO Function Code 03 Byte Count Contents of D Register Number of bytes in RTU mode None 1 1 1 2 Number of bytes in ASCII mode 1 2 2 2 4 Response continued Contents of D Register Error Check End of Message Mark CR LF 2 2 None 4 2 2 Example ASCII mode Read a series of four D registers starting with the D0043 VT ratio and CT ratio at station number 11 D register specification is 42 M...

Page 70: ... Error Check End of Message Mark CR LF 1 1 2 None 2 2 2 2 Response for normal operation Element Start of Message Mark Station Number ST NO Function Code 06 D Register Number Upper Digit D Register Number Lower Digit Number of bytes in RTU mode None 1 1 1 1 Number of bytes in ASCII mode 1 2 2 2 2 Response continued Write Data Upper Digit Write Data Lower Digit Error Check End of Message Mark CR LF ...

Page 71: ...SCII mode 1 2 2 4 4 Message continued Error Check End of Message Mark CR LF 2 None 2 2 Response for normal operation Element Start of Message Mark Station Number ST NO Function Code 08 00 0000 Same as Send Data Number of bytes in RTU mode None 1 1 2 2 Number of bytes in ASCII mode 1 2 2 4 4 Response continued Error Check End of Message Mark CR LF 2 None 2 2 Diagnostic Codes Diagnostic Code Meaning...

Page 72: ...ode 10 D Register Start Number Upper Digit D Register Start Number Lower Digit Number of bytes in RTU mode None 1 1 1 1 Number of bytes in ASCII mode 1 2 2 2 2 Message continued Number of D Registers Upper Digit Number of D Registers Lower Digit Byte Count Data Upper Digit Data Lower Digit Error Check End of Message Mark CR LF 1 1 1 1 1 2 None 2 2 2 2 2 2 2 Response for normal operation Element St...

Page 73: ...count number of D registers 2 0000 VT ratio lower two bytes 4120 VT ratio upper two bytes 0000 CT ratio lower two bytes 4120 CT ratio upper two bytes and ED error check Numbers in quotation marks are hexadecimal The following response is returned with respect to the above message Response 0B10002A00004B7 CR LF Write 1 into the D0072 setup change status to activate the writing into the VT ratio and...

Page 74: ...Blank ...

Page 75: ...ions and usage of D registers The D registers store the input values statuses and others that are handled by the UPM100 By connecting UPM100 to higher level device capable of PC link communication or MODBUS communication you can readily use these internal data items by reading from or writing to the D registers Chapter 6 Functions and Usage of D Registers ...

Page 76: ...up R W D Reg No Ref No 0 to 99 999 999 kWh 0 to 99 999 999 Wh 1 D register number 2 Reference number for MODBUS communication 3 Hex number for MODBUS communication Register symbol Register name Effective setting range and unit Initial value Backup of data Backed up at instantaneous power failure Backed up at setting Permission of read write by communcation R Read W Write An asterisk in this column...

Page 77: ...01 D0002 apparent energy D0083 D0084 and regenerative energy D0067 D0068 Type Secondary Rated Power x VT x CT Range of Integrated Values 1 30 W or greater to less than 1 MW 0 to 999 999 kWh 2 999 99 kW or greater to less than 10 MW 0 00 to 9 999 999 kWh 3 9 9999 MW or greater 0 0 to 99 999 999 kWh b Variation 2 in the range of measured values Reactive energy D0077 to D0080 Type Secondary Rated Pow...

Page 78: ...500 to 1 000 to 0 500 Note 3 0 X R D0022 40022 0015 PF H Instantaneous power factor float upper 2 bytes R D0023 40023 0016 V1MAX L Voltage 1 maximum value float lower 2 bytes 0 1 to 9 999 999 9 V 0 X R D0024 40024 0017 V1MAX H Voltage 1 maximum value float upper 2 bytes R D0025 40025 0018 V1MIN L Voltage 1 minimum value float lower 2 bytes 0 1 to 9 999 999 9 V 0 X R D0026 40026 0019 V1MIN H Voltag...

Page 79: ... W D0061 40061 003C MAX RST Maximum minimum values reset If other than 1 Invalid If 1 Maximum minimum values D0023 to D0040 are reset 0 X W D0062 40062 003D Wh START Start of optional integration If other than 1 Invalid If 1 Optional integration D0003 to D0006 starts 0 X W D0063 40063 003E Wh STOP Stop of optional integration If other than 1 Invalid If 1 Optional integration D0003 D0004 stops 0 X ...

Page 80: ...0 X W D0090 40090 0059 Lead kVarh SET H LEAD reactive energy setpoint uint32 upper 2 bytes W D0091 40091 005A Lag kVarh SET L LAG reactive energy setpoint uint32 lower 2 bytes 0 to 9 999 999 kvarh 0 to 9 999 999 varh Note 3 Note 5 0 X W D0092 40092 005B Lag kVarh SET H LAG reactive energy setpoint uint32 upper 2 bytes W D0093 40093 005C kVarh RST Reactive energy reset If other than 1 Invalid If 1 ...

Page 81: ...r backup data error 1 EEPROM error 2 Overranged instantaneous power 3 Overranged instantaneous apparent power 4 Overranged instantaneous reactive power 5 Overranged instantaneous current I1 6 Overranged instantaneous current I2 7 Overranged instantaneous current I3 8 Overranged instantaneous voltage V1 9 Overranged instantaneous voltage V2 10 Overranged instantaneous voltage V3 11 Under ranged ins...

Page 82: ...Blank ...

Page 83: ...read write data from to I relays using PC link communication Relay Name Relay Symbol Initial Value Back up R W Relay No IN_OVER Relay number Relay name Relay symbol Initial value Backup of data Backed up at setting Permission of read write by communcation R Read W Write An asterisk in this column indicatees that the number of writing action is limited to 100 000 1 Input overrange for the input ful...

Page 84: ...y No Classification Description 1 Error information Error regarding input overrange 10 to 15 Control data Operation control such as remote reset etc 101 to 164 User area Can be used freely by the user Other Prohibited area Cannot be used Writing to reading from this area is not guaranteed ...

Page 85: ...t overrange for the input full scale IN_OVER 0 R 2 3 4 5 6 7 8 9 10 Remote reset RMT RST 0 W 11 Active energy reset Wh RST 0 W 12 Maximum minimum values reset MAX RST 0 W 13 Start of optional integration Wh START 0 W 14 Stop of optional integration Wh STOP 0 W 15 Reactive energy reset kVarh RST 0 W 16 101 User area USERAREA 0 R W 164 User area USERAREA 0 R W ...

Page 86: ...Blank ...

Page 87: ...an be used by the UPM100 are A B C and E the UPM100 is not designed to handle D Hereinafter PCs are generically called higher level devices Maximum overall cable length of 1200 m for a maximum of 31 slave stations PC 080101E EPS Figure 8 1 Example of Connection for UPM01 Communication In this setting the UPM100 as a slave returns a response to a command of a higher level device master or slave The...

Page 88: ...LEN Control slot U AP command Address SA Data BCC ETX CR 3 1 FRAME LENGTH FLEN FLEN is the total number of bytes of Control slot AP Command Station Address Data The number is a binary value but not an ASCII code 2 Control Slot P U This slot determines whether the frame is a command denoted by P or a response denoted by U 3 AP Command The contents differ depending on the value of the AP command P o...

Page 89: ...alue is used as the standard specification value The over ranged values of reactive power and rms power are determined from the sums of their respective measurements at all phases Those of rms current and rms voltage are determined from I1 and V1 measurements respectively 4 Station Address SA The values that can be assigned to SA are 001 to 031 an ASCII code is sent 5 Data An ASCII code or 16 bit ...

Page 90: ...ppercase Example For a sum in hexadecimal value H234 3 H33 and 4 H34 BCC H33 H34 Example For a sum in hexadecimal value H1DF D H44 and F H46 BCC H44 H46 7 End of Text ETX This slot indicates that the next slot is the last one of the frame Its hexadecimal value in ASCII code is H03 8 Carriage Return CR This slot is the last slot of the frame Its hexadecimal value in ASCII code is H0D ...

Page 91: ...nk in tables of this section A data format is specified for each type of data 8 3 1 Measured Items Category A Data No 1 Description 0 Batch transfer Wh P V I Q ɳ 2 1 Electric energy Wh 2 Power P 3 Voltage Vrms 4 Current Irms 5 Reactive power Q 6 UPM100 is not designed to handle 7 UPM100 is not designed to handle 8 All harmonic distortion factor 2 9 Power P reactive power Q 1 Data No items in Categ...

Page 92: ...Batch transfer 20 ETX CR Example To use Category A to send a batch transfer command active energy instantaneous power voltage current Station address 01 Command 07505241303030314142030D Response 41555241103030313030303030303031 2B362E3531303045 2B312B322E333830 30452B312B382E30 303030452D332D30 2E30303030452D30 20202020202020202020 3542030D Wh VA var Distortion factor A W V 080304E EPS A thin unde...

Page 93: ...TX CR E ₓ3 or the like ASCII Time T is a lapse of time between the last data communication and the one before Tp Tv and Ti are lapses of time between the time when the maximum or minimum value of power voltage and current was measured respectively and the time when data communication to collect its statistics occurred Example To use Category B to send a command to read out Time T Average power P A...

Page 94: ...increments of 10 msec The UPM01 communication protocol truncates 1 msec digit values When a value out of the set value range is entered a set value error is set to the status of the response and the currently set value is set to the response and returned Command Reading out Element FLEN P U R W X1 X2 Data No SA BCC ETX CR Data H07 P R C 0 ETX CR H07 P R C 1 ETX CR H07 P R C 2 ETX CR H07 P R C 3 ET...

Page 95: ...1 Command 0F5057433030303130303030303250543830030D Response 0F55574310303031 3030303030325054 3635030D PT VT ratio 080314E EPS A thin underline _ indicates a command A thick underline _ indicates data to be read out Response data do not actually have spaces in between Spaces are inserted in the example above to make numbers easy to read For analysis of response data refer to Appendix ASCII Code Ta...

Page 96: ...ration start stop 1 ETX CR H07 P W E 1 H00 Other than H00 Statistics reset current status retain 1 ETX CR H07 P W E 2 H00 Other than H00 Current status retain remote reset 1 ETX CR H07 P W E 3 H00 Other than H00 Wh initialization current status retain 1 ETX CR H07 P W E 4 H40 Refer to Error Status 1 1 ETX CR H07 P W E 5 H18 Refer to Error Status 2 1 ETX CR H07 P W E 6 H20 Refer to Error Count 2 1 ...

Page 97: ... detected in the data link The detected error is indicated on Error Status 1 If there is a station that does not return a response within the expected time read out the error status immediately to receive the error contents in order to find out the details of the error The contents of the error are saved in Error Status 1 which is updated as an error is detected in the data link By setting to 1 th...

Page 98: ...he response is set to 1 The current value of the data remains the same By reading out the status of the error immediately after its occurrence it is possible to confirm that bit4 of Error Status 2 in the User Controlled Items is set to 1 When an unauthorized command is executed bit7 of the status of the response is set to 1 Also one of bit0 to bit3 of Error Status 2 is set to 1 bit Error Descripti...

Page 99: ...w x y z DEL 6 0 1 1 0 a b c d e f g h i j k l m n o 5 0 1 0 1 P Q R S T U V W X Y Z _ 4 0 1 0 0 A B C D E F G H I J K L M N O 3 0 0 1 1 0 1 2 3 4 5 6 7 8 9 2 0 0 1 0 SP 1 0 0 0 1 CAN EM SUB ESC FS GS RS US 0 0 0 0 0 BS HT LF VT FF CR SO SI 0 1 2 3 4 5 6 7 8 9 A B C D E F b1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 b2 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 b3 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 b4 0 0 0 0 0 0 0 0 1 1 ...

Page 100: ...Blank ...

Page 101: ...ion Newly published Mar 2005 2nd Edition Addition of Model UPM101 Oct 2018 3rd Edition Addition of the display functions Mar 2019 4th Edition Addition of the 920 MHz wireless communication function For the Republic of Korea Written by Yokogawa Electric Corporation Published by Yokogawa Electric Corporation 2 9 32 Nakacho Musashino shi Tokyo 180 8750 JAPAN ...

Page 102: ...Blank ...

Page 103: ......

Page 104: ......

Reviews: