Hello,
I bounced against a new problem...
I'm using ET200SP's multifieldbus islands (IM155-6MF) through modbus. Unfortunatly the byte order in the words for the IO's is little endian meaning that the 8 IO's are in the highest byte (their manual states otherwise, but their tool and IRL doesn't).
To get not into problems with the Ai's (they are big endian) I don't have the LE option enabled in the slave.
Since I use the FC3 to fetch the data, the first 8 bits have to be read, otherwise proview won't read the last byte(error?), so I first read a chanli and afterwards 8 chandi's (numbered from 8-15). This works perfect...
Getting everything a bit more organised and more intuitive I thought I'd create a custom class for all my IO cards. Here I have the problem that a class of chanli isn't accepted by the classcreator, every other IO class (chandi, chando, Ai, Ao, ...) are working fine, but only the chanli gives the problem (using pwrb:Class-chanli). Chanlo has the same problem.
Is there something I'm not seeing here because I can't see anything special in the flags?
Template with Ai as dummy (set as bit8).