Skip to content

Add support for subscriptions for event based communication #198

@Rednas83

Description

@Rednas83

Can you also add support for subscriptions like with opc ua and mqtt?

Something like

PlcProgram.Subscribe
{
"var": "\"MotorSpeed\""
}
MotorSpeed.on("changed", (dataValue: DataValue) => {
   console.log(" value has changed : ", dataValue.value.toString());
});

Returning
value has changed : 100

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions