⧉ All Products Control Emulator V27

Table of Contents

  • Copyright
  • Using this manual
  • Control Emulator: General Information
    • About Control Emulator
      • Types of Machines Supported
    • About QUEST and CERUN
    • About the Icam Portal
  • QUEST: Control Emulator Development
    • QUEST
      • Starting QUEST
        • Starting QUEST from the Desktop
        • Starting QUEST from a Command Prompt
        • Importing Control Emulators
        • Creating a Database Listing
      • QUEST Inputs and Outputs
        • The Icam Database
        • Exported/Imported Control Emulator
        • Dedicated Control Emulators
        • Basic Control Emulators
        • The QUEST Listing
          • HTML Listing Format
          • Standard Listing Format
      • Using QUEST
        • The QUEST Interface
        • Creating a New Control Emulator
        • Control Emulator Definition
          • Creating a CE linked to a Post-Processor
          • Creating a CE based on a Post-Processor
          • Creating a CE from scratch
          • Specifying a Pre-Processor
        • Questionnaire Chapters and Sections
        • Saving and Generating your work
        • Testing your Control Emulator
        • Modifying an Existing Control Emulator
        • Wrapping Up
      • The Icam Database
        • Control Emulator File Name Conventions
        • The Database Navigator
          • Databases
          • Control Emulators
      • Control Emulator Customization
        • Code Customization
          • Modifying Code Identifiers
          • Creating Custom Codes
          • Deleting Custom Codes
        • Data Customization
          • Modifying Data Identifiers
          • Creating Custom Data Identifiers
          • Deleting Custom Data Identifiers
        • Tape Editor
        • Startup/Shutdown Macros
          • Startup/Shutdown Macro Types
            • Declaration Macro
            • Machine Startup/Shutdown Macros
            • Program Startup/Shutdown Macros
            • Subprogram Startup/Shutdown Macros
            • Pre-Processor Startup/Shutdown Macros
            • Block Startup/Shutdown Macros
          • Create or Modify Startup/Shutdown Macros
          • The Macro Editor
            • Compiling and Saving Macros
          • Delete or Disable Startup/Shutdown Macros
        • Event Macros
          • Event Macro Types
            • Motion Event Macros
            • Cycle Event Macros
            • Tool Event Macros
            • Diagnostic Event Macro
            • Pre-Processor Identification Macros
          • Create or Modify Event Macros
          • The Event Macro Editor
          • Delete or Disable Event Macros
        • Code Macros
          • Create Code Macros
            • The Code Macro Editor
            • Code Macros Match Order
            • Modify Code Macro Matching Conditions
            • Delete or Disable Code Macros
        • Data Macros
          • Create Data Macros
            • The Data Macro Editor
            • Data Macros Match Order
            • Modify Data Macro Matching Conditions
            • Delete or Disable Data Macros
        • User Function Macros
          • Create User Function Macro
          • The User Function Macro Editor
          • Delete or Disable User Function Macros
          • Export User Function Macros
        • The Dialog Editor
          • The Dialog Template Editor
        • File Storage
      • Control Emulator Processing
        • CERUN Startup Processing
          • Normal CE
          • Multi-Kernel CE
        • CERUN Main Processing Loop
        • CERUN Code Processing Loop
        • CERUN Shutdown Processing
    • Control Emulator Macros
      • The Macro Language
        • Fundamentals of the Macro Language
          • Basic Macro Syntax
          • Macro Data Types
          • Macro Variables
          • Explicit Type Declaration (DECLAR)
            • Variable Scope
            • Variable Type
            • Variable Name
            • Variable Array
            • Variable Assignment
            • Variable Default
          • Operators
            • Numeric, String and Sequence Operators
            • Assignment Operators
            • Logical Operators
          • Detecting Data Type Mismatching
        • Function Calls
          • Built-in Functions
          • External Functions
          • User Function Macros
            • Function Declaration
            • Function Definition
            • Function Name
            • Function Parameters
            • Function Body
        • Flow Control in a Macro
          • The IF Block
          • The CASE Statement
          • The WHILE Loop
          • The REPEAT Loop
          • The DO Loop
          • Exiting Loops (EXIT)
          • Unconditional Jumps (JUMPTO)
          • Exiting a Macro (TERMAC)
          • Ending a Macro (ENDMAC)
        • Macro Invocation
          • Enable/Disable Macro Matching (MATCH)
          • Outputting the Identifier or Event (OUTPUT)
        • Text File I/O from a Macro
          • Opening a Text File (OPEN)
          • Closing a Text File (CLOSE)
          • Writing to a Text File (WRITE)
          • Reading from a Text File (READ)
          • Reading from a String Value (READ)
        • Other Macro Commands
          • Outputting Error Messages (ERROR)
          • Calling other programs (SYSTEM)
      • Control Emulator Macro Commands
        • The EXEC Command
        • The LPRINT Command
        • The PPRINT Command
        • The TAPERD Command
        • The TAPEWT Command
        • The SEARCH Command
        • The RSTMODAL Command
        • The SAVMODAL Command
      • String Formatting
        • Output String Format
          • Numeric Output Format
          • Time Output Format
          • String Output Format
          • Minor Word Output Format
          • Major Word Output Format
          • Logical Output Format
          • Tab Output Format
          • Wildcard Output Format
          • Register Index Output Formats
          • Predefined Register Output Format
          • Current Predefined Register Value
          • ASCII Value Output Format
        • Input String Format
          • Space Input Format Character
          • Exclamation Input Format Character
          • Numeric Input Format
          • Time Input Format
          • String Input Format
          • Minor Word Input Format
          • Major Word Input Format
          • Logical Input Format
          • Tab Input Format
          • Skip Character Input Format
          • Wildcard Input Format
    • Macro System Variables
      • Variable Summary
        • Canned cycle variables
        • Composite control emulator variables
        • Constants
        • Control emulator variables
        • Conversion factor variables
        • Coolant feed rate and spindle variables
        • Cutter compensation variables
        • Error message variables
        • Lathe variables
        • Machine and Workpiece coordinate variables
        • Machining time variables
        • Macro variables
        • MCD/Tape variables
        • Miscellaneous variables
        • Motion related variables
        • Multi-kernel variables
        • Operation variables
        • Subprogram variables
        • Tooling variables
      • Variables Defining Constants
      • Machine & Workpiece Coordinate Variables
      • Motion-Related Variables
      • Macro Variables
      • Conversion Factor Variables
      • Coolant, Feed Rate and Spindle Variables
      • Cutter Compensation Variables
      • Operation Variables
      • Tooling Variables
      • Lathe Variables
      • Automated Canned Cycle Variables
        • Drill Cycle Variables
        • Thread Cycle Variables
      • MCD/Tape Variables
      • Machining Time Variables
      • Control Emulator Definition Variables
      • Error Message Variables
      • Multi-Kernel Control Emulator Variables
      • Composite Control Emulator Variables
      • Subprogram Variables
      • Miscellaneous Variables
    • Macro Functions
      • Function Summary
      • Mathematical Functions
      • Numeric Functions
      • Geometric Functions
      • Vector Functions
      • Matrix Functions
      • Conditional Functions
      • Conversion Functions
      • Character and Sequence Functions
      • Command Line Functions
      • File and Directory Functions
      • Control Emulator Functions
      • DELMIA Functions
      • Other Functions
  • CERUN: The Control-Emulator
    • CERUN with Virtual Machine
      • Starting CERUN
        • Starting CERUN from an Extractor
        • Starting CERUN from the Desktop
        • Starting CERUN from the Command Prompt
        • Starting PSE from a Command Prompt
        • CERUN Return Codes
        • The Launch Panel
          • CERUN Tab
          • VM Tab
          • Preferences Tab
          • Options Dialog
          • DB Manager
          • JOB Button
      • CERUN Inputs and Outputs
        • Input MCD File
          • Subprograms
          • Segmented Programs
        • Output Verification Listing
          • Program Identification
          • Program Listing
          • Program Summary
            • Tooling Summary
            • Tool Flute Length Summary
            • Tool Travel Summary
            • Machining Time Summary
            • Diagnostic Summary
        • Output Log File
        • Output Review File
      • Using CERUN with Virtual Machine
        • Diagnostics
        • Tracing
        • Simulation
        • Debugging
        • Menus
          • File Menu
          • Run Menu
          • View Menu
          • Debug Menu
          • CERUN Menu
          • Simulation Menu
            • Simulation»Virtual Machine
              • Camera panning
              • Camera rotation
              • Camera roll
              • Camera origin and attachment
              • Camera viewpoint
              • To summarize
            • Simulation»Controller
              • Simulation»Controller: Axes
              • Simulation»Controller: Fixture Compensation
              • Simulation»Controller: Tool Compensation
              • Simulation»Controller: Time Line
              • Simulation»Controller: Code Groups
              • Simulation»Controller: MDI
              • Simulation»Controller: Opskip
            • Simulation»Manager
            • Simulation»Mode
              • Simulation»Mode»Camera
              • Simulation»Mode»Selection
              • Simulation»Mode»Measurement
              • Simulation»Mode»Pause Material Removal
              • Simulation»Mode»Pause Gouge Detection
            • Simulation»Parts/Fixtures (Ctrl Alt P)
            • Simulation»Tools/Holders/Heads (Ctrl Alt T)
              • Tools
              • Holders
              • Heads
            • Simulation»Camera
              • Simulation»Camera»Fit (Ctrl Space)
              • Simulation»Camera»Center (Ctrl Shift Space)
              • Simulation»Camera»Pivot (Ctrl P) (Ctrl Shift P)
              • Simulation»Camera»Attach
              • Simulation»Camera»Perspective
              • Simulation»Camera»Front
              • Simulation»Camera»Back
              • Simulation»Camera»Top
              • Simulation»Camera»Bottom
              • Simulation»Camera»Left
              • Simulation»Camera»Right
              • Simulation»Camera»Speed (Ctrl +, Ctrl –)
              • Simulation»Camera»View Angle (Shift +, Shift –)
              • Simulation»Camera»Load (Ctrl 0–9)
              • Simulation»Camera»Save (Ctrl Alt 0–9)
              • Simulation»Camera»Reset
            • Simulation»Show
              • Simulation»Show»Wireframe
              • Simulation»Show»Tool Path (Ctrl T)
              • Simulation»Show»Tool Vector
              • Simulation»Show»Tool Path as Overlay (Ctrl Shift T)
              • Simulation»Show»Filters
              • Simulation»Show»Cross Section
              • Simulation»Show»XY Plane Grid
              • Simulation»Show»YZ Plane Grid
              • Simulation»Show»ZX Plane Grid
              • Simulation»Show»Axes Marker
              • Simulation»Show»Kinematics
              • Simulation»Show»Workpiece Reference
              • Simulation»Show»Tool Reference
              • Simulation»Show»Safety Zones
              • Simulation»Show»Workpiece Coords (Ctrl W)
              • Simulation»Show»Display
              • Simulation»Show»Next Display (Ctrl D)
              • Simulation»Show»Previous Display (Ctrl Shift D)
            • Simulation»Measure
            • Simulation»Annotation
            • Simulation»Selection
              • Simulation»Selection»Hide in View (Ctrl B)
              • Simulation»Selection»Hide in All Views
              • Simulation»Selection»Show All/Rehide (Ctrl Alt B)
              • Simulation»Selection»Show All/Rehide in All Views
              • Simulation»Selection»Invert Hide State (Ctrl Shift B)
            • Simulation»Grid (Ctrl Alt G)
            • Simulation»Lights (Ctrl Alt L)
            • Simulation»Material (Ctrl Alt M)
            • Simulation»Display (Ctrl Alt D)
            • Simulation»Chip and Split (Ctrl Alt C)
            • Simulation»Compare (Ctrl Alt Q)
            • Simulation»Options (Ctrl Alt O)
              • Time Line Options
              • Tool Path Options
              • MRS Options
              • Tolerance Options
              • Miscellaneous Options
            • Simulation»Open Setup
            • Simulation»Save Setup
          • Tools Menu
          • Window Menu
          • Help Menu
    • CERUN with DELMIA
      • Setup CERUN
      • MCD Based Simulation with CATIA V5
        • Machining and Simulation Setup
        • Part Operation Settings
        • Post-Processing with GENER
        • MCD File Selection Override
        • Tool and Workpiece Compensation Settings
          • Cutter Compensation Panel
          • Origin Compensation Panel
        • Using CERUN with CATIA
      • MCD Based Simulation with 3DEXPERIENCE
        • Machining and Simulation Setup
        • Part Operation Settings
        • Post-Processing with GENER
        • MCD File Selection Override
        • Tool and Workpiece Compensation Settings
          • Cutter Compensation Management for Simulation
          • Define Workpiece Compensation
        • Using CERUN with 3DEXPERIENCE
    • Diagnostic Messages
      • General Information
      • Modifying Diagnostic Messages
      • Error File
  • Glossary
  • Appendix
    • Character Set
    • Code Identifiers
    • Data Identifiers
    • Reserved Words
    • Control Emulator Macro Samples
      • Macro Example #1
      • Macro Example #2
  • Index
