Skip to content

hms-networks/abcc-example-starterkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

abcc-example-starterkit

This is a stand-alone example application using the Anybus CompactCom Driver API (abcc-api) ported for the Anybus CompactCom Starter Kit evaluation platform.

Purpose

To enable easy evaluation and inspiration to Anybus CompactCom prospects.

Prerequisites

System

  • This example application shall be built for and ran in a Windows environment.

Anybus Transport Provider

  • The free Anybus Transport Provider DLL is required. Download and install this DLL.

CMake

  • If you do not yet have CMake, download and install it before continuing.

Visual Studio

  • This example is made for Visual Studio. Download and install it before continuing if you don't have it already.

    CMake will create a project for the Visual Studio version available on your computer.

Git

  • Of course, you will need to have Git installed. See this tutorial on how to install Git.

Cloning

Flag? What flag?

This repository contain submodules abcc-driver-api, abcc-driver and abcc-abp that must be initialized. Therefore, pass the flag --recurse-submodules when cloning.

git clone --recurse-submodules https://github.com/hms-networks/abcc-example-starterkit.git

(In case you missed it...)

If you did not pass the flag --recurse-submodules when cloning, the following command can be run:

git submodule update --init --recursive

Build and run

Step 1. CMake

This example application utilizes the Anybus CompactCom Driver API's CMake module file in a top level CMakelLists.txt file to generate a complete Visual Studio project.

To generate the project, run the lines below, starting in the repository root.

mkdir build
cd build
cmake ..

Step 2. Visual Studio

Open the generated project solution .sln file and run the Local Windows Debugger (green play button). The Project should build and run!

(Nothing is happening...)

Make sure that your Starter Kit is powered on and the USB cable is plugged in. See the Starter Kit Reference Guide for more details.

About

Anybus CompactCom (ABCC) Starter Kit example implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •