Forum Home › Forums › Development and Integration › Custom modbus driver
- This topic has 0 replies, 1 voice, and was last updated 6 hours, 13 minutes ago by
oley.
Viewing 1 post (of 1 total)
-
AuthorPosts
-
January 18, 2026 at 6:51 pm #17573
oley
ParticipantHi,
I have successfully created a driver that is an extension of DrvModbus. Unfortunately, the generated events do not appear in the web application or in the server log.
I can see them in the device, e.g.Recent Events +---------------------+-----+-------------------------------------+ | Timestamp | Tag | Description | +---------------------+-----+-------------------------------------+ | 18/01/2026 19:18:54 | | ODWZB. WE 31 | +---------------------+-----+-------------------------------------+ | 18/01/2026 19:18:54 | | POB. WE 18 | +---------------------+-----+-------------------------------------+ | 18/01/2026 19:18:54 | | ZAMKNIĘCIE OPERACYJNE ŁĄCZNIKA 1 7 | +---------------------+-----+-------------------------------------+ | 18/01/2026 19:21:45 | | POB. WE 31 | +---------------------+-----+-------------------------------------+ | 18/01/2026 19:21:45 | | ODWZB. WE 18 | +---------------------+-----+-------------------------------------+ | 18/01/2026 19:21:45 | | OTWARCIE OPERACYJNE ŁĄCZNIKA 1 7 | +---------------------+-----+-------------------------------------+ | 18/01/2026 19:22:07 | | ODWZB. WE 31 | +---------------------+-----+-------------------------------------+ | 18/01/2026 19:22:07 | | POB. WE 18 | +---------------------+-----+-------------------------------------+ | 18/01/2026 19:22:07 | | ZAMKNIĘCIE OPERACYJNE ŁĄCZNIKA 1 7 | +---------------------+-----+-------------------------------------+The code I use to generate the event is:
DeviceEvent devEvent = new DeviceEvent { Timestamp = eventUtcTime, CnlVal = code, CnlStat = CnlStatusID.Defined, Descr = descr }; DeviceData.EnqueueEvent(devEvent); -
AuthorPosts
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.