First of all, thanks, Khalid!
I want to use the COM port. I gave a look to the "Find
FP-100x example", based on optomux commands, and I found it very
interesting, to my purpose. But I have some questions about it.
First of all, in the example I have to provide explicitly
an address (the fp1001 address, 0x0 for me), so I should build a loop,
in which I scan all possible addresses (that is 0, 10, 20,... ) which
generate many errors, in normal conditions.
After this, in the example I get a Module ID, which is:
FP1001 -----> ID: 2
FP-DI-301 --> ID 105
FP-DO-401 --> ID 106
FP-DI-301 --> ID 105
FP-DO-401 --> ID 106.
The list actually matches the order of my FP chain, but
I'd like to know if these IDs are given to the modules when
they're configured for the first time in MAX, or are set in HW?
Thanks!
graziano