Relè Differenziale /
Modular Residual Current Device
X35DL3 – X48DL3 – X72DL3
No. Ipm0232
Pag./
Page
19 di/
of
28
By means of RS485 serial line and Modbus RTU protocol, it is possible to read all the Spot measurements (updated
every 500ms), the Event Archive, the instrument identification data, the real time clock and the Configuration settings.
With previous Write Enable command, it is possible to modify the real time clock settings (immediate) and the
Configuration settings, that will be block-saved with the Modbus command SAVE+Password. Flash Saving and
instrument reinitialization are identical to as described in chapter 8.
It is possible to execute instrument Test and Reset operations, with a previous Write Enable command and the
TEST+Password and RESET+Password commands.
Implemented Modbus RTU functions and exceptions are:
-
03 Read Holding Registers (Spot Measures, Event Archive, Configuration, Scope readings)
o
02 ILLEGAL DATA ADDRESS illegal start or end address (or odd with 32 bit registers)
o
03 ILLEGAL DATA VALUE
illegal Register quantity (= 0 o >124)
-
08 Diagnostic, Subfunction 00 Return Query Data
o
01 ILLEGAL FUNCTION
Unimplemented Subfunction (
≠
0)
o
03 ILLEGAL DATA VALUE
illegal Bytes quantity (>64)
-
16 Write Multiple Registers (Configuration, TEST, RESET, SAVE + Password commands writing)
o
02 ILLEGAL DATA ADDRESS illegal start or end address
o
03 ILLEGAL DATA VALUE
illegal Register quantity (= 0 o >124)
o
01 ILLEGAL FUNCTION
[WRITE ENABLE] not set
NOT MODBUS DEFINED
o
03 ILLEGAL DATA VALUE
[Register Value] not valid
NOT MODBUS DEFINED
-
17 Report Slave ID
Modbus registers map includes the samples of Residual Current of the last waveform (updated every 500ms), and the
stored last two Events waveforms (RTC option), implementing a Remote Scope Modbus function.
For each waveform are available:
-
Ampere conversion Numerator and Denominator values
-
Sampling Period in
μ
s (Default 200
μ
s)
-
120 Samples (Default 24ms)
It is possible to modify the Sampling Period (Timescale), by means of the Decimation Parameter in Configuration
settings: the Sampling Period and the resulting time-scope Window will be multiples of the default values.
Configuration parameters for MODbus RTU are the following:
-
→
Device Address (default 1)
-
→
Baud Rate (default 19,2 Kbps)
.
.
.
.
-
→
Parity (default Even)
-
→
Stop Bits (default 1)
-
→
Samples Decimation (default 1)
Following are some examples of Configuration settings and Command Writes
1. Set WRITE ENABLE
-> Write [0x0000 00A5] in 32 bit Register [0x0200 0x0201] [WRITE ENABLE]
2. Write Data into Immediate Register
-> Write Valid Value in RTC Register [0x0206->0x020A]
-> Write Valid Value in Decimation Register [0x0210]
3. Write Data in Temporary Configuration Register
-> Write Valid Address in 32 bit Register [0x0202 0x0203] [DEVICE LOGIC ADDRESS]
-> Write Valid Value in Configuration Register
-> Write [0-999] in Password Register [0x0226] (Read: 0x8000)
4. Write SAVE Configuration command
-> Write [0x0003 0-999(Password)] in 32 bit Register [0x0204 0x0205] [COMMAND]
5. Write TEST or RESET command
-> Write [0x0001 o 0x0002 0-999(Password)] in 32 bit Register [0x0204 0x0205] [COMMAND]
Moreover, by means of the RS485 serial line it is possible to perform a Firmware update of the device, using the
isolated converter MCIUSB485 and the utility “FrerBootLoader.exe” according to the procedure described in FRER
document: “Ipm0219_0 Updating Firmware on Frer devices_E.doc”.