Number of CONSTANT definitions in STARTUP

Number of CONSTANT definitions in STARTUP

The number is shown in the Trio BASIC Help for CONSTANT.


CONSTANT are set globally and are available to all the BASIC programs.

There is a local constant definition called DEFCONST.  When that is set in a program it is known to that program alone.  You can of course use DEFCONST in an INCLUDE program and re-use it accross many programs.
    • Related Articles

    • Fast EtherCAT start up.

      The fast startup is done with ETHERCAT(0,0,5). It means the master does not wait for the drives to be in sync before going operational. The drives will still take the same amount of time to get in sync so you should delay doing any actual moves until ...
    • Flex6-NANO Startup Loop always goes offline

      I made a mistake and my Flex-6 Nano always runs a configuration on startup that results in the PC not being able to connect. What can be done to solve it? ================================================================================== You need to ...
    • EtherCAT start - diagnostic information

      When reporting an EtherCAT startup error, please send the following information to Trio technical support. 1) The text shown on the terminal after ETHERCAT(0, 0) For example: >>ETHERCAT(0,0) Warning - EtherCAT cable or network not detected (slot 0). ...
    • AN-393 Constant SNAP profile functions

      For some motion applications a speed profile without step changes in JERK is advantageous. A function, CSNAP, is available as an encrypted BASIC library which can calculate such a profile. This document describes how to use this function
    • AN-332 Hexadecimal string to Integer Decimal number

      This document exposes a useful BASIC subroutine to parse a hexadecimal string value to a decimal integer and store it into a VR. It does something similar to the BASIC command VAL(“numerical_string”), which converts a string to a numerical value.