Forum Replies Created
-
AuthorPosts
-
oley
ParticipantHi,
it would be good to generate SCADA events based on those events, so I have it in standard event list.
oley
ParticipantHi,
I have got some information from the manufacturer of the device.
Address 0x0501 contains count of the new events since last reading.
Address 0x0502 contains total count of the events, max 1024.Address range 0x1000-0x13FF contains events from the most recent and it is locked until the register 0x0501 or 0x0502 is read again.
What if I create group of channels from 0x1000 to 0x13FF and every channel will have formula:
channel 0x1000 -> if (channel0x0501 > 0 and channel0x0502 > 0)
channel 0x1001 -> if (channel0x0501 > 1 and channel0x0502 > 1)and so on?
If I activate the events for each channel, so they will appear in the event log.
Is this possible?Best regards
oley
ParticipantHi,
thank you. The custom enumeration works properly.
Best regards
oley
ParticipantI am in contact with the manufacturer of the device, because the documentation does not specify this.
Is the code of this S2000-PP driver available for review?oley
ParticipantI’m familiar with .NET so driver that decomposes events is a good option.
Should it be a class derived from DevModbusLogic?oley
ParticipantDuring SCADA running, I can polling the counter for new events (separate register 0x0500) and read as many as occurred.
After a restart, I would have to read all the events that I did not save in the database to archive the full history.oley
ParticipantI’m not sure if I can make it with Automatic Control Module.
This device has a register range for events, which is a circular buffer.One event is written in 8 registers:
0 Event code
1 Value: Lo(Int1), Hi(Int2)
2,3 Value float
4 Lo(month), Hi(end of year)
5 Lo(hour), Hi(day)
6 Lo(second), Hi(minute)
7 millisecondsThe last event is under 0x1000, the pass under 0x1008, and so on.
I would like to save all events in the database and present them in a view already from the database. I think this is the easiest way. The complicated part is reading from the device and storing them in the database.
oley
ParticipantHello,
Thank you for your advice.
I will check if reading from one address is enough.
I will also try the Automatic Control Module and come back with any further questions.oley
ParticipantThanks!
oley
ParticipantGot it!
It was the LAN port. I have used the second one for the connection.
After replacement of the port I can connect.Thank you for your help!
oley
Participant@odobrev
Thanks again!Unfortunately I can not establish the connection with an error in line log: “No connection could be made because the target machine actively refused it”.
Probably some network setting are wrong. I am doing it on fresh Windows 11 VM, firewall is completely disabled. Adresses are ok, I can ping and log in via browser into logger interface.
I tried Modbus TCP settings with Link setting Limited and IP address as you mentioned also with unlimited access.
What are your Modbus TCP settings on the logger?
Address mode Logical/communication address
Logger address
Fast schedulingDo you use LAN or WAN port on the logger?
oley
ParticipantHi,
sorry, the question was addresserd to @odobrev.
He said, he will provide some example config to Huawei device which I try to connect via Modbus TCP.oley
ParticipantHi,
Are you already back from vacation and could you help with MODBUS TCP configuration. I’ve run SmartLogger and enabled ModBus, but I’m having trouble connecting and thought I’d wait for a sample configuration.
Best regards
oley
ParticipantHi,
thanks a lot for the informations.
Thanks in advance for your help.Best regards
-
AuthorPosts