Example Applications

Download any of the examples below as guidelines for how to set up a similar program for your specific application.

Example Program Description Click to Download
Modbus TCP Client Library for XMC-E08A and XMC-E08A-DC

MODBUS_Client_For_XMC_E08A

Modbus TCP Client Library for XMC-E16A and XMC-E16A-DC

MODBUS_Client_For_XMC_E16A

Automationdirect User Function block for controlling an EtherCAT enabled AC Drive. May need some modification for your drive if it doesn't strictly follow CiA402 State machine.

XMC_AC_Drive_Ctrl_FB

Sample program for help topics LS_InverterControl, LS_InverterStatus, LS_InverterWriteVel and LS_InverterReadVel function blocks.

XMC_ACDrive_FBs

Sample Ladder programs for Axis Group help topics.

XMC_AxisGroup_FBs_LD

Sample program for Cross-Coupled Motor Control topic.

XMC_CrossCoupled

Sample Ladder program for LS Electric dedicated motion function blocks.

XMC_LSDedicated_FBs_LD

Sample programs for Modbus TCP Client library function blocks and Modbus TCP Client Setup help topic.

XMC_ModTcp_Client

Sample Ladder programs for Multi-Axis motion function block help topics.

XMC_MultiAxis_FBs_LD

Sample Structured Text programs for Multi-Axis motion function block help topics.

XMC_MultiAxis_FBs_ST

Sample Ladder programs for Single Axis motion function block help topics.

XMC_SingleAxis_FBs_LD

Sample Structured Text programs for Single Axis motion function block help topics.

XMC_SingleAxis_FBs_ST

Sample project for Using XMC to create a XYZ gantry robot tutorial.

XMC_XYZ_Gantry

Sample project for Loading NC Program from SD card tutorial.

XMC_NC_ImportProgram

Project for Write Your First NC Program tutorial.

Write_First_NC_Program