srikanthduba
Can we use I2C directly in openplc?
if not how to include the values from other service on device to open plc running in the same system?
Reply 0 0
thiagoralves
Yes, but you will have to write the code in C or Python (if your target supports it). Click on the blue + button on the left panel -> Function Block -> pick C or Python as language. Then add the input and output variables to your block accordingly and write the code to interface your I2C peripherals
Reply 0 0
srikanthduba
Is this in v3 or v4 editor?
Reply 0 0
thiagoralves
v4
Reply 0 0
srikanthduba
Thank you
Reply 0 0
Reply