Giter Site home page Giter Site logo

factoryio_export_variable's Introduction

factoryio_export_variable

Export Variable Modbus to tsv format writen in python The export can be used to initialize the variable table in EcoStruxure from Schneider The factory io save file format is xml. This file describe the scene but also the objects and the driver. The script read through the xml node to extract a list of variables with their type and adresses in order to import them directly to EcoStruxure.

How to use it :

  • run the script Start
  • step 1 : select a driver in the list, by default "ModbusTCPClient" is selected
  • step 2 : select a brand for the plc, by default "Schneider" is selected and is the only one currently
  • step 3 : select the scene saved from factoryIO Choose File
  • step 4 : choose the name and place where to store the export Export File End
  • import the .txt file as the table variable in EcoStruxure

Update 2020/03/26 :

Possibility of exporting to PCVUE and JSON format. For PCVUE :

  • generate the xml file (PCVUE entry)
  • open PCVUE, select in the menu bar "Configuration / Smart Generators" Menu Bar
  • in the dialog box, select "Nouvel import" Nouvel import
  • choose a name for your import and select the xml file previously generated Smart generator
  • variables have been added to your project Final import

For PCVUE the variable type is measure by default, for "BOOL" or "EBOOL" type it's bit.

What is not currently not working efficiently is the adress of variables. Haven't tried with all the options for the driver list.

factoryio_export_variable's People

Contributors

lacascade avatar

Stargazers

 avatar

Watchers

 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.