<Figure 1> is read setting example of using Power Meter RPT091 of SATAC Corp., in Israel.
<Figure 1> Read setting example of SATEC RPT091 protocol |
Device part of <Figure 1> input Com Port(COM2), 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 RPT091 are possible to be changed by control panel which is connected at RDM or analog(digital) write.
Importance) If you input 1 at Option part of <Figure 1>, communication driver uses Modbus format(Connect PROT of RPT091), and if you input the number except 0, communication driver uses ASCII format(Not connect PROT of RPT091).
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, | 100, | 15, |
READ, | 1, | COMM, | 0, | 120, | 2, |
1) STATION : STATION (ID) number of RPT091 Meter. (1 ~ 247)
2) Read Type : Designate data type to read.
DATA – Reading Basic Data,
SETUP – Reading Basic Setup,
STATUS – Reading Status,
VER – Reading Firmware Version Number,
DIRECT – Reading Long Size Direct,
AO – Reading Multiplexed Analog Out Allocation,
ACH – Reading Multiplexed Analog Expander Channel Allocation,
DI – Reading Digital Inputs Allocation,
RELAY – Reading Relay Status,
PULSE – Reading Pulsing Setpoint,
RTC – Reading RTC(Current Time),
VARIABLE – Reading Variable Size Direct,
DEFINE – Reading User-Defined Data,
MAP – Reading User Definable Register,
ALARM – Reading Alarm Setpoint Register,
COMM – Reading Communication Parameter,
ESR – Reading Extended Status Register,
ASR – Reading Alarm Status Register,
OPTION – Reading Instrument Option Register.
3) Read Start Address : Read start address by the read type.
4) Save start address for Communication Server : Buf position to save read status value.
5) Read Size : Size to read.
Maximum read size is different according to each read type and ASCII, MODBUS protocol. (Refer to <Table 1>)
Read Type | MODBUS | ASCII |
DATA | 53 | 47 (Fixed) |
SETUP | 15 | 1 (Fixed) Address to read : 0 ~10 |
STATUS | 8 | 1 (Fixed) |
VER | 3 | |
DIRECT | It is variable according to read address | |
AO | 48 | 4 (Fixed) Address to read : 0 ~ 15 |
ACH | 42 | 4 (Fixed) Address to read : 0 ~ 13 |
DI | 4 | 1 (Fixed) Address to read : 0 ~ 3 |
RELAY | 2 | 2 |
PULSE | 4 | 3 (Fixed) Address to read : 0 ~ 1 |
RTC | 7 | 7 (Fixed) |
VARIABLE | It is variable according to read address | |
DEFINE | 120 | 120 The maximum number of readable, in reality : 61 |
MAP | 120 | 120 The maximum number of readable, in reality : 30 |
ALARM | 128 The number of readable(WORD), in reality : 125 | 96 The maximum number of readable, in reality : 30 |
COMM | 5 | 5 |
ESR | 24 | 4 |
ASR | 2 | 2 |
OPTION | 2 | 2 |
<Table 1> Maximum read size according to read type and ASCII, MODBUS protocol |
* Save contents/position by communication protocol and read type are as follows.
MODBUS Protocol's Save Contents and Output Address by READ/WRITE Type
ASCII Protocol'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 RPT091 protocol's Option dialog box |
You can set read schedule by using , , button and listbox of <Figure 2>.
<Figure 3> SATEC RPT091 protocol's read schedule Add/Edit dialog box |
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 and VARIABLE : Enter real output address.
Etc : Enter relative address of each output area.
4) Extra1 Area to want to output.
TIME : Set current time of computer as Meter time,
SETUP : Writing Basic Setup,
CLEAR : Reset Energy/Maximum Demands,
RESET : Reset of Meter device,
DIRECT : Writing Long Size Direct (Outputable area only),
RELAY : Writing Changing Relay status value(ON/OFF),
DI : Writing Digital Inputs Allocation,
PULSE : Writing Pulse Setpoint,
RTC : Output the current time(Send current time of computer),
VARIABLE : Writing Variable Size Direct,
DEFINE : Writing User-Defined Data,
MAP : Writing User Definable Register,
ALARM : Writing Alarm Setpoint Register,
COMM : Writing Communication Parameter,
ASR : Writing Alarm Status Register,
OPTION : Writing Instrument Option Register.
5) Extra2 When output area is PULSE : Enter Parameter ID 0 ~ 7 value.
When output area is VARIABLE : 1 – Writing WORD Data, 2 – Writing DWORD Data, Etc – Writing BYTE Data.
Etc : Don't care.
Reference) MODBUS Protocol's Save Contents/Position by Write Type
ASCII Protocol's Save Contents/Position 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.
Connection method for RS-422/485 communicatino cable
Connect Tx+, Tx- terminal of SATEC RPT091 Meter to Rx+, Rx- of computer side, and connect Rx+, Rx- terminal to Tx+, Tx- of computer side.
Computer side SATEC RPT091 side
Tx+ -------------------------------------------- Rx+
Tx- --------------------------------------------- Rx-
Rx+ -------------------------------------------- Tx+
Rx- --------------------------------------------- Tx-
Select communication protocol type
If you connect(Short) COMMUNICATION terminal's PROT(refer to <Figure 4>) of SATEC RPT091, communication protocol is set as MODBUS,
and if you don't connect(Open) that, communication protocol is set as ASCII mode.
Connect basic power
Connect power(90 ~ 264V, 50/60 HZ or 110 ~ 290 V DC) to no.10 and no.12 terminal(Refer to <Figure 4>) of SATEC RPT091.
<Figure 4> Terminal block of SATEC RPT091 |
Connect Display/Operation panel
Connect Display/Operation panel to RDM connecting terminal(Refer to <Figure 5>) of SATEC RPT091.
<Figure 5> Appearance of connecting SATEC RPT091 and Display Panel |
Setting the Meter Address and communication speed
You can set Power Meter Address(1 ~ 247) and communication speed etc by using SATEC operation panel or communication output.