Learn PLCs free
Data Types & VariablesIntermediateAdvanced
1 min read
Updated 2025-11-10
Intermediate

LINT

LINT

LINT means Long Integer — a 64-bit signed integer, range ±9.2 × 10¹⁸. Used for nanosecond timestamps and very large cumulative counters.

Key Takeaways

  • LINT means Long Integer — a 64-bit signed integer, range ±9.2 × 10¹⁸. Used for nanosecond timestamps and very large cumu...
  • Intermediate-level topic in Data Types & Variables
  • Related to: DINT, ULINT, LWORD

Detailed Definition

**LINT (Long Integer) is a 64-bit signed integer** with values from −9,223,372,036,854,775,808 to +9,223,372,036,854,775,807 (±9.2 × 10¹⁸).

**Range:** ±9.2 × 10¹⁸.

**Memory:** exactly 8 bytes (64 bits).

**Common uses:** nanosecond-resolution timestamps, very large counters (production lifetime totals), file sizes >4 GB, blockchain-style cumulative hashes.

**Syntax across major IDEs:** - Siemens SCL: `bigCount : LINT := 0;` - Studio 5000: limited support — check firmware version (v32+) - CODESYS / TwinCAT: `bigCount : LINT := 0;`

**Common pitfalls:** scan-cycle math performance — 64-bit operations are slower than 32-bit on smaller PLCs; many older PLC firmware versions don't natively support LINT and will silently downcast.

**See also:** DINT (signed 32-bit), ULINT (unsigned 64-bit), LREAL (64-bit floating point).

Common Questions

What is LINT?

LINT means Long Integer — a 64-bit signed integer, range ±9.2 × 10¹⁸. Used for nanosecond timestamps and very large cumulative counters.

What are related concepts I should learn?

To fully understand LINT, you should also familiarize yourself with DINT, ULINT, and LWORD. These concepts work together in industrial automation systems.

Was this helpful?

Let us know if this glossary term helped you understand LINT better.

Your feedback helps us improve our glossary and create better content for the PLC programming community.

Quick Info

Difficulty
Intermediate
Tier
Advanced

About Data Types & Variables

Data structures, variable types, and memory organization

Total Terms:30
Difficulty:Beginner to Intermediate

Free PLC simulator

Stop reading, start doing

Write ladder logic in your browser, hit Run, and watch real machine scenarios react. 12 guided lessons across 8 PLC dialects — free account, no credit card.

Practice PLCs free →