Domi04151309

IOT2000 Board

About the Library

This library adds more functionality to your IOT2000 with the Arduino IDE. It was developed by Dominik Reichl in 2018 and designed for the Siemens Simatic IOT2000.
This library is free software. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.

You can download the library here

How to Install

1. Download the repository from GitHub
2. Unzip it
3. Copy the "Siemens-Simatic-IOT2000-Arduino-Library-master" folder into your library folder
4. Open the Arduino IDE
5. Click on Sketch > Include Library > Siemens Simatic IOT2000
Done!

Functions

const USER_LED

Constant for the user LED.

const DI0

Constant for the I/O-Shield.

const DI1

Constant for the I/O-Shield.

const DI2

Constant for the I/O-Shield.

const DI3

Constant for the I/O-Shield.

const DI4

Constant for the I/O-Shield.

const DQ0

Constant for the I/O-Shield.

const DQ1

Constant for the I/O-Shield.

const U0

Constant for the I/O-Shield.

const I0

Constant for the I/O-Shield.

const U1

Constant for the I/O-Shield.

const I1

Constant for the I/O-Shield.

void userLEDSketchRunning()

Defines the user LED as output and turns it on.

void activateUserButton()

Activates the reading of the user button.

bool readUserButton()

Reads the state of the user button.