iEM3100 / iEM3200 / iEM3300 series user manualCommunications via Modbus RS-485

DATETIME format:

Word

Bits

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

Reserved (0)

 

 

 

 

 

 

R4 (0)

Year (0 – 127)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

0

 

 

 

Month (1 – 12)

 

 

WD (0)

 

 

Day (1 – 31)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

SU (0)

0

 

Hour (0 – 23)

 

 

 

iV

0

Minute (0 – 59)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4

Millisecond (0 – 59999)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R4 :

 

 

 

 

 

Reserved Bit

 

 

 

 

 

 

 

 

 

Year :

 

 

 

 

 

7 bits (year from 2000)

 

 

 

 

 

 

 

 

Month :

 

 

 

 

 

4 bits

 

 

 

 

 

 

 

 

 

 

Day :

 

 

 

 

 

5 bits

 

 

 

 

 

 

 

 

 

 

Hour :

 

 

 

 

 

5 bits

 

 

 

 

 

 

 

 

 

 

Minute :

 

 

 

 

 

6 bits

 

 

 

 

 

 

 

 

 

 

Millisecond :

 

 

 

 

 

2 octets

 

 

 

 

 

 

 

 

 

 

WD (day of the week) :

 

 

 

 

1–7: Sunday–Saturday

 

 

 

 

 

 

 

 

SU (summer time) :

 

 

 

 

Bit to 0 if this parameter is not used.

 

 

 

 

 

 

 

iV (validity of received data) :

 

 

 

Bit to 0 if this parameter is not valid or not used.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command interface

Command interface overview

The command interface allows you to configure the meter by sending specific command requests using Modbus function 16.

Command request

The following table describes a Modbus command request:

Slave

 

Function

 

Command block

CRC

 

 

 

Number

 

Code

Register Address

Command Description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The command is made of a command number and a set of parameters. See the

 

1–247

16

 

5250 (up to 5374)

detailed description of each command in the command list.

Checking

 

 

 

 

NOTE: All the reserved parameters can be considered as any value, e.g. 0.

 

The following table describes the command block:

Register Address

Content

Size (Int16)

Data (example)

 

 

 

 

5250

Command Number

1

2008 (Set Tariff)

 

 

 

 

5251

(Reserved)

1

0

 

 

 

 

 

 

 

4 (Tariff=4)

5252–5374

Parameter

n

NOTE: Command number 2008 supports only

 

 

 

one parameter with the size of 1.

Command result

The command result can be obtained by reading registers 5375 and 5376.

The following table describes the command result:

Register Address

 

Content

Size (Int16)

Data (example)

 

 

 

 

5375

Requested Command Number

1

2008 (Set Tariff)

 

Result

 

 

 

 

Command result codes:

 

 

5376

• 0 = Valid Operation

1

0 (Valid Operation)

• 3000 = Invalid Command

 

 

 

 

• 3001

= Invalid Parameter

 

 

 

• 3002

= Invalid Number of Parameters

 

 

 

• 3007

= Operation Not Performed

 

 

DOCA0005EN-04

53

Page 53
Image 53
Schneider Electric iEM3100, iEM3300, iEM3200 user manual Command interface overview, Command request, Command result