Control Emulator V27
  • ⧉
  • Copyright

Copyright

Icam Technologies Corporation makes no warranties whatsoever, either legal or conventional, express or implied, with respect to this program and documentation. Because of the diversity of the conditions and hardware under which the program may be used, no warranty of merchantability or fitness for a particular purpose is offered. Licensee is advised to test the program thoroughly before relying on it and assumes the entire risk of using the said program. No warrant is given that this program and documentation will be error free. This documentation is subject to change without notice and is classified as Confidential and Proprietary and is not to be reproduced in any manner without the expressed permission of Icam Technologies Corporation.

This is an unpublished work created in 2005. Icam Technologies Corporation owns all rights to this work and intends to keep the work confidential so as to maintain its value as a trade secret.

Icam Technologies Corporation may also seek to protect this work as unpublished copyright work. In the event of either inadvertent or deliberate publication, Icam Technologies Corporation intends to enforce its rights for this work under the copyright laws as a published work; and to that end, Icam Technologies Corporation hereby affixes the following statutory notice:

© Copyright
Icam Technologies Corporation
2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014,
2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024,
2025
21500 Nassr Street,
Saint-Anne-de-Bellevue, Quebec
Canada H9X 4C1

All Rights Reserved.

Previous Next

© Copyright 2026, CGTech.