Skip to content

Latest commit

 

History

History
107 lines (71 loc) · 3.36 KB

README.md

File metadata and controls

107 lines (71 loc) · 3.36 KB

CC-Link IE Field Basic stack (master and slave)

This repository contains "c-link", a CC-Link IE Field Basic stack. The stack is written to an OS abstraction layer and can also be used in a bare metal application. Using the abstraction layer, the stack can run on Linux, Windows or on an RTOS.

Key features:

  • Both master and slave are implemented
  • Easy to use
    • Extensive documentation and instructions on how to get started.
    • Build and run sample application on Raspberry Pi in 30 minutes.
  • Portable
    • Written in C.
    • Linux, RTOS, Windows or bare metal.
    • Sources for supported port layers provided.
  • Node search
  • Remote setting of slave IP address (configurable to allow or not)

It is easy to use and has a small footprint. It is especially well suited for embedded systems where resources are limited and efficiency is crucial.

The stack is supplied with full sources and a sample application.

Also C++ (any version) is supported for application development.

See LICENSE.md for licensing details.

Limitations or not yet implemented:

  • Writing and reading of startup parameters is not supported.

Slave stack

  • Each slave device can support up to 16 occupied stations
  • Slave can disable cyclic communication

Master stack

Master supports:

  • Multiple groups (max 64)
  • Variable or constant link time
  • Up to 64 occupied slave stations (max 16 per group)
  • Performing node search
  • Setting IP address of slave devices
  • Slaves occupying up to 16 stations

Web resources

Requirements

  • CMake 3.14 or later
  • A C99-compliant C compiler. The test suite requires C++20.

For Linux:

  • GCC 4.6 or later

For rt-kernel:

  • Workbench 2020.1 or later

For Windows:

  • Visual Studio 19 or later

Getting started

See the getting started guide. The complete documentation is here.

Dependencies

Some of the platform-dependent parts are located in the OSAL repository and the cmake-tools repository.

Those are downloaded automatically during install.

The c-link stack contains no third party components. Its external dependencies are:

  • C-library
  • An operating system (if used)

Tools used for building, testing and documentation (not shipped in the resulting binaries):

Contributions

Contributions are welcome. If you want to contribute you will need to sign a Contributor License Agreement and send it to us either by e-mail or by physical mail. More information is available here.