cog-vprtu
v1.0.2
Published
Cognex visionpro communication thru Modbus RTU
Downloads
15
Readme
#Congex visionpro communication via modbus rtu This a cheaper of visionpro communication via modbus rtu. Please note that the switching time is more than 50ms due to serialport has low baud rate. If you require less time, you could seek to higher communinication rate, such as ethercat.
#Install npm i cog-vprtu
#Using Before you start, you need setting up cognex visionpro the result is bool(ture/false). const vprtu = require('cog-vprtu') vprtu.modbusrtu_on(station_num,switch_num) vprtu.modbusrtu_off(station_num,switch_num)