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 Functions and Libraries User Guide.

Modicon M241 Logic Controller

When you select a Modicon M241 Logic Controller for your application, EcoStruxure Machine Expert automatically loads the following 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 which are required matching IEC61131-3 as standard POUs for an IEC programming system. Link the standard POUs to the project (standard.library).

Util

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

PLCCommunication

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

M241 PLCSystem

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

M241 HSC

Contains function blocks and variables to get information and send commands to the Fast Inputs/Outputs of the Modicon M241 Logic Controller. These function blocks permit you to implement HSC (High Speed Counting) functions on the Fast Inputs/Outputs of the Modicon M241 Logic Controller. (See Modicon M241 Logic Controller, High Speed Counting, HSC Library Guide).

M241 PTOPWM

Contains function blocks and variables to get information and send commands to the Fast Inputs/Outputs of the Modicon M241 Logic Controller. These function blocks permit you to implement PTO (Pulse Train Output) and PWM (Pulse Width Modulation) functions on the Fast Outputs of the Modicon M241 Logic Controller. (See Modicon M241 Logic Controller, PTOPWM, Library Guide).

Relocation Table

Allows you organization of 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.