Factory IO Bridge (connect any/multiple Apache PLC4X connections with Factory IO)

Hi all,

I am one of the main contributors to Apache PLC4X, where we build open-source drivers for industrial equipment. For that I have a big wall full of PLCs that don’t have anything to do but serve static content.

So I thought: I’d love to use FactoryIO to automat multiple parts of the simulation with different plcs (from different vendors). This last thing is where FactoryIO stopped being an option. I read about using that addon from the building automation, but admittedly I always wanted to use PLC4X with FactoryIO.

So over the weekend I built something: Two PLC4X drivers: One that uses the shared memory path and one that uses the Web-API.

I then built a little web-tool, where I can add as many PLC connections as I like on the left and have my FactoryIO tags on the right and can connect the tags to each other.

So I’ve got multiple questions:

  • Is there any interest in this? Should I make it public?
  • Does RealGames have any objections at me doing that?

I know the Shared memory is automatically under the same license as the original from the SDK, but the Rest API driver I could feed back to Apache PLC4X.

Chris


(This screenshot was done using one of my ToddySoft Connect commercial drivers, which are API compatible to PLC4X … don’t expect S7 tag browsing in PLC4X as that only supports S7Comm and not S7CommPlus.)

2 Likes

Oh … and as an addition … with this you can use FactoryIO Ultimate with any of the drivers the PLC4X API supports:

Apache PLC4X:

  • AB-Ethernet
  • Beckhoff ADS
  • CAN
  • EtherNet/IP
  • Firmata
  • KNXNet/IP
  • Modbus (RTU/ASCII/TCP)
  • OPC-UA
  • S7Comm
  • SLMP
  • UMAS

ToddySoft Connect (commercial):

  • ArtNet
  • BACNet
  • Beckhoff ADS
  • BoschRexroth CtrlX
  • EtherCAT
  • EtherNet/IP (Logix)
  • Firmata
  • IEC 60870
  • IEC 61850
  • KNXnet/IP
  • Melsoft
  • Modbus (RTU, ASCII, TCP)
  • OPC UA
  • Open-Protocol
  • Profinet
  • Siemens S7Comm
  • Siemens S7CommPlus
  • Siemens S7-WebAPI
  • SunSpec
  • UMAS

@christofer.dutz Nice to hear from you, and welcome to the forum!

  • Does RealGames have any objections at me doing that?

No objections at all. I think this project could be quite valuable to many users. You should make it public.

2 Likes

Good to know … I just thought I’d better ask first … In the industrial automation area I’m used to things getting messy quickly :wink:

Guess I’ll polish things a bit more and then just make the whole repo public once I’m happy with it.

Currently I’m focussing on making it integrate with my own drivers as I want my lab to do something sensible. As soon as that’s done I’ll double check the PLC4X compatibility.

I first thought of adding both driver versions to Apache PLC4X but the license of the source map version prohibits that … so I’ll just publish it as part of that repo.

Other quick question … any objections to naming the git repo “factory-io-bridge”?
If there are any guidelines or requirements, I’d rather fix things now than rename later.

“factory-io-bridge” sounds good :+1:

1 Like