FunctionsΒΆ

Extension functions provided by IronPLC. These are not part of the IEC 61131-3 standard but are widely supported across PLC environments.

Function

Description

ADR

Address of a variable as a typed pointer (requires --allow-adr)

SIZEOF

Size in bytes of a variable or type (requires --allow-sizeof)

__ISVALIDREF

Whether a REFERENCE TO variable is bound (requires --allow-reference-to)