I'm sorry for posting without any specific content but i didn't know what will be best.

Understandable, and it can lead people down the wrong paths to focus on the
wrong thing. But assuredly we need something to even stand a chance of offering something back.

I imagine you're adding a BasicProcessImage to a TcpSlave via the addProcessImage function. You should be able to instantiate a com.serotonin.modbus4j.BasicProcessImage with a slave ID of 255.