Skip to content

sail-sail/node-plc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mitsubishi modbus

var plc = require("./plc");

//open Y0
var buf = plc.on("mitsubishi","Y0");
console.log(buf);

//close Y0
var buf2 = plc.off("mitsubishi","Y0");
console.log(buf2);

//write date D200 to 0
var buf2 = plc.wr("mitsubishi","D200","0");
console.log(buf2);//<Buffer 02 31 31 30 32 38 30 32 30 30 31 30 03 32 32>

About

mitsubishi plc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published