RecDigit JBUS communication driver is the driver to communicate with Power Meter controller of Enerdis in France.
<Figure 1> is read setting example of RecDigit JBUS communication driver.
<Figure 1> Read setting example of RecDigit JBUS communication driver |
Device part of <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(2), Data Bit(8), Stop Bit(1) respectively according to setting of controller.
Baaud rate, ... of RecDigit controller can set by write setting or key pad of front panel. ( refer to user manual for more information )
Note) RecDigit JBUS protocol basically equal with Modbus protocol.
RecDigit JBUS communication driver¡¯s read schedule
Read schedule setting parameters are as follows:
1) STATION – station number of RecDigit controller.
2) Read command – read function code number of modbus = 3, 3D, ....
3) Read start address – read start address in modbus( function ) memory.
4) Save Start Address for Communication Server – readed data saving start address of communication server.
5) Read Size – word, double word, .. unit read size.
Read schedule example)
DWORD, 1, 3D, 4, 0, 20,
DWORD, 1, 3D, 4Ch, 20, 20,
DWORD, 1, 3D, 300h, 40, 2,
3D of Above example is 3 function code and double word unit read setting. (D : double word register data reading, F : IEEE 32bit float , X : bit Device, W : word device, B : byte device )
<Table 1> is memory address and contents for RecDigit Power Meter.
Memory address |
Contents |
Unit |
Data size |
0000 |
date |
year,month,day,hour,minute,second |
4 WORD |
0004, 0006, 0008 |
V1, V2, V3 |
0.1 V |
each 2 WORD |
000A, 000C, 000E |
U12, U23, U31 |
0.1 V |
each 2 WORD |
0010, 0012, 0014 |
I1, I2, I3 |
0.1 A |
each 2 WORD |
0016, 0018, 001A, 001C |
P1, P2, P3,Pt |
W |
each 2 WORD |
001E, 0020, 0022, 0024 |
Q1, Q2, Q3, Qt |
var |
each 2 WORD |
0026, 0028, 002A, 002C |
S1, S2, S3, St |
VA |
each 2 WORD |
<Table 1> Memory address and contents for RecDigit Power Meter |
Please refer to RecDigit Power Meter manual for more memory address and contetns.
You can set RecDigot 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 RecDigit controller.
3) ADDRESS hex-decimal writing address in modbus ( function ) memory. ( last 1 digit = writing bit position, 0 ~ F )
4) Extra1 don't care.
5) Extra2 selection of data type. 1 = word data writing, 2 = double word data writing, 4 = 4 word data writing.
Analog Write
Analog write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION station number of RecDigit controller.
3) ADDRESS hex-decimal writing address in modbus ( function ) memory.
4) Extra1 don't care.
5) Extra2 selection of data type. 1 = word data writing, 2 = double word data writing, 4 = 4 word data writing.
Write example 1)
PORT:0, station:1, ADDRESS:0300, Extra1: , Extra2 : 2
The setting parameter shown above is CT ratio setting example with double word unit.
Write example 2)
PORT:0, station:1, ADDRESS:0302, Extra1: , Extra2 : 2
The setting parameter shown above is PT ratio setting example with double word unit.