Toc-3 – Yokogawa PR300 Power and Energy Meter User Manual

Page 8

Advertising
background image

Toc-3

<Int> <Ind> <Rev>

IM 77C01E01-10E

4.4

Sample Program ........................................................................................... 4-17
4.4.1

Example of BASIC Program for Send and Receive ......................... 4-17

5.

Modbus/RTU and ASCII Communication Protocols

5.1

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

Configuration of Response ............................................................... 5-7

5.1.5

Specifying Broadcast ........................................................................ 5-9

5.2

Message and Response ............................................................................... 5-10

03

Reads data from multiple D registers ............................................ 5-11

06

Writes data into D register ............................................................. 5-12

08

Performs loop back test ................................................................. 5-13

16

Writes data into multiple D registers .............................................. 5-14

6.

Modbus/TCP Communication Protocol

6.1

Overview .......................................................................................................... 6-1

6.2

TCP/IP Communication .................................................................................. 6-3

6.3

Network Frame Structure ............................................................................... 6-4

6.3.1

MBAP Header Structure ................................................................... 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

Example of BASIC Program for Send and Receive ......................... 6-12

7.

Functions and Usage of D Registers

7.1

Overview of D Registers ................................................................................. 7-1

7.2

Configuration of D Registers .......................................................................... 7-1

7.3

Interpretation of D Register Map Table .......................................................... 7-1

7.4

D Register Map ................................................................................................ 7-2

8.

PR201 Original Communication Protocol

8.1

Overview .......................................................................................................... 8-1

8.2

Communication Specifications ...................................................................... 8-1

8.3

Command/Response Format ......................................................................... 8-2

8.4

List of Commands ........................................................................................... 8-3

8.5

Command Details ............................................................................................ 8-5

Appendix

Table of ASCII Codes (Alphanumeric Codes)

Revision Information

Advertising