alexander_f94
Hi,
 
I'm new to arduino and coding but have some experince working with plc,s. Being able to program arduino with ladder logic makes my life so much easier.
 
Im working on a project were i need to use more digital inputs than listed in the "2.4 Physical addressing list" Only 2-6 is listed as digital inputs. As i understand  it's possible to change the I/O pin mapping under the I/O Config tab in "Transfer to program to PLC window.
 
Arduino has 20 digital inputs accoring to the manual, for my project i need 10 inputs and 2 outputs. Is this possible ?
 
How do i map the pins to the correct adress example (%IX0.0 – %IX0.4)
 
Thanks // Alexander
Reply 0 0
thiagoralves
Yes, you can change the IO mapping on the upload dialog. You can even put all pins as inputs if you want. Mapping will be sequential according to the order of pins you type, starting with %IX0.0 
Reply 0 0
thiagoralves
Just keep in mind that for digital IO, after %IX0.7 it bumps to %IX1.0, and then from %IX1.7 to %IX2.0, and so on…
Reply 0 0
alexander_f94
Wow, that was fast ! Thank you som much
Reply 0 0
Reply