5 Ladder and functional block programming
Programs for microprocessor-based systems have to be loaded into them in machine code, this being a sequence of binary code numbers to represent the program instructions. However, assembly language based on the use of mnemonics can be used, e.g. LD is used to indicate the operation required to load the data that follows the LD, and a computer program called an assembler is used to translate the mnemonics into machine code. Programming can be made even easier by the use of the so-called high level languages, e.g. C, BASIC, PASCAL, FORTRAN, COBOL. These use pre-packaged functions, represented by simple words or symbols descriptive of the function concerned. For example, with C language the symbol & is ...
Get Programmable Logic Controllers, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.