background image

<Toc> <Ind>

<3.  Procedures for Setting PR300 Functions>

3-1

IM 77C01E01-10E

3.

Procedures for Setting PR300 Functions

To set the functions of the PR300, use the protocols described in Chapter 4, “PC
Link Communication Protocol,” Chapter 5, “Modobus/RTU and ASCII Communica-
tion Protocols,” or Chapter 6, “Modbus/TCP Communication Protocol” according to
the instructions in this chapter.

For details of each function, refer to the PR300 Power and Energy Meter User’s
Manual (electronic manual).

For how to read the tables in this chapter, refer to Chapter 7, “Functions and Usage
of D Registers.”

The PR300 offers registers for floating-point data. To perform settings via communi-
cation from higher-level device, floating-point data is displayed by IEEE754 (single
precision).

NOTE

The PR300 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.

Even if data written to the D register is out of the effective range, a normal response is
returned. The part of the written data within the effective range becomes effective on
the PR300 when the equivalent setting change status is written for that data.

Summary of Contents for PR300

Page 1: ...User s Manual IM 77C01E01 10E Model PR300 Power and Energy Meter Communication Interface RS 485 and Ethernet Communications IM 77C01E01 10E 5th Edition ...

Page 2: ...R300 control engi neers and personnel in charge of maintaining instrumentation and control equipment Related Documents The following user s manuals all relate to the communication functions of the PR300 Read them as necessary Model PR300 Power and Energy Meter User s Manual electronic manual Document number IM 77C01E01 01E Model PR300 Power and Energy Meter Startup Manual Installation Document num...

Page 3: ...anding 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 exag gerated simplified or partially omitted for reasons of convenience when explaining them 2 Figures and illustrations repre...

Page 4: ...ng TCP IP software has been created by Yokogawa based on the BSD Networking Software Release 1 that has been licensed from the University of California 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 prec...

Page 5: ...aused 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...

Page 6: ... 2 2 3 Conditions for Ethernet Serial Gateway Function 2 10 2 3 Wiring for Communication 2 12 2 3 1 Wiring for RS 485 Communication 2 12 2 3 2 Wiring for Ethernet Communication 2 13 2 3 3 Wiring for RS 485 Communication for Ethernet Serial Gateway Function 2 14 3 Procedures for Setting PR300 Functions 3 1 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 o...

Page 7: ...tive Energy Reset 3 34 3 7 7 Apparent Energy Reset 3 34 3 8 Setting Control States 3 35 3 8 1 Integration Start Stop 3 35 3 8 2 Optional Integration Start Stop 3 36 3 8 3 Demand Measurement Start Stop 3 37 3 8 4 Confirmation and Release of Demand Alarm State 3 38 4 PC Link Communication Protocol 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 ...

Page 8: ...cture 6 4 6 3 2 PDU Structure 6 4 6 4 Communication with Higher level Devices 6 5 6 4 1 List of Function Codes 6 5 6 4 2 Specifying D Registers 6 5 6 4 3 Request and Response 6 6 03 Reads data from multiple D registers 6 6 06 Writes data into D register 6 7 08 Performs loop back test 6 8 16 Writes data into multiple D registers 6 9 6 4 4 Response Error Codes 6 11 6 5 Sample Program 6 12 6 5 1 Exam...

Page 9: ...00 bps 9600 bps 19200 bps 1200 m 31 2 wire half duplex Start stop synchronization Non procedural Shielded twisted pair cable AWG24 equivalent size Baud Rate Maximum Communication Distance Maximum Number of Connectable Devices Transmission Method Synchronization Communication Method Communication Cable 1 2 Ethernet Communication Specifications Protocols available for Ethernet communication interfac...

Page 10: ... use of the Ethernet communication see subsection 2 1 2 Procedure for Ethernet Communication For details of use of the Ethernet serial gateway function see subsection 2 1 3 Procedure for Ethernet Serial Gateway Function 2 1 Setup Procedure Set up the communication functions on the PR300 as follows WARNING To avoid an electric shock be sure to turn off the power supply source to the equipment invol...

Page 11: ...mmunication distance 1200 m Maximum number of slave stations to be connected 31 Example See Connect a higher level device with PR300 Subsection 2 3 1 Wiring for RS 485 Communication See Create communication programs for the higher level device to perform communication Chapter 3 Procedures for Setting PR300 Functions For communication protocol see Chapter 4 PC Link Communication Protocol Chapter 5 ...

Page 12: ... 3 Note It is recommended to use the Ethernet network as a dedicated one for the PR300 Communication parameters setting for PR300 Set up the communication function using the front panel keys Subsection 2 2 2 Conditions for Ethernet Communication Higher level device IP address 192 168 1 1 arbitrary Example See Connect a higher level device with PR300 Subsection 2 3 2 Wiring for Ethernet Communicati...

Page 13: ...for Ethernet Communication Subsection 2 2 3 Conditions for Ethernet Serial Gateway Function See Connect a higher level device with PR300 Subsection 2 3 2 Wiring for Ethernet Communication See Connect a lower level device with PR300 Subsection 2 3 3 Wiring for RS 485 Communication for Ethernet Serial Gateway Function See Create communication programs for the higher level device to perform communica...

Page 14: ...VJET Ethernet RS 485 converter RS 485 Station number 01 arbitrary Station number 02 arbitrary Station number 20 arbitrary Example The VJET is Yokogawa s converter For details of use of the VJET refer to its user s manual Note It is recommended to use the Ethernet network as a dedicated one for the PR300 The communication conditions of any slave PR300 must conform to those of the VJET at a higher l...

Page 15: ... communication B RT PRI STP DLN PC link without checksum 2400 bps 9600 bps 19200 bps 1 2 7 8 NONE EVEN ODD PCLK1 PCLK2 M ASC M RTU M TCP PR201 Parameter Symbol Menu Setting Range Initial Value Baud rate Parity 3 Stop bit 3 Data length 2 3 Station number 9600 NONE 1 8 01 PCLK2 PC link with checksum Modbus ASCII Modbus RTU Modbus TCP 1 PR201 original 01 to 99 01 to 31 recommended None Even Odd 1 Mod...

Page 16: ...ximum communication distance 1200 m Maximum number of slave sations to be connected 31 Example 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...

Page 17: ...ask 1 Subnet mask 2 Subnet mask 3 Subnet mask 4 255 0 to 255 SM 2 255 0 to 255 SM 3 255 0 to 255 SM 4 0 0 to 255 DG 1 Default gateway 1 Default gateway 2 Default gateway 3 Default gateway 4 0 0 to 255 DG 2 0 0 to 255 DG 3 0 0 to 255 DG 4 0 0 to 255 E SW Ethernet setting switch OFF ON PCLK1 PCLK2 M ASC M RTU M TCP PR201 PCLK2 COMM Parameter Name Parameter Symbol Menu Setting Range Initial Value Pro...

