Hi @phungtheduy123!
This issue usually happens because the inputs’ addresses are being used by both Factory I/O and the PLC you are using, which causes them to be overwritten.
We have a post explaining this in more detail. You can find it here: Siemens: inputs not working
I hope this helps