top of page
Our Services
Ended
10 Ukrainian hryvniasLoading days...
10 Ukrainian hryvnias1 hr
10 Ukrainian hryvnias
bottom of page
var modbus = require('modbus'); var client = modbus.client.tcp.complete({ 'host' : '192.168.1.1', 'port' : 502, 'autoReconnect' : true, 'reconnectTimeout' : 1000, 'timeout' : 5000, 'unitId' : 1 }); client.connect(); client.on('connect', function () { // PLC connected, now you can read/write values var value = client.readCoils(0, 10, function (resp) { console.log(resp); }); });
Ended
Loading days...
1 hr