Git Product home page Git Product logo

factoryio-sdk's Introduction

FACTORY I/O (SDK)

FACTORY I/O SDK (Software Development Kit) provides tools so that developers can create custom applications that access the simulation I/O points. These applications can be used as interfaces between FACTORY I/O and virtually any type of technologies, such as PLC, microcontrollers, databases, spreadsheets and so on.

All of the simulation I/O points can be accessed through the SDK independently of the selected driver. Select None from the I/O drivers drop-down list when accessing the I/O points only through the SDK. Please note that Ultimate Edition is required in order to use the SDK.

Engine I/O

Engine I/O is a .NET 2.0 assembly for inter-process communication (IPC) between FACTORY I/O and custom applications. It gives access to the simulation I/O points through a memory mapped file. The memory is divided in three groups: Inputs, Outputs and Memories. Standing from a controller point of view, Inputs are used to read sensors values, Outputs to write actuators and Memories to exchange generic data. An I/O point is made of a memory address, name and value representing a specific data type.

Some considerations to take into account when using Engine I/O:

  • The MemoryMap class is a singleton, meaning that only one instance can exist. This instance represents a cached copy of the memory mapped file.
  • The MemoryMap.Instance.Update() method is responsible for synchronizing cached data with the actual memory. This method must be called every time there is the need to read/write the latest I/O points or receive event notifications.

Engine I/O Explorer Tool

The Engine I/O Explorer is a tool developed to browse I/O points addresses, names and values. It can be used to observe or force I/O points values, whether they are Inputs, Outputs or Memories.

factoryio-sdk's People

Contributors

bvigario avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.