Reading Inputs from S5 -100U CPU 102


Thread Starter

Petr Novotny

Dear Rob Faragher I have a problem with reading inputs and outputs from PLC SIMATIC S5-100U. I reading description of communication protocol AS 511, but there is only description of Data Block communication. ( function DB_READ, DB_WRITE and DB_INFO). I want to ask you, if you know how I identify that I reading Data Block or Input. The function DB_Info returns the DB number, DB initial address, final address in PLC and first byte of data and last byte of data. What returns when reading the Input ? The same ? Thank you Petr Novotny