FieldbusEcatAxisIoModule Sample

This sample demonstrates how to control a physical axis and an I/O module.

Source Files

File Description

FieldbusEcatAxisIoModule.h

The header file generated when creating the project using the wRTOS Application Template.

FieldbusEcatAxisIoModule.cpp

The source file contains the axis and I/O module control processes.

Building the Sample

Build the sample in any of the four available configurations: Debug, Release (to build FieldbusEcatAxisIoModule.exe), RTSSDebug, or RTSSRelease (to build FieldbusEcatAxisIoModule.rtss).

Running the Sample

Run the compiled binary without any arguments.

Expected Results

Remarks

If no physical axis or I/O module is connected, the system generates a simulated device during startup. However, simulated devices cannot be enabled or rotated using the E-CAT Fieldbus APIs. Therefore, a physical axis is required to run this sample.