16 Libraries, function blocks and functions
152 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com
16 Libraries, function blocks and functions
The libraries contain IEC function blocks and functions that you can use, for
example, for the following tasks:
• Data exchange through the CAN bus
• Controlling the real-time clock
• Determining bus load of the CAN bus
• Triggering interrupts
• Sending/receiving data through the interfaces
The following libraries are available:
• EA_Network library for Ethernet
• IODrvEtherCAT for EtherCAT
• EA_CANopen library for CANopen
• IODrvModbus for ModbusRTU
• IODrvModbusTCP for ModbusTCP
• IODrvEthernet for ModbusTCP
• EA_CAN types (when using Eaton CAN devices)
• EA_CAN library with function blocks for CAN
• EA_XC303Events library for interrupt processing
→
Codesys helps users with various functions and function
blocks that are managed in libraries.
There are available libraries for assistance with the follow-
ing, for example:
• Field bus communication (z.B. CAN),
• Real-time clock functions
• Communication through serial interfaces
• File handling functions
→
Examples of libraries available to users:
• EA_CANopen ,
• IODrvModbus,
• SysCom,
• SysFileAsync...