Difference between Instance and Global DataBlock (DB) in SIEMENS PLC programming

Instance DB vs Global DB


Instance DB => contains tags and tag values that assigned to and only to specified Function Block FB which can access these tags, also these tags preceded by #

Global DB => contains global memory addresses, tags and tag values that can be accessed by any Organization Block OB, Function Block FB, and Function FC through the user program, these tags preceded by %

Comments