Yes i have reviewed those sections. On the hardware side i did notice the difference in the MI pins which i changed to detect correctly. And I am able to monitor the communications back and forth between the Anybus module and our microcontroller.
Our implementation is very simple so we haven’t implemented most of the functions we just use it to read write some process data, which is mapped to ADI’s.
With the M30 module it is asking for the following:
Object FE Instance 0 Attribute 3 command 0x01
Object FE Instance 0 Attribute 4 command 0x01
and then asking multiple data from Object F5 which i reply with error 0x06 (not implemented)
With the M40 Module i see the module asking for:
Object FE Instance 0 CMD ext 0 command 0x13
Object FE Instance 0 CMD ext 0 command 0x14
Object FE Instance 0 CMD ext 0x0100 command 0x15
Object F5 Instance 1 CMD ext 0x1E
Same as above i respond to all these as not implemented at which point the module seems to go into state 7 (exception state)
So it looks like once the module is going into Init state, the M40 and M30 are looking for completely different info on the Host application side.
I guess the only other thing i can see is the OM pins. I think for us we don’t have anything connected. Would this cause an issue? I would have thought this would give an error even when we try to communicate to it. But if it will only cause error at end, then this may be the issue as our OM pins are left floating… we are using serial communication at 57.6k baud rate