anoopdxb25
Sir my new project having more number of binary inputs, i bought Mega board, open plc how to adress it, around 35 pins to be configured as input,kindly help
Reply 0 0
thiagoralves
The only way to change IO mapping is to edit the hal file for your specific board. Hal files are located at /editor/arduino/src/hal
Reply 1 0
anoopdxb25
i tried but not working, can anyone help me, i need 50 digital input and 20 output
Reply 0 0
anoopdxb25
anoopdxb25 wrote:
i tried but not working, can anyone help me, i need 50 digital input and 20 output
please help
Reply 0 0
thiagoralves
What have you tried? What is not working? How is it not working? Is it giving any error message? 

You will get better help if you are more specific about the issue.
Reply 0 0
anoopdxb25
sir I have edited cpp file but when i upload to ardiuno its showing Error: wrong location for var __IX3_0, edited file enclosed
Reply 0 0
thiagoralves
Ah, much better. Now I know the problem you're facing and was able to fix it. Save your modified hal file somewhere, update the editor to the latest version, bring your hal file back and try again.
Reply 0 0
anoopdxb25
its working now, thank you sir
Reply 0 0
anoopdxb25
Dear sir, is it possible to configure internal pull resistor by openplc in arduino
Reply 0 0
thiagoralves
OpenPLC does not configure internal pull ups. If you want it you can modify the hal file for your platform and add that specifically.
Reply 1 0
Reply