Modbus variables, Write commands – CIRCUTOR ReadWatt Series User Manual

Page 15

Advertising
background image

4�3�3�- WRITE COMMANDS

ReadWatt supports the integer type write functions: 0x10.

The unit's

MODBUS variables are specified in

Table 4

.

Example: Changing the MODBUS address of peripheral 01 to the address

0x000A

.

We will send the following

MODBUS frame:

Address

Func-

tion

Initial log

Log no�

No� bytes

Data

CRC

01

10

0008

0001

02

000A

CRC

The unit will respond to us with the next frame:

Address

Func-

tion

Initial log

Log no�

CRC

01

10

0008

0001

CRC

Note: The values are shown in hexadecimal.

The number of logs to write must be the same as the size of the variable that is being

accessed.

It is possible to write several consecutive addresses, if the request meets the correct format.

4�3�4�- MODBUS VARIABLES

Table 4: Readwatt MODBUS variables�

Description

Address

(Hexadecimal)

Size

Read/Write

Default value

Modbus Address

0x0008

16 bits

Read/Write

10

Transmission speed

(Baudrate)

0x010C

16 bits

Read/Write

0: 9600

1:19200

2: 38400

0: 9600

Serial no.

0x0060

32-bit

Read

-

Maximum width of impulses in ms

0x0106

16 bits

Read/Write

250 ms

Minimum width of impulses in ms

0x0107

16 bits

Read/Write

2 ms

No. of input impulses per output

impulse

0x0108

16 bits

Read/Write

10

Ratio between input impulses and

kWh (kvarh)

0x0109

16 bits

Read/Write

1000

Transformation ratio

(1)

0x010A

16 bits

Read/Write

1

Output impulse width in ms

0x010B

16 bits

Read/Write

100 ms

Instantaneous values

Impulse log

0x0600

64 bits

Read

-

kWh (kvarh) log

0x0604

64 bits

Read

-

15

Instruction Manual

ReadWatt

Advertising