SATEC PM296 Protocol

 

1. Read settings

 

<Figure 1> is read setting example of using Power Meter PM296 of SATAC Corp., in Israel.

<Figure 1> Read setting example of SATEC PM296 protocol

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively, and enter TxRTS(TxDTR), RxECHO and TxRTS(TxDTR) End/Start Delay time(nSec) according to 485 communication Converter.

Communication speed(Com Baud), Parity, Data, Stop Bit of SATEC PM296 are possible to be changed by operation panel which is connected at RDM or analog(digital) write.

 

Reference) SATEC PM296 communication driver uses the MODBUS type protocol.

 

Read schedule example

READ STATION Read Type Read Start Address Memory Save Address Read Size(Fixed)
READ, 1, DATA, 0, 0, 53,
READ, 1, SETUP, 0, 60, 15,
READ, 1, COMM, 0, 80, 6,

1)      STATION : STATION (ID) number of RPT091 Meter. (1 ~ 247)

2)      Read Type : Designate data type to read.

DATA – Reading Basic Data,

ALARM - Reading Alarm Setpoint,

AO_EXP – Reading Analog Output Expander Setup,

AO_SET - Reading Analog Output Setup,

ASR - Reading Alarm Status Register,

COMM1 – Reading Comm1 Communication Parameter,

COMM2 – Reading Comm2 Communication Parameter,

DATA_LC - Reading Data Log(Circular Access),

DATA_LS - Reading Data Log(Sequential Access),

DATA_SET - Reading Data Log Setup,

DEFINE – Reading User-Defined Data,

DI – Reading Digital Inputs Allocation,

DIRECT – Reading Direct MODBUS data(Read specific MODBUS address),

ESR – Reading Extended Status Register,

EVENT_LC - Reading Event Log(Circular Access),

EVENT_LS - Reading Event Log(Sequential Access),

EXTEND - Reading Extend Data, Classifying by Extend area(0~60 : Refer to <Table 2>),

SETUP – Reading Basic Setup,

LOG_MEM - Reading Log Memory Partitions Setup,

LOG_SET – Reading Data Log Setup,

MAP – Reading User Definable Register,

MEM_PAT - Reading Memory Partitions Status/Control,

MEM_STS - Reading Memory Allocation Status,

P_COUNT - Reading Pulse Counters Setup,

PULSE – Reading Pulsing Setpoint,

RELAY – Reading Relay Status,

RTC – Reading RTC(Current Time),

STATUS – Reading Instrument Status,

TIMERS - Reading Timers Setup,

USER_OP - Reading User Selectable Option.

3)      Read Start Address : Read start address by read type.

4) Save start address for Communication Server : Save start address of Communication Server.

5) Read Size : Size to read.

Max reading size is different according to each read type. (Refer to <Table 1>)

Read Type

Maximum Size

DATA

53

ALARM

125 (Total 704)

AO_EXP

48

AO_SET

6

ASR

12

COMM1

7

COMM2

7

DATA_LC

125 (Total 672)

DATA_LS

125 (Total 3200)

DATA_SET

125 (Total 256)

DEFINE

120

DI

5

DIRECT

It is different according to MODBUS address.

ESR

34

EVENT_LC

120

EVENT_LS

120

EXTEND

It is different according to Extend area (0~60 : Refer to  <Table 2>)

SETUP

18

LOG_MEM

125 (Total 152)

LOG_SET

16

MAP

120

MEM_PAT

125 (Total 768)

MEM_STS

48

P_COUNT

32

PULSE

12

RELAY

6

RTC

7

STATUS

8

TIMERS

4

USER_OP

8

<Table 1> Maximum reading size according to read type
Unique Number

Data Contents

Maximum Size

0

Real Time Values Per Phase

33

1

None

1

2

User Event Flags

8

3

Status Inputs

12

4

Relays

6

5

Pulse Counters

32

6

Real Time Values Per Phase

33

7

Real Time Low Values on Any Phase

12

8

Real Time High Values on Any Phase

12

9

Real Time Total Values

13

10

