A-Script is a BASIC-like language that can help the programmer quickly write programs for motion control projects, including conditional statements (IF, ELSE, ELSEIF, ENDIF, WHILE, ENDWHILE), subroutines, and mathematical and logical expressions (=, !=, <, >, <=, >=, +, -, *, /).  The programming syntax uses a series of standalone commands (listed later in this section) that allow the programmer to build single and multi-thread programs that can be compiled and run in the controller.  By writing lines of code using the set of commands, setup, control of motion, management of inputs and outputs, and error handling can all be addressed.  A basic program consists of a start line (PRG xx) and an end line (END).  All code is written between the PRG and END lines. Use the utility software to write, compile, download, upload, and execute programs.


<  Topic Home | Home |  Next Section >