Page 1
User’s Manual Model UPM100, UPM101 Universal Power Monitor Communication Functions IM 77C01H01-10EN 4th Edition Y okogawa Electric Corporation...
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.
Documentation Conventions Symbols This manual uses the following symbols. Symbols Used in the Main Text Markings Note Draws attention to information that is essential for understanding the operation and/or features of the product. Gives additional information to complement the present topic. See Also Gives reference locations for further information on the topic.
Read this manual carefully to gain a thorough understanding of how to operate this product before you start using it. This manual is intended to describe the functions of this product. Yokogawa Electric Corporation (hereinafter simply referred to as Yokogawa) does not guarantee that these functions are suited to the particular purpose of the user.
Page 6
Yokogawa does not make any warranties regarding the product except those mentioned in the WARRANTY that is provided separately. 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.
Setup Setup Procedure .........................1-1 Notes on Setting RS-485 Communication Conditions ............1-2 Chapter 2 RS-485 Communication Specifications Chapter 3 Procedures for Setting UPM100/UPM101 Functions Basic Setting ........................3-2 3.1.1 Setting of VT Ratio .........................3-2 3.1.2 Setting of CT Ratio .........................3-3 3.1.3 Setting of Integral Low-cut Power ..................3-4...
Page 8
Contents Communication with Higher-level Devices ................ 4-21 4.3.1 Communication with FA-M3 (UT Link Module) ..............4-21 4.3.2 Communication with Touch Panel ..................4-23 Chapter 5 MODBUS Communication Overview ..........................5-1 5.1.1 Configuration of Message ......................5-3 5.1.2 Specifying D Registers ......................5-4 5.1.3 Checking Errors ........................5-4 5.1.4 Responses from Slaves ......................5-7 5.1.5...
This chapter describes the setup procedure required to use the communication functions and the communication specifications of the UPM100 universal power monitor. Hereafter, the UPM100 universal power monitor is simply referred to as the UPM100. Setup Procedure Set up the communication functions on the UPM100 as follows: Set up the communication function parameters of the UPM100.
This section describes the setting parameters for using the communication functions and their setting ranges. Note The details of the UPM100 communication conditions need to be the same as those of the communication conditions of the higher-level device to be connected. •...
Page 11
RS-485 station number (ST-NO) Set the station number of the UPM100 itself. A station number of 1 to 99 may be assigned in any order. However, there is a limitation - the number of UPM100 to be connected to a single communication port is limited to 31.
Page 12
1.2 Notes on Setting RS-485 Communication Conditions Example of connecting four UPM100 to a higher-level device by setting station numbers of 01, 05, 10, and 20 Maximum overall cable length of 1200 m for a maximum of 31 slave stations...
Chapter 2 RS-485 Communication Specifications RS-485 Communication Specifications The RS-485 communication interface has the PC link communication, MODBUS communication, and UPM01 communication protocols. Table 2-1 UPM100 Communication Specifications Communication Hardware 2-wire RS-485 communication system PC link communication without checksum PC link communication with checksum...
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 performed for the 2- word data at the same time.
Basic Setting 3.1.1 Setting of VT Ratio [Procedure] Write a VT ratio to the two D registers in the table below. The data type is 4-byte floating point. After writing that value, write “1” to the setting change status register, D0072. D Register Reference No.
3.1 Basic Setting 3.1.2 Setting of CT Ratio [Procedure] Write a CT ratio to the two D registers in the table below. The data type is 4-byte floating point. After writing that value, write “1” to the setting change status register, D0072. D Register Reference No.
3.1 Basic Setting 3.1.3 Setting of Integral Low-cut Power [Procedure] Write an integral low-cut power value to the two D registers in the table below. The data type is 4-byte floating point. After writing that value, write “1” to the setting change status register, D0072. D Register Reference No.
(kWh) option via communication, set it to 1/10th the value of the displayed (true) value (e.g., set it to 5 when setting the pulse unit-1 of electric energy value to 50 Wh/pls). The value of the UPM100 with the integral resolution (Wh) option should be the same as that of the displayed value.
[STX] 0101OK [ETX] [CR] Note • The ON pulse width-1 of electric energy value can be set for the UPM100 with pulse outputs. • To set the ON pulse width-1 of electric energy value via communication, set it to 1/10th the value of the displayed (true) value (e.g., set it to 5 when setting the ON pulse width-1 of electric...
[STX] 0101OK [ETX] [CR] Note • The pulse unit-2 of electric energy value can be set for the UPM100 with pulse outputs and the one with the reactive power/reactive energy measuring function. • To set the pulse unit-2 of electric energy value using the UPM100 with the integral resolution (kWh) option via communication, set it to 1/10th the value of the displayed (true) value (e.g., set...
The value for LAG/LEAD/regenerative selection for output pulse of electric energy value can be set for the UPM100 with pulse outputs and the one with the reactive power/reactive energy measuring function. For the UPM100 without the reactive power/reactive energy measuring function, only the regenerative PULSE is available.
[STX] 0101OK [ETX] [CR] Note • The ON pulse width-2 of electric energy value can be set for the UPM100 with pulse outputs and the one with the reactive power/reactive energy measuring function. • To set the ON pulse width-2 of electric energy value via communication, set it to 1/10th the value of the displayed (true) value (e.g., set it to 5 when setting the ON pulse width-2 of electric...
[Command] [STX] 01010WRW01D0059, 0001 [ETX] [CR] [Response] [STX] 0101OK [ETX] [CR] Note After remote reset is executed, the micro-computer of the UPM100 is reset. Wait for more than 5 seconds before executing another command. 3-10 IM 77C01H01-10EN...
3.3 Executing Reset Operations 3.3.2 Active Energy Reset [Procedure] To execute active 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 Reset the active energy...
[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] To execute reactive energy reset, write data to the D register or the I relay in the table below.
3.3 Executing Reset Operations 3.3.6 Apparent Energy Reset [Procedure] To execute apparent energy reset, write data to the D register in the table below. The data type is integer. D Register Reference No. H No. Description Effective Range Reset the apparent energy If other than 1: Invalid D0097 40097...
Other Settings 3.4.1 Start of Optional Integration [Procedure] To start optional integration, 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 If other than 1: Invalid Start of optional integration...
3.4 Other Settings 3.4.3 Start/Stop of Integration [Procedure] To start/stop integration, write data to the D register in the table below. The data type is integer. D Register Reference No. H No. Description Effective Range Active energy (D0001 and D0002) Apparent energy (D0083 and D0084) 0: Integration is started D0053...
[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 the set value range. [Secondary Rated Power] x [VT Ratio] x [CT Ratio]...
[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 ratios. The table below shows the set value range.
3.4.6 LEAD Reactive Energy Writing Note A LEAD reactive energy value can be written to the UPM100 with the optional reactive power/ reactive energy measuring function. [Procedure] Write a LEAD reactive energy value to the two D registers in the table below. The data type is integer.
3.4.7 LAG Reactive Energy Writing Note A LAG reactive energy value can be written to the UPM100 with the optional reactive power/ reactive energy measuring function. [Procedure] Write a LAG reactive energy value to the two D registers in the table below. The data type is integer.
[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 table below shows the set value range.
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 performed for the 2- word data at the same time.
4.1 Overview 4.1.1 Configuration of Command Commands sent from a higher-level device to the UPM100 consist of the following elements. Number Variable length Bytes Time to Station Data wait for Element number number Command corresponding Checksum response (ST-NO) (01) to command STX (Start of Text) This control code indicates the start of a command.
• No response is made in case of an error in station number specification or CPU number specification. • If a UPM100 cannot receive ETX in a command, response may not be made. Note: As a countermeasure, provide a timeout process in the communication functions of the higher-level device or in communication programs.
4.1 Overview 4.1.3 Response Error Codes See Also 4.1.2, “Configuration of Response”, for the structure of response in the event of error. The error codes (EC1) and detailed error codes (EC2) of responses are as follows. Table 4-1 List of Error Codes EC1 Error Meaning Cause(s)
Maximum overall cable length of 1200 m for a maximum of 31 slave stations 040110E.EPS 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 and Response The following are the lists of commands available in PC link communication. The details of them are explained in the description of each command. Bit-basis Access Commands Dedicated to I Relays Command Description Number of bits handled Bit-basis read 1 to 164 bits Bit-basis write...
= 1 (ON) Example Read the input overrange for the input full scale (relay symbol: IN_OVER) flag of the UPM100 at station number 01. The following command reads the input overrange flag for the input full scale (I0001). [Command] [STX]01010BRDI0001, 00191 [ETX] [CR] The following response is returned with respect to the above command.
(ST-NO) (01) Example Set the active energy reset (relay symbol: Wh RST) flag of the UPM100 at station number 01 to ON. The following command writes “1” into the active energy reset (I0011). [Command] [STX]01010BWRI0011, 001, 1B0 [ETX] [CR] “OK”...
= 0 (OFF) dn = 1 (ON) Example Read the user area (relay symbol: USERAREA) flag of the UPM100 at station number 01. The following command reads the user area (I0101 and I0103) flag. [Command] [STX]01010BRR02I0101, I010381 [ETX] [CR] The following response is returned with respect to the above command.
Execute the active energy reset (relay symbol: Wh RST), maximum and minimum values reset (relay symbol: MAX RST), and reactive energy reset (relay symbol: kVarh RST) of the UPM100 at station number 01. The following command writes “1” into the active energy reset (I0011), maximum and minimum values reset (I0012), and reactive energy reset (I0015).
(01) Example Specify that the use area (relay symbol: USERAREA) flag of the UPM100 at station number 01 is to be monitored. (This command is used simply for specifying registers.) The following command specifies the user area (I0101 and I0103) to be monitored.
= 0 (OFF) dn = 1 (ON) Example When the user area (relay symbol: USERAREA) flag of the UPM100 at station number 01 has been specified to be monitored: (This command reads the statuses of the registers specified by the BRS command.)
= character string in hexadecimal n = 1 to 64 words Example Read the active energy (register symbol: kWh L and kWh H) of the UPM100 at station number 01. The following command reads the active energy (D0001 and D0002).
(01) Example Write the floating point data “00004120” into the VT ratio (register symbol: VT L and VT H) and CT ratio (register symbol: CT L and CT H) of the UPM100 at station number 01. [Command] [STX]01010WWRD0043,04,000041200000412097[ETX][CR] “OK” is returned in response to the above command.
Read the instantaneous voltage 1 (register symbol: V1 L and V1 H) and instantaneous current 1 (register symbol: I1 L and I1 H) of the UPM100 at station number 01. The following command reads the instantaneous voltage 1 (D 0009 and D0010) and instantaneous current 1 (D0015 and D0016).
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).
(01) Example Specify that the instantaneous active power (register symbol: W L and W H) of the UPM100 at station number 01 is to be monitored. (This command simply specifies the registers.) The following command specifies the instantaneous active power (D0007 and D0008) to be monitored.
= character string in hexadecimal n = 1 to 32 words Example Monitor the instantaneous active power (register symbol: W L and W H) of the UPM100 at station number 01. (This command reads the status of the register specified by the WRS command.)
4.2 Command and Response INF6 Reads the model, suffix codes, and version information Function Reads the model, suffix codes, and version number of the UPM100. • For the format of response in the event of failure, see subsection 4.1.2. Command/Response (for normal operation)
(01) (Note1) 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 returned in response to the above command.
4.3.1 Communication with FA-M3 (UT Link Module) Communication with FA-M3 is achieved by simply connecting the UPM100 to a UT link module using the PC link communication protocol. Set the communication conditions of the UPM100 identical to those of the UT link module.
Page 56
Setting Up the UPM100 Set the communication conditions of the UPM100 as shown below: For details on how to set the conditions, see the user’s manual of Model UPM100 Universal Power Monitor <Initial Setup Operations> or “1.2 Notes on Setting RS-485 Communication Conditions”...
Communication with Touch Panel Communication with a touch panel is achieved using the PC link communication protocol. Set the communication conditions of the UPM100 identical to those of the touch panel. Touch panel Maximum overall cable length of 1200 m for a maximum of 31 slave stations 040304E.EPS...
MODBUS Communication Overview The use of MODBUS communication enables the UPM100 to communicate with a device such as a PC, PLC (sequencer), or touch panel. Such a device can be used in communication to read/write data from/to D registers which are internal registers of the UPM100.
Page 60
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 performed for the 2-word data at the same time.
This mark indicates the start of a message. Note that only ASCII mode requires a colon (:). Station Number (01 to 99) Station numbers are used by the 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.)
5.1 Overview 5.1.2 Specifying D Registers Specification of D registers using commercially available SCADA or other software and specification of D registers for messages used in a customer-created communication program are different. Take note of this. When using commercially available SCADA or other software, specify a “reference number”...
Page 63
5.1 Overview RTU Mode In the RTU mode, errors are checked by means of a CRC-16 cyclic redundancy check. The CRC-16 value is the 16-bit remainder when the value obtained by concatenating the 8 bits of all blocks (from the station number to the last data item) of a message, excluding the start bit, stop bit and parity bit, is divided by a predetermined 17-bit binary number.
Page 64
5.1 Overview Table 5-2 Results of Performing CRC on 0th to 255th Values at A001h Number Result 0000 C0C1 C181 0140 C301 03C0 0280 C241 Number Result C601 06C0 0780 C741 0500 C5C1 C481 0440 Number Result CC01 0CC0 0D80 CD41 0F00 CFC1...
Responses to Normal Messages For a loop back function or a function for writing to a single register, the UPM100 returns the received command message as a response message. For a function for writing to multiple registers, the UPM100 returns part of the received command message as the response message.
Page 66
Number of D registers out of the range is specified. The UPM100 does not 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.
5.1 Overview 5.1.5 Specifying Broadcast Broadcast addressing allows the corresponding multiple UPM100 to receive the command. In the station number of the command, specify the broadcast address “00” and execute Broadcast addressing works independently of the station number of the UPM100.
Message and Response Function codes are command words used by the higher-level device to obtain the D registers information of UPM100. Table 5-3 Function Codes Code Function Description Capable of reading data from a maximum of 64 Reads data from multiple D registers.
5.2 Message and Response 03 Reads data from multiple D registers Function This function code reads the contents of successive D registers by the specified number starting from a specified D registers number. • The maximum number of D registers to be read at a time is 64. •...
5.2 Message and Response 06 Writes data into D register Function This function code writes data into a specified D registers number. • The maximum number of D registers to be written into at a time is 1. • For the format of response in the event of failure, see subsection 5.1.4. •...
5.2 Message and Response 08 Performs loop back test Function This function code is used to check connection for communication. • For the format of response in the event of failure, see subsection 5.1.4. • The “00” shown below (marked with an asterisk *) are fixed. •...
5.2 Message and Response 16 Writes data into multiple D registers Function This function code writes data into successive D registers by the number starting from a specified D registers number. • The maximum number of D registers to be written into at a time is 32. •...
Page 73
5.2 Message and Response Example (ASCII mode) Write “10” into a series of four D registers starting with the D0043 (VT ratio and CT ratio) at station number 11. (D register specification is “42.”) [Message] [:]0B10002A0004080000412000004120ED[CR][LF] “0B”: station number 11, “10”: function code 16, “002A”: D register specification 42, “0004”: number of D registers 4, “08”: byte count (number 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.
Interpretation of D Register Map Table This section explains how to read the D Register Map tables in this chapter. The numbers listed in the leftmost column are D register numbers ((1) below). The fivedigit numbers in the next column are reference numbers used for MODBUS communication ((2) below). The numbers in the column third from left are register numbers in hexadecimal notation used in MODBUS communication programs ((3) below).
Configuration of D Registers Table 6-1 D Register Configuration Register No. Classification Description D0001 to D0042 Process data Measured value of electric energy, etc. D0043 to D0053 Parameter data Setup conditions such as VT ratio and CT ratio D0057, D0058 D0059 to D0064 Control data Control of operations such as remote reset D0067, D0068...
VA H Instantaneous apparent power (float, upper 2 bytes) Note 1: For the UPM100-1xxxx and UPM100-3xxxx, the readout is always “0”. Note 2: For the UPM100-1xxxx and UPM100-2xxxx, the readout is always “0”. Note 3: The UPM100-1 allows these registers to be read.
Page 79
D0058 are written as the integrated value Note 1: The UPM100-xx2xx and UPM100-xx3xx allow this register to be read and written. Note 2: For the UPM100-xxxx0 to -xxxx3, the unit is [kWh]. For the UPM100-xxxx4 to -xxxx7, the unit is [Wh].
Page 80
0 to 65535 Note 1: The UPM100-xxxx2 allows these registers to be read. Note 2: The UPM100-xx2x2 and UPM100-xx3x2 allow this register to be read and written. Note 3: The UPM100-xxxx2 allows these registers to be written. Note 4: Use the user area when using a display unit from Digital Corporation.
Page 81
6.4 D Register Map Bit Information for ADC Failure (D0099) Symbol Failure Status Description 0 to 14 ADC_COMM_FAIL ADC communication error Occurs if the ADC fails. Bit Information for Various Types of Errors (D0100) Failure Status System data error, calibration data error, parameter error, backup data error EEPROM error Overranged instantaneous power Overranged instantaneous apparent power...
Functions and Usage of I Relays This chapter describes the functions and usage of the I relays. The I relays contain information on errors, reset commands, and others of the UPM100. The higher-level device can read/write data from/to I relays using PC link communication.
Configuration of I Relays Table 7-1 I Relay Configuration I Rlay No. Classification Description 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.
UPM01, but also with the UPM02 and the UPM03. The specified categories that can be used by the UPM100 are A, B, C, and E (the UPM100 is not designed to handle Hereinafter, PCs are generically called “higher-level devices.”...
R). Category (X1) Data are largely divided into five categories, denoted by A (measured value), B (statistical data), C (set item), and E (user control item) (the UPM100 is not designed to handle D). IM 77C01H01-10EN...
Page 89
For details, refer to “8.3 Functions.” Status (S) This slot is used to return the status of the UPM100 (binary value). The “S” in the response of the AP command is converted into a binary value, so each bit has a different meaning.
Page 90
8.2 Frame Configuration Note A string of “&H” is added to a numerical value, so that it can be recognized as a hexadecimal value. A to F of hexadecimal values must be uppercase. Example) For a sum in hexadecimal value, &H234: 3 → &H33 and 4 → &H34 → “BCC = &H33 &H34.”...
Power P, reactive power Q *1: Data No. items in Category A. *2: The UPM100 does not measure all-harmonic distortion factor. The measured value read out is always “&H20,” for which no value is given (refer to Appendix, “ASCII Code Table”). The sequence of the batch transfer is Wh, P, V, I, Q, ɳ.
Page 92
• For analysis of response data, refer to Appendix, “ASCII Code Table.” • The UPM100 does not measure all-harmonic distortion factor. The measurement is always “20” (ASCII Code 20 means “blank”). IM 77C01H01-10EN...
8.3 Function 8.3.2 Statistical Items (Category B) Data No. Description Time T + Average power P + Time T + Average voltage V + Time T + Average current I Time Tp + Minimum power P + Time Tv + Minimum voltage V + Time Ti + Minimum current I Time Tp + Maximum power P + Time Tv + Maximum voltage V + Time Ti + Maximum current I * The unit of time is second.
After writing a set value, execute reset (manual or remote). It takes about 5 seconds for restoration after resetting. • The UPM100 can set the value of CT ratio down to the second decimal digit. However, when the value is read out by the UPM01 communication protocol, decimal digits are truncated. •...
Page 95
8.3 Function Example To use Category C to send a command to read out “PT ratio (VT ratio)”: Station Address: 01 [Command] 07505243303030314144030D [Response] 0F55524310303031 3030303030315054 3546030D PT (VT) ratio 080313E.EPS To use Category C to send a command to write 2 to “PT ratio”: Station Address: 01 [Command] 0F5057433030303130303030303250543830030D...
Error Status 2 – Error Count 2 – * The Wh initialization command is executed upon reception, after which remote reset is not needed (same as the standard operation of the UPM100). < Command: Reading out > Element FLEN X2 (Data No.) ETX CR &H07...
Page 97
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 the remote reset status or the reset switch of the UPM100’s main body, Error Status 1 is initialized (in other words, set to &H00, which means there are no errors).
Page 98
Count 2 are updated as well. Error Count 2 counts from 0 to 255 and then goes back to 0. By setting to 1 the remote reset status or the reset switch of the UPM100’s main body, Error Status 2 and Error Count 2 are initialized (in other words, they are set to &H00, which means there are no errors).
Appendix Appendix 1 Table of ASCII Codes (Alphanumeric Codes) In order to implement PC link communication, create a transmission/receiving program by referring to the Table of ASCII Codes below. “ ENQ NAK & ‘ < > • Control code Character code APP01E.EPS Note: SP($20): space DEL($7F): control code...
Revision Information • Title : Model UPM100, UPM101 Universal Power Monitor Communication Functions • Manual No. : IM77C01H01-10EN Aug. 2003/1st Edition 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>...
Need help?
Do you have a question about the UPM100 and is the answer not in the manual?
Questions and answers