This Application Note covers the basic structure and programming conventions of the MCode language, The differences between Lexium MCode and MDrive MCode is primarily found in the syntax of the I/O instructions.
- Lexium MDrive
- MDrive Linear Actuator
- MDrive Plus
- PC with the Motion Control Programmer installed
- A Lexium MDrive Motion Control connected to power and communications.
Basic structure of the MCode language
Lexium MCode consists of 1 and 2 character mnemonics which access all the features and functions of the Motion Control product family. These mnemonics are clearly identified as to their function. i.e. VI (Initial Velocity), A (Acceleration), MS (MicroStep resolution) and etc. HINT: Lexium MCode commands ARE NOT Case sensitive. They may be upper or lower case. There are five basic components of the Lexium MCode programming language, they are:
- Math functions
When it comes to your form, fit and function requirements, don’t settle. Get precisely what you need working with us. We know motion.
Contact us with any questions about how we can help you with your motion application or for assistance with your SEM products.