The MS120 is a member of the SPLat family of controllers. That means that it shares its programming language and programming tools with all other SPLat controllers. Whatever you learn on the MS120 is applicable to other models. The only differences will be those relating to particular hardware resources and features, and dialect differences. "Dialect" is a term we use to describe differences between versions of the SPLat language, which really means that we are continually adding new language features which are not available on older controller products.
You program the board by writing and debugging a program to suit your application in your PC. You then download the program to the board and complete debugging and overall system testing. Once the program has been downloaded to a SPLat board it will remain secure in the board. You can download a new program to the board at any time, in which case the old one is overwritten. You cannot upload a program from a board back into your computer, so it is impossible for a competitor to steal your program out of a board.
The PC software you use for programing is called SPLat/PC. SPLat/PC gives you a wide range of programming and debugging tools. It incorporates a help file with reference material and our classic, highly acclaimed, programming tutorial. We also have a standalone interactive programming course that is available online or on CD. That course is focused on the FastTrack programming outlined below.
SPLat/PC also features a series of semi-interactive "mini-tutorials". These are designed to give you a bit of a kick start with SPLat.
The proprietary SPLat programming language contains a repertoire of over 400 instructions. These instructions cover a huge range of functions. The instruction set differs from conventional programming languages and microprocessor assembler languages in that it has a strong emphasis on the needs of control applications. In particular, there is a subset of just 14 instructions called FastTrack. The FastTrack subset contains all you may ever need in order to implement simple timing and sequencing applications with batch counting and multiple interlocks.
If you are starting out for the first time with SPLat, and have no prior programming experience, or if your background is with ladder logic, then the best place to start is with the online interactive training course. You download it and run it offline, or if you have a SPLat Resource Kit CD it will be on there. Take your time with the course ... the time you invest doing the course thoroughly and thoughtfully is an investment worth while. The course is designed not only to get you started with SPLat itself but also to give you a thorough grounding in good programming techniques.
Once you have mastered the online course you may find you have all you need to program your SPLat applications.
In December 2005 we introduced MultiTrack programming. This is an extremely easy method of writing programs that can (seemingly) do several things at once. (For experts: MultiTrack is a non-preemptive multitasking scheduler that is extremely easy to learn and use). MultiTrack extends FastTrack, so that with just 16 instructions you can write useful multitasking programs. Once you have completed the interactive online tutorial and understand FastTrack programming, your next port of call should be the MultiTrack tutorial.
The 400+ instructions that comprise the full SPLat programming language are documented within the SKB in the Programming Reference. Some of these are instructions we have introduced to simplify common control tasks even further, such as blinking an LED, and form an extension of the FastTrack concept. Therefore, it's a good idea to look there once you move on from pure FastTrack.
If you need even more knowledge you can work with the tutorial built into the SPLat/PC help file. It starts with a FastTrack tutorial that approaches FastTrack that is different from the approach taken in the online course (this is older material), then goes into the "classic" tutorial. The classic tutorial starts off with the nitty gritty details of the internal registers in SPLat. It then works up from there with a detailed expose, along with many examples, of the vast majority of SPLat instructions and how they are used.
Note: The MS120 requires a special adaptor cable for programming. This is supplied with the MS120DK216 developer's kit.