Page 18: ...ing format Default Gateway DG 1 0 to 255 DG 2 0 to 255 DG 3 0 to 255 DG 4 0 to 255 NOTE Before performing setup of IP address subnet mask and default gateway consult the administrator for the network to which the PR300 is to be connected Port number PORT Set the port number for the PR300 NOTE To activate the settings of IP address subnet mask default gateway and port number set the Ethernet settin...

Page 19: ...RS 485 serial communication function Power Monitor of POWERCERT series Digital indicating controller of GREEN series Signal conditioner of JUXTA series The PR300 operates as a gateway that changes the Modbus TCP protocol received via network to the Modbus RTU protocol for the serial devices connected to the RS 485 communication interface Therefore the devices supporting the Modbus RTU protocol are...

Page 20: ...Data length Station number None Even Odd Parity Stop bit Slave PR300 The station number of any slave PR300 device for RS 485 communication must be a different number other than 01 The communication conditions for any slave PR300 device for RS 485 communication other than the station number must conform to those in Table 2 3 Table 2 4 Parameters of Slave PR300 ST NO RS 485 communication B RT PRI ST...

Page 21: ...R300 with RS 485 communication function PC Terminator 120Ω 1 4W Terminator built in 120Ω 1 4W RS 232C straight cable JIS Class D 3 grounding grounding resistance of 100Ω or less JIS Class D 3 grounding grounding resistance of 100Ω or less Communication cable Communication cable Aⴚ Bⴙ SG Aⴚ Bⴙ SG 18 19 20 17 18 19 20 Wthen terminating on wiring short circuit terminals 17 and 18 RS232C RS485 convert...

Page 22: ...nvolved before you start wiring Use hubs and twisted pair cables that conforms to the Ethernet specifications The maxi mum number of hubs connectable in cascade configuration is 4 for 10ABSE T and 2 for 100BASE TX The maximum allowable length of twisted pair cables is 100 meters Read the user s manual of each device carefully before wiring PR300 with Ethernet communication function PC Ethernet Dat...

Page 23: ...n If other devices are used for connection the names of communi cation terminals and others may be different from those mentioned in the figure Read the user s manual of each device carefully before wiring 19 17 17 18 18 19 20 20 18 19 20 Ethernet PR300 with RS 485 communication function PR300 with Ethernet communication function PR300 with RS 485 communication function PC Terminator built in 120Ω...

Page 24: ...es in this chapter refer to Chapter 7 Functions and Usage of D Registers The PR300 offers registers for floating point data To perform settings via communi cation from higher level device floating point data is displayed by IEEE754 single precision NOTE The PR300 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 per...

Page 25: ...o 1 4 byte floating point data 3F800000 Example To set the VT ratio to 10 For station number 01 use PC link communication without checksum and the random write command as shown below If 10 is converted into a 4 byte floating point value the value is 4120 0000 Command STX 01010WRW03D0201 0000 D0202 4120 D0207 0001 ETX CR Response STX 0101OK ETX CR NOTE When changing the VT ratio the integrated valu...

Page 26: ...te 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 01010WRW03D0203 0000 D0204 4120 D0207 0001 ETX CR Response STX 0101OK ETX CR NOTE When changing the CT ratio the integrated values o...

Page 27: ...w cut power float lower 2 bytes Integrated low cut power float upper 2 bytes Setup change status D0201 to D0206 are validated Effective Range 0 05 to 20 00 Unit If other than 1 Invalid If 1 Writing is executed Initial value of integrated low cut power 0 05 4 byte floating point data 3D4CCCCD Example To set the integrated low cut power value to 10 0 For station number 01 use PC link communication w...

Page 28: ...ve energy 2 LEAD reactive energy 3 LAG reactive energy 4 Apparent energy If other than 1 Invalid If 1 Writing is executed Initial value of measurement item for pulse output 0 active energy Example To set the measurement item for pulse output to 1 LEAD reactive energy For station number 01 use PC link communication without checksum and the random write command as shown below Command STX 01010WRW02D...

Page 29: ...ed Effective Range 1 to 50 000 Unit 100 Wh pulse If other than 1 Invalid If 1 Writing is executed Initial value of pulse unit 10 1000 Wh pulse Example To set the pulse unit to 100 Wh pulse write 0001 For station number 01 use PC link communication without checksum and the random write command as shown below Command STX 01010WRW02D0209 0001 D0211 0001 ETX CR Response STX 0101OK ETX CR NOTE A pulse ...

Page 30: ...erence No 40210 40211 H No 00D1 00D2 Description ON pulse width Pulse output writing status D0208 D0209 and D0210 are validated Effective Range 1 to 127 Unit 10 ms If other than 1 Invalid If 1 Writing is executed Initial value of ON pulse width 5 50 ms Example To set the ON pulse width to 100 ms write 000A For station number 01 use PC link communication without checksum and the random write comman...

Page 31: ...r 01 use PC link communication without checksum and the random write command as shown below Command STX 01010WRW02D0212 0003 D0217 0001 ETX CR Response STX 0101OK ETX CR NOTE A measurement item for analog output value can be set for the PR300 with analog output Different types of the PR300 can measure different items and so the values that can be set to the D register differ depending on the PR300...

Page 32: ...scaling float lower 2 bytes D0216 40216 00D7 Upper limit of scaling float upper 2 bytes 50 0 to 100 0 Unit If other than 1 Invalid If 1 Writing is executed Initial value of lower limit of scaling 50 Initial value of upper limit of scaling 100 Example To set the lower limit of scaling to 10 0 For station number 01 use PC link communication without checksum and the random write command as shown belo...

Page 33: ...us D0218 to D0225 are validated Effective Range 0 Active power 1 Current If other than 1 Invalid If 1 Writing is executed Initial value of demand power current 0 active power Example To set the demand power current to 1 current For station number 01 use PC link communication without checksum and the random write command as shown below Command STX 01010WRW02D0218 0001 D0226 0001 ETX CR Response STX...

Page 34: ...ption Demand period Demand measurement writing status D0218 to D0225 are validated Effective Range 1 to 60 Demand alarm mask time to 60 Unit minute If other than 1 Invalid If 1 Writing is executed Initial value of demand period 30 minutes Example To set the demand period to 20 minutes For station number 01 use PC link communication without checksum and the random write command as shown below Comma...

Page 35: ...n Demand alarm mask time Demand measurement writing status D0218 to D0225 are validated Effective Range 1 to 59 1 to demand period Unit minute If other than 1 Invalid If 1 Writing is executed Initial value of demand alarm mask time 1 minute Example To set the demand alarm mask time to 20 minutes For station number 01 use PC link communication without checksum and the random write command as shown ...

Page 36: ... writing status D0218 to D0225 are validated Effective Range 1 to 1000 Unit kW D0222 40222 00DD Demand power alarm point float upper 2 bytes If other than 1 Invalid If 1 Writing is executed Initial value of demand power alarm point 100 kW Example To set the demand power alarm point to 10 0 kW For station number 01 use PC link communication without checksum and the random write command as shown bel...

