Hi Folks
Totally new to modbus but I've got a requirement to interface a device to my Synology NAS Surveilance Station APP.
The SYnology NAS has modbus connectivity (I/O devices) that can trigger devices like the Advantech 6050 I/O device. I've had a read of the doco and the ASCII support seems fairly straight forward.
I've found a python emulator for the ADAM6050 Modbus device that is setup to "rudimentally" talk to the synology.
Here is the code https://gist.github.com/hdo/792eebcb...5069e325a0e520
Its written in python but you get an idea of the ascii format and the response you need to send back to the SYnology.
Could I use this ModBUS plugin to receive ASCII commands from the Synology, parse the data out to create actions and send responses (CR/LF I think) . This would allow me to create events in H/S if I get camera motion detects etc...exactly what I want :-)
Hope this makes sense....New to ModBUS but it looks very interesting
Pete
Totally new to modbus but I've got a requirement to interface a device to my Synology NAS Surveilance Station APP.
The SYnology NAS has modbus connectivity (I/O devices) that can trigger devices like the Advantech 6050 I/O device. I've had a read of the doco and the ASCII support seems fairly straight forward.
I've found a python emulator for the ADAM6050 Modbus device that is setup to "rudimentally" talk to the synology.
Here is the code https://gist.github.com/hdo/792eebcb...5069e325a0e520
Its written in python but you get an idea of the ascii format and the response you need to send back to the SYnology.
Could I use this ModBUS plugin to receive ASCII commands from the Synology, parse the data out to create actions and send responses (CR/LF I think) . This would allow me to create events in H/S if I get camera motion detects etc...exactly what I want :-)
Hope this makes sense....New to ModBUS but it looks very interesting
Pete
Comment