oley

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 62 total)
  • Author
    Posts
  • in reply to: Reading event log from modbus device #16696
    oley
    Participant

    Hi,

    it would be good to generate SCADA events based on those events, so I have it in standard event list.

    in reply to: Reading event log from modbus device #16689
    oley
    Participant

    Hi,

    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

    in reply to: Swapping command values #16688
    oley
    Participant

    Hi,

    thank you. The custom enumeration works properly.

    Best regards

    in reply to: Reading event log from modbus device #16576
    oley
    Participant

    I 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?

    in reply to: Reading event log from modbus device #16569
    oley
    Participant

    I’m familiar with .NET so driver that decomposes events is a good option.
    Should it be a class derived from DevModbusLogic?

    in reply to: Reading event log from modbus device #16567
    oley
    Participant

    During 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.

    in reply to: Reading event log from modbus device #16565
    oley
    Participant

    I’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 milliseconds

    The 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.

    in reply to: Reading event log from modbus device #16559
    oley
    Participant

    Hello,

    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.

    in reply to: Reacting on external data #16546
    oley
    Participant

    Thanks!

    in reply to: Add calculated channels to OPC UA Server #16480
    oley
    Participant

    @odobrev

    Got 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!

    in reply to: Add calculated channels to OPC UA Server #16478
    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 scheduling

    Do you use LAN or WAN port on the logger?

    in reply to: Add calculated channels to OPC UA Server #16474
    oley
    Participant

    @odobrev

    No problem, thanks!
    I’ll try it out right away!

    in reply to: Add calculated channels to OPC UA Server #16463
    oley
    Participant

    Hi,

    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.

    in reply to: Add calculated channels to OPC UA Server #16459
    oley
    Participant

    Hi,

    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

    in reply to: Add calculated channels to OPC UA Server #16437
    oley
    Participant

    Hi,

    thanks a lot for the informations.
    Thanks in advance for your help.

    Best regards

Viewing 15 posts - 46 through 60 (of 62 total)