Hello everyone,
Thanks for the help. The problem was not the io module. When snap in we notice the pins were not fully inserted and it was loose. I removed the back cover of the HMI and placed the io module fully inserted and now the io module is communicating with the plc. Wish I found this problem earlier.