Promicon Systems

Programming

The parallel user programs are programmed with the object-based motion language pCOM. Through this it considerably simplifies the creation of programs and greatly improves readability. This is particularly important when it comes to maintaining and developing programs.
Programming

The pPRO project planning tool contained in the PIDS software package is used to create and compile the programs. This defines which source files are assigned to the respective user programs and controls the compilation and loading of programs according to the given dependencies.

Language scope

The motion language is syntactically and semantically based on the widely used programming language C. Since C is used in a wide variety of fields of application today, C can be called the de facto standard. Therefore, the motion language can be used intuitively.

Elements

  • Definition of variables, constants and objects
  • Fields for variables
  • Functions with parameters and return value
  • Global and static definitions and functions
  • Math functions
  • Arithmetic and logical operators
  • Assignments
  • IF - ELSE - ELSE IF
  • SWITCH - CASE - DEFAULT
  • FOR
  • WHILE
  • REPEAT UNTIL
  • GOTO
  • Line and block comments

Compatibility

The compiler is designed in such a way that created programs can also be loaded into existing Varimotion systems. This achieves the best possible consistency in the development of user programs.

It is also possible to create mixed user programs with the new object-based motion language or with the previous instruction list.