PM-170E communication driver

 

PM-170E communication driver is the driver to communicate with Power meter controller(PM-170E or PM-130E/PM-130P ) of SATEC in U.S.A.

 

1. Read settings

 

<Figure 1> is read Schedule setting example of PM-170E communication driver.

<Figure 1> Read Schedule setting example of PM-170E communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively according to setting of controller.

 

PM-170E communication driver¡¯s read schedule

Read schedule setting parameters are as follows:

1) STATION – station number of PM-170 or PM-130E/PM-130P.

2) Read table number – table number = 1, 2, 9, 10.  (refer to <Table 1> ~ <Table 4> )

3) Read start address – start reading address in table.

4) Save Start Address for Communication Server – Input save start address of communication server.

5) Read Size – word unit read size.

 

Read schedule example)

READ,    1,     1,    0,    0,  39,

READ,    1,     2,    6,   80,   1,

READ,    1,     9,    0,   90,   7,

READ,    1,     10,   0,  100,   2,

 

PM-170E controller support ASCII, Modbus ( or DNP 3.0 of PM-130E model ) protocol.

PM-170E communication driver support Modbus protocol. So you have to set 'bin' mode at CoP setting menu. ( 'rtu' mode at Prot menu for PM-130E )

 

Note) PM-130E model is the termination resistor is needed. Also PM-130E model don't exist table number 2.

 

<Table 1> is contents and address for Table number 1.

Contents Address Size(word unit)
Voltage L1 0 1
Voltage L2 1 1
Voltage L3 2 1
Current L1 3 1
Current L2 4 1
Current L3 5 1
Average Power Factor 18 1
Total Active Power 19 1
Total Reactive Power 20 1
Frequency 23 1
Max.Amp.Dem.L1 28 1
Max.Amp.Dem.L2 29 1
Max.Amp.Dem.L3 30 1
+Active Energy 31 1
+Active Energy 32 1
-Active Energy 33 1
-Active Energy 34 1
+Reactive Energy 35 1
+Reactive Energy 36 1
-Reactive Energy 37 1
-Reactive Energy 38 1
<Table 1> Contents and address for Table number 1

<Table 2>, <Table 3> are contents of set point for Table number 2 and 9.

Contents of set point Bit number Range
Wiring Configuration 1 0 or 1
RT Ratio 2 0 or 1
CT Primary Current 3 0 or 1
Max.Amp.Demand Period 4 0 or 1
Buffer Size 5 0 or 1
Reset Enable/Disable 6 0 or 1
<Table 2> Contents of set point for Table number 2
Contents of set point Bit number Range
Wiring Configuration 1 0 or 1
RT Ratio 2 0 or 1
CT Primary Current 3 0 or 1
Max.Amp.Demand Period 4 0 or 1
Buffer Size 5 0 or 1
Reset Mode 6 0 or 1
<Table 3> Contents of set point for Table number 9

<Table 4> is contents and address for Table number 10.

Contents Address Size(word unit)
State Flags 0 1
Keypad Status 1 1
Version Number 5 1
<Table 4> Contents and address for Table number 10

<Table 5> is bit number and key for Keypad.

Bit number

Key

0

Up Arrow

1

Reset

2

Select

3

Down Arrow

<Table 5> Bit number and key for Keypad

 

2. Write settings

You can set PM-170E controller by using write settings.

 

Digital Write

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             station number of PM-170 or PM-130E/PM-130P.

3)  ADDRESS           writing address in table number.

4) Extra1                    Writing table number = 1, 2, 9, 10.

5) Extra2                    Don't care.

 

Analog Write

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             station number of PM-170 or PM-130E/PM-130P.

3)  ADDRESS           writing address in table number.

4) Extra1                    Writing table number = 1, 2, 9, 10.

5) Extra2                    Don't care.

 

Write example 1)

PORT:0,  station:1, ADDRESS:0015, Extra1: 2,  Extra2 :

The setting parameter shown above is setting example for 15 address, 2 Table number.