TurckBDMs-Main / IOLinkAOIs

This project will be used to take the existing Turck IO-Link AOIs to the next level to include more diagnostics and the ability to integrate Index Data.
2 stars 5 forks source link

Universal Device Info AOI - Multiple Commands are *shudder* copied rungs multiple times #7

Open nickcluteturck opened 1 year ago

nickcluteturck commented 1 year ago

Due the nature of how you setup a command and how ladder logic works, when I initially designed the AOI my head wanted to explode when I tried to create a single state machine that cycle through the list of commands needed...so I took the shortcut and just made every state bit into a DINT and use different bits in the DINT for each command...so hacky, I'm sorry next person but I needed to finish the proof of concept. Anybody want to take on doing this right for me? Most times it won't matter as you will only have 1 or two commands, but this bad boy has like 10....