Libraries

 

Libraries

Introduction

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

The Library Manager of SoMachine 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.

Magelis SCU HMI Controller

When you select a Magelis SCU HMI Controller for your application, SoMachine 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, SE_PLCSystem. These functions facilitate communications between specific devices. Most of them are dedicated to Modbus exchange. Communication functions are processed asynchronously regarding the application task that called the function.

HMISCU PLCSystem

Contains functions and variables to get information and send commands to the controller system.

HMISCU HSC

Contains function blocks and variables to get information and send commands to the Fast Inputs/Outputs of the Magelis SCU HMI Controller. These function blocks permit you to implement HSC (High Speed Counting) functions on the Fast Inputs/Outputs of the Magelis SCU HMI Controller.

HMISCU PTOPWM

Contains function blocks and variables to get information and send commands to the Fast Inputs/Outputs of the Magelis SCU HMI Controller. These function blocks permit you to implement PTO (Pulse Train Output) and PWM (Pulse Width Modulation) functions on the Fast Outputs of the Magelis SCU HMI Controller.

Those additional libraries can also be added for your Magelis SCU HMI Controller application:

Library name

Description

o_3SCOS: 3S CANopenStack

oFDT_CAN: FDT_CANOpenDriver

oCIA405: 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).

NOTE: These libraries are not loaded automatically when you add the HMI SCU device. They are added when the CANopen_Optimized child node under CAN is added.

SE_ModbusTCP_Slave

Contains a function block for managing the communication between the HMI SCU controller in the capacity of a Modbus server and any clients requesting Modbus services from the controller. For more details about this library, refer to Library SE_ModbusTCP_Slave.