The World of Mervis - Knowledge Base
The World of Mervis - Knowledge Base
    Translations of this page:
    • cs 
    • en 

  1. You are here
  2. Home
  3. English
  4. Mervis IDE/RT
  5. Help
  6. Software
  7. Common Elements
  8. Constants

Menu
  • Cloud
  • Help
  • IoT
  • Mervis Analytics
  • Mervis CloudAccess
  • Mervis DB
  • Mervis IDE/RT
    • Download
    • Communication protocols
    • Help
      • Basic description of the Mervis IDE
      • Start the IDE
      • Process station, or controller (PLC)
      • Communication protocols description
      • Server Communication Protocols
      • New Project
      • Description of HMI Editor
      • Software
        • Common Elements
          • Identifiers
          • Keywords
          • White Space
          • Comments
          • Literals
          • Variables
          • Constants
        • Data Types
        • Object Oriented Programming (OOP)
        • Program Organization Unit (POU)
        • ST language (Structured Text)
        • FUPLA language (FUnction PLAn)
        • Libraries
        • New Solution
        • New Solution in Simple mode
        • Programming Languages
        • Access To Inputs/Outputs Of Inner Blocks
        • Initial Values
        • Dynamic Changes
    • Mervis RT
    • Webpanel
    • Mervis IDE/RT to DB Configuration
  • Mervis Proxy
  • Mervis SCADA
  • RcWare
  • Research

Constants

Constants are special variables defined within a declaration which contains the keyword CONSTANT.

Example:

VAR CONSTANT
    PI: REAL:=3.141592;
END_VAR
  • © Energocentrum Plus, s.r.o. 2017 - 2025
Log In