Page 37: ... writing status D0218 to D0225 are validated Effective Range 1 to 1000 Unit A D0224 40224 00DF Demand current alarm point float upper 2 bytes If other than 1 Invalid If 1 Writing is executed Initial value of demand current alarm point 100 A Example To set the demand current alarm point to 10 0 A For station number 01 use PC link communication without checksum and the random write command as shown ...

Page 38: ...8 to D0225 are validated Effective Range 0 Automatic release 1 Manual release If other than 1 Invalid If 1 Writing is executed Initial value of demand alarm release function 0 automatic release Example To set the demand alarm release function to 0 automatic release For station number 01 use PC link communication without checksum and the random write command as shown below Command STX 01010WRW02D02...

Page 39: ...RTU 4 Modbus TCP 1 5 PR201 original If other than 1 Invalid If 1 Writing is executed Initial value of protocol 1 PC link with checksum 1 Modbus TCP can be selected for the PR300 with Ethernet communication function only NOTE When Modbus TCP is selected for the protocol the baud rate the stop bit the data length and the station number are fixed and unchangeable When PR201 original is selected the b...

Page 40: ...tion Baud rate RS 485 writing status D0271 to D0276 are validated Effective Range 0 2400 bps 1 9600 bps 2 19200 bps If other than 1 Invalid If 1 Writing is executed Initial value of baud rate 1 9600 bps NOTE When Modbus TCP is selected for the protocol the baud rate is fixed and unchangeable at 9600 bps Example To set the baud rate to 2 19200 bps For station number 01 use PC link communication wit...

Page 41: ...Register D0273 D0277 Reference No 40273 40277 H No 0110 0114 Description Parity RS 485 writing status D0271 to D0276 are validated Effective Range 0 NONE 1 EVEN 2 ODD If other than 1 Invalid If 1 Writing is executed Initial value of parity 0 NONE Example To set the parity to 1 EVEN For station number 01 use PC link communication without checksum and the random write command as shown below Command ...

Page 42: ... 0111 0114 Description Stop bit RS 485 writing status D0271 to D0276 are validated Effective Range 1 1 bit 2 2 bits If other than 1 Invalid If 1 Writing is executed Initial value of stop bit 1 1 bit NOTE When Modbus TCP is selected for the protocol the stop bit is fixed and unchangeable at 1 bit Example To set the stop bit to 2 2 bits For station number 01 use PC link communication without checksu...

Page 43: ... 0114 Description Data length RS 485 writing status D0271 to D0276 are validated Effective Range 0 8 bits 1 7 bits If other than 1 Invalid If 1 Writing is executed Initial value of data length 0 8 bits NOTE When Modbus TCP is selected for the protocol the data length is fixed and unchangeable at 8 bits Example To set the data length to 1 7 bits For station number 01 use PC link communication witho...

Page 44: ... H No 0113 0114 Description Station number RS 485 writing status D0271 to D0276 are validated Effective Range 01 to 99 If other than 1 Invalid If 1 Writing is executed Initial value of station number 01 NOTE When Modbus TCP is selected for the protocol the station number is fixed and unchange able at 01 Example To set the station number to 02 For station number 01 use PC link communication without...

Page 45: ...s 4 IP 4 Ethernet writing status D0281 to D0293 are validated Effective Range 0 to 255 0 to 255 0 to 255 0 to 255 If other than 1 Invalid If 1 Writing is executed IP address IP 1 0 to 255 IP 2 0 to 255 IP 3 0 to 255 IP 4 0 to 255 Initial value of IP address 192 168 1 1 NOTE An IP address value can be set for the PR300 with Ethernet communication function IP address settings are only effective when...

Page 46: ... 4 SM 4 Ethernet writing status D0281 to D0293 are validated Effective Range 0 to 255 0 to 255 0 to 255 0 to 255 If other than 1 Invalid If 1 Writing is executed Subnet Mask SM 1 0 to 255 SM 2 0 to 255 SM 3 0 to 255 SM 4 0 to 255 Initial value of subnet mask 255 255 255 0 NOTE A subnet mask value can be set for the PR300 with Ethernet communication function Subnet mask settings are only effective ...

Page 47: ... gateway 4 DG 4 Ethernet writing status D0281 to D0293 are validated Effective Range 0 to 255 0 to 255 0 to 255 0 to 255 If other than 1 Invalid If 1 Writing is executed Initial value of default gateway 0 0 0 0 Default Gateway DG 1 0 to 255 DG 2 0 to 255 DG 3 0 to 255 DG 4 0 to 255 NOTE A default gateway value can be set for the PR300 with Ethernet communication function Default gateway settings a...

Page 48: ...ption Port number Ethernet writing status D0281 to D0293 are validated Effective Range 502 1024 to 65535 If other than 1 Invalid If 1 Writing is executed Initial value of port number 502 NOTE A port number value can be set for the PR300 with Ethernet communication function Port number setting is only effective when the protocol is set to Modbus TCP Example To set the port number to 1024 For statio...

Page 49: ... 10 000 000 kWh For station number 01 use PC link communication without checksum and the random write command as shown below If 10 000 000 is converted into a hexadecimal value the value is 0098 9680 Then the order of the upper two bytes and the lower two bytes is reversed 9680 0098 Command STX 01010WRW03D0371 9680 D0372 0098 D0373 0001 ETX CR Response STX 0101OK ETX CR NOTE The set active energy ...

Page 50: ...10 000 000 kWh For station number 01 use PC link communication without checksum and the random write command as shown below If 10 000 000 is converted into a hexadecimal value the value is 0098 9680 Then the order of the upper two bytes and the lower two bytes is reversed 9680 0098 Command STX 01010WRW03D0374 9680 D0375 0098 D0376 0001 ETX CR Response STX 0101OK ETX CR NOTE The set regenerative en...

Page 51: ...value to 10 000 000 kVarh For station number 01 use PC link communication without checksum and the random write command as shown below If 10 000 000 is converted into a hexadecimal value the value is 0098 9680 Then the order of the upper two bytes and the lower two bytes is reversed 9680 0098 Command STX 01010WRW03D0377 9680 D0378 0098 D0381 0001 ETX CR Response STX 0101OK ETX CR NOTE The set LEAD...

Page 52: ... energy value to 10 000 000 kVarh For station number 01 use PC link communication without checksum and the random write command as shown below If 10 000 000 is converted into a hexadecimal value the value is 0098 9680 Then the order of the upper two bytes and the lower two bytes is reversed 9680 0098 Command STX 01010WRW03D0379 9680 D0380 0098 D0381 0001 ETX CR Response STX 0101OK ETX CR NOTE The ...

