Has anyone been able to get a Do-More to act as a client with a Cognex camera? Care to share the secret handshake?
So far I've been unable to do it. The only times I've tried were when a Do-More and a camera were present in a project, but so far the project architectures have been such that the Do-More didn't need to do so, so I was only doing it for experimentation/learning purposes. The MxX box just times out, but I can successfully talk to the same camera with SCADA systems, Windows Modbus utilities, etc., and have done so in the past with DLx PLC's with an ECOM.
Since I've done no Modbus mastering yet with Do-More, I thought I might be missing some step, or maybe there was some issue with Do-More.
Finally had some time to test further today, and set up a Do-More to poll another one. I just checked the config (but didn't need to change anything) for @IntModTCPClient, dropped in an MWX and an MRX, and it works like a champ.
So now I have two devices both of which seem to work fine so long as they're not talking to each other* (except the Do-More hasn't been verified as a client with a wide variety of servers). I may have to resort to the magic mirroring switch to dissect the request and response frames, if any. Any better ideas or things to check? I don't have a camera handy but can probably arrange for one.
You might consider adding Modbus to the items that can be monitored real-time using DMLogger. It really helps with the things where it can be used. Also, I'd like to request a shorter poll time option for Memory Views, 1 second or less.
*About the only difference between the working DM-DM setup and talking to the Cognex is that in the DM's, due to the configured Modbus memory size in the server DM, I'm reading and writing to register [4]3000, while the target addresses in the camera are [4]30010 and [4]50000. That might be significant, I have no idea.