Remix.run Logo
Show HN: Iodd Viewer a free IODD viewer that runs in the browser(ioddviewer.com)
2 points by bitchanic 8 hours ago

I've been playing around a bit with building my own IO Link master stack and I didn't find any convenient IODD viewers that would allow me to explore IODD's so I threw this one together hope someone else get's some use out of it. Would love some feedback. Eventually i'd like to get this working with IO-Link JSON so you can parameterize and view data on live devices without needing anything proprietary or needing to run a bunch of bloated services.

For anyone interested i want to make my own master stack so i can make a cheap master that i can plug an IO link device into and use with more common programming languages. My backgrounds more on the software engineering side and there's been a ton of times where i wished i could easily communicate with and IO-Link device and read data from it write data to it.

My goal is to have a library that works easily with the master and then allows you to generate a device driver from a cli to use with it.

Something like:

$ generate-io-link-driver IODD-whatver.zip --python PressureSensor

Then

pressure_sensor = PressureSensor("io-link-master-address", "io link port")

pressure_sensor.set_pressure_limit(100)

process_data = pressure_sensor.read_process_data()

print(process_data.pressure, process_data.alarm)

The iodd's structure makes something like this possible and i feel like there are a lot of places where i would prefer to use IO-Link rather than dealing with traditional analog/digital signals.