railanc04
Is it possible to manipulate I2C bus registers via Modbus RTU using OpenPLC? I have an MCP23017 and an ADS1115. I want to use OpenPLC ladder logic to manipulate the inputs and outputs of the MCP23017, as well as retrieve data from the ADS1115. What exactly do I need to study to do this?
Reply 0 0
thiagoralves
Not straightforward. You will have to create C/C++ Function Blocks to interface the hardware. Then associate the input and output of those blocks with Modbus tags (%QX0.0 for example).
Reply 0 0
Desire
Kedves Tiago!
Nyithatnánk egy szekciót a fórumon, ahol példákat találhatunk ilyen alapvető (I2C) programozási esetekre?
Bárki feltölthet ide egy hivatalos, validált példát, a felülvizsgálat után.
Nagy segítség lenne azoknak, akik - hozzám hasonlóan - nem ismerik az Arduino ökoszisztémát.
Köszönöm,
Desire
Reply 0 0
Reply