Modbus open communication timeout is too long

Hi Colin,

The default is in fact 10 seconds for TCP comm handles. But you can change this. AFTER you open the comm handle, use the “set.to” option with the Communications Command called SendCommunicationHandleCommand.

For example, to set it to one second using OptoScript, it’d look something like:

SendCommunicationHandleCommand(chTCPHandle, “set.to:1.0”);

I’m still pondering your last sentence there, though. What’s this about a chart for every drive? Sounds like you might need some pointer tables!

More on that pointer table topic here.

Cheers,
OptoMary