regarding POLL IO messages .i have a 4 in and 4 out Devicenet IO
> module . I wanted to implement the Poll support. i am not able to
> decide what will be the data send by the master in the Poll command
> ,so that my Slave module will open the packet and retrieve the info
> and set them appropriately .ie if masterwants to send a command to my
> 4in 4out device in Poll format what it will send in bit datastream (8
> bytes )other than produced and consumed conn Ids
> Please reply and help me to complete my project
> Regards
The Poll Command message sent from the master to the slave can contain any amount of data. If your slave device has four digital outputs then perhaps your plan is for the master to control these outputs. If that is the case then I would expect you will send one byte of data in the Poll Command. Four of the bits in this byte would correspond to how the four outputs should be driven. The remaining four bits could be ignored.
Similarly, the Poll Response message sent from the slave to the master can also contain any amount of data. But I expect you only need to send one byte of data in which four of the bits correspond to the four input values.
-- Kevin