Real Time Auxiliary Values

6

11

Average Values Per Phase

33

12

Average Low Values on Any Phase

12

13

Average High Values on Any Phase

12

14

Average Total Values

13

15

Average Auxiliary Values

6

16

Present Demands

32

17

Total Energies

22

18

L1 ~ L3 Voltage, L1 ~ L3 Current Harmonics

260

19 ~ 21

L1 ~ L3 Voltage Odd Harmonics

20

22 ~ 24

L1 ~ L3 Current Odd Harmonics

20

25 ~ 27

Total KW, Total Kvar, Total PF Odd Harmonics

20

28

Minimum Real Time Values Per Phase

33

29

Minimum Real Time Total Values

6

30

Minimum Real Time Auxiliary Values

6

31

Minimum Demands

19

32

Programmable Min/Max Minimum Registers

16

33

Maximum Values Per Phase

33

34

Maximum Real Time Total Values

6

35

Maximum Real Time Auxiliary Values

6

36

Minimum Demands

19

37

Programmable Min/Max Maximum Registers

16

38

TOU System Parameters

2

39 ~ 46

TOU Energy #1 ~ #8

32

47 ~ 49

TOU Minimum Demands #1 ~ #3

16

50 ~ 52

TOU Maximum Demands #1 ~ #3

16

53 ~ 60

TOU Energy #9 ~ #16

32

<Table 2> Data contents and maximum reading size of EXTEND read type

* Save contents/position by communication protocol and read type are as follows.

 

SATEC PM296 Communication Driver's Save Contents and Output Address by READ/WRITE Type

 

If you click the icon  in protocol option part at <Figure 1>, you can see the dialog box such as <Figure 2>. You can also set read schedule by using this part.

<Figure 2> SATEC PM296 protocol's Option dialog box

You can set read schedule by using , , button and listbox of <Figure 2>.

<Figure 3> SATEC PM296 protocol's read schedule Add/Edit dialog box

When you click Add button or Edit button in dialog box of <Figure 2>, dialog box of <Figure 3> is shown.

 

2. Writing settings

Write to direct address of controller, regardless of SCAN File.

 

Digital Write

You can control Relay etc or set status value(reset etc) of Power Meter by using write settings.

 

Digital write setting parameters are as follows :

1) PORT           Connected PORT number

2) STATION      ID number of Meter. (1 ~ 247)

3) Address      Output address. Use decimal or hexadecimal address (Refer to contents for protocol write)

Output area(Extra1) is DIRECT, VARIABLE : Enter real output address.

Etc : Enter relative address of each output area.

4) Extra1          Area to want to output.

 

ALARM, AO_EXP, AO_SET, ASR, CLEAR, COMM1, COMM2, \nDATA_SET, DEFINE, DI, DIRECT, EVENT_FLG, LOG_SET, LOG_MEM, MAP, \nP_COUNT, PULSE, RELAY, RESET, RTC, SETUP, TIMER, USER_OP

 

ALARM : Writing Alarm Setpoint Register,

AO_EXP : Writing Analog Output Expander Setup,

AO_SET : Writing Analog Output Setup,

ASR : Writing Alarm Status Register,

CLEAR : Reset Energy/Maximum Demands,

COMM1 : Writing Comm1 Communication Parameter,

COMM2 : Writing Comm1 Communication Parameter,

DATA_SET : Writing Data Log Setup,

DEFINE : Writing User-Defined Data,

DI : Writing Digital Inputs Allocation,

DIRECT : Writing Direct MODBUS Data (Read specific MODBUS address) - Outputable area only,

EVENT_FLG : Writing User Event Flag1 ~ 8 (Write Only Registers),

EXTEND : Writing Extend Data, Classifying by Extend area(0~60 : Refer to <Table 2>),

LOG_MEM : Writing Log Memory Partitions Setup,

LOG_SET : Writing Data Log Setup,

MAP : Writing User Definable Register,

P_COUNT : Writing Pulse Counters Setup,

PULSE : Writing Pulse Setpoint,

RELAY : Writing Changing Relay status value(ON/OFF),

RESET : Reset the Power Meter (When address is 0000),

RTC : RTC Output (Current time),

TIMERS : Writing Timers Setup,

USER_OP : Writing User Selectable Option.

5) Extra2          When output area is PULSE : Enter Parameter ID 0 ~ 7 value.

                           When output area is EXTEND : 0 ~ 60, Designate Extend area. (Refer to <Table 2>)

                           Etc : Don't care.

 

Reference) SATEC PM296 communication driver's Save Contents/Address by Write Type

 

Write example 1)

Station : 1  Address : 0000  Extra1 : CLEAR, EXTRA2 : Blank

If you set as above and write digital value, you can Reset(Clear) Energy/Maximum Demands value of no.1 Station Power Meter.

 

Write example 2)

Station : 1  Address : 0000  Extra1 : RELAY, EXTRA2 : Blank

If you set as above and write digital value, you can control(ON/OFF) no.1(first) digital Relay of no.1 Station Power Meter.

 

Write example 3)

Station : 1  Address : 0001  Extra1 : RELAY, EXTRA2 : Blank

If you set as above and write digital value, you can control(ON/OFF) no.2(second) digital Relay of no.1 Station Power Meter.

 

Write example 4)

Station : 1  Address : 0000  Extra1 : RESET, EXTRA2 : Blank

If you set as above and write digital value, you can restart(Warm Start) no.1 Station Power Meter.

 

Analog Write

Analog write means writing BYTE/WORD/DWORD/FLOAT value to Meter.

 

Analog write and digital write have the same settings, but output value is only different.

 

Write example 1)

Station : 1  Address : 0001  Extra1 : SETUP, EXTRA2 : Blank

If you set as above and write analog value(in case of ASCII protocol) as 5.5, you can change PT value of no.1 Station Power Meter as 5.1.

 

Write example 2)

Station : 1  Address : 0002  Extra1 : SETUP, EXTRA2 : Blank

If you set as above and write analog value as 100, you can change CT Primary Current value of no.1 Station Power Meter as 100.

 

Write example 3)

Station : 2  Address : 0002  Extra1 : COMM, EXTRA2 : Blank

If you set as above and write analog value as 1, you can change Address of no.1 Station Power Meter as no.1.

 

Write example 4)

Station : 1  Address : 0003  Extra1 : COMM, EXTRA2 : Blank

If you set as above and write analog value as 7, you can change communication speed(Com Baud) of no.1 Station Power Meter as 19200bps.

 

3. Communication cable connection and power connection

 

Connection method for RS-232C(COM1) communication cable

Connect general RS-232C communication cable to COM1(9pin terminal) of SATEC PM296 Meter. (Possible to connect as informal wiring)

 

Connection method for RS-485(COM1) communication cable

Connect +terminal of SATEC PM296 Meter by Shorting Rx+, Tx+ of computer side,

and connect -terminal by Shorting Rx-, Tx- of computer side.

 

Computer side                                 SATEC PM296 side

Tx+, Rx+  --------------------------------- +

Tx-, Rx-  ----------------------------------- -

 

Connection method for RS-422/485(COM2) communication cable

Connect Tx+, Tx- terminal of SATEC PM296 Meter to Rx+, Rx- of computer side,

and connect Rx+, Rx- terminal to Tx+, Tx- of computer side.

 

Computer side                         SATEC PM296 side

Tx+  --------------------------------- Rx+

Tx-  ---------------------------------- Rx-

Rx+  --------------------------------- Tx+

Rx-  ---------------------------------- Tx-

 

Basic power connection

Connect power(95 ~ 250V, 45/65 HZ AC or 90 ~ 330 V DC) to no.15, no.16 terminal(Refer to <Figure 4>) of SATEC RPT296.

 <Figure 4> Back side of SATEC PM296 Power Meter

Setting the Meter Address and communication speed

You can change Power Meter Address(1 ~ 247), communication speed etc by using operation switch of the front of SATEC PM296 Power Meter or communication output.

<Figure 5> Front side of SATEC PM296 Power Meter