Hi Claes,
In addition to previous messages, we would need some clarifications about Modbus addressing process.
I have investigate the documentation and the forum, but I still need some additional informations.
1# About "number" attribute for Channel objects.
If I use the function code 03 (referring to 4x table) and if I want to read over 16 contiguous bits...
Must I have set the number attributes like 0, 1, 2,...15,
16, 17,... or 0, 1, 2,...15,
0, 1,... ?
I suppose the ChanDi representation is set to Bit16, isn't it?
I have read in some topic your comment:
"..., a channel with Number 0 indicates that this and the following channels belongs to
the next byte in the message."
See my examples : FC03_1.pdf and FC03_2.pdf ..... what is the correct explanation?
2# If I use FC02...
Now if I use a function code 02, is it the same process for "number" attributes? but in this case, I suppose the representation is set to Bit8, isn't it?
See my examples : FC02_1.pdf and FC02_2.pdf ...... what is the correct explanation?
3# I realized a summary document on the function codes ... I hope I did not make a mistake ... it would be nice if you can check it (see Proview_FC.pdf).
Thanks a lot for yours advices.
/Ben