acrogenesis

acrogenesis

Elixir connecting to devices in Profinet

Has anyone had some experience in using Elixir to connect to devices in a Profinet network?

First Post!

tmecklem

tmecklem

I haven’t heard of anyone doing this yet, but from the (very brief) reading I did it seems possible. There are some real time constraints that it might not be possible to guarantee, but the use case is definitely interesting. Please circle back and update here if you find success or need specific help. I’ll keep my eye out to see if anyone else mentions it too.

Most Liked

trarbr

trarbr

Hi @tobi :wave:

I am not aware of any Elixir implementations of Profibus/Profinet. But it should definitely be possible :smiley: Elixir has excellent tools for working with binary communication protocols, like :gen_statem and binary pattern matching. I’ve implemented most of KNXnet/IP and I’m currently working (on and off) on IEC104. There’s also a couple libraries for Modbus.

I’m not familiar with the Profibus/Profinet standard. Unfortunately I don’t have much time to help at the moment :frowning: I am curious though - how would you be interfacing with the master? RS-485, Ethernet or something else?

Last Post!

tobi

tobi

Great, thank you guys. This is a great help and takes me further. I will post here when I have set up something successful.

Where Next?

Popular in Questions Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New

Other popular topics Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 44265 214
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New

We're in Beta

About us Mission Statement