Page 53: ...VAh For station number 01 use PC link communication without checksum and the random write command as shown below If 10 000 000 is converted into a hexadecimal value the value is 0098 9680 Then the order of the upper two bytes and the lower two bytes is reversed 9680 0098 Command STX 01010WRW03D0382 9680 D0383 0098 D0384 0001 ETX CR Response STX 0101OK ETX CR NOTE The set apparent energy value rang...

Page 54: ...tantaneous current values will be reset Optional integra tion is terminated if it is being performed Even when remote reset is executed active energy reactive energy and apparent energy data as well as set parameter values are retained Example To execute remote reset For station number 01 use PC link communication without checksum and the random write command as shown below Command STX 01010WRW01D...

Page 55: ... Command STX 01010WRW01D0351 0001 ETX CR Response STX 0101OK ETX CR 3 7 3 Energy Value All Reset Procedure 1 To execute energy value all reset write data to the D register in the table below The data type is integer D Register D0352 Reference No 40352 H No 015F Description Energy value all reset Relevant items are as follows Active energy D0001 D0002 Regenerative energy D0003 D0004 LEAD reactive e...

Page 56: ...t checksum and the random write command as shown below Command STX 01010WRW01D0353 0001 ETX CR Response STX 0101OK ETX CR 3 7 5 Regenerative Energy Reset Procedure 1 To execute regenerative energy reset write data to the D register in the table below The data type is integer D Register D0354 Reference No 40354 H No 0161 Description Regenerative energy D0003 and D0004 reset Effective Range If other...

Page 57: ...ication without checksum and the random write command as shown below Command STX 01010WRW01D0355 0001 ETX CR Response STX 0101OK ETX CR 3 7 7 Apparent Energy Reset Procedure 1 To execute apparent energy reset write data to the D register in the table below The data type is integer D Register D0356 Reference No 40356 H No 0163 Description Apparent energy D0009 and D0010 reset Effective Range If oth...

Page 58: ...e as follows Active energy D0001 D0002 Regenerative energy D0003 D0004 LEAD reactive energy D0005 D0006 LAG reactive energy D0007 D0008 Apparent energy D0009 D0010 Effective Range 0 Stop 1 Start Initial value of integration start stop 1 start Example To execute integration start stop For station number 01 use PC link communication without checksum and the random write command as shown below For st...

Page 59: ...e power is turned off or remote reset is executed see subsection 3 7 1 However for the PR300 with demand measuring function digital input is used to release the demand alarm In this case optional integration start stop cannot be used Control via communication START command STOP command Time Time Perform integration for this duration Digital input turned on Digital input turned off Data update No r...

Page 60: ...t possible until the power is turned off or remote reset is executed see subsection 3 7 1 Control via communication START command STOP command Time Time Perform integration for this duration Turned on by operation key Turned off by operation key Data update No response to requests by operation key Control by operation key Turned on by operation key Turned off by operation key Perform integration f...

Page 61: ...e of demand alarm state Effective Range 0 Normal state 1 Alarm state Writing 0 during alarm state clears the alarm Example To execute confirmation of demand alarm state For station number 01 use PC link communication without checksum and the word basis read write command as shown below For read Command STX 01010WRDD0312 01 ETX CR Response STX 0101OK0001 ETX CR For write Command STX 01010WWRD0312 0...

Page 62: ...ions to be connected 31 Figure 4 1 Example of Connection for PC Link Communication Hereafter PCs are generically called higher level devices In PC link communication a higher level device identifies each PR300 with a station number of 01 to 99 NOTE The PR300 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 performe...

Page 63: ... is fixed to 0 The ASCII code is 30 in hexadecimal 5 Command See section 4 2 Command and Response Specify a command to be issued from the higher level device 6 Data Corresponding to Command Specify an internal register D register number of data pieces and others 7 Checksum This is required if the protocol with checksum is selected for the RS 485 communica tion protocol parameter COMM It converts t...

Page 64: ... failure 1 Normal Communication When communication completes normally the PR300 returns a character string OK and data corresponding to a command No parameter data area for write command Number of Bytes Variable length 1 2 2 2 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 PR300 return...

Page 65: ...xpected value Internal buffer overflow Command error Register specification error Out of setpoint range when in writing operation Out of data count range Monitor error Checksum error Character reception timeout A data value greater than the specified was received 02 Error Code 03 04 05 06 08 42 43 44 The end of data or end of text character has not been received Table 4 2 List of Detailed Error Co...

Page 66: ...le for writing only 4 No response is returned from the PR300 when communication is performed using this command PC RS 485 communication Maximum communication distance 1200 m Maximum number of slave stations to be connected 31 Broadcast data No response from slave stations Figure 4 2 Broadcasting Example of Starting Optional Integrations Use PC link communication without checksum and the random wri...

Page 67: ...Command Description Number of words to be handled WRD WWR WRR WRW WRS WRM Word basis read Word basis write Word basis random read Word basis random write Specifies D registers to be monitored on a word by word basis Word basis monitoring 1 to 64 words 1 to 64 words 1 to 32 words 1 to 32 words 1 to 32 words 2 Information Commands Command Description Number of units to be handled INF6 INF7 Reads mod...

Page 68: ...xadecimal ddddn read data of the specified number of words ddddn character string in hexadecimal n 1 to 64 words Number of Bytes Response element 1 STX 3 WRD 2 Station number ST NO 2 01 4 dddd1 4 dddd2 4 ddddn 2 OK 2 Checksum 1 ETX 1 CR Number of Bytes Command element 1 STX 2 Station number ST NO 2 01 1 Comma or space 2 Number of words n 1 0 2 Checksum 5 Register number 1 ETX 1 CR Example Read the...

Page 69: ...ecimal n 1 to 64 words Number of Bytes Command element 1 STX 2 Station number ST NO 5 Register number 1 Comma or space 2 Number of words n 1 Comma or space 4 dddd1 4 dddd2 4 ddddn 2 01 3 WWR 1 0 2 Checksum 1 ETX 1 CR Command continued Number of Bytes Response element 1 STX 2 Station number ST NO 2 01 2 OK 2 Checksum 1 ETX 1 CR Example Write the floating point data 00004120 into the VT ratio regist...

Page 70: ...number ST NO 2 Number of words n 5 Register number 1 5 Register number 2 1 Comma or space 1 Comma or space 5 Register number n 2 01 3 WRR 1 0 Number of Bytes Response element 1 STX 2 Station number ST NO 2 01 4 dddd1 4 dddd2 4 ddddn 2 OK 2 Checksum 2 Checksum 1 ETX 1 CR 1 ETX 1 CR Command continued Example Read the voltage 1 register symbol V1 L and V1 H and current 1 register symbol A1 L and A1 H...

Page 71: ...ecimal 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 Command element 1 STX 2 Station number ST NO 2 Number of words n 5 Register number 1 1 Comma or space 1 Comma or space 1 Comma or space 1 Comma or space 5 Register number 2 5 Register number n 2 01 3 WRW 4 dddd1 4 dddd2 4 ddddn 1 0...

