Libraries

Introduction

Libraries provide functions, function blocks, data types, and global variables that can be used to develop your project.

The Library Manager of EcoStruxure Machine Expert provides information about the libraries included in your project and allows you to install new ones. For more information on the Library Manager, refer to the EcoStruxure Machine Expert Programming Guide.

Modicon M251 Logic Controller

When you select a Modicon M251 Logic Controller for your application, EcoStruxure Machine Expert automatically loads these libraries:

Library Name

Description

IoStandard

CmpIoMgr configuration types, ConfigAccess, Parameters, and help functions: manages the I/Os in the application.

Standard

Contains functions and function blocks that are required matching IEC61131-3 as standard POUs for an IEC programming system. The standard POUs must be tied to the project (standard.library).

Util

Analog Monitors, BCD Conversions, Bit/Byte Functions, Controller Datatypes, Function Manipulators, Mathematical Functions, Signals.

M251 PLCSystem

Contains functions and variables to get information and send commands to the controller system. (See Modicon M251 Logic Controller, System Functions and Variables, PLCSystem Library Guide).

PLCCommunication

SysMem, Standard. These functions facilitate communications between specific devices. Most of them are dedicated to Modbus exchange. Communication functions are asynchronously processed regarding the application task that called the function. (See EcoStruxure Machine Expert, Modbus and ASCII Read/Write Functions, PLCCommunication Library Guide).

Relocation Table

The relocation table allows you to organize data to optimize exchanges between the Modbus client and the controller, by regrouping non-contiguous data into a contiguous table of registers. See Relocation Table.

ModbusTCPIOScanner

TM251MESE only. Provides Modbus TCP IOScanner function blocks. (See ModbusTCPIOScanner EcoStruxure Machine Expert Modbus TCP, User Guide).

EtherNetIP Scanner

TM251MESE only. Infrastructure function blocks to establish and close CIP connections and to build Explicit Messaging request over EtherNet/IP. (See EcoStruxure Machine Expert EtherNet/IP, User Guide).

EtherNetIP Explicit Messaging

TM251MESE only. Explicit Messaging over EtherNet/IP, to communicate with generic devices (e.g. cameras) for which EcoStruxure Machine Expert does not offer a device integration. (See EcoStruxure Machine Expert EtherNet/IP, User Guide).

Additional libraries:

  • 3S CANopenStack

  • FDT_CANOpenDriver

  • CAA CiA 405

The CAA CiA 405 library offers a set of function blocks to meet the requirements of the CiA405 for the access to the CANopen network from the application (IEC61131-3 program) of the controller (CANopen master).