Musson Industrial's Embr-SNMP Module (BETA)

New beta: Embr-SNMP-Ignition83-0.4.0.modl (964.6 KB)

This adds a whole bunch of stuff.

Agent Device Improvements

  • Upon startup, the driver will walk the entirety of an agent's objects tree to learn the model.
    • This model is kept up to date as new reads are performed.
  • Upon startup, the driver will attempt to learn the maximum supported request/response sizes of the agent.
    • This should resolve the "PDU Too Big" errors when reading long strings.
    • This should help improve performance, but I still want to test this.
  • Value writes are now properly coerced into the correct underlying SNMP datatypes.

OPC UA model improvements:

  • Added an Objects folder that supports browsing all known objects.
    • Only numeric OIDs are supported (still).
  • Object nodes are modeled using a new set of SNMP specific DataTypes.
  • Object nodes currently support several properties:
    • {oid}/DataType returns the underlying SNMP DataType of the object as a string.
    • {oid}/ExpectedSize returns the expected size of the variable, which is used for PDU creation. This one is meant for troubleshooting.
  • Added ReadTable and Walk OPC UA methods.
    • These return arrays of OidValue, a { oid: Oid, value: BaseDataType } structure.
  • Added more diagnostics nodes.

Feedback

  • Can you subscribe to all the objects in your agent? What happens if you try?
8 Likes