Skip to content

Unofficial PLC4X Plugin for Apache Cordova. Android for now but C experts can probably get iOS to work. PRs welcome.

License

Notifications You must be signed in to change notification settings

NiklasMerz/cordova-plugin-plc4x

Repository files navigation

cordova-plugin-plc4x

Read from PLCs

PLC4X.connect(this.url, async (res) => {
      console.log(res);
    }, async (res) => {
      console.log(res);
    });

let  values = [
    { name: 'motor-current', fieldQuery: '�444.DBD8:REAL' },
    { name: 'position', fieldQuery: '�444.DBD0:REAL' },
    { name: 'rand_val', fieldQuery: '�444.DBD4:REAL' }
  ];

 PLC4X.read(this.values, (res) => {
        console.log(res);
      }, async (err) => {
        console.log(err);
      });

About

Unofficial PLC4X Plugin for Apache Cordova. Android for now but C experts can probably get iOS to work. PRs welcome.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published