Page 72: ...esponse 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 Command Response for normal operation Number of Bytes Command element 1 STX 2 Station number ST NO 2 Number of words n 5 Register number 1 5 Register number 2 1 Comma or space 1 Comma...

Page 73: ... 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 Number of Bytes Command element 1 STX 2 Station number ST NO 2 01 3 WRM 1 0 2 Checksum 1 ETX 1 CR Number of Bytes Response element 1 STX 2 Station number ST NO 2 01 4 dddd1 4 dddd2 4 ddddn 2 OK 2 Ch...

Page 74: ... and wire system 1 Single phase two wire system 2 Single phase three wire system 3 Three phase three wire system 4 Three phase four wire system 5 Three phase four wire system 2 5 element Returns the currently selected input range 1 150 V 1 A 2 150 V 5 A 3 300 V 1 A 4 300 V 5 A 5 600 V 1 A 6 600 V 5 A and are decided by the settings of the phase and wire system and the input range 䊐 Returns the suf...

Page 75: ...l operation Number of Bytes Command element 1 STX 2 Station number ST NO 2 01 3 INF 1 7 1 0 2 Checksum 1 ETX 1 CR Number of Bytes Response element 1 STX 2 Station number ST NO 2 01 2 OK 2 Checksum 1 CPU maximum value Note1 1 ETX 1 CR Note 1 The maximum value of CPU for power and energy meter is 1 Example Read the maximum value of CPU number of the PR300 at station number 01 Command STX 01010INF706...

Page 76: ...to be connected 31 PLC Figure 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 user s manual of UT Link Module IM 34M6H25 01E 1 Automatic mode This mode enables the instruments fixed devices those that cannot be specified by the user to ...

Page 77: ...ow Switch No Status Description ON OFF ON OFF Data length 8 bits Parity none initial value even Stop bit 1 bit OFF Checksum none ON Termination character yes CR ON Mode Automatic mode OFF Not used SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8 Set the Baud Rate switch to 9600 bps Set the Communication Mode switch to 7 Normal 2 Setting Up the PR300 Set the communication conditions of the PR300 as shown below For ...

Page 78: ...CR CHR 13 Define LF chr 10 Define RCVCHR Initialize receive character string STOPFLAG 0 Initialize end flag SEND STX 01010WRDD0001 02 ETX Create character string for send BAUD 0 9600 Set a communication baud rate open COM0 F8N1N7 as 1 Open a communication port interval 5 Set timeout timer on com 0 gosub RECEIVECHR Specify interruption processing during receiving on interval gosub TIMEOUT Specify i...

Page 79: ... string from receive buffer END mid RCVCHR len RCVCHR 1 select case END case LF Echo back capable RCVCHR Initialize receive character string case CR Receiving end flag STOPFLAG 1 Set receiving end flag case else end select interval on Start timer return TIMEOUT Timeout processing STOPFLAG 1 Set timeout flag RCVCHR Time out 5 sec CR Character string for display on screen Time out 5 sec return ...

Page 80: ...sequencer Such a device can be used in communica tion to read write data from to D registers which are internal registers of the PR300 Hereafter PCs are generically called higher level devices Higher level device RS 485 communication Maximum communication distance 1200 m Maximum number of slave stations to be connected 31 Figure 5 1 Example of Connection for Modbus Communication See Also Chapter 7...

Page 81: ... be N message length in ASCII mode is 2N 1 2 LF is a synchronization character indicating that the PR300 is ready to accept the next signal In the RTU mode 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 In Modbus commu...

Page 82: ... identify the PR300 at the communication destination These numbers are identification numbers specific to individual PR300 which are expressed in hexadecimal in the message 00 Broadcasting mode See subsection 5 1 5 Specifying Broadcast 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 reg...

Page 83: ...tion 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 excluding CR and LF Ignore the carry that may occur at the upper digit when adding up the data Example The method ...

Page 84: ...er byte of 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 calcu lation to evaluate the second character function code 03 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 85: ... 2580 E541 2700 E7C1 E681 2640 Number 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 15...

Page 86: ...0 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 PR300 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 ...

Page 87: ...f the range is specified The PR300 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 PR300 returns a value of 0 in this case The PR300 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 thou...

Page 88: ...nected 31 Broadcast data No response from slave stations Figure 5 2 Broadcasting Example Write 0001 into the D0400 remote reset using broadcast command Message 0006018F000168 CR LF 00 broadcast addressing 06 function code 06 018F D register number 400 0001 data 0001 68 error check Numbers in quotation marks are hexadecimal No response is returned to the above message D Reg No Ref No H No Descripti...

Page 89: ...Writes data into multiple D registers Capable of reading data from a maximum of 64 successive D registers between D0001 and D0400 Capable of writing data into one D register between D0001 and D0400 Used when checking communication wiring Capable of writing data into a maximum of 32 successive registers between D0001 and D0400 The write function codes cannot be written into read only or user prohib...

Page 90: ...s in ASCII mode Start of Message Mark None 1 Station Number ST NO 1 2 2 Error Check 2 None End of Message Mark CR LF 2 Function Code 03 1 2 Byte Count 1 2 Contents of D Register 2 4 4 2 Contents of D Register Response continued Example ASCII mode Read a series of four D registers starting with the D0201 VT ratio and CT ratio at station number 11 Message 0B0300C8000426 CR LF 0B station number 11 03...

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

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

Page 93: ...te Count 1 2 Data Upper Digit 1 2 Data Lower Digit 1 2 Error Check 2 2 Number of D Registers Upper Digit 1 2 2 1 Number of D Registers Lower Digit Massage continued Element Number of bytes in RTU mode Number of bytes in ASCII mode Start of Message Mark None 1 Station Number ST NO 1 2 Function Code 10 1 2 D Register Start Number Upper Digit 1 2 2 1 D Register Start Number Lower Digit Response for n...

Page 94: ...er 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 4F error check Numbers in quotation marks are hexadecimal The following response will be returned to the message above Response 0B1000C8000419 CR LF Write 1 into the D0207 setup change status to activate the writing into the VT ratio and CT ratio 0B0600CE0...

Page 95: ...s in the PR300 and exchange data with connected devices The PR300 can be connected to IEEE802 3 compliant networks 10BASE T 100BASE TX Generally the Modbus TCP protocol communicates through port 502 In addition the PR300 operates as Ethernet serial gateway A higher level device can exchange data with other serial communication devices using the Modbus TCP protocol via the PR300 Application Layer T...

Page 96: ...r 01 fixed IP address 192 168 1 3 arbitrary Station number 01 fixed IP address 192 168 1 4 arbitrary Station number 01 fixed IP address 192 168 1 5 arbitrary Maximum distance between hub and module 100 m Maximum number of hubs connectable in cascade configuration 4 levels for 10BASE T 2 levels for 100BASE TX Higher level device IP address 192 168 1 1 arbitrary Figure 6 2 Example of Connection for ...

Page 97: ... socket bind listen accept connect send send recv recv close close Initial Setup PC Ethernet PR300 with Ethernet communication function Open connection Command Response Terminate connection Initial Setup Figure 6 3 TCP IP Communication NOTE If no request is received from the higher level device for more than 60 seconds after estab lishing a connection the PR300 will automatically terminate the con...

Page 98: ...a response Protocol ID Specify 0 for the Modbus TCP protocol Number of bytes Number of bytes after the unit ID byte number 6 Unit ID For the communication with the PR300 itself specify 01 for the higher level device The PR300 returns 01 as a response For the communication with the device connected to the RS 485 communication terminals of the PR300 using the Ethernet serial gateway function specify...

Page 99: ...ers between D0001 and D0400 Capable of writing data to one D register between D0001 and D0400 Used when checking communication wiring Capable of writing data into a maximum of 32 successive register between D0001 and D0400 6 4 2 Specifying D Registers Follow the procedures below to specify a D register from a higher level device 1 If using commercially available SCADA or other software specify the...

Page 100: ...nts of register 1 Contents of register n Number of bytes Example Read a series of four D registers starting with D0201 VT ratio and CT ratio at station number 01 Request 000100000006010300C80004 1 0001 Arbitrary 2 byte data 2 0000 Protocol ID 0000 fixed 3 0006 Number of bytes 4 01 Unit ID 01 indicating PR300 5 03 Function code 03 6 00C8 D register start number 201 7 0004 Number of D registers 4 Th...

Page 101: ...lement MBAP Header 2 2 2 2 2 1 1 Hex value Arbitrary 0000 0006 06 PDU Unit ID Function code Transaction ID Protocol ID Register start number Write data Number of bytes Example Write 5 500Wh pls into the D0209 pulse unit at station number 01 Request 000100000006010600D00005 1 0001 Arbitrary 2 byte data 2 0000 Protocol ID 0000 fixed 3 0006 Number of bytes 4 01 Unit ID 01 indicating PR300 5 06 Functi...

Page 102: ...to 99 Element Number of bytes Command element MBAP Header 2 2 2 2 2 1 1 Hex value Arbitrary 0000 0006 08 0000 Arbitrary PDU Unit ID Function code Transaction ID Protocol ID 0000 Transmit data Number of bytes Example 1 2 3 6 4 5 1 2 3 6 4 5 Send 1234 in hex to the PR300 to check the communication connection Request 000100000006010800001234 1 0001 Arbitrary 2 byte data 2 0000 Protocol ID 0000 fixed ...

Page 103: ... No response is returned when using the broadcast addressing Request for nomal operation Writing data to n registers 1 2 2 2n Data 1 Data n Element Number of bytes Command element MBAP Header 2 2 2 2 2 1 1 Hex value Arbitrary 0000 2n 7 n 01 to 99 10 PDU PDU Unit ID Function code Transaction ID Protocol ID Register start number Number of registers Number of bytes Byte count Request continued Respon...

Page 104: ...lue of D0201 and D0202 00003F80 represents 1 That of D0203 and D0204 which is also 00003F80 represents 1 as well the upper four digits 3F80 and the lower four digits 0000 are reversed The floating point value of 3F800000 is the decimal equivalent of 1 The following response will be returned to the request above Response 000100000006011000C80004 1 0001 Arbitrary 2 byte data 2 0000 Protocol ID 0000 ...

Page 105: ...s Meaning Funcation code error Abnormal number of D registers Error Code 01 03 02 Abnormal D register number Cause Function code does not exist Number of D registers out of the range is specified D register number out of the range is specified When a response is not returned In the following cases the PR300 ignores the request and does not return a response When no connection is established at the...

Page 106: ...product of IBM Ltd 2 Visual BASIC is a registered trademark of Microsoft Corporation in the United States HUB PR300 as Ethernet serial gateway function RS 485 connection Station number 02 arbitrary Example LAN connection LAN connection Station number 01 fixed IP address 192 168 1 2 arbitrary Maximum distance between hub and module 100 m Maximum number of hubs connectable in cascade configuration 4...

Page 107: ...procedure described in this section only Please make it reference at the time of actual application creation Variable declaration Option Explicit Dim strSendData As String Sending data Dim strReceive As String Received data Dim binChrs 11 As Byte Binary data Dim iFlag As Integer Flag of wait for completion Private Sub cmdSend1 Procedure to connect with PR300 by TCP IP and to create send data Varia...

Page 108: ...aracters and change them into hexadecimal notation binChrs iCount 1 CByte Val strCher Change them into numerical values Next iCount Send sending data Winsock1 SendData binChrs Send command End Sub Private Sub cmdSend2 Procedure to send command to PR300 connected to RS 485 line with PR300 as gateway Variable declaration Dim iCount As Integer Dim strCher As String Set properties of Winsock control W...

Page 109: ...s and change them into hexadecimal notation binChrs iCount 1 CByte Val strCher Change them into numerical values Next iCount Send Winsock1 SendData binChrs Send command End Sub Private Sub Winsock1_DataArrival ByVal bytesTotal As Long Receive data from PR300 and cut connection with PR300 Dim binData As Byte Dim iCount As Integer Dim strCher As String Receive data Winsock1 GetData binData Receive c...

Page 110: ...tion 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 five digit numbers in the next column are reference numbers used for Modbus communi cation 2 below The numbers in the column third from left are register numbers in hexadecimal used in Modbus communication programs 3 b...

Page 111: ...e 2 float upper 2 bytes D0031 40031 001E V3 L Voltage 3 float lower 2 bytes 0 0 to 9 999 999 9 V R D0032 40032 001F V3 H Voltage 3 float upper 2 bytes D0033 40033 0020 A1 L Current 1 float lower 2 bytes 0 000 to 999 999 990 A R D0034 40034 0021 A1 H Current 1 float upper 2 bytes D0035 40035 0022 A2 L Current 2 float lower 2 bytes 0 000 to 999 999 990 A R D0036 40036 0023 A2 H Current 2 float upper...

Page 112: ...7D A1 MAX H Current 1 maximum value float upper 2 bytes D0127 40127 007E A2 MAX L Current 2 maximum value float lower 2 bytes 0 000 to 999 999 990 A 0 R D0128 40128 007F A2 MAX H Current 2 maximum value float upper 2 bytes D0129 40129 0080 A3 MAX L Current 3 maximum value float lower 2 bytes 0 000 to 999 999 990 A 0 R D0130 40130 0081 A3 MAX H Current 3 maximum value float upper 2 bytes D0131 4013...

Page 113: ... 1 Current 0 䊊 R W D0219 40219 00DA DEMAND INTERVAL Demand period 1 to 60 minute 30 䊊 R W TIME Demand alarm mask time to 60 minute D0220 40220 00DB DEMAND ALM MASK Demand alarm mask time 1 to 59 minute 1 䊊 R W TIME 1 to Demand period minute D0221 40221 00DC DEMAND ALM W L Demand power alarm point float lower 2 bytes 1 to 1000 kW 100 䊊 R W D0222 40222 00DD DEMAND ALM W H Demand power alarm point fl...

Page 114: ...1 Reactive energy is reset W D0005 to D0008 If other than 1 Invalid D0356 40356 0163 kVAh RST Apparent energy reset If 1 Apparent energy is reset W D0009 D0010 D0357 to D0370 D0371 40371 0172 kWh SET L Active energy setpoint uint 32 lower 2 bytes See subsection 3 6 1 W D0372 40372 0173 kWh SET H Active energy setpoint uint 32 upper 2 bytes If other than 1 Invalid D0373 40373 0174 kWh STS Active en...

Page 115: ...99 Bit 0 to 14 15 Symbol ADC_COMM_FAIL Failure Status ADC communication error Description Occurs if the ADC fails 䊉 Bit Information for Various Types of Errors D0100 Bit Failure Status 0 System data error calibration data error parameter error backup data error EEPROM error Overranged power Overranged apparent power Overranged reactive power Overranged current A 1 Overranged current A 2 Overranged...

Page 116: ...onization Baud rate Data format Data bit Parity Stop bit Xon Xoff control Communication error handling PR300 Approximately 1 2 km maximum Use of 24 AWG twisted pair cable Multi drop connection of up to 32 stations including a high level personal computer 1 to 99 Half duplex transmission Start stop synchronization 19200 9600 2400 bps Start bit one bit 8 bits None 1 bit Unavailable If an invalid com...

Page 117: ...n a checksum range and converting the lower 2 digits of the resulting value ETX End of Text hexadecimal 03 CR Carriage Return hexadecimal 0D Response components 1 byte 2 bytes 1 byte 2 bytes Variable length 2 bytes 1 byte 1 byte STX Response Parameter Station number Data Checksum ETX CR Checksum range STX Start of Text hexadecimal 02 Response 2 byte ASCII code DG or DP Parameter 1 byte ASCII code ...

Page 118: ...mum current 1 value Read measured values in batch Read electric energy Instantaneous voltage 2 Instantaneous voltage 3 Instantaneous current 2 Instantaneous current 3 Read measured value and maximum minimum values in batch Read maximum voltage 2 value Read maximum voltage 3 value Read minimum voltage 2 value Read minimum voltage 3 value Read maximum current 2 value Read maximum current 3 value Rea...

Page 119: ...ote reset Integrated low cut power Integration pulse unit Integration pulse ON pulse width Analog output scaling L Analog output scaling H Integration reset 16 byte 5 bytes 5 bytes 0 byte 4 bytes 8 bytes 4 bytes 5 bytes 5 bytes 0 byte ⵧⵧ ⵧ ⵧⵧⵧⵧⵧ ⵧⵧⵧⵧⵧ ⵧ ⵧⵧⵧE 䊊 ⵧⵧⵧⵧ 䉭ⵧⵧⵧⵧ 䉭 or 䉭ⵧⵧⵧⵧ 䉭 or 00 1 to 99 9 00001 to 06000 00 05 to 32000 6 667E 6 to 1 000E 1 0010 to 1270 4800 to 4800 4800 to 4800 Parameter...

Page 120: ...l electric energy value ddddd Current optional electric energy value Number of bytes Response data is returned as a 46 byte ASCII character string Continued 8 8 2 1 1 ⵧ ⵧⵧⵧE 䊊 Voltage 1 ⵧ ⵧⵧⵧE 䊊 Current 1 6 䉭ⵧ ⵧⵧⵧ Power factor Checksum ETX CR Example The PR300 measured values of station number 01 are read out in a batch 䊐䊐 indicates the checksum value Command STX DG001䊐䊐 ETX CR The following respo...

Page 121: ...ve energy of PR300 with station number 01 䊐䊐 indicates the checksum value Command STX DG101䊐䊐 ETX CR Returns a response with the active energy of 10000 kWh for the above command Response STX DG10110000䊐䊐 ETX CR NOTE Display ranges of active energy vary depending on the values of the VT and CT ratios See the following table for display range details Secondary rated power x VT ratio x CT ratio 100 k...

Page 122: ...er string 00000 to 99999 Example Reads the optional electric energy of PR300 with station number 01 䊐䊐 indicates the checksum value Command STX DG201䊐䊐 ETX CR Returns 10000 Wh as optional electric energy previous value and 10000 Wh as optional electric energy current value for the above command Response STX DG2011000010000䊐䊐 ETX CR Parameter 3 Instantaneous power Function Reads the active power Co...

Page 123: ... by parameter 4 voltage 2 by parameter H and voltage 3 by parameter J Command response Number of bytes 1 2 1 2 2 1 1 Command element STX DG 4 H J Station number ADR Checksum ETX CR There is no command data for data reading 1 2 1 2 8 Response element STX DG 4 H J Station number ADR ⵧ ⵧⵧⵧE 䊊 2 1 1 Checksum ETX CR Number of bytes Response data is returned as an 8 byte ASCII character string 0 000E 0 ...

Page 124: ... of bytes Response data is returned as an 8 byte ASCII character string 0 000E 0 to 9 999E 5 Example Reads current 1 of PR300 with station number 01 䊐䊐 indicates the checksum value Command STX DG501䊐䊐 ETX CR Returns a response of current 1 1000 A 1 000E 3 A for the above command Response STX DG5011 000E 3 䊐䊐 ETX CR Parameter 6 Instantaneous power factor Function Reads a power factor Command respon...

Page 125: ...on Function Starts optional integration Command response Number of bytes 1 2 1 2 2 1 1 Command element STX DG 7 Station number ADR Checksum ETX CR There is no command data for data reading 1 2 1 2 0 Response element STX DG 7 Station number ADR No data 2 1 1 Checksum ETX CR Number of bytes There is no response data Example Starts optional integration of PR300 with station number 01 䊐䊐 indicates the...

Page 126: ...tion of PR300 with station number 01 䊐䊐 indicates the checksum value Command STX DG801䊐䊐 ETX CR Returns the following response for the above command Response STX DG801䊐䊐 ETX CR Parameter 9 Initializes maximum and minimum values Function Initializes the maximum and minimum values maximum and minimum values of voltage 1 to voltage 3 and maximum value of current 1 to current 3 Command response Number...

Page 127: ...r factor maximum voltage 1 minimum voltage 1 and maximum current 1 Command response Number of bytes 1 2 1 2 2 1 1 Command element STX DG A Station number ADR Checksum ETX CR There is no command data for data reading 1 2 1 2 5 5 5 Response element STX DG A Station number ADR ⵧⵧⵧⵧⵧ Active energy 9 ⵧ ⵧⵧⵧE 䊊 Active power ddddd Previous value of optional electric energy ddddd Current value of optional ...

Page 128: ... 1 1 000E 2 V 100 V 10 Maximum current 1 1 000E 3 A 1000 A Parameter B Reads maximum voltage 1 Parameter C Reads minimum voltage 1 Parameter N Reads maximum voltage 2 Parameter P Reads maximum voltage 3 Parameter Q Reads minimum voltage 2 Parameter R Reads minimum voltage 3 Function Reads the maximum voltage 1 by parameter B the minimum voltage 1 by parameter C the maximum voltage 2 by parameter N...

Page 129: ...the maximum current 1 by parameter D the maximum current 2 by parameters E and S and the maximum current 3 by parameter T Command response Number of bytes 1 2 1 2 2 1 1 Command element STX DG D E S T Station number ADR Checksum ETX CR There is no command data for data reading 1 2 1 2 8 Response element STX DG D E S T Station number ADR ⵧ ⵧⵧⵧE 䊊 2 1 1 Checksum ETX CR Number of bytes Response data i...

Page 130: ...I character string Continued 8 8 ⵧ ⵧⵧⵧE 䊊 Voltage 1 ⵧ ⵧⵧⵧE 䊊 Voltage 2 8 ⵧ ⵧⵧⵧE 䊊 Voltage 3 8 ⵧ ⵧⵧⵧE 䊊 Current 1 8 ⵧ ⵧⵧⵧE 䊊 Current 2 8 ⵧ ⵧⵧⵧE 䊊 Current 3 Continued 6 2 1 1 䉭ⵧ ⵧⵧⵧ Power factor Checksum ETX CR Example Reads the measured values of PR300 with station number 01 in batch 䊐䊐 indicates the checksum value Command STX DGF01䊐䊐 ETX CR Returns the following response for the above command Resp...

Page 131: ...ates the checksum value Command STX DGG01䊐䊐 ETX CR Returns a response of the active energy 10 MWh 10000E 3 Wh for the above command Response STX DGG0110000E 3䊐䊐 ETX CR NOTE Display ranges of active energy vary depending on the values of the VT and CT ratios See the following table for display range details Secondary rated power x VT ratio x CT ratio 100 kW or less 100 kW or more 1 MW or less 1 MW ...

Page 132: ...R There is no command data for data reading 1 2 1 2 8 5 5 Response element STX DG M Station number ADR ⵧⵧⵧⵧⵧE 䊊 Active energy 9 ⵧ ⵧⵧⵧE 䊊 Active power ddddd Previous value of optional electric energy ddddd Current value of optional electric energy Number of bytes Response data is returned as a 153 byte ASCII character string Continued 8 8 ⵧ ⵧⵧⵧE 䊊 Voltage 1 ⵧ ⵧⵧⵧE 䊊 Voltage 2 8 ⵧ ⵧⵧⵧE 䊊 Voltage 3 8...

Page 133: ...1 000E 3 V 1000 V 7 Voltage 3 1 000E 3 V 1000 V 8 Current 1 1 000E 3 A 1000 A 9 Current 2 1 000E 3 A 1000 A 10 Current 3 1 000E 3 A 1000 A 11 Power factor G0 800 12 Maximum voltage 1 1 000E 3 V 1000 V 13 Minimum voltage 1 1 000E 2 V 100 V 14 Maximum current 1 1 000E 3 A 1000 A 15 Maximum voltage 2 1 000E 3 V 1000 V 16 Maximum voltage 3 1 000E 3 V 1000 V 17 Minimum voltage 2 1 000E 2 V 100 V 18 Min...

Page 134: ...utput nor pulse output 1 RS 485 communication 1 Power factor measuring function 20 Returns a suffix code 2 85 to 264 VAC 0 Always 0 Example Reads the format of PR300 with station number 01 䊐䊐 indicates the checksum value Command STX DGX01䊐䊐 ETX CR Returns the following response for the above command Wire system Single phase three wire Rated input 300V 5A I O Without analog output without pulse out...

Page 135: ...se data is returned in a 2 byte ASCII character string Example Reads an error response of PR300 with station number 01 䊐䊐 indicates the checksum value Command STX DGZ01䊐䊐 ETX CR Returns a checksum error response for the above command Response STX DGZ0180䊐䊐 ETX CR Reads an error response by converting hexadecimal data 80 into binary data 10000000 and then reading the 7th bit checksum error Bit info...

Page 136: ...ent STX DP 0 Station number ADR ⵧⵧⵧⵧⵧⵧ VT ratio 6 ⵧⵧⵧⵧⵧⵧ CT ratio Number of bytes Response data is returned in a 16 byte ASCII character string Continued 4 2 1 1 ⵧⵧ ⵧ Integrated low cut power Checksum ETX CR Response data to be returned for integrated low cut power is always 0 Example Reads the setting value of PR300 with station number 01 䊐䊐 indicates the checksum value Command STX DP001䊐䊐 ETX CR...

Page 137: ...active energy remains unchanged Command response Number of bytes 1 2 1 2 2 1 1 Command element STX DP A Station number ADR Checksum ETX CR Number of bytes 1 2 1 2 2 1 1 Response element STX DP A Station number ADR Checksum ETX CR There is no response data Example Performs remote reset on PR300 with station number 01 䊐䊐 indicates the checksum value Command STX DPA01䊐䊐 ETX CR Returns the following r...

Page 138: ...r 01 䊐䊐 indicates the checksum value Command STX DPG01䊐䊐 ETX CR Returns the following response for the above command Response STX DPG01䊐䊐 ETX CR Resets the active energy Parameter 4 Sets VT ratio parameter 5 Sets CT ratio parameter B Inte grated low cut power parameter C Integration pulse unit Parameter D Integration pulse ON pulse width Parameter E Analog output scaling L Parameter F Analog outpu...

Page 139: ... 72 H 68 104 h 09 9 I HT 29 41 49 73 I 69 105 i 0A 10 J LF 2A 42 4A 74 J 6A 106 j 0B 11 K VT 2B 43 4B 75 K 6B 107 k 0C 12 L FF 2C 44 4C 76 L 6C 108 l 0D 13 M CR 2D 45 4D 77 M 6D 109 m 0E 14 N SO 2E 46 4E 78 N 6E 110 n 0F 15 O SI 2F 47 4F 79 O 6F 111 o 10 16 P DLE 30 48 0 50 80 P 70 112 p 11 17 Q DC1 31 49 1 51 81 Q 71 113 q 12 18 R DC2 32 50 2 52 82 R 72 114 r 13 19 S DC3 33 51 3 53 83 S 73 115 s ...

Page 140: ... Apr 2006 1st Edition Newly published Aug 2006 2nd Edition The PR201 original communication protocol is added Feb 2007 3rd Edition The note of the RS 232C RS 485 converter is added June 2008 4th Edition Error correction Sep 2017 5th Edition Error correction Written by Yokogawa Electric Corporation Published by Yokogawa Electric Corporation 2 9 32 Nakacho Musashino shi Tokyo 180 8750 JAPAN ...

Page 141: ......

Reviews: