Resolve symbols, indirect symbolic access and Serialize function in TIA Portal

Using Resolve Symbols function in TIA Portal gives external applications access to the tags in the PLC program during runtime. But it can be use as a tool for symbolic access of optimized blocks and indirect addressing

With “ResolveSymbols” you resolve multiple symbolic tag names. As a result, you receive references to the tags. References are typed pointers that give you read or write access to the tags.

ResolveSymbols Function

resolvesymbols

Read values from resolved symbols and write them into buffer

Using it, you read values from several resolved symbols and write them into a memory area (Array of BYTE). In this way, you can prepare values of resolved symbols for further use, such as sending using communication instructions, e.g. TSEND.

resolve symbols to buffer

Read values from buffer and write them into resolved symbols

With this instruction, you read values from a memory area (Array of BYTE) and write them into the values of one or several resolved symbols. In this way, you can process a memory area that you have received from a communication instruction, such as TRCV.

Serialize

This instruction converts several PLC data types (UDT), STRUCT or ARRAY of to a sequential representation without losing parts of their structure.

serialized

Deserialize

instruction converts back the sequential representation of a PLC data type (UDT), STRUCT or ARRAY of and to fill its entire contents. You can use the instruction to convert multiple serialized data areas back to their deserialized representation form.

Watch video with example:

More about TIA Portal functions:

Using Variant with TIA Portal

By admin

Related Post

One thought on “Resolve symbols, indirect symbolic access and Serialize function in TIA Portal”

Leave a Reply