Support Forum

Share your projects and post your questions

Register   or   Sign In
The Forum

IO Pi Plus and Codesys

The IO Pi Plus is a 32 channel MCP23017 GPIO expander for the Raspberry Pi

17/09/2020

Posted by:
burger

burger Avatar

Hello everyone!



II am using IO Pi Plus with my Rasypberry and have some problems. I am using it as digital outputs, but there is always 5V on piout even if I change the state.

I am using this library for Codesys

regards

17/09/2020

Posted by:
andrew

andrew Avatar

Hello

I don't have any experience developing with Codesys so I can't help you with their MCP23017 library.

Can you try testing the IO Pi Plus with our Python library and see if it works correctly? There is a demo file called demo_iowrite.py in the ABElectronics_Python_Libraries/IOPi/demos/ folder that should write to the digital outputs on the IO Pi Plus.

If the demo files work you can narrow the problem down to the Codesys library, in which case you may find more help on the Codesys forums.

17/09/2020

Posted by:
burger

burger Avatar

Thank you.

20/09/2020

Posted by:
burger

burger Avatar

Hello everyone!

I was testing this and I do not think this is a library problem.

If I startup my RPI and IO board at the same time I can not operate with outputs. There is 5V on every pin on this board. But If I startup Raspberry PI first and this IO board in about 10s, I can operate with outputs normal.

Best regards

20/09/2020

Posted by:
andrew

andrew Avatar

Is the IO Pi powered from the same power supply as the Raspberry Pi or are you using separate supplies?

If you are using two power supplies, when they are switched on the IO Pi supply may reach 5V before the Raspberry Pi supply which could be causing this issue. To get around this issue you may need to find a way of starting the Raspberry Pi power supply before the IO Pi supply so the Raspberry Pi is already initialised when the IO Pi powers up.

Sign in to post your reply


Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view.
Download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.

Home

Shop

Learn

Forum

FAQ

Contact

0 item

Your cart is empty

Please browse our shop to order from the wide range of Raspberry Pi boards and accessories.

Subtotal:£0.00
View Basket Continue to Checkout