Hello,In Modbus Poll, go to Display->Binary and click Binary. If you want Modbus Poll to decode individual bit flags, select the value of interest in the table and click Display->Binary->Show Binary Names. Note that this only works for standard 16-bit registers, so for the 64-bit flags, you will need to look at all 4 registers individually. Assuming the the word ordering is big-endian, the first register's bits 15...0 would be bits 63...48, the second register's bits 15...0 would be bits 47...32, the third 31...16, and the fourth 15...0.
For example, the Alarm flags spanning registers 0x8A25 to 0x8A28 (35,365 to 35,368 decimal) would be as follows:
Register 0x8A25 bits 15...0 = Alarm flags bits 63...48
Register 0x8A26 bits 15...0 = Alarm flags bits 47...32
Register 0x8A27 bits 15...0 = Alarm flags bits 31...16
Register 0x8A28 bits 15...0 = Alarm flags bits 15...0
Thank you so much it works now, but if I want to integrate with any BMS or SCADA how to do it?Previously you were asking about reading the Alarm flags, which is a 64-bit unsigned bit flag register at address 0x8A25 (35,365 decimal). This is different from the event codes that you are now asking about.
If you look right above the table from your picture in the manual, it states:
The following table describes the event codes that may occur in the System log, the Event log and the Net Quality log.
Therefore, you need to read the System log, Event log, or Net Quality log to see event codes. Event logs are described in section 9.4 Event logs of the manual you attached.
From the manual, it seems to be a complicated process to read event logs. So if you are only looking for which alarm flags are currently active, I suggest just reading the Alarm flags register 0x8A25 (35,365 decimal). This is what your Read/Write Definition would look like in Modbus Poll:
View attachment 3571
And this is what the main window would look like after selecting all rows and columns then clicking Display->Binary->Binary.
View attachment 3572
To view the bit flags at 0x8A28, select row 8 (I believe Alarm 2 would correspond to bit 1 in this register) and click Display->Binary->Show Binary Names.
View attachment 3574
|Thread starter||Similar threads||Forum||Replies||Date|
|G||Communication configuration will not read from IED error msg coming while tried to Read from IED(RET650 relay) byPCM600 software.||Electrical Engineering||2|
|M||RS485 Encoder eCoder 20-trouble to read the position||Sensors & Calibration||0|
|Read energy meter via Modbus||Modbus||2|
|Read and Write data from/to Speedtronic with python||Power Generation||5|
|read Siemens S7 CPU clock (WinCC) timestamp of alarm by 3rd party tool||Human Machine Interface - HMI||7|
|Communication configuration will not read from IED error msg coming while tried to Read from IED(RET650 relay) byPCM600 software.|
|RS485 Encoder eCoder 20-trouble to read the position|
|Read energy meter via Modbus|
|Read and Write data from/to Speedtronic with python|
|read Siemens S7 CPU clock (WinCC) timestamp of alarm by 3rd party tool|
by Bob Odhiambo
by Seth Price