Insert 64-bit integers in generated code
Enable support for 64 bit integer data types in generated code
Since R2025a
Model Configuration Pane: PLC Code Generation
Description
The Enable 64 bit integers in generated code parameter converts
int64
data types to long integers (LINT) and uint64
data types to unsigned long integers (ULINT) in the generated code for integrated development
environments (IDEs) that support 64-bit integer data types.
Dependencies
To enable this parameter set Target IDE to:
CODESYS 3.5
B&R Automation Studio 4.0
Beckhoff TwinCAT 3
OMRON Sysmac Studio
OMRON Sysmac Studio-IEC61131-10 XML
Rexroth IndraWorks
Siemens TIA Portal: Double Precision
Generic
PLCOpen XML
Schneider Electric - EcoStruxure Machine Expert
Settings
- On
Converts
int64
anduint64
data types to LINT and ULINT data types in the generated code.- Off
Does not convert
int64
anduint64
data types to LINT or ULINT data types in the generated code.
Recommended Settings
Application | Setting |
---|---|
Debugging | On |
Traceability | No impact |
Efficiency | On |
Safety precaution | No impact |
Programmatic Use
Parameter:
PLC_Enable64bitIntSupport |
Type: string |
Values:'on' | 'off'
|
Default:'off'
|
Version History
Introduced in R2025a