Infosys在阅读器中打开 / AI 翻译

PLC Control · 0 次阅读

^ (Content Operator)

A pointer can be dereferenced by adding the content operator "^" after the pointer identifier.
Example in ST:

pt:POINTER TO INT;

var_int1:INT;

var_int2:INT;

pt := ADR(var_int1);

var_int2:=pt^;