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); }); });
top of page

Schedule your service

Optimize water usage and improve crop yield.

Check out our availability and book the date and time that works for you

Copyright © 2023 Crop Eye Automation Systems.

All rights reserved

bottom of page