Hi mechatronic_hieu, Thank you so much for you reply. I want to read digital signal from SHT11 humidity sensor, SHT11 have 4 pins, include Vcc, GND, serial clock input and serial data bidirectional. I want to know exactly does PLC siemens S4 can read digital signal directly and what are the functions, blocks (LAD) need to transfer the signals. I want to read humidity so that I can use this data to control some output actions, maybe it is a comparison with a constant number to create a signal level. Best regards Bonnyng