Hi all,

While working on the feature request by someone to support array types for 
WORD; DWORD, LWORD I stumbled across something:

If we write our dataIo types that they return both single items as well as 
arrays, we will be having problems with these types as the single item will for 
example return PlcWORD, but the array will have an array of PlcUINT because we 
don’t have an option to tell mspec which type override to use.

Now I think currently only modbus has this problem.
I’m refactoring it to use only single item PlcValues and pushing the array 
handling in the driver (Which is also needed because of the crazy Modbus 
encodings being used).

But just thought I’d point this out.

Chris

Reply via email to