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.5B&R Automation Studio 4.0Beckhoff TwinCAT 3OMRON Sysmac StudioOMRON Sysmac Studio-IEC61131-10 XMLRexroth IndraWorksSiemens TIA Portal: Double PrecisionGenericPLCOpen XMLSchneider Electric - EcoStruxure Machine Expert
Settings
- On
Converts
int64anduint64data types to LINT and ULINT data types in the generated code.- Off
Does not convert
int64anduint64data 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