Get MBLogic at Fast, secure and Free Open Source 
		software downloads

Help Topics

Topic Details for MBLogicEngine

MBLogicEngine-CK - Files


This document deals with the source code files used to implemented MBLogicEngine-Ck. This is intended to be of interest to developers and is not necessary if you simply wish to use MBLogicEngine.

Standard Files:

The following are the standard files used in all versions of MBLogicEngine.

File Provides This is the standard IL compiler. It compiles IL (instruction list) code to executable code. This is the standard interpreter which is used to execute the compiled PLC program. This provides standard memory functions which are used to help generate data tables. This provide standard definitions for common instructions, including many boolean logic functions.

PLC Model Specific Files:

The following are from the version of MBLogicEngine which emulates the Koyo "Click" series. The number and names of files may be different for other PLC emulation types.

File Provides This provides address validation functions used to verify parameter addresses for the compiler. The functions in this module act as extensions to the standard compiler to adapt it to each instruction. This implements the data table. This provide definitions for any instructions, not provided by the standard library. This is used to define any instructions which are not defined in the standard library (PLCInstStdLib). This implements counter and timer instructions as well as updating system flags. This is used to create instances of all libraries used. This implements all the math functions. This includes compiling the equations and other functions that are normally performed by DLCkAddrValidate for other instructions. This provides libraries which are used to implement multi register and multi-bit instructions.