One of the specificities of Yoctopuce serial interfaces is their capacity to listen to messages circulating on an existing line in both directions to reconstruct the communications. Most of the time, it's used to understand how an undocumented protocol works, but you can also use this function in production to monitor and measure an existing system. That's why we have recently added a new API making it easy to integrate serial snooping into your projects.
We have to admit that working with Modbus devices is quite tedious: data are often binary encoded, and all the transactions are validated with a checksum, forcing you to write some code before being able to obtain any result. So, this week, we have a small present for customers using Yoctopuce modules to drive Modbus devices.
At Yoctopuce, we electronically send the information of all our packages, whether it is the content or the weight. For the later, we use a USB scale which is limited to a weight of 10 Kg. To overcome this limitation, we are going to test several types of scales, with a Yoctopuce sauce of course.
Our command line library enables you to use almost all of the features of our API directly from a terminal. But some debug features, such as the creation of a dump of the state of the Yoctopuce modules, were not available. This week, we present two new commands which could help you if your modules are not working correctly.
When you design an automation solution intended to last, you must think about integrating tools which you will need one day to detect failure signs or aging signs. In some cases, this goes through managing error messages or exceptions. But on top of this, there can be diagnostic information transmitted by the modules: log messages. We are going to show you here how to integrate them into your projects.
1 2 3 4 5 6 7 ... 10 ... 20 ... 30 ... 40 ... 50 ... 60 ... 70 ... 80 ... 90 ... 100 ... 